繁体   English   中英

将应用程序从WAS 6.1迁移到WAS 8.5

[英]Migrating Application from WAS 6.1 to WAS 8.5

我正在将应用程序从WAS 6.1迁移到WAS 8.5。 现有的应用程序在WAS 6.1中工作正常,但在连接到bpm wsdl url时在WAS 8.5中,我收到以下异常。 该罐子存在于WEB-INF / lib中

 java.lang.NoClassDefFoundError: org.apache.woden.resolver.URIResolver
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:85)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:162)
    at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:65)
    at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
    at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:815)
    at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:222)
    at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:71)
    at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:64)
    at org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(DeploymentEngine.java:177)
    at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:135)
    at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
    at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
    at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
    at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:144)

将类加载器切换为本地优先,父最后。

在应用程序配置中,转到:

  1. 类加载和更新检测
  2. 将类加载器顺序更改为本地优先
  3. 保存更改
  4. 重新启动应用服务器

要使用第三方Web服务引擎,您需要将类加载器设置为parent last级并禁用注释扫描:

将WAR文件或EJB模块的META-INF / MANIFEST.MF中的DisableIBMJAXWSEngine属性设置为true

请参阅文档以获取更多详细信息:

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM