on ‎2020 Nov 26 5:31 AM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You can follow below link aswell.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SAP just released a patch 2105.8 to fix this issue.
Just filter for M1
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also follow this link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 SamudralaYou must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.