简体   繁体   English

在没有 Mule 运行时环境的情况下,卡在运行 Mule Jar 文件

[英]Stuck on running Mule Jar file without Mule Runtime environment

I am using Mule 3.9 with Anypoint studio 7.2 for API development.我正在使用 Mule 3.9 和 Anypoint studio 7.2 进行 API 开发。 After my functionality developed I was able to export to a Jar file which I was supposed to run on my hardware which doesnt support x64 architecture.在我的功能开发后,我能够导出到 Jar 文件,我应该在不支持 x64 架构的硬件上运行该文件。 I got error of not supported architecture.我得到了不支持架构的错误。 So I am looking for solution in 2 ways.所以我正在寻找两种方式的解决方案。

  1. As hardware architecture cant be changed, is there any way to still run Mule program on it without using Mule runtime environment.由于硬件架构无法更改,有没有办法在不使用 Mule 运行时环境的情况下仍然在其上运行 Mule 程序。
  2. Using exported Jar file is it possible to use it only without Mule installed on my hardware machine.使用导出的 Jar 文件,只有在我的硬件机器上没有安装 Mule 的情况下才能使用它。

Thanks in advance.提前致谢。

As per comment See error message,when tried to run in Docker also.根据评论查看错误消息,当尝试在 Docker 中运行时。 在此处输入图像描述

Mule uses the Java Service Wrapper to bootstrap the Mule runtime. Mule 使用 Java 服务包装器来引导 Mule 运行时。 At this time the version of the wrapper included with Mule previous to Mule 4.4 doesn't support aarch64 as an architecture, only 32 bits ARM (armhf).目前 Mule 4.4 之前的 Mule 中包含的包装器版本不支持 aarch64 作为架构,仅支持 32 位 ARM (armhf)。 At this time only Mule 4.4 Enterprise Edition seems to has compatibility with armhf-64.目前似乎只有 Mule 4.4 Enterprise Edition 与 armhf-64 兼容。 You should try that version to see if aarch64 is recognized as armhf-64.您应该尝试该版本以查看 aarch64 是否被识别为 armhf-64。

Also note that Studio 7.x is not compatible with Mule 3.x applications so it is not possible to use it to develop a Mule 3.9 application.另请注意,Studio 7.x 与 Mule 3.x 应用程序不兼容,因此无法使用它来开发 Mule 3.9 应用程序。 You are saying that the deployment file is a jar file so it is clearly a Mule 4 application.您是说部署文件是 jar 文件,因此它显然是 Mule 4 应用程序。 A Mule 4 application can not be deployed to a Mule 3 server, they are not compatible. Mule 4 应用程序无法部署到 Mule 3 服务器,它们不兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM