[Topic] Server Does not Run

"./agiletrack-server.sh" works just fine. When I run "./agiletrack-server console" I get:

Running AgileTrack Server…
wrapper |—> Wrapper Started as Console
wrapper | Launching a JVM…
wrapper | Unable to start a JVM
jvm 1 | wrapper | Unable to start JVM: No such file or directory (2)
jvm 1 | wrapper | Critical error: wait for JVM process failed (No child processes)
wrapper | <—Wrapper Stopped

Any ideas? I would try and debug but wrapper seems to be a binary. I had to hand edit my java.dir to be /usr/lib/jvm/java-1.5.0-sun/jre since that's where ubuntu sticks it.

James

—Posted by James on Dec 8, 2006

First thing to try would be to run the install-detect-java script. It should attempt to detect the installation location for Java and set the wrapper to use it. If it doesn't work, edit the conf/wrapper.conf file.

Near the top of the file is a line that starts "wrapper.java.command=...". Just set that to the java executable for the JRE you want to use.

wrapper.java.command=/usr/lib/jvm/java-1.5.0-sun/jre/bin/java

—Posted by Adam Lane on Dec 9, 2006 at 11:31:23 AM

Yup, that made it go. I tried running the install-detect-java script first, and that set it to /usr/bin. But oh well, it works OK now, thanks.

—Posted by James on Dec 9, 2006 at 12:37:25 PM


You may post a reply to this topic, but you must be logged in. If you already have an account, you may login now. If you need to create an account, you may also register now.