1

我目前在运行 mule-standalone 时遇到问题 - 下面是 Windows 64 位机器上的 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.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.
4

1 回答 1

0

为了避免此类错误并在 Windows 10 x64 上将 mule 作为 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. 从这里下载 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之类的存档-独立-3.7.0.zip

  1. 将 mule-standalone-3.7.0.zip解压到您的工作目录,例如C:\mule\mule-standalone-3.7.0并将 MULE_HOME 环境变量设置为C:\mule\mule-standalone-3.7.0

  2. 解压wrapper-windows-x86-64-3.5.29-st并将文件从 wrapper 复制到 mule 独立:文件wrapper.jar、wrapper.dll从解压缩的 wrapper 文件夹..\libC:\mule\mule-standalone-3.7 .0\lib\boot
    文件 wrapper.exe 从文件夹..\binC:\mule\mule-standalone-3.7.0\lib\boot\exec

  3. 此外,我将试用 15 分钟密钥的许可证信息从..\conf\wrapper-license.conf粘贴到 mule 独立的wrapper.conf末尾,所以我得到了这样的 wrapper.conf 结尾。

    # 不要编辑下面的行!
    # 此包含应指向与此文件位于同一目录中的 wrapper-additional.conf 文件
    # 注意:路径必须是绝对的或相对于包装器可执行文件。
    #include %MULE_BASE%/conf/wrapper-additional.conf
    wrapper.license.type=时间
    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启动/停止它

于 2016-06-14T21:03:31.747 回答