Page 1 of 1

Wrapper critical Error

Posted: Mon Feb 17, 2014 3:16 pm
by GunerX
I finally got my UMS configured exactly how I want it. Everything is working great, so I decided to install as a windows service and I have done this before with PMS and it was easy. But here...I get this lovely error over and over and over.


ERROR | wrapper | 2014/02/16 22:02:22 | The Universal Media Server service is not installed - The specified service does not exist as an installed service. (0x424)
STATUS | wrapper | 2014/02/16 22:02:22 | Universal Media Server service installed.
STATUS | wrapper | 2014/02/16 22:03:52 | --> Wrapper Started as Console
STATUS | wrapper | 2014/02/16 22:03:52 | Java Service Wrapper Community Edition 32-bit 3.5.17
STATUS | wrapper | 2014/02/16 22:03:52 | Copyright (C) 1999-2012 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2014/02/16 22:03:52 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2014/02/16 22:03:52 |
STATUS | wrapper | 2014/02/16 22:03:53 | Launching a JVM...
FATAL | wrapper | 2014/02/16 22:03:53 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2014/02/16 22:03:53 | "java" -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dstart.service=true -Xmx768m -Djava.library.path="win32/service/" -classpath "win32/service/wrapper.jar;ums.jar" -Dwrapper.key="MC1WZyBPwMdXV-ak" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=6928 -Dwrapper.version="3.5.17" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp net.pms.PMS
ADVICE | wrapper | 2014/02/16 22:03:53 |
ADVICE | wrapper | 2014/02/16 22:03:53 | --------------------------------------------------------------------
ADVICE | wrapper | 2014/02/16 22:03:53 | Advice:
ADVICE | wrapper | 2014/02/16 22:03:53 | Usually when the Wrapper fails to start the JVM process, it is
ADVICE | wrapper | 2014/02/16 22:03:53 | because of a problem with the value of the configured Java command.
ADVICE | wrapper | 2014/02/16 22:03:53 | Currently:
ADVICE | wrapper | 2014/02/16 22:03:53 | wrapper.java.command=java
ADVICE | wrapper | 2014/02/16 22:03:53 | Please make sure that the PATH or any other referenced environment
ADVICE | wrapper | 2014/02/16 22:03:53 | variables are correctly defined for the current environment.
ADVICE | wrapper | 2014/02/16 22:03:53 | --------------------------------------------------------------------
ADVICE | wrapper | 2014/02/16 22:03:53 |
FATAL | wrapper | 2014/02/16 22:03:53 | Critical error: wait for JVM process failed
STATUS | wrapper | 2014/02/16 22:03:57 | --> Wrapper Started as Console
STATUS | wrapper | 2014/02/16 22:03:57 | Java Service Wrapper Community Edition 32-bit 3.5.17
STATUS | wrapper | 2014/02/16 22:03:57 | Copyright (C) 1999-2012 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2014/02/16 22:03:57 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2014/02/16 22:03:57 |
STATUS | wrapper | 2014/02/16 22:03:57 | Launching a JVM...
FATAL | wrapper | 2014/02/16 22:03:57 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2014/02/16 22:03:57 | "java" -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dstart.service=true -Xmx768m -Djava.library.path="win32/service/" -classpath "win32/service/wrapper.jar;ums.jar" -Dwrapper.key="MWdSe1Zsx0cXC1Tr" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=5916 -Dwrapper.version="3.5.17" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp net.pms.PMS
ADVICE | wrapper | 2014/02/16 22:03:57 |
ADVICE | wrapper | 2014/02/16 22:03:57 | --------------------------------------------------------------------
ADVICE | wrapper | 2014/02/16 22:03:57 | Advice:
ADVICE | wrapper | 2014/02/16 22:03:57 | Usually when the Wrapper fails to start the JVM process, it is
ADVICE | wrapper | 2014/02/16 22:03:57 | because of a problem with the value of the configured Java command.
ADVICE | wrapper | 2014/02/16 22:03:57 | Currently:
ADVICE | wrapper | 2014/02/16 22:03:57 | wrapper.java.command=java
ADVICE | wrapper | 2014/02/16 22:03:57 | Please make sure that the PATH or any other referenced environment
ADVICE | wrapper | 2014/02/16 22:03:57 | variables are correctly defined for the current environment.
ADVICE | wrapper | 2014/02/16 22:03:57 | --------------------------------------------------------------------
ADVICE | wrapper | 2014/02/16 22:03:57 |


Now from reading through this I think I see the problem, I have the java heap size set to 2048 but this wrapper wants it to be 768, how do I change this?

Re: Wrapper critical Error

Posted: Mon Feb 17, 2014 3:25 pm
by GunerX
well..i found the configure file and changed the memory setting, still no go.

FATAL | wrapper | 2014/02/16 22:23:43 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2014/02/16 22:23:43 | "java" -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dstart.service=true -Xmx2048m -Djava.library.path="win32/service/" -classpath "win32/service/wrapper.jar;ums.jar" -Dwrapper.key="TYOPy9Dv8uRxUV5Z" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=4488 -Dwrapper.version="3.5.17" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp net.pms.PMS

Re: Wrapper critical Error

Posted: Wed Feb 19, 2014 2:41 pm
by GunerX
anyone out there that can help with this?

Re: Wrapper critical Error

Posted: Sun Feb 23, 2014 4:51 am
by Triplefun
If you are using 64bit OS, then ensure you install 64bit javs so it goes in the program fies directory
Otherwise you will need to modify the wrapper file

Re: Wrapper critical Error

Posted: Sun Feb 23, 2014 4:53 am
by Triplefun
If you are using 64bit OS, then ensure you install 64bit javs so it goes in the program fies directory
Otherwise you will need to modify the wrapper file

Re: Wrapper critical Error

Posted: Sun Feb 23, 2014 3:14 pm
by GunerX
its been almost a full week......and the only help ive gotten is "please install 64 bit java"................really? -deep sigh-

for the Record....I have 64 bit java installed...and PMS wrapper/service works fine....UMS does not...

Do I need to like bump spam or something?

Re: Wrapper critical Error

Posted: Sun Feb 23, 2014 3:33 pm
by GunerX
some new info.....

STATUS | wrapper | 2014/02/22 22:31:39 | --> Wrapper Started as Console
STATUS | wrapper | 2014/02/22 22:31:39 | Java Service Wrapper Community Edition 32-bit 3.5.17
STATUS | wrapper | 2014/02/22 22:31:39 | Copyright (C) 1999-2012 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2014/02/22 22:31:39 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2014/02/22 22:31:39 |
STATUS | wrapper | 2014/02/22 22:31:40 | Launching a JVM...
INFO | jvm 1 | 2014/02/22 22:31:40 | Error occurred during initialization of VM
INFO | jvm 1 | 2014/02/22 22:31:40 | Could not reserve enough space for object heap
INFO | jvm 1 | 2014/02/22 22:31:40 | Error: Could not create the Java Virtual Machine.
INFO | jvm 1 | 2014/02/22 22:31:40 | Error: A fatal exception has occurred. Program will exit.
INFO | jvm 1 | 2014/02/22 22:31:40 | Picked up _JAVA_OPTIONS: -Xmx2048M
ERROR | wrapper | 2014/02/22 22:31:40 | JVM exited while loading the application.
STATUS | wrapper | 2014/02/22 22:31:45 | Launching a JVM...
INFO | jvm 2 | 2014/02/22 22:31:45 | Error occurred during initialization of VM
INFO | jvm 2 | 2014/02/22 22:31:45 | Could not reserve enough space for object heap
INFO | jvm 2 | 2014/02/22 22:31:45 | Error: Could not create the Java Virtual Machine.
INFO | jvm 2 | 2014/02/22 22:31:45 | Error: A fatal exception has occurred. Program will exit.
INFO | jvm 2 | 2014/02/22 22:31:45 | Picked up _JAVA_OPTIONS: -Xmx2048M
ERROR | wrapper | 2014/02/22 22:31:45 | JVM exited while loading the application.
STATUS | wrapper | 2014/02/22 22:31:49 | Launching a JVM...
INFO | jvm 3 | 2014/02/22 22:31:49 | Error occurred during initialization of VM
INFO | jvm 3 | 2014/02/22 22:31:49 | Could not reserve enough space for object heap
INFO | jvm 3 | 2014/02/22 22:31:49 | Error: Could not create the Java Virtual Machine.
INFO | jvm 3 | 2014/02/22 22:31:49 | Error: A fatal exception has occurred. Program will exit.
INFO | jvm 3 | 2014/02/22 22:31:49 | Picked up _JAVA_OPTIONS: -Xmx2048M
ERROR | wrapper | 2014/02/22 22:31:49 | JVM exited while loading the application.
STATUS | wrapper | 2014/02/22 22:31:54 | Launching a JVM...
INFO | jvm 4 | 2014/02/22 22:31:54 | Error occurred during initialization of VM
INFO | jvm 4 | 2014/02/22 22:31:54 | Could not reserve enough space for object heap
INFO | jvm 4 | 2014/02/22 22:31:54 | Error: Could not create the Java Virtual Machine.
INFO | jvm 4 | 2014/02/22 22:31:54 | Error: A fatal exception has occurred. Program will exit.
INFO | jvm 4 | 2014/02/22 22:31:54 | Picked up _JAVA_OPTIONS: -Xmx2048M
ERROR | wrapper | 2014/02/22 22:31:54 | JVM exited while loading the application.



what now???

Re: Wrapper critical Error

Posted: Tue Feb 25, 2014 10:39 am
by Optimus_prime
Have you tried lowering the memory size? take it back to stock XmX-768 see if that helps