Wrapper: Error - Unable to execute Java command

在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

原文地址:https://www.cnblogs.com/telwanggs/p/11723886.html

时间: 2024-10-09 08:17:19

Wrapper: Error - Unable to execute Java command的相关文章

error: internal error: unable to execute QEMU command 'migrate': this feature or command is not cur

Libvirt Live Migration On 12/04/2014 10:12 AM, Dhia Abbassi wrote: > I installed CentOS 7 which supported by default a newer version of qemu-kvm > (qemu-kvm-1.5.3-60.el7.x86_64.rpm) but this time I got new error: > << error: internal error:

iOS 开发报错 clang: error: unable to execute command: Segmentation fault: 11

ios开发报错 ld: can't link with a main executable file '/Users/apple/Library/Developer/Xcode/DerivedData/LePaiDemo-ftsuwgzvjdjwzghgkuefbzvdkvey/Build/Products/Debug-iphoneos/LePaiDemo.app/LePaiDemo' for architecture armv7 clang: error: unable to execute

app打包时报错unable to execute command: Segmentation fault: 11

问题:打包时报错   clang: error:unable to execute command: Segmentation fault: 11 clang: error:linker command failed due to signal (use -v to see invocation) app在上架的时候遇到这个报错问题,一开始以为是证书或者是配置描述文件哪里出错了.作为新手,在试了好多方法依然无法解决之后,只能无奈按照app上架流程又完完全全的重新过了一遍,在点击Archive后的

unable to execute &#39;gcc&#39;: No such file or directory error: command &#39;gcc&#39; failed with exit status 1

推测是找不到gcc,怀疑过去机器gcc未配置好环境变量,于是尝试卸载gcc sudo apt-get remove gcc 此次报错显示需要g++编译,于是安装g++ sudo apt install g++ 之后使用g++代替gcc跑通了编译部分 unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1 原文地址:https://www.cnblogs.co

运行报错:Unable to execute dex: java.nio.BufferOverflowException

今天在网上下载了一个Demo,导入运行时报错,信息如下: [2015-03-01 21:09:24 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. [2015-03-01 21:09:24 - BinderService] Conversion to Dalvik format failed: Unable to execut

Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.(转)

1.程序运行后异常显示: 解决方案:在项目上点击右键->properties->Java Build Path, remove掉Android Dependences即可 Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.(转),布布扣,bubuko.com Unable to execute dex: java.nio.BufferOverflowExc

【转】Unable to execute dex: Java heap space 解决方案(如何为eclipse.int 添加内存)

原文网址:http://blog.csdn.net/zengyangtech/article/details/7003379 欢迎转载,转载请注明 http://blog.csdn.net/zengyangtech/article/details/7003379 今天,在编译一个大工程的时候遇到了问题 Unable to execute dex: Java heap space 上网找了一下,有两种解决方案: 1. eclipse.int 添加内存 2. 导入工程的jar通过 add User

Unable to execute dex: java.nio.BufferOverflowException解决方法

最近在Eclipse中开发Android中遇到了问题,报错:Unable to execute dex: java.nio.BufferOverflowException,研究了一下,找到了解决方案. 一.在项目上右键,选择Properties 二.选择最左侧的Java Build Path标签,按照下图把Android Dependencies和Android Private Libraries两个库Remove掉,然后clean一下项目就OK了.

Unable to execute dex: Java heap space错误解决

今天在在打包android工程时遇到 Unable to execute dex: Java heap space的问题,现在分享一下解决方案 上网找了一下,有两种解决方案: 1. eclipse.int 添加内存 2. 导入工程的jar通过add User Library方式导入 右键工程->build path->add Library->user Library->user Libraries->new->随便取个名字->add JARs->ok 添加