Running Fisheye as Windows service fails due to wait for JVM process failed error

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Starting Fisheye as Windows service will result in the following message:

STATUS | wrapper | 2012/06/28 11:24:56 | --> Wrapper Started as Service
STATUS | wrapper | 2012/06/28 11:24:56 | Launching a JVM...
FATAL | wrapper | 2012/06/28 11:24:56 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2012/06/28 11:24:56 | "java" -server -showversion -Djava.awt.headless=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4242 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.password.file=./wrapper/jmxremote.password -Dwrapper.mbean.name="wrapper:type=Java Service Wrapper Control" -Dfisheye.inst="D:\fisheye" -Xrs -Xms256m -Xmx1024m -Djava.library.path="wrapper/lib;lib/native/linux-i386;lib/native/osx-ppc;lib/native/solaris-sparc;lib/native/win32-x86" -classpath "./fisheyeboot.jar;wrapper/lib/fisheye-wrapper-jmx.jar;wrapper/lib/wrapper.jar" -Dwrapper.key="UqR2WUxg0OhZNf1l" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 com.cenqua.fisheye.FisheyeServiceWrapper com.cenqua.fisheye.FishEyeCtl 1 start com.cenqua.fisheye.FishEyeCtl true 1 stop
FATAL | wrapper | 2012/06/28 11:24:56 | Critical error: wait for JVM process failed
STATUS | wrapper | 2012/06/28 11:30:03 | --> Wrapper Started as Console
STATUS | wrapper | 2012/06/28 11:30:04 | Launching a JVM...
FATAL | wrapper | 2012/06/28 11:30:04 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2012/06/28 11:30:04 | "java" -server -showversion -Djava.awt.headless=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4242 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.password.file=./wrapper/jmxremote.password -Dwrapper.mbean.name="wrapper:type=Java Service Wrapper Control" -Dfisheye.inst="D:\fisheye" -Xrs -Xms256m -Xmx1024m -Djava.library.path="wrapper/lib;lib/native/linux-i386;lib/native/osx-ppc;lib/native/solaris-sparc;lib/native/win32-x86" -classpath "./fisheyeboot.jar;wrapper/lib/fisheye-wrapper-jmx.jar;wrapper/lib/wrapper.jar" -Dwrapper.key="YC39epFcgLzQJRe0" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 com.cenqua.fisheye.FisheyeServiceWrapper com.cenqua.fisheye.FishEyeCtl 1 start com.cenqua.fisheye.FishEyeCtl true 1 stop
FATAL | wrapper | 2012/06/28 11:30:04 | Critical error: wait for JVM process failed

Cause

Fisheye can't find java executable in its PATH.

Resolution

Specify the full path for the java.exe file into the wrapper.conf like below:

#Java Application
wrapper.java.command=c:\path\to\java\java.exe

Or add the location of java.exe to PATH environment variable and restart Fisheye.

 

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.