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

本文介绍了解决在WebSphere Application Server 7.0中部署Birt报表时遇到的error.CannotStartupOSGIPlatform错误的方法。包括调整类加载器顺序、移除不兼容的xerces.jar包以及如何通过wsadmin命令更新web.xml。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

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

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

 

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

 

转载于:https://www.cnblogs.com/mikevictor07/p/3499514.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值