Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
[APIMANAGER-5617] JVM throws fatal error Created: 20/Feb/17 Updated: 05/Apr/17 Resolved: 05/Apr/17 Status: Project: Component/s: Affects Version/s: Fix Version/s: Resolved WSO2 API Manager REST API Publisher None None Bug Normal Type: Priority: thomas gardner Nuwan Dias Reporter: Assignee: 0 Resolution: Not a bug Votes: None Labels: Not Specified Remaining Estimate: Time Spent: Not Specified Not Specified Original Estimate: VM Arguments: Environment: jvm_args: -Xbootclasspath/a: -Xms256m -Xmx1024m -XX:MaxPermSize=256m XX:+HeapDumpOnOutOfMemoryError XX:HeapDumpPath=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\repositor Dcom.sun.management.jmxremote -Djava.endorsed.dirs=.\lib\endorsed;C:\Program Files\Java\jdk1.8.0_31\jre\lib\endorsed;C:\Program Files\Java\jdk1.8.0_31\lib\endorsed Dcarbon.home=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\.. -Dwso2.server Djava.command=C:\Program Files\Java\jdk1.8.0_31\bin\java -Djava.opts= Djava.io.tmpdir=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\tmp Dcatalina.base=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\lib\tomcat Dwso2.carbon.xml=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\repository Dwso2.registry.xml=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\repository Dwso2.user.mgt.xml=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\reposito Dwso2.transports.xml=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\reposit Djava.util.logging.config.file=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\ bridge.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager Dcarbon.config.dir.path=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\repos Dcomponents.repo=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\repository Dconf.location=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\repository\con Dcom.atomikos.icatch.file=C:\Users\thogar\DOCUME~1\WSO\WSO2AM~1.0\bin\..\lib Dcom.atomikos.icatch.hide_init_file_path=true Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.poo Attachments: Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=.\lib;C:\Program Files\Java\jdk1.8.0_31\lib\tools.jar;;.\bin\org.wso2.carbon.bootstrap-4.4.7.jar;.\bin\tcpmo 7.0.69.jar;;.\lib\commons-lang-2.6.0.wso2v1.jar -Dorg.opensaml.httpclient.https.disableH Dfile.encoding=UTF8 -Dorg.wso2.ignoreHostnameVerification=true java_command: org.wso2.carbon.bootstrap.Bootstrap RUN java_class_path (initial): .\lib;C:\Program Files\Java\jdk1.8.0_31\lib\tools.jar;;.\bin\org.w 4.4.7.jar;.\bin\tcpmon-1.0.jar;.\bin\tomcat-juli-7.0.69.jar;;.\lib\commons-lang-2.6.0.wso2v Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.8.0_31 JRE_HOME=C:\Program Files\Java\jdk1.8.0_31\jre USERNAME=thogar OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel --------------- S Y S T E M --------------OS: Windows 7 , 64 bit Build 7601 Service Pack 1 CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 60 stepping 3, cmov, cx8 sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, lzcnt, ht, tsc, tscinvbit, bm Memory: 4k page, physical 8294512k(1141704k free), swap 16587164k(6233756k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (25.31-b07) for windows-amd64 JRE (1.8 17 2014 21:00:28 by "java_re" with MS VC++ 10.0 (VS2010) time: Mon Feb 20 12:29:45 2017 elapsed time: 498 seconds (0d 0h 8m 18s) hs_err_pid47760.log Major Moderate Severity: Estimated Complexity: Test cases added: Not-applicable Description When following the steps in the article below using WSO2 API Manager v2.0.0 and WSO2 Carbon Framework v4.4.7 http://wso2.com/library/articles/2015/12/article-role-based-access-control-for-apis-exposed-viawso2-api-manager-using-oauth-2.0-scopes/ I cannot complete the final step of 'save&publish' the API as a pop window comes up, with a generic message about a server error. when checking the terminal output. It seems the error has caused the JVM to crash! [CodeBlob (0x0000000002aa1fd0)] Framesize: 0 BufferBlob (0x0000000002aa1fd0) used for StubRoutines (2) I have attached the JVM dump. Hopefully, this will be helpful. UPDATE having retested this, I can work around the error, by adding scope then save&publish each method individually. Still posting as a JVM crash is a big deal. Comments Comment by Lakmali Baminiwatta [ 05/Apr/17 ] This looked like due to the open JDK 8 issue. Please check [1] for more information and workarounds. [1] https://confluence.atlassian.com/kb/application-crashes-due-to-internal-error-sharedruntimecpp-833-caused-by-java-8-bug-740098867.html Generated at Sun Apr 30 04:57:35 IST 2017 using JIRA 7.2.2#72004sha1:9d5132893cc8c728a3601a9034a1f8547ef5c7be.