Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It can‘t start up on mac with M1 chipset #84

Open
LeeLi888 opened this issue Mar 1, 2022 · 0 comments
Open

It can‘t start up on mac with M1 chipset #84

LeeLi888 opened this issue Mar 1, 2022 · 0 comments

Comments

@LeeLi888
Copy link

LeeLi888 commented Mar 1, 2022

docker-compose.yml

image

logs

liferay7.4 | [LIFERAY] To SSH into this container, run: "docker exec -it cea218c801ad /bin/bash".
liferay7.4 |
liferay7.4 | [LIFERAY] Using zulu8 JDK. You can use another JDK by setting the "JAVA_VERSION" environment varible.
liferay7.4 |
liferay7.4 | [LIFERAY] The directory /mnt/liferay/deploy is ready. Copy files to $(pwd)/xyz123/deploy on the host operating system to deploy modules to Liferay DXP at runtime.
liferay7.4 |
liferay7.4 | [LIFERAY] Starting Liferay DXP. To stop the container with CTRL-C, run this container with the option "-it".
liferay7.4 |
liferay7.4 | 01-Mar-2022 14:38:09.689 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2743] milliseconds
liferay7.4 | Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/shielded-container-lib/portal-impl.jar!/system.properties
liferay7.4 | Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/shielded-container-lib/portal-impl.jar!/portal.properties
liferay7.4 | 2022-03-01 14:38:18.146 INFO [main][PortalContextLoaderListener:123] JVM arguments: -Djava.util.logging.config.file=/opt/liferay/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dfile.encoding=UTF-8 -Djava.locale.providers=JRE,COMPAT,CLDR -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m -XX:MaxMetaspaceSize=768m -XX:MetaspaceSize=768m -XX:NewSize=1536m -XX:SurvivorRatio=7 -Dignore.endorsed.dirs= -Dcatalina.base=/opt/liferay/tomcat -Dcatalina.home=/opt/liferay/tomcat -Djava.io.tmpdir=/opt/liferay/tomcat/temp
liferay7.4 | 2022-03-01 14:38:52.050 WARN [main][DialectDetector:81] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demonstration purposes. The database settings can be changed in portal-ext.properties.
liferay7.4 | 2022-03-01 14:38:52.055 INFO [main][DialectDetector:148] Using dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect for HSQL Database Engine 2.3
liferay7.4 | 2022-03-01 14:39:01.606 INFO [main][ModuleFrameworkImpl:1238] Starting initial bundles
liferay7.4 | 2022-03-01 14:39:25.740 INFO [main][ModuleFrameworkImpl:1535] Started initial bundles
liferay7.4 | 2022-03-01 14:39:25.743 INFO [main][ModuleFrameworkImpl:1584] Starting dynamic bundles
liferay7.4 | 2022-03-01 14:39:47.539 INFO [Start Level: Equinox Container: 7b00679c-b403-4a9a-a700-700186b52812][Policy:289] Attempting to load AntiSamy policy from an input stream.
liferay7.4 | 2022-03-01 14:39:47.948 INFO [CM Configuration Updater (ManagedServiceFactory Update: factoryPid=[com.liferay.portal.security.antisamy.configuration.AntiSamyClassNameConfiguration])][Policy:289] Attempting to load AntiSamy policy from an input stream.
liferay7.4 | 2022-03-01 14:39:48.167 INFO [CM Configuration Updater (ManagedServiceFactory Update: factoryPid=[com.liferay.portal.security.antisamy.configuration.AntiSamyClassNameConfiguration])][Policy:289] Attempting to load AntiSamy policy from an input stream.
liferay7.4 | #
liferay7.4 | # A fatal error has been detected by the Java Runtime Environment:
liferay7.4 | #
liferay7.4 | # SIGSEGV (0xb) at pc=0x000000400d009ce0, pid=30, tid=0x00000040f76be700
liferay7.4 | #
liferay7.4 | # JRE version: OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (8.0_322-b06) (build 1.8.0_322-b06)
liferay7.4 | # Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode linux-amd64 compressed oops)
liferay7.4 | # Problematic frame:
liferay7.4 | # J 11701 C1 org.apache.xml.serialize.Printer.printText(C)V (65 bytes) @ 0x000000400d009ce0 [0x000000400d009cc0+0x20]
liferay7.4 | #
liferay7.4 | # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
liferay7.4 | #
liferay7.4 | # An error report file with more information is saved as:
liferay7.4 | # /opt/liferay/hs_err_pid30.log
liferay7.4 | Compiled method (c1) 111761 11701 ! 3 org.apache.xml.serialize.Printer::printText (65 bytes)
liferay7.4 | total in heap [0x000000400d009b50,0x000000400d00a1b0] = 1632
liferay7.4 | relocation [0x000000400d009c78,0x000000400d009cc0] = 72
liferay7.4 | main code [0x000000400d009cc0,0x000000400d009f80] = 704
liferay7.4 | stub code [0x000000400d009f80,0x000000400d00a028] = 168
liferay7.4 | oops [0x000000400d00a028,0x000000400d00a030] = 8
liferay7.4 | metadata [0x000000400d00a030,0x000000400d00a038] = 8
liferay7.4 | scopes data [0x000000400d00a038,0x000000400d00a090] = 88
liferay7.4 | scopes pcs [0x000000400d00a090,0x000000400d00a110] = 128
liferay7.4 | dependencies [0x000000400d00a110,0x000000400d00a118] = 8
liferay7.4 | handler table [0x000000400d00a118,0x000000400d00a190] = 120
liferay7.4 | nul chk table [0x000000400d00a190,0x000000400d00a1b0] = 32
liferay7.4 | #
liferay7.4 | # If you would like to submit a bug report, please visit:
liferay7.4 | # http://www.azul.com/support/
liferay7.4 | #
liferay7.4 | qemu: uncaught target signal 6 (Aborted) - core dumped
liferay7.4 | /usr/local/bin/liferay_entrypoint.sh: line 41: 30 Aborted start_liferay.sh
liferay7.4 exited with code 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant