在WAS7.0中部署Birt报表会出现error.CannotStartupOSGIPlatform错误,通常需要这样修改

1.依次打开Applications->WebSphere enterprise applications->点击需要部署报表的应用->

点击Modules下的Manage Modules->点击表格中Module列下面的属性->Class loader order 改为“父节点最后”,如下图:

WAS 部署 Birt 报表出现 error.CannotStartupOSGIPlatform 和 更新web.xml

 

2.如果出现

java.lang.ClassCastException: org.apache.xerces.jaxp.validation.XMLSchemaFactory incompatible with javax.xml.validation.SchemaFactory错误,

则需要移除应用lib下面的类似**xerces**.jar的包(如xerces-2.9.0.jar、org.apache.xerces_2.9.0.v201101211617.jar等)

 

3.WAS如果在installedApps修改web.xml,需要以下命令才能更新web.xml

进入**/profiles/AppSvr01/bin(或者类似的目录)进行如下操作(注意命令中的xxx替换为实际路径):

wsadmin -connType SOAP -port 8880 -user xxx -password xxx

$AdminApp update tmi_web_war file {-operation update -contents D:\IBM_WebSphere\profiles\AppSrv01\installedApps\A-PCNode01Cell\xxx_war.ear\xxx.war\WEB-INF\web.xml -contenturi xxx.war/WEB-INF/web.xml}

$AdminConfig save

exit

 

相关文章:

  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2021-04-05
  • 2021-07-10
  • 2021-04-16
  • 2021-03-28
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2021-08-11
  • 2021-08-08
  • 2021-07-15
  • 2021-08-09
  • 2022-01-08
  • 2021-10-23
相关资源
相似解决方案