IBM Support

将Cognos集成到Connection之后Cognos不能正常启动

Troubleshooting


Problem

在将Cognos BI集成入IBM Connection中的过程中发现Cognos BI不能正常启动

Symptom

报错信息:

************ Start Display Current Environment ************
Host Operating System is Linux, version 2.6.32-358.el6.x86_64
Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM
was.install.root = /home/IBM/WebSphere/AppServer
user.install.root = /home/IBM/WebSphere/AppServer/profiles/AppSrv01
Java Home = /home/IBM/WebSphere/AppServer/java/jre
ws.ext.dirs = /home/IBM/WebSphere/AppServer/java/lib:/home/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/home/IBM/WebSphere/AppServer/classes:/home/IBM/WebSphere/AppServer/lib:/home/IBM/WebSphere/AppServer/installedChannels:/home/IBM/WebSphere/AppServer/lib/ext:/home/IBM/WebSphere/AppServer/web/help:/home/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /home/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/home/IBM/WebSphere/AppServer/properties:/home/IBM/WebSphere/AppServer/lib/startup.jar:/home/IBM/WebSphere/AppServer/lib/bootstrap.jar:/home/IBM/WebSphere/AppServer/lib/jsf-nls.jar:/home/IBM/WebSphere/AppServer/lib/lmproxy.jar:/home/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/home/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/home/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/home/IBM/WebSphere/AppServer/java/lib/tools.jar
Java Library path = /home/IBM/WebSphere/AppServer/lib/native/linux/x86_64/:/home/IBM/WebSphere/AppServer/java/jre/lib/amd64/default:/home/IBM/WebSphere/AppServer/java/jre/lib/amd64:/home/IBM/WebSphere/AppServer/bin:/usr/lib:/home/IBM/Cognos64/bin64:
Orb Version = IBM Java ORB build orb626ifx-20120304.00 (++191257)
************* End Display Current Environment *************
[10/20/14 16:22:20:616 CST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info.
[10/20/14 16:22:20:616 CST] 00000000 ManagerAdmin I TRAS0111I: The message IDs that are in use are deprecated
[10/20/14 16:22:20:665 CST] 00000000 ModelMgr I WSVR0800I: Initializing core configuration models
[10/20/14 16:22:20:733 CST] 00000000 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:355)
at com.ibm.ws.config.ModelMgr.initialize(ModelMgr.java:162)
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:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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:371)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:142)
Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:620)
at com.ibm.ws.config.ModelMgr.processInitializer(ModelMgr.java:577)
at com.ibm.ws.config.ModelMgr.loadModelsViaEclipse(ModelMgr.java:512)
at com.ibm.ws.config.ModelMgr.initializeModels(ModelMgr.java:351)
... 30 more
Caused by: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:647)
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:617)
... 33 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.ws.config.ModelMgr.performInitialization(ModelMgr.java:644)
... 34 more
Caused by: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:250)
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:228)
... 47 more

Cause

由于缺少默认环境变量导致

Resolving The Problem

将必须的环境变量加入 export LD_PRELOAD=/usr/lib64/libfreebl3.so

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Cognos Connection","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.1.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21687665