我目前遇到运行mule-standalone的问题 - 下面的Windows 64位机器上的CE-3.7.0是问题。我在这里跟随link。
更新 - 我使用的是Mule 3.7.0 CE Runtime。 mule项目使用JRE 8.0。
Starting the Mule service...
--> Wrapper Started as Service
Launching a JVM...
Starting the Mule Container...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperJNI Error: Not licensed to use this edition of the Wrapper native library. (1)
WrapperJNI Error: This can happen if the Wrapper binary is not the same version and edition as that of the Wrapper's JNI native library file.
WrapperJNI Error: Shutting down.
WARNING - The Wrapper jar file currently in use is version "3.2.3"
while the version of the native library is "3.5.15-st".
The Wrapper may appear to work correctly but some features may
not function correctly. This configuration has not been tested
and is not supported.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
<-- Wrapper Stopped
The Mule service was launched, but failed to start.
答案 0 :(得分:0)
要避免此类错误,请在Windows 10 x64上以Windows服务的形式独立启动mule。我做了下一步:
从此处下载Java服务包装器:http://wrapper.tanukisoftware.com/doc/english/download.jsp#stable
我为Windows X86选择了包装器; 64位标准。
我得到了存档,如 wrapper-windows-x86-64-3.5.29-st.zip
从此处下载mule独立社区运行时:
https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/3.7.0/mule-standalone-3.7.0.zip 我得到了诸如 mule-standalone-3.7.0.zip
之类的档案将 mule-standalone-3.7.0.zip 打包到您的工作目录,例如 C:\ mule \ mule-standalone-3.7.0 并设置MULE_HOME环境变量 C:\ mule \ mule-standalone-3.7.0
解压缩 wrapper-windows-x86-64-3.5.29-st 并将文件从包装器复制到mule standalone:
文件 wrapper.jar,wrapper.dll 从解压缩的包装文件夹 .. \ lib 到 C:\ mule \ mule-standalone-3.7.0 \ lib \ boot
文件wrapper.exe从文件夹 .. \ bin 到 C:\ mule \ mule-standalone-3.7.0 \ lib \ boot \ exec 。
此外,我将试用15分钟密钥的许可证信息从 .. \ conf \ wrapper-license.conf 粘贴到 wrapper.conf 的末尾mule standalone所以我得到了这样的wrapper.conf结尾。
# Do not edit lines below! # This include should point to wrapper-additional.conf file in the same directory as this file # ATTENTION: Path must be either absolute or relative to wrapper executable. #include %MULE_BASE%/conf/wrapper-additional.conf wrapper.license.type=TIME wrapper.license.id=201508170000022 wrapper.license.licensee=Tanuki Software, Ltd. wrapper.license.run_time=900 wrapper.license.features=pro, 64bit wrapper.license.upgrade_term.begin_date=2010-06-10 wrapper.license.upgrade_term.end_date=2016-08-17 wrapper.license.key.1=fc1a-6a69-d210-da70 wrapper.license.key.2=432a-e49b-1b24-6583 wrapper.license.key.3=8947-9390-ada4-09a2 wrapper.license.key.4=c951-ff9e-780d-1d77
就是这样。我有包装工作试用许可证每次运行15分钟。 我可以通过命令 mule install 将mule安装为Windows服务,并使用 mule start / stop
命令启动/停止它