Apache Solr as background process in Windows - apache

I would like to run Apache Solr in windows as background Process. Now I am starting solr through terminal using command java -jar start.jar. The problem with this is this stops when the terminal closes..
Any Suggestion?
Thanks

Solr with Tomcat.
http://wiki.apache.org/solr/SolrTomcat
As for previous answer, you can do it easier using services.msc to set Tomcat to start on bootup.
My answer to a previous question. But this is for setting up multiple "cores", so please dont confuse yourself over this.
How to start and Stop SOLR from A user created windows service

I used this tutorial and it works perfectly:
Setup Apache Solr on Windows with Jetty Running as a Service via NSSM

If you use Tomcat as you application host, you can easily run that as a Windows Service.
http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html

Related

Run Redis server as service on Window 10?

I was able to run the redis server through the Windows Subsystem for Linux following this guide: https://medium.com/#RedisLabs/windows-subsystem-for-linux-wsl-10e3ca4d434e.
But I do not fully understand how the subsystem works. I thought it would run the server on Windows and I could see this in the Windows Services which is not the case. Can someone tell me how to run Redis as a service.
EDIT
Does someone know if there is a standard way to download and install Redis for windows other than using the WSL? I have seen some guides, but they are outdated.

Apache Kylin : running under windows 7

I have looked all over the net, and could not really find anything on running Apache Kylin in Windows 7.
Another approach is using Docker, but would i be able to run Docker under windows 7.
Hope someone can let me know if it is possible or not.
As almost all user are running Hadoop on Linux, and Kylin need to be deployed on a Hadoop node, so Kylin didn't provide a non-Linux startup script.
In theory, Kylin can run on Windows as it is a Java (tomcat) application.
Could you please share your scenario of running Kylin on Windows?

Run Solr on tomcat

is it possible to run Solr 6.4.1 on tomcat?
I read that Solr does not support tomcat anymore, is that true, if yes is there any other option without tomcat?
Yes, any version of Solr from 5 and onwards does not support Tomcat as an alternative officially.
The reasoning for this has been documented on the wiki:
Solr is intended to be a server not a Java web application, similar to mysql or the Apache web server. When Solr was first created, designing it as a web application was a convenient choice, to avoid writing a lot of tricky code to build a network layer. These days, this design decision has become a limiting factor.
When you download Solr and install it onto your machine, it should be Solr that gets started. It should not be necessary to install Solr into a third-party application (servlet container) before it will work.
At this time, Solr is still a webapp, but this is an internal implementation detail, not an immutable property. The intention is to make Solr into a completely standalone application. Startup scripts that start the included container are the first step towards that goal. Jetty might still be the technology used once Solr is a standalone application, but if that happens, it will be internally embedded.
At the moment you can still attempt to run Solr in a different container, as the current version bundles jetty and loads Solr inside jetty, but you can run into unexplainable issues where you'll always suspect the container to be the issue .. and if you have a problem, reporting bugs while running under Tomcat won't do any good.
From one of the comments on the old tomcat page on the community wiki:
If you want to go against recommendations and run 5.3 or later in Tomcat, you can likely still do so, but you will need to inform tomcat about an exploded web application (found in server/solr-webapp) instead of the .war file.
The server/solr_webapp/webapp folder is an exploded web application. Tomcat documentation should be able to tell you how to add such an application.
.. but if you're deploying Solr now, you really shouldn't. Use the bundled version of jetty (which might change to a stand alone version later) and the solr command / script.
They have stopped the support for the same.
Other option could be, you can check out the code and see if you can build the solr. I had tried it for earlier version (3.3).
I am not sure of the current version. But that could be the option for you.
I have posted instructions on how to get solr 6.2 running on Tomcat here. However, these instructions no longer work on Solr 6.3 or 6.4.

Can you have apache-tomcat and another server like wampp or xampp

I am new to Web Development but I have experience in Java, C/C++,Unix Scripting and basic SQL. I have apache-tomcat server because I downloaded Java EE but recently I wanted to start added PHP to my html and I have to download a server like wampp or xampp to run php files. But I downloaded xampp and when I tried to reach my localhost my browser froze up, I tried it multiple times but no luck reaching my local server. Then I decided to try it on wamp and the same thing happened. Can you have two different kinds of servers on your PC even if only one is turned on at a time?
No you can get PHP to run out of a TomCat Web Server.
See this somewhere in the middle of it he tells you how to download a PECL extension that will allow TomCat and the PHP interpreter to become friend.

VertrigoServ Apache HTTP Server Port 80 Already In Use

I have recently installed VertrigoServ, with the Apache HTTP Server, expecting to work perfectly like other installations. Unfortunately, this time it has not. Apache says the port 80 is already in use; I have tried all the methods suggested in other forums, but there seems to be no service, program or process using port 80.
Any ideas?
yes skype do clash with vertrigo just exit skype in tray icon and restart vertrigo you will be good to go.
Vertrigo / Settings / Program Settings / Unckeck "Run servers as services", then restart your PC and start vertrigo again
In my case case icon was yellow in Vertrigo because of running
Web Deployment Agent Service
which came probably with Microsoft WebMatrix, it is also run and probably installed by Microsoft Visual Community for example.
Changing Start type of this Service from Automatic to Manual is good solution ? Here:
http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/
is such advice. Today it was turned off using simply Task Manager, but maybe this too brutal way.
The Run servers as services in Vertrigo is unchecked, but Web Deployment Agent Service was blocking Vertrigo.
Microsoft Matrix can run php too.
Try to change the port that Vertrigo uses to run php pages. It worked for me, I did like this (changed to 8080):
https://sourceforge.net/p/vertrigo/discussion/2083479/thread/e8546bc9/