View Full Version : [ubuntu] Adding a JAVA servlet to Runlevel

December 7th, 2008, 01:50 PM
Hi folks,
I have a Java servlet. This, i can start from shell with java -jar foo.jar without problems.
Now i put the command in a file and added it to runlevels. Now however, since java keeps running and does not end (It is supposed to do so). The following commands in the runlevel are not executed and runlevel hangs there.
Another try was to add it to sessions. That did not work very well. For some reason, it did not allways start the Java servlet.