【发布时间】:2016-06-12 20:21:52
【问题描述】:
我目前在运行 mule-standalone 时遇到问题 - 下面是在 Windows 64 位机器上运行 CE-3.7.0 的问题。我在这里关注了link。
更新 - 我正在使用 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.
【问题讨论】:
-
你能检查一下Java的版本吗?是在构建路径中选择 JAVA JDK 还是仅在构建路径中选择 JRE。另外请让我知道您正在使用的 anypoint studio 的版本。问候斯里尼瓦斯
-
看来您使用的是 JRE 8 和一些过时的 Mule 运行时,请尝试 JRE 6。但我一般建议您使用最新的 Mule 运行时版本。还要检查this线程
-
我正在使用 Mule 3.7.0 CE 运行时。使用 JRE 8.0 的骡子项目在我的问题中得到了更新。@nike.laos - 为什么我必须将骡子项目降级为 jre 6.0?这意味着 mule 3.7 CE 不会支持 JRE 8.0 ?
-
@Simbu,好吧,不需要降级到 jre6。执行以下操作 - 按照here 的描述将 mule 作为 Windows 服务安装。很可能在您遇到 java.lang.UnsatisfiedLinkError: 无法加载库后,很容易修复 - 只需创建临时文件夹 "C:\Windows\system32\config\systemprofile\AppData\Local\Temp\"
-
@Simbu,我的解决方案不是对你有用吗?我在 win7 x64、mule 3.7ce 和 jre8 上检查过
标签: mule wrapper java-service-wrapper