Topic
  • 1 reply
  • Latest Post - ‏2013-01-31T17:46:23Z by SystemAdmin
SystemAdmin
SystemAdmin
37422 Posts

Pinned topic Cannot start WAS85 with JDK1.7

‏2013-01-31T13:21:19Z |
Hello,

I want to update my WAS85 installation to run with a JDK 1.7. Downloaded promptly JDK 1.7 from IBM's download page, installed it and used the managesdk.sh tool to update the java version. So far so good.
However, when I started my server after updating Java, I got the following error in AppServer/profiles/AppSrv01/logs/server1/SystemOut.log

Can someone give me a hint what am I doing wrong?
Thanks!

1/31/13 14:15:09:608 CET 00000001 WsServerImpl E WSVR0009E: Error occurred during startup
java.lang.IllegalStateException: java.lang.IllegalStateException: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at com.ibm.ws.config.ModelMgr.initializeModels(ModelMgr.java:342)
at com.ibm.ws.config.ModelMgr.initialize(ModelMgr.java:152)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:264)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:730)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:95)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:981)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:376)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:147)
Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:607)
at com.ibm.ws.config.ModelMgr.processInitializer(ModelMgr.java:564)
at com.ibm.ws.config.ModelMgr.loadModelsViaEclipse(ModelMgr.java:499)
at com.ibm.ws.config.ModelMgr.initializeModels(ModelMgr.java:338)
... 30 more
Caused by: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:634)
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:604)
... 33 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:631)
... 34 more
Caused by: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:263)
at org.eclipse.jem.internal.java.init.JavaInit.preRegisterPackages(JavaInit.java:48)
at org.eclipse.jem.internal.java.init.JavaInit.init(JavaInit.java:34)
at org.eclipse.jst.j2ee.internal.J2EEInit.init(J2EEInit.java:119)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.invokePrereqInits(ArchiveInit.java:100)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.init(ArchiveInit.java:81)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit.init(ArchiveInit.java:45)
at com.ibm.websphere.models.config.init.ReadOnlyConfigInit.initializeCommonArchive(ReadOnlyConfigInit.java:110)
at com.ibm.websphere.models.config.init.ReadOnlyConfigInit.init(ReadOnlyConfigInit.java:90)
... 39 more
Caused by: java.lang.NullPointerException
at org.eclipse.jem.java.internal.impl.JavaRefPackageImpl.initializePackageContents(JavaRefPackageImpl.java:816)
at org.eclipse.jem.java.internal.impl.JavaRefPackageImpl.initGen(JavaRefPackageImpl.java:232)
at org.eclipse.jem.java.internal.impl.JavaRefPackageImpl.init(JavaRefPackageImpl.java:211)
at org.eclipse.jem.java.JavaRefPackage.<clinit>(JavaRefPackage.java:1564)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:241)
... 47 more
Updated on 2013-01-31T17:46:23Z at 2013-01-31T17:46:23Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    37422 Posts

    Re: Cannot start WAS85 with JDK1.7

    ‏2013-01-31T17:46:23Z  
    The WAS 8.5.0 does not update the Java Library Path after updating the JDK to 1.7.
    The library path looks like this:
    Java Library path = /opt/IBM/WebSphere/AppServer/java/jre/lib/amd64/default:/opt/IBM/WebSphere/AppServer/java/jre/lib/amd64:/opt/IB
    M/WebSphere/AppServer/lib/native/linux/x86_32/:/opt/IBM/WebSphere/AppServer/bin::/usr/lib
    Orb Version = IBM Java ORB build orb70-20121008.00
    Note the entry: AppServer/lib/native/linux/x86_32/

    Due to it, the server refuses to start with JDK1.7. One has to manually mv the folder. This is a serious bug in WAS85.
    Can someone from the IBM supportlers please tell me if it has been reported as a bug, and fixed?

    Thanks.