[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-cvs
Subject:    [jira] [Commented] (TOMEE-3823) TomEE and JAVA 17 compatibility issue getting CreateJavaVM Failed wi
From:       "Yugandher reddy vonteddu (Jira)" <jira () apache ! org>
Date:       2021-12-29 9:45:00
Message-ID: JIRA.13419847.1640770883000.77201.1640771100010 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/TOMEE-3823?page=com.atlassian.jira.plugin. \
system.issuetabpanels:comment-tabpanel&focusedCommentId=17466382#comment-17466382 ] 

Yugandher reddy vonteddu commented on TOMEE-3823:
-------------------------------------------------

TomEE java properties attached image- !image-2021-12-29-15-13-00-538.png!

> TomEE and JAVA 17 compatibility issue getting CreateJavaVM Failed with error [-6]
> ---------------------------------------------------------------------------------
> 
> Key: TOMEE-3823
> URL: https://issues.apache.org/jira/browse/TOMEE-3823
> Project: TomEE
> Issue Type: Bug
> Reporter: Yugandher reddy vonteddu
> Priority: Major
> Attachments: image-2021-12-29-15-13-00-538.png
> 
> 
> Getting below error when starting TomEE with Java 17  
> [2021-12-29 15:08:48] [2021-12-29 15:08:53] [debug] ( prunsrv.c:1763) [38924] \
> Apache Commons Daemon procrun log initialized. [2021-12-29 15:08:53] [info]   ( \
> prunsrv.c:1767) [38924] Apache Commons Daemon procrun (1.2.2.0 64-bit) started. \
> [2021-12-29 15:08:53] [info]   ( prunsrv.c:1677) [38924] Running Service 'TomEE'... \
> [2021-12-29 15:08:53] [debug] ( prunsrv.c:1448) [25324] Inside ServiceMain... \
> [2021-12-29 15:08:53] [debug] ( prunsrv.c:910 ) [25324] reportServiceStatusE: \
> dwCurrentState = 2, dwWin32ExitCode = 0, dwWaitHint = 3000, \
> dwServiceSpecificExitCode = 0. [2021-12-29 15:08:53] [info]   ( prunsrv.c:1203) \
> [25324] Starting service... [2021-12-29 15:08:53] [debug] ( javajni.c:216 ) [25324] \
> Explicit RuntimeLib specified 'C:\Program Files\Java\OpenJDK17\bin\server\jvm.dll' \
> [2021-12-29 15:08:53] [debug] ( javajni.c:285 ) [25324] loading jvm 'C:\Program \
> Files\Java\OpenJDK17\bin\server\jvm.dll' [2021-12-29 15:08:53] [debug] ( \
> javajni.c:795 ) [34808] Jvm Option[0] -javaagent:C:\Program \
> Files\TomEE\lib\openejb-javaagent.jar [2021-12-29 15:08:53] [debug] ( javajni.c:795 \
> ) [34808] Jvm Option[1] -Dcatalina.base=C:\Program Files\TomEE [2021-12-29 \
> 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm Option[2] \
> -Dcatalina.home=C:\Program Files\TomEE [2021-12-29 15:08:53] [debug] ( \
> javajni.c:795 ) [34808] Jvm Option[3] -Djava.io.tmpdir=C:\Program Files\TomEE\temp \
> [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm Option[4] \
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager [2021-12-29 \
> 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm Option[5] \
> -Djava.util.logging.config.file=C:\Program Files\TomEE\conf\logging.properties \
> [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm Option[6] \
> -Djava.awt.headless=true [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] \
> Jvm Option[7] -XX:MaxPermSize=256M [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) \
> [34808] Jvm Option[8] -XX:+HeapDumpOnOutOfMemoryError [2021-12-29 15:08:53] [debug] \
> ( javajni.c:795 ) [34808] Jvm Option[9] -enableassertions [2021-12-29 15:08:53] \
> [debug] ( javajni.c:795 ) [34808] Jvm Option[10] -enablesystemassertions \
> [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm Option[11] \
> -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:9000 \
> [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm Option[12] \
> -Dcom.sun.management.jmxremote.port=8686 [2021-12-29 15:08:53] [debug] ( \
> javajni.c:795 ) [34808] Jvm Option[13] -Dcom.sun.management.jmxremote.ssl=false \
> [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm Option[14] \
> -Dcom.sun.management.jmxremote.authenticate=false [2021-12-29 15:08:53] [debug] ( \
> javajni.c:795 ) [34808] Jvm Option[15] \
> -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true [2021-12-29 15:08:53] [debug] \
> ( javajni.c:795 ) [34808] Jvm Option[16] -DCORDYS_HOME=C:\Program \
> Files\OpenText\AppWorksPlatform\defaultInst [2021-12-29 15:08:53] [debug] ( \
> javajni.c:795 ) [34808] Jvm Option[17] -Dfile.encoding=UTF-8 [2021-12-29 15:08:53] \
> [debug] ( javajni.c:795 ) [34808] Jvm Option[18] -Djava.class.path=C:\Program \
> Files\TomEE\bin\bootstrap.jar;C:\Program Files\TomEE\bin\tomcat-juli.jar;C:\Program \
> Files\TomEE\bin\tomcat-juli.jar [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) \
> [34808] Jvm Option[19] exit [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] \
> Jvm Option[20] abort [2021-12-29 15:08:53] [debug] ( javajni.c:795 ) [34808] Jvm \
> Option[21] -Xmx4096m [2021-12-29 15:08:53] [error] ( javajni.c:806 ) [34808] \
> CreateJavaVM Failed with error [-6] [2021-12-29 15:08:53] [error] ( javajni.c:806 ) \
> [34808] The system cannot find the file specified. [2021-12-29 15:08:53] [debug] ( \
> javajni.c:1057) [34808] Java Worker thread finished : with status = 2 [2021-12-29 \
> 15:08:53] [error] ( prunsrv.c:1258) [25324] Failed to start Java [2021-12-29 \
> 15:08:53] [error] ( prunsrv.c:1611) [25324] ServiceStart returned 4. [2021-12-29 \
> 15:08:53] [debug] ( prunsrv.c:910 ) [25324] reportServiceStatusE: dwCurrentState = \
> 1, dwWin32ExitCode = 1066, dwWaitHint = 0, dwServiceSpecificExitCode = 4. \
> [2021-12-29 15:08:53] [info]   ( prunsrv.c:1679) [38924] Run service finished. \
> [2021-12-29 15:08:53] [info]   ( prunsrv.c:1848) [38924] Apache Commons Daemon \
> procrun finished. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic