2016-06-12 209 views
1

我目前在运行mule-standalone-CE-3.7.0在Windows 64位机器上存在问题。我在这里跟着link在Windows 64位机器上运行Mule独立社区版

更新 - 我使用Mule 3.7.0 CE Runtime。骡子项目使用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

好像你正在使用JRE 8和一些过时的骡运行时,尝试JRE 6。但我一般我建议你使用lates Mule运行时版本。另外检查[this](https://forums.mulesoft.com/questions/1083/mule-esb-3-7-0-ce-cannot-start-with-jdk-8-in-windows-server-2012。 html)thread –

+0

你能检查Java的版本吗?在构建路径中选择了JAVA JDK还是仅在构建路径中选择了JRE。也请让我知道您使用的任何一个工作室的版本。问候 Srinivas – srinivasvaddanam

+0

我使用Mule 3.7.0 CE运行时。在我的问题中更新使用JRE 8.0和相同的骡子项目.. @ nike.laos - 为什么我必须将mule项目降级到jre 6.0?这意味着骡3.7 CE不会支持JRE 8.0? – Simbu

回答

0

为了避免这样的错误,并开始骡子独立作为Windows 10的x64 Windows服务。我做下一步:从这里

  1. 下载的Java服务包装:http://wrapper.tanukisoftware.com/doc/english/download.jsp#stable
    我选用的包装为Windows X86; 64位标准。 我档案,如wrapper-windows-x86-64-3.5.29-st.zip

  2. 下载骡独立社区从这里运行:

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到你的工作directoryfor例如C:\骡子\骡子独立-3.7.0并设置MULE_HOME环境变量C:\骡子\骡子独立-3.7.0

  • 拆开包装窗口-x86-64-3.5.29-ST和包装的文件复制到骡子独立: 文件wrapper.jar,从解压缩的文件夹包装wrapper.dll.. \ lib中C:\骡子\ mule- standalone-3.7.0 \ lib \ boot
    文件夹wrapper.exe从文件夹.. \ binC:\ mule \ mule-standalone-3.7.0 \ lib \ boot \ exec

  • 另外我粘贴受审15分钟关键许可证信息从.. \的conf \包装,license.conf在骡子独立年底wrapper.conf所以我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分钟我都有试用许可证的封装工作。 我可以通过命令骡子骡子安装作为Windows服务安装和启动/使用命令停止它骡子开始/停止

    +0

    这个解决方案也不适合我。 – Simbu

    +0

    我已经执行了除(文件wrapper.exe从文件夹.. \ bin到C:\ mule \ mule-standalone-3.7.0 \ lib \ boot \ exec)以外的所有步骤。由于我无法在bin中找到wrapper.exe文件夹.. - 错误 - 未安装mule服务 - 指定的服务不作为已安装的服务存在。 (0x424) – Simbu

    +0

    我检查了档案wrapper-windows-ia-64-3.5.29-st.zip,它是从这里下载的:http://wrapper.tanukisoftware.com/download/3.5.29/wrapper-windows-ia -64-3.5.29-st.zip,并在bin文件夹中有文件wrapper.exe。所以尝试从该链接下载包装。 –

    相关问题