cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Will Hybris 2005 and higher run on the new MAC M1?

5,504

We're planning to switch to the new Mac with M1, but we're wondering if we can continue developing/debugging/testing our Hybris project there.

Has anyone tried or know an issue running Hybris in Mac M1 or Big Sur.

Accepted Solutions (1)

Accepted Solutions (1)

The short answer is yes. Yes it'll run on an M1.

The tanuki service wrapper doesn't yet support the M1 chip (though i think i saw support is coming in version 4.0), so if you've not yet had to install Rosetta to support another application, you may have to manually install to allow hybris to startup. After doing that I was able to startup just fine and haven't noticed any problems

0 Likes

Can you please provide info on how to manually install it? I'm trying to run hybris on a M1 Pro and no luck so far. I keep getting the following error:

WrapperManager: Initializing...
WrapperManager:
WrapperManager: ERROR - Unable to load the Wrapper's native library because none of the
WrapperManager:         following files:
WrapperManager:           libwrapper-macosx-universal-64.dylib
WrapperManager:           libwrapper.dylib
WrapperManager:         could be located on the following java.library.path:
WrapperManager:           .../core-customize/bin/platform/tomcat/bin/../lib
WrapperManager:         Please see the documentation for the wrapper.java.library.path
WrapperManager:         configuration property.
WrapperManager:
<-- Wrapper Stopped
Thank you!
former_member773947
Discoverer
0 Likes

Hi How can solve the error? I met it as well in Mac

Unable to load the Wrapper's native library
former_member797867
Discoverer
0 Likes

Hello tkeeney ,

I was able to start the server without any problem with rosetta, but I have a big problem, I can't debug on intellij

Debugger failed to attach: handshake failed - connection prematurally closed

can you help me please ?

luca_orefice1
Discoverer
0 Likes

Hi Yassine,

I have the same issue. Did you find any solution for it?

Kind Regards

Answers (6)

Answers (6)

VinayKumarS
Active Contributor

You can follow below link aswell.

https://devista.ro/blog/hybris-on-m1/

0 Likes

Hi Vinay, Do we need tanukisoftware licence to run ?

I got the below error;

MacBook-Air platform % ./hybrisserver.sh

Running hybrisPlatform on Tomcat...

The version of the script (3.5.29) doesn't match the version of this Wrapper (3.5.49). This might cause some problems

--> Wrapper Started as Console

Java Service Wrapper Professional Edition 64-bit 3.5.49

Copyright (C) 1999-2022 Tanuki Software, Ltd. All Rights Reserved.

http://wrapper.tanukisoftware.com

License Error:

The License Key does not authorize the use of this version of the Wrapper.

Upgrade term is 2010-02-09 to 2019-02-09. This version's release date is 2022-02-09.

The Java Service Wrapper requires a License Key to activate the

software. Licenses can be purchased on the Java Service Wrapper

web site:

https://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 the following HostId:

HostId #1 (en0): d0880c9cc0e2

You may include license keys for several servers within a single file by

prefixing the property names of each key with their respective

server host name or HostId. Please use the following syntax:

wrapper.<hostname|hostid>.license.*.

The host name of this machine is: NajMacBook-Air.local

<-- Wrapper Stopped

tim_pearson
Member

dramos-kyanicorp The only way I've found is that you have to also be running java through Rosetta 2 as well. If you've loaded an arm based version of java, you'll get the error because its looking for that version of the wrapper. But if you're running an x86 version of java through Rosetta, then it will load the proper wrapper and the server will start up without any issue. The one downside is that java through Rosetta is considerably slower than the universal version.

Markus-Harr
Participant
0 Likes

With Rosetta 2 performance is terrible

former_member797867
Discoverer
0 Likes

Hello tim.pearson ,

I was able to start the server without any problem with rosetta, but I have a big problem, I can't debug on intellij

Debugger failed to attach: handshake failed - connection prematurally closed

can you help me please ?

luca_orefice1
Discoverer
0 Likes

Hi,

SAP just released a patch 2105.8 to fix this issue.

See: https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/75d4c3895cb346008545900bffe851ce/f9b65161e...

Just filter for M1

Regards

VinayKumarS
Active Contributor
0 Likes
senerkucuknane
Explorer
0 Likes

Hi Everyone,

I just started using m1 pro mac and i am not able get a successful ant all, it throws 840 error in the compile step of platformservices. I thought that it was caused by my jdk choice but i tried oracle jdk, openjdk, azul jdk, adoptopenjdk but all failed. Do you have any idea why this happens ?

VinayKumarS
Active Contributor
0 Likes

Hello Guys

I was facing the same problem then finally I found the solution. I am using Macbook Air M1

if you are not able to start the server and if you are getting the Wrapper error when you start your server.

Then you need to do below things.

1) run the below command using sudo access

xattr -d com.apple.quarantine wrapper-macosx-universal-64

this file will be in yoiur platfom/catalina/bin folder2) Go to Settings -> Security and Privacy -> Unblock wrapper-macosx-universal-64Then go to hybris 2105 platform folderstart hybris server using below commands./hybrisserver.sh startI hope this helps.Vinay Kumar Samudrala
anandmohawk
Explorer
0 Likes

Hi Vinay,

I am facing the same issue, after following the step you mentioned, am getting below error, any idea?

Running hybrisPlatform on Tomcat...

--> Wrapper Started as Console

Java Service Wrapper Professional Edition 64-bit 3.5.44

Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.

http://wrapper.tanukisoftware.com

Licensed to SAP SE for hybris Platform

Launching a JVM...

WrapperManager: Initializing...

WrapperManager:

WrapperManager: ERROR - Unable to load the Wrapper's native library because none of the

WrapperManager: following files:

WrapperManager: libwrapper-macosx-universal-64.dylib

WrapperManager: libwrapper.dylib

WrapperManager: could be located on the following java.library.path:

WrapperManager: /CXCOMM210500P_3-70005661/hybris/bin/platform/tomcat/bin/../lib

WrapperManager: Please see the documentation for the wrapper.java.library.path

WrapperManager: configuration property.

WrapperManager:

VinayKumarS
Active Contributor
0 Likes

Did you followed the steps which I mentioned?