I created a stand alone java web service. I am able to publish it from command line(using java command). The problem is the service stops running when I close the command window. How can I have this service always running. One suggestion was to execute publish-service from build.xml. Could anyone please tell me how to modify the build.xml to publish the service and have it up and running.
Asked
Active
Viewed 253 times
0
-
running a java application as a background service is a platform specific task, what operating system? – Affe Sep 11 '12 at 19:28
-
1Following Link may already provide a solution for your problem: [how-to-create-a-windows-service-from-java-app][1] [1]: http://stackoverflow.com/questions/68113/how-to-create-a-windows-service-from-java-app – jethroo Sep 11 '12 at 19:33
-
And can't this be accoplished without the wrapper? – user1663844 Sep 11 '12 at 19:43