在windows 64位计算机上运行Mule Standalone Community Edition
我目前在windows 64位计算机上运行mule standalone-CE-3.7.0时遇到问题,下面就是问题所在。我跟着这条路走到这里在windows 64位计算机上运行Mule Standalone Community Edition,mule,wrapper,java-service-wrapper,Mule,Wrapper,Java Service Wrapper,我目前在windows 64位计算机上运行mule standalone-CE-3.7.0时遇到问题,下面就是问题所在。我跟着这条路走到这里 更新-我正在使用Mule 3.7.0 CE运行时。mule项目使用JRE 8.0 Starting the Mule service... --> Wrapper Started as Service Launching a JVM... Starting the Mule Container... Wrapper (Version 3.2.
更新-我正在使用Mule 3.7.0 CE运行时。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.
正在启动Mule服务。。。
-->包装器作为服务启动
正在启动JVM。。。
正在启动Mule容器。。。
包装器(版本3.2.3)http://wrapper.tanukisoftware.org
1999-2006塔努基软件有限公司版权所有。保留所有权利。
WrapperJNI错误:未授权使用此版本的包装器本机库。(1)
WrapperJNI错误:如果包装器二进制文件的版本和版本与包装器的JNI本机库文件的版本和版本不同,则可能发生这种情况。
WrapperJNI错误:正在关闭。
警告-当前使用的包装器jar文件版本为“3.2.3”
而本机库的版本是“3.5.15-st”。
包装器可能看起来工作正常,但某些功能可能会失效
功能不正常。此配置尚未测试
不支持。
Java HotSpot(TM)64位服务器VM警告:忽略选项PermSize=256m;支持在8.0中被删除
Java HotSpot(TM)64位服务器VM警告:忽略选项MaxPermSize=256m;支持在8.0中被删除
Java HotSpot(TM)64位服务器VM警告:不推荐将ParNew-young收集器与串行旧收集器一起使用,并可能在将来的版本中删除
为避免此类错误,请在windows 10 x64上启动mule standalone作为windows服务。我做了下一步:
从此处下载Java服务包装器:
我选择了Windows X86的包装器;64位标准。
我得到了像wrapper-windows-x86-64-3.5.29-st.zip这样的归档文件
从此处下载mule独立社区运行时:
我得到了像mule-standalone-3.7.0.zip这样的存档
将mule-standalone-3.7.0.zip解包到您的工作目录,例如C:\mule\mule-standalone-3.7.0,并将mule\u HOME环境变量设置为C:\mule\mule-standalone-3.7.0
解压缩wrapper-windows-x86-64-3.5.29-st并将文件从wrapper复制到mule standalone:
文件wrapper.jar、wrapper.dll从解压缩的wrapper文件夹..\lib到C:\mule\mule-standalone-3.7.0\lib\boot
将wrapper.exe文件从文件夹..\bin保存到C:\mule\mule-standalone-3.7.0\lib\boot\exec
此外,我在mule standalone中将试用15分钟密钥的许可证信息从..\conf\wrapper-license.conf粘贴到wrapper.conf的末尾,因此我得到了这样的wrapper.conf结尾
#不要编辑下面的行!
#此include应指向与此文件位于同一目录中的wrapper-additional.conf文件
#注意:路径必须是绝对路径或相对于包装器可执行文件的路径。
#包括%MULE_BASE%/conf/wrapper-additional.conf
wrapper.license.type=时间
wrapper.license.id=20150817000022
wrapper.license.license=Tanuki软件有限公司。
wrapper.license.run_time=900
wrapper.license.features=pro,64位
包装器.许可证.升级条款.开始日期=2010-06-10
包装器.许可证.升级条款.结束日期=2016-08-17
包装器.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启动/停止它,以避免此类错误,并在Windows 10 x64上启动mule standalone作为Windows服务。我做了下一步:
从此处下载Java服务包装器:
我选择了Windows X86的包装器;64位标准。
我得到了像wrapper-windows-x86-64-3.5.29-st.zip这样的归档文件
从此处下载mule独立社区运行时:
我得到了像mule-standalone-3.7.0.zip这样的存档
将mule-standalone-3.7.0.zip解包到您的工作目录,例如C:\mule\mule-standalone-3.7.0,并将mule\u HOME环境变量设置为C:\mule\mule-standalone-3.7.0
解压缩wrapper-windows-x86-64-3.5.29-st并将文件从wrapper复制到mule standalone:
文件wrapper.jar、wrapper.dll从解压缩的wrapper文件夹..\lib到C:\mule\mule-standalone-3.7.0\lib\boot
将wrapper.exe文件从文件夹..\bin保存到C:\mule\mule-standalone-3.7.0\lib\boot\exec
此外,我在mule standalone中将试用15分钟密钥的许可证信息从..\conf\wrapper-license.conf粘贴到wrapper.conf的末尾,因此我得到了这样的wrapper.conf结尾
#不要编辑下面的行!
#此include应指向与此文件位于同一目录中的wrapper-additional.conf文件
#注意:路径必须是绝对路径或相对于包装器可执行文件的路径。
#包括%MULE_BASE%/conf/wrapper-additional.conf
wrapper.license.type=时间
wrapper.license.id=20150817000022
wrapper.license.license=Tanuki软件有限公司。
wrapper.license.run_time=900
wrapper.license.features=pro,64位
包装器.许可证.升级条款.开始日期=2010-06-10
包装器.许可证.升级条款.结束日期=2016-08-17
包装器.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启动/停止它。您可以检查Java的版本吗。是在构建路径中选择JAVA JDK,还是仅在构建路径中选择JRE。另外,请让我知道您正在使用的anypoint studio的版本。如果您使用的是JRE 8和一些过时的Mule运行时,请尝试JRE 6。但我建议您使用最新的Mule运行时版本。还要检查线程我正在使用Mule 3.7.0 CE运行时。骡子
# 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