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

环境是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

7同行回答

gdwhaogdwhaoBI开发工程师埃森哲(上海)有限公司
问题已解决,我的问题是因为启动jboss的用户jboss5权限不够,安装cognos10使用的是cognos用户,cognos应用部署到jboss5后,通过jboss启动cognos服务时,必须确保必须确保用户jboss5对cognos安装目录中configuration/csk目录具有读写权限...显示全部
问题已解决,我的问题是因为启动jboss的用户jboss5权限不够,安装cognos10使用的是cognos用户,cognos应用部署到jboss5后,通过jboss启动cognos服务时,必须确保必须确保用户jboss5对cognos安装目录中configuration/csk目录具有读写权限收起
2013-05-08
浏览1256
xiaotianle_168xiaotianle_168BI开发工程师创值高科
看不懂。显示全部
看不懂。收起
金融其它 · 2013-05-03
浏览1299
gdwhaogdwhaoBI开发工程师埃森哲(上海)有限公司
回复 2# strongsun     还有一个是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.De...显示全部
回复 2# strongsun


    还有一个是
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 ..............收起
2013-05-03
浏览1260
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.D...显示全部
回复 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
浏览1194
gdwhaogdwhaoBI开发工程师埃森哲(上海)有限公司
我没法copy日志DEBUG[ProfileServiceBootstrap] Failed to build ManagedDeployment for:AbstractKernelDeployment@365c90{name=file:/app/wls9/..省略../jboss-as/server/default/conf/bootstrap/vfs.xmlorg.jboss.deployers.spi.DeploymentException: Error deploying...显示全部
我没法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
浏览1266
慕名而来慕名而来软件开发工程师中科软
检查下数据库的驱动是不是copy到cognos目录下/显示全部
检查下数据库的驱动是不是copy到cognos目录下/收起
政府机关 · 2013-05-03
浏览1241
strongsunstrongsun商业智能工程师带你未来
你这个问题原因可能很多,把错误代码贴上来吧显示全部
你这个问题原因可能很多,把错误代码贴上来吧收起
互联网服务 · 2013-05-03
浏览1268

提问者

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

相关问题

相关资料

问题状态

  • 发布时间:2013-05-03
  • 关注会员:1 人
  • 问题浏览:6115
  • 最近回答:2013-05-08
  • X社区推广