标签:failed jar cpu lib jta logging wrapper collect active
在64位的系统下 将短信程序运行于服务中,出现以下错误:
Error:
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/06/18 17:13:29 | There may be a configuration problem: please check the logs.[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:07:51 | Unable to execute Java command. 系统找不到指定的文件。 (0x2)[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:07:51 | "java" -Dprogram.name=smsServer.bat -Xmx640m -Djava.library.path="../lib" -classpath "../lib/wrapper.jar;../lib/wrappertest.jar;../bin/smsServer/.;../bin/smsServer.jar;../lib/.;../lib/..;../lib/activation.jar;../lib/c3p0-0.9.1.2.jar;../lib/com.jar;../lib/commons-collections-3.1.jar;../lib/commons-logging-1.0.4.jar;../lib/commons-logging.jar;../lib/ImApi-2.1.jar;../lib/ImApi.jar;../lib/jdbcpool-0.99.jar;../lib/jdom.jar;../lib/jta.jar;../lib/log4j-1.2.15.jar;../lib/misc.jar;../lib/mysql-connector-java-3.1.14-bin.jar;../lib/mysql-connector-java-5.0.5.jar;../lib/mysql-connector-java-5.1.5-bin.jar;../lib/opencmpp.jar;../lib/Ora9iJDBC.jar;../lib/orgxml.jar;../lib/quartz-all-1.6.0.jar;../lib/rowset.jar;../lib/servlet.jar;../lib/wrapper.dll;../lib/wrapper.jar;../lib/wrappertest.jar" -Dwrapper.key="kqbYr9a1cDkbyVo5" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.0" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp com.starnet.listen.StartUp[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:07:51 | Critical error: wait for JVM process failed[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:12:52 | Unable to execute Java command. 系统找不到指定的文件。 (0x2)[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:12:52 | "java" -Dprogram.name=smsServer.bat -Xmx640m -Djava.library.path="../lib" -classpath "../lib/wrapper.jar;../lib/wrappertest.jar;../bin/smsServer/.;../bin/smsServer.jar;../lib/.;../lib/..;../lib/activation.jar;../lib/c3p0-0.9.1.2.jar;../lib/com.jar;../lib/commons-collections-3.1.jar;../lib/commons-logging-1.0.4.jar;../lib/commons-logging.jar;../lib/ImApi-2.1.jar;../lib/ImApi.jar;../lib/jdbcpool-0.99.jar;../lib/jdom.jar;../lib/jta.jar;../lib/log4j-1.2.15.jar;../lib/misc.jar;../lib/mysql-connector-java-3.1.14-bin.jar;../lib/mysql-connector-java-5.0.5.jar;../lib/mysql-connector-java-5.1.5-bin.jar;../lib/opencmpp.jar;../lib/Ora9iJDBC.jar;../lib/orgxml.jar;../lib/quartz-all-1.6.0.jar;../lib/rowset.jar;../lib/servlet.jar;../lib/wrapper.dll;../lib/wrapper.jar;../lib/wrappertest.jar" -Dwrapper.key="GG_2jm5tld4xlaYf" -Dwrapper.port=32000 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.0" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp com.starnet.listen.StartUp[/size]
[size=14px; line-height: 26px;]FATAL | wrapper | 2012/08/04 12:12:52 | Critical error: wait for JVM process failed[/size]
Resolution:
CHANGE "C:/apache-activemq-5.5.0/bin/win32/wrapper.conf"
# Java Application
wrapper.java.command=java
TO
# Java Application
wrapper.java.command=%JAVA_HOME%/bin/java
Wrapper: Error - Unable to execute Java command
标签:failed jar cpu lib jta logging wrapper collect active
原文地址:https://www.cnblogs.com/telwanggs/p/11723886.html