zoukankan      html  css  js  c++  java
  • WAS 部署 Birt 报表出现 error.CannotStartupOSGIPlatform 和 更新web.xml

    在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_WebSphereprofilesAppSrv01installedAppsA-PCNode01Cellxxx_war.earxxx.warWEB-INFweb.xml -contenturi xxx.war/WEB-INF/web.xml}

    $AdminConfig save

    exit

  • 相关阅读:
    Jenkins 插件管理
    持续集成 目录
    gitlab 目录
    jenkins 目录
    POJ 2828
    POJ 2782
    POJ 2725
    POJ 2769
    POJ 2739
    POJ 2707
  • 原文地址:https://www.cnblogs.com/mikevictor07/p/3499514.html
Copyright © 2011-2022 走看看