Cognos应用打包后部署到jboss5,COGNOS启动成功,错误DPR-ERR-2109

环境是jboss5+cognos10.1+redhat5.2+oracle11g使用cognos自带的tomcat没问题,cognos一切正常,将应用打包后部署到redhat上的jboss5后,启动jboss,日志如下文:浏览器输入http://IP:9300/p2pd/servletContent Manager状态正常输入http://IP:9300/p2pd/servlet/dispatch错误如下:...显示全部
环境是jboss5+cognos10.1+redhat5.2+oracle11g
使用cognos自带的tomcat没问题,cognos一切正常,将应用打包后部署到redhat上的jboss5后,启动jboss,日志如下文:

浏览器输入http://IP:9300/p2pd/servlet
Content Manager状态正常

输入http://IP:9300/p2pd/servlet/dispatch错误如下:



贴出出错的日志:
server.log日志基本没问题,有两个错误如下:
Error:log4j:WARN No appenders could be found for logger (org.apache.xml.security.Init).
Error:log4j:WARN Please initialize the log4j system property.


boot.log日志如下:

DEBUG[ProfileServiceBootstrap] Failed to build ManagedDeployment for:
AbstractKernelDeployment@365c90{name=file:/app/wls9/..省略../jboss-as/server/default/conf/bootstrap/vfs.xml

org.jboss.deployers.spi.DeploymentException: Error deploying::/app/wls9/..省略../jboss-as/server/default/conf/bootstrap/vfs.xml
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
     at .........................

Caused by: java.lang.IllegalStateException: ClassLoader has not been set
     at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:159)
     at ..............


DEBUG[ProfileServiceBootstrap] Failed to build ManagedDeployment for:
AbstractKernelDeployment@365c90{name=file:/app/wls9/..省略../jboss-as/server/default/conf/bootstrap/logging.xml

org.jboss.deployers.spi.DeploymentException: Error deploying::/app/wls9/..省略../jboss-as/server/default/conf/bootstrap/logging.xml
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
     at .........................

Caused by: java.lang.IllegalStateException: ClassLoader has not been set
     at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:159)
     at ..............

补充说明:
     内容库应该是没问题的,新建内容库后,启动jboss,后台的cognos表已经建好
     测试内容库的连接也是没问题的
     jboss5不部署cognos应用启动完全没问题,Admin 登录正常
     部署cognos应用后,admin-consule 启动也完全正常,后台显示cognos应用p2pd.war的状态是up, 新建的数据源连接状态也正常收起
参与8

查看其它 6 个回答gdwhao的回答

gdwhaogdwhaoBI开发工程师埃森哲(上海)有限公司
回复 2# strongsun


    我没法copy日志

DEBUG[ProfileServiceBootstrap] Failed to build ManagedDeployment for:
AbstractKernelDeployment@365c90{name=file:/app/wls9/..省略../jboss-as/server/default/conf/bootstrap/vfs.xml

org.jboss.deployers.spi.DeploymentException: Error deploying::/app/wls9/..省略../jboss-as/server/default/conf/bootstrap/vfs.xml
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
     at .........................

Caused by: java.lang.IllegalStateException: ClassLoader has not been set
     at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:159)
     at ..............
2013-05-03
浏览1195

回答者

gdwhao
BI开发工程师埃森哲(上海)有限公司

gdwhao 最近回答过的问题

回答状态

  • 发布时间:2013-05-03
  • 关注会员:1 人
  • 回答浏览:1195
  • X社区推广