简体   繁体   English

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

[英]Hybris server startup issue on Mac OS(Hybris 1905 version and Chip: Apple M1 Pro)

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.我正在尝试在 MacBook-Pro 上设置 hybris 并能够完成所有事情,但是当我在命令下运行时,它无法启动 hybris 服务器并试图找出许可证。

Command: ./hybrisserver.sh命令:./hybrisserver.sh

output: 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

I had the same issue with the tanuki wrapper and a M1 Mac.我在 tanuki 包装器和 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.使用 Hybris 2011。解决此问题的方法是将 hybris/bin/platform 路径中的整个 tomcat 文件夹替换为最新补丁版本中的文件夹,在我的例子中,这是 2011.19 版本。 Then just run ant all and thats it.然后只需运行 ant 就可以了。 They updated the Tanuki Wrapper and inside of the tomcat/bin folder there is now a wrapper-macosx-arm-64 file.他们更新了 Tanuki Wrapper,在 tomcat/bin 文件夹中现在有一个 wrapper-macosx-arm-64 文件。 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.在最新的补丁版本 1905.40 中也添加了这个包装器,所以它很有可能以相同的方式工作,没有问题。

My hybris 2011 is running with Azul Zulu OpenJdk 11 instead of SapMachine11.我的 hybris 2011 使用 Azul Zulu OpenJdk 11 而不是 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. Zulu OpenJdk 11 以 ARM 64 位版本的形式存在于 macOS,与 x64 SapMachine 相比,在 M1 MacBook Pro 上的运行速度要快得多。

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

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