cognos部署WAS报错求大神看看

各位大神,小弟今天在做Cognos部署WAS的时候报错,一直没能解决。日志如下:[14-8-31 15:14:29:444 CST] 000000fd webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet 消息 - [IBM Cognos#p2pd.war]:.dispatcher: U...显示全部
各位大神,小弟今天在做Cognos部署WAS的时候报错,一直没能解决。日志如下:
[14-8-31 15:14:29:444 CST] 000000fd webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet 消息 - [IBM Cognos#p2pd.war]:.dispatcher: Using class loader in the servlet context:com.cognos.pogo.isolation.ParanoidClassLoader@4b0c4b0c
[14-8-31 15:14:30:610 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.610 [com.cogn] (): Added extra http header info, will copy header Original-Remote-Addr to the BIBus env vars as ORIGINAL_REMOTE_ADDR
[14-8-31 15:14:30:611 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.611 [com.cogn] (): Added extra http header info, will copy header Accept-Encoding to the BIBus env vars as Accept-Encoding
[14-8-31 15:14:30:611 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.611 [com.cogn] (): Added extra http header info, will copy header IF-MODIFIED-SINCE to the BIBus env vars as IF-MODIFIED-SINCE
[14-8-31 15:14:30:612 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.612 [com.cogn] (): Added extra http header info, will copy header IF-NONE-MATCH to the BIBus env vars as IF-NONE-MATCH
[14-8-31 15:14:30:612 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.612 [com.cogn] (): Added extra http header info, will copy header X-Controller-Agent to the BIBus env vars as X-Controller-Agent
[14-8-31 15:14:30:612 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.612 [com.cogn] (): Added extra http header info, will copy header X-Node-ID to the BIBus env vars as X-Node-ID
[14-8-31 15:14:30:612 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.612 [com.cogn] (): Added extra http header info, will copy header COM-IBM-COGNOS-AUTHENTICITYTOKEN to the BIBus env vars as COM-IBM-COGNOS-AUTHENTICITYTOKEN
[14-8-31 15:14:30:613 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:30.613 [com.cogn] (): Starting startup thread: Thread[Thread-84,5,main]
[14-8-31 15:14:30:667 CST] 000001c1 SystemOut     O DEBUG   2014-08-31 15:14:30.667 [com.cogn] (): Loading services from services XML files
[14-8-31 15:14:30:667 CST] 000001c1 SystemOut     O DEBUG   2014-08-31 15:14:30.667 [com.cogn] (): Loading XML service files using the classloader
[14-8-31 15:14:30:669 CST] 000001c1 SystemOut     O DEBUG   2014-08-31 15:14:30.668 [com.cogn] (): The servlet container returned 75 matching resource paths
[14-8-31 15:14:30:669 CST] 000001c1 SystemOut     O DEBUG   2014-08-31 15:14:30.669 [com.cogn] (): Examining /WEB-INF/services/tempfilecleanup.xml
[14-8-31 15:14:30:669 CST] 000001c1 SystemOut     O DEBUG   2014-08-31 15:14:30.669 [com.cogn] (): Processing services resource: /WEB-INF/services/tempfilecleanup.xml
[14-8-31 15:14:30:973 CST] 000001c1 SystemOut     O WARN    2014-08-31 15:14:30.973 [com.cogn] (): Thread Thread-84 has died by throwing the following (uncaught) exception:
java.lang.NullPointerException
        at com.cognos.p2pd.util.PropertyInserter.insertProperties(PropertyInserter.java:100)
        at com.cognos.p2pd.util.PropertyInserter.insertProperties(PropertyInserter.java:129)
        at com.cognos.p2pd.util.PropertyInserter.insertProperties(PropertyInserter.java:124)
        at com.cognos.p2pd.util.PropertyInserter.insertProperties(PropertyInserter.java:124)
        at com.cognos.p2pd.util.PropertyInserter.insertProperties(PropertyInserter.java:124)
        at com.cognos.pogo.config.XMLConfigurator.configureService(XMLConfigurator.java:233)
        at com.cognos.pogo.config.XMLConfigurator.configureFile(XMLConfigurator.java:218)
        at com.cognos.pogo.config.XMLConfigurator.configureFromResources(XMLConfigurator.java:122)
        at com.cognos.pogo.config.XMLConfigurator.configure(XMLConfigurator.java:64)
        at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:687)
        at com.cognos.pogo.util.threads.SafeThread.safeRun(SafeThread.java:70)
        at com.cognos.pogo.util.threads.SafeThread.run(SafeThread.java:61)
[14-8-31 15:14:30:972 CST] 000000fd servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0100E: 应用程序 IBM Cognos 中的 servlet dispatcher 创建了未捕获到的 init() 异常:java.lang.NoClassDefFoundError: com.cognos.accman.jcam.crypto.jni.JNISystemProperties (initialization failure)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
        at com.cognos.accman.jcam.crypto.SystemProtectionSession._getRawKey(SystemProtectionSession.java:244)
        at com.cognos.accman.jcam.crypto.SystemProtectionSession.(SystemProtectionSession.java:57)
        at com.cognos.accman.jcam.crypto.misc.Configuration.(Configuration.java:70)
        at com.cognos.accman.jcam.crypto.misc.Configuration.getInstanceWithDefaultConfig(Configuration.java:113)
        at com.cognos.accman.jcam.crypto.misc.JVMEnvironment.isFIPSSupportedOS(JVMEnvironment.java:212)
        at com.cognos.accman.jcam.crypto.CAMFactory.checkFIPSSupport(CAMFactory.java:2814)
        at com.cognos.accman.jcam.crypto.CAMFactory.initialize(CAMFactory.java:125)
        at com.cognos.caf.CAFFactoryImpl.initCAMFactory(CAFFactoryImpl.java:148)
        at com.cognos.caf.CAFFactoryImpl.configure(CAFFactoryImpl.java:117)
        at com.cognos.pogo.transport.PogoServlet.init(PogoServlet.java:124)
        at com.cognos.pogo.isolation.ServletWrapper.initServlet(ServletWrapper.java:121)
        at com.cognos.pogo.isolation.ServletWrapper.init(ServletWrapper.java:101)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:358)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:169)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:739)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)

[14-8-31 15:14:30:999 CST] 000000fd webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet 错误]-[dispatcher]: java.lang.NoClassDefFoundError: com.cognos.accman.jcam.crypto.jni.JNISystemProperties (initialization failure)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
        at com.cognos.accman.jcam.crypto.SystemProtectionSession._getRawKey(SystemProtectionSession.java:244)
        at com.cognos.accman.jcam.crypto.SystemProtectionSession.(SystemProtectionSession.java:57)
        at com.cognos.accman.jcam.crypto.misc.Configuration.(Configuration.java:70)
        at com.cognos.accman.jcam.crypto.misc.Configuration.getInstanceWithDefaultConfig(Configuration.java:113)
        at com.cognos.accman.jcam.crypto.misc.JVMEnvironment.isFIPSSupportedOS(JVMEnvironment.java:212)
        at com.cognos.accman.jcam.crypto.CAMFactory.checkFIPSSupport(CAMFactory.java:2814)
        at com.cognos.accman.jcam.crypto.CAMFactory.initialize(CAMFactory.java:125)
        at com.cognos.caf.CAFFactoryImpl.initCAMFactory(CAFFactoryImpl.java:148)
        at com.cognos.caf.CAFFactoryImpl.configure(CAFFactoryImpl.java:117)
        at com.cognos.pogo.transport.PogoServlet.init(PogoServlet.java:124)
        at com.cognos.pogo.isolation.ServletWrapper.initServlet(ServletWrapper.java:121)
        at com.cognos.pogo.isolation.ServletWrapper.init(ServletWrapper.java:101)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:358)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:169)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:739)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)

[14-8-31 15:14:40:961 CST] 000000fd webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet 消息 - [IBM Cognos#p2pd.war]:.dispatcher: Using class loader in the servlet context:com.cognos.pogo.isolation.ParanoidClassLoader@4b0c4b0c
[14-8-31 15:14:40:963 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.963 [com.cogn] (): Added extra http header info, will copy header Original-Remote-Addr to the BIBus env vars as ORIGINAL_REMOTE_ADDR
[14-8-31 15:14:40:963 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.963 [com.cogn] (): Added extra http header info, will copy header Accept-Encoding to the BIBus env vars as Accept-Encoding
[14-8-31 15:14:40:963 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.963 [com.cogn] (): Added extra http header info, will copy header IF-MODIFIED-SINCE to the BIBus env vars as IF-MODIFIED-SINCE
[14-8-31 15:14:40:964 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.964 [com.cogn] (): Added extra http header info, will copy header IF-NONE-MATCH to the BIBus env vars as IF-NONE-MATCH
[14-8-31 15:14:40:964 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.964 [com.cogn] (): Added extra http header info, will copy header X-Controller-Agent to the BIBus env vars as X-Controller-Agent
[14-8-31 15:14:40:964 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.964 [com.cogn] (): Added extra http header info, will copy header X-Node-ID to the BIBus env vars as X-Node-ID
[14-8-31 15:14:40:964 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.964 [com.cogn] (): Added extra http header info, will copy header COM-IBM-COGNOS-AUTHENTICITYTOKEN to the BIBus env vars as COM-IBM-COGNOS-AUTHENTICITYTOKEN
[14-8-31 15:14:40:964 CST] 000000fd SystemOut     O DEBUG   2014-08-31 15:14:40.964 [com.cogn] (): Starting startup thread: Thread[Thread-85,5,main]
[14-8-31 15:14:40:982 CST] 000001c2 SystemOut     O DEBUG   2014-08-31 15:14:40.982 [com.cogn] (): Loading services from services XML files
[14-8-31 15:14:40:983 CST] 000001c2 SystemOut     O DEBUG   2014-08-31 15:14:40.982 [com.cogn] (): Loading XML service files using the classloader
[14-8-31 15:14:40:984 CST] 000001c2 SystemOut     O DEBUG   2014-08-31 15:14:40.984 [com.cogn] (): The servlet container returned 75 matching resource p收起
参与7

查看其它 3 个回答ufobug的回答

ufobugufobug项目经理李四

是这样的,cognos部署was 建议用cognos configuration 自带的打包工具进行打包部署,直接打包发布就行。

发布完重启was。然后跟踪cognos 的启动日志看看有没有报错

第一次很痛苦。后来就好了

环境变量 PATH 需要增加 c10/bin 目录

你cognos configuration 截图我看看

政府机关 · 2015-12-28
浏览1747

回答者

ufobug
项目经理李四
擅长领域: 大数据商业智能Linux

ufobug 最近回答过的问题

回答状态

  • 发布时间:2015-12-28
  • 关注会员:3 人
  • 回答浏览:1747
  • X社区推广