Mac OS 上的 Hybris 服务器启动问题(Hybris 1905 版本和芯片:Apple M1 Pro)

发布于 2025-01-10 23:28:23 字数 1213 浏览 2 评论 0原文

我正在尝试在 MacBook-Pro 上设置 hybris,并且能够执行所有操作,但是当我运行下面的命令时,它无法启动 hybris 服务器并尝试查找许可证。

命令:./hybrisserver.sh

输出:

➜  platform ./hybrisserver.sh 
Running hybrisPlatform on Tomcat...
--> Wrapper Started as Console
Java Service Wrapper Professional Edition 64-bit 3.5.29
  Copyright (C) 1999-2016 Tanuki Software, Ltd. All Rights Reserved.
    http://wrapper.tanukisoftware.com

License Error:
A valid license was not found in the Wrapper configuration file.

The Java Service Wrapper requires a License Key to activate the
software.  License Keys can be purchased on the Java Service Wrapper
web site:
  http://wrapper.tanukisoftware.com/purchase

You can also immediately obtain a one-month Free trial license:
  http://wrapper.tanukisoftware.com/trial

License Keys can be generated for any of the following HostIds:
  HostId #1 (anpi2):    a6a4824578ea
  HostId #2 (anpi0):    a6a4824578e8
  HostId #3 (anpi1):    a6a4824578e9
  HostId #4 (en4):    a6a4824578c8
  HostId #5 (en5):    a6a4824578c9
  HostId #6 (en6):    a6a4824578ca
  HostId #7 (en1):    36c800323340
  HostId #8 (en2):    36c800323344
  HostId #9 (en3):    36c800323348
  HostId #10 (ap1):    f6d488735235

I am trying to do setup of hybris on MacBook-Pro a nd able to all the things but when I am running below command it failed to start hybris server and trying to find out the license.

Command: ./hybrisserver.sh

output:

➜  platform ./hybrisserver.sh 
Running hybrisPlatform on Tomcat...
--> Wrapper Started as Console
Java Service Wrapper Professional Edition 64-bit 3.5.29
  Copyright (C) 1999-2016 Tanuki Software, Ltd. All Rights Reserved.
    http://wrapper.tanukisoftware.com

License Error:
A valid license was not found in the Wrapper configuration file.

The Java Service Wrapper requires a License Key to activate the
software.  License Keys can be purchased on the Java Service Wrapper
web site:
  http://wrapper.tanukisoftware.com/purchase

You can also immediately obtain a one-month Free trial license:
  http://wrapper.tanukisoftware.com/trial

License Keys can be generated for any of the following HostIds:
  HostId #1 (anpi2):    a6a4824578ea
  HostId #2 (anpi0):    a6a4824578e8
  HostId #3 (anpi1):    a6a4824578e9
  HostId #4 (en4):    a6a4824578c8
  HostId #5 (en5):    a6a4824578c9
  HostId #6 (en6):    a6a4824578ca
  HostId #7 (en1):    36c800323340
  HostId #8 (en2):    36c800323344
  HostId #9 (en3):    36c800323348
  HostId #10 (ap1):    f6d488735235

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓬勃野心 2025-01-17 23:28:23

我对 tanuki 包装纸和 M1 Mac 也有同样的问题。使用 Hybris 2011。解决此问题的方法是将 hybris/bin/platform 路径中的整个 tomcat 文件夹替换为最新补丁版本中的文件夹,在我的例子中,这是版本 2011.19。然后运行 ​​ant all 就可以了。他们更新了 Tanuki Wrapper,并且在 tomcat/bin 文件夹中现在有一个wrapper-macosx-arm-64 文件。在最新的补丁版本 1905.40 中也添加了这个包装器,因此它很可能以相同的方式工作,没有问题。

我的 hybris 2011 正在使用 Azul Zulu OpenJdk 11 而不是 SapMachine11 运行。 Zulu OpenJdk 11 在 macOS 上以 ARM 64 位版本存在,与 x64 SapMachine 相比,在 M1 MacBook Pro 上运行速度要快得多。

I had the same issue with the tanuki wrapper and a M1 Mac. Working with Hybris 2011. The way to fix this is to replace the entire tomcat folder in the hybris/bin/platform path with the one from the latest patch release, in my case this was the release 2011.19. Then just run ant all and thats it. They updated the Tanuki Wrapper and inside of the tomcat/bin folder there is now a wrapper-macosx-arm-64 file. In the latest patch release 1905.40 this wrapper was added too, so the chances are good that it works in the same way, without issues.

My hybris 2011 is running with Azul Zulu OpenJdk 11 instead of SapMachine11. The Zulu OpenJdk 11 exists for macOS as an ARM 64-bit build and is running much faster with the M1 MacBook Pro compared to the x64 SapMachine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文