Closed kasunbg closed 6 years ago
I have checked the server startup and the issue has occurred due to JDK 9 is not yet supported by the product (I believe the same issue will occur for other products as well). Given below is the console out when starting the product manually.
Starting WSO2 Carbon (in unsupported JDK) [ERROR] CARBON is supported only on JDK 1.7 and 1.8 JAVA_HOME environment variable is set to /usr/java/openjdk-9.0.4 CARBON_HOME environment variable is set to /opt/wso2/wso2is-5.5.0 Using Java memory options: -Xms256m -Xmx1024m -Djava.endorsed.dirs=/opt/wso2/wso2is-5.5.0/lib/endorsed:/usr/java/openjdk-9.0.4/jre/lib/endorsed:/usr/java/openjdk-9.0.4/lib/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
However, as per the doc [1], I've tried removing -Djava.endorsed.dirs property and hit with another blocker in OSGi.
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.eclipse.osgi.internal.baseadaptor.BaseStorage (file:/opt/wso2/wso2is-5.5.0/repository/components/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar) to method java.net.URLClassLoader.addURL(java.net.URL) WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.internal.baseadaptor.BaseStorage WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:70) at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:51) Caused by: java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi. at org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:115) at org.wso2.carbon.server.Main.launchCarbon(Main.java:160) at org.wso2.carbon.server.Main.main(Main.java:94) ... 6 more
[1]. https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B
OK, so this is a product bug.
So, I guess the reason we couldn't identify this issue sooner is because the product logs are not yet available to view on Testgrid dashboard. Specially the product team members won't be able to go through this process due to access restrictions.
Another reason why we need log download support! cc @Dhanushka Madushan dhanushka@wso2.com
Thanks, KasunG
On Mon, Jun 11, 2018 at 2:20 PM Harshan Liyanage notifications@github.com wrote:
I have checked the server startup and the issue has occurred due to OPENJDK 9 is not yet supported by the product (I believe the same issue will occur for other products as well). Given below is the console out when starting the product manually.
Starting WSO2 Carbon (in unsupported JDK) [ERROR] CARBON is supported only on JDK 1.7 and 1.8 JAVA_HOME environment variable is set to /usr/java/openjdk-9.0.4 CARBON_HOME environment variable is set to /opt/wso2/wso2is-5.5.0 Using Java memory options: -Xms256m -Xmx1024m -Djava.endorsed.dirs=/opt/wso2/wso2is-5.5.0/lib/endorsed:/usr/java/openjdk-9.0.4/jre/lib/endorsed:/usr/java/openjdk-9.0.4/lib/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
However, as per the doc [1], I've tried removing -Djava.endorsed.dirs property and hit with another blocker in OSGi.
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.eclipse.osgi.internal.baseadaptor.BaseStorage (file:/opt/wso2/wso2is-5.5.0/repository/components/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar) to method java.net.URLClassLoader.addURL(java.net.URL) WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.internal.baseadaptor.BaseStorage WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:70) at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:51) Caused by: java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi. at org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:115) at org.wso2.carbon.server.Main.launchCarbon(Main.java:160) at org.wso2.carbon.server.Main.main(Main.java:94) ... 6 more
[1]. https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wso2/testgrid/issues/794#issuecomment-396169589, or mute the thread https://github.com/notifications/unsubscribe-auth/AGb4YPTsi0u-_N-oo0syf5Stxfi3K6r_ks5t7i9CgaJpZM4UgyqG .
Description:
Noticed the below log for following infrastructure combination:
Infrastructure: {OSVersion=16.04, JDK=OPEN_JDK9, DBEngineVersion=5.7, OS=UBUNTU, DBEngine=mysql}
The AWS infrastructure provisioning was a success. But, for some reason, the product doesn't seem to start-up properly.
Suggested Labels:
Suggested Assignees:
Affected Product Version: m30
OS, DB, other environment details and versions:
OSVersion=16.04, JDK=OPEN_JDK9, DBEngineVersion=5.7, OS=UBUNTU, DBEngine=mysql
Steps to reproduce: We need to run the wso2 is 5.5.0 just for above infra combination and try to reproduce this.
Currently, the best way to run a job for a given infrastructure combination is to create a custom testgrid.yaml and set 'includes' tag under infrastructureConfig.
Related Issues:
680