mule-standalone-3.3.1无法在Windows 7上启动 [英] mule-standalone-3.3.1 won't start on Windows 7

查看:102
本文介绍了mule-standalone-3.3.1无法在Windows 7上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7中启动m子服务器时出现以下问题.

I got following issue when starting mule server in windows 7.

我已经正确设置了JAVA_HOMEMULE_HOME.

I have set JAVA_HOME and MULE_HOME properly.

MULE_HOME is set to C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1 Running in console/foreground mode by default, use Ctrl-C to exit...
--> Wrapper Started as Console Launching a JVM... Unable to execute Java command.  The system cannot find the file specified. (0x2)
    "java" -Dmule.home="C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1"
-Dmule.base="C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3. :MaxPermSize=128m "-Djava.endorsed.dirs=C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1\lib\endorsed"
-Xmx512m -Djava.library.path="%LD_LIBRARY_P
3.3.1\mule-standalone-3.3.1/lib/boot" -classpath "%MULE_LIB%;C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1/conf;C:\BAM\Linux\fresh\mule-standal /commons-cli-1.2.jar;C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1/lib/boot/log4j-1.2.16.jar;C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-stan .3.1.jar;C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1/lib/boot/mule-module-logging-3.3.1.jar;C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-sta t-3.3.1.jar;C:\BAM\Linux\fresh\mule-standalone-3.3.1\mule-standalone-3.3.1/lib/boot/wrapper-3.2.3.jar"
-Dwrapper.key="IqO3S6Ox0DeEiEkH" -Dwrapper.port=32000 -Dw port.max=31999 -Dwrapper.pid=3224 -Dwrapper.version="3.2.3"
-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.mule.module.rebo Critical error: wait for JVM process failed Press any key to continue . . .

环境

操作系统-Windows 7 64位

OS - Windows 7 64 bit

JAVA-1.7.0_10 64位

JAVA - 1.7.0_10 64 bit

有人可以帮助我解决此问题.

Can someone help me to fix this issue.

谢谢, 佳顺

推荐答案

看起来m子找不到Java可执行文件.解决此问题的一种简单方法是编辑 $ {mule.home}/conf/wrapper.conf 文件,并为属性 wrapper.java.command 指定整个路径. ,即:

It looks like mule can't find the java executable. An easy way to address this is to edit the ${mule.home}/conf/wrapper.conf file and specify the whole path for the property wrapper.java.command, i.e:

wrapper.java.command=c:/java7/jre/bin/java

另一方面,您不应该再设置 MULE_HOME env var了,因为m子会在状态设置时自行进行设置.

On a side note you shouldn't set the MULE_HOME env var anymore since mule will take care of setting it itself upon statup.

这篇关于mule-standalone-3.3.1无法在Windows 7上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆