Article - CS295573

Method server crash with error "java.lang.NoClassDefFoundError: org/apache/axis/message/SOAPHeaderElement" in Windchill PDMLink

Modified: 16-May-2022   


Applies To

  • Windchill PDMLink 11.1 M010 to 12.1

Description

  • Setting the property wt.reporting.thirdParty.enabled to true and Cognos server is not started
  • Crash of the method server with error below :
2018-11-01 10:42:11,575 ERROR [main] wt.method.server.startup.services  - Failed to create: wt.services.service.2170=com.ptc.windchill.enterprise.report.ReportService/com.ptc.windchill.enterprise.report.StandardReportService
java.lang.ExceptionInInitializerError
    at com.ptc.windchill.cognos.CognosProxy.<clinit>(CognosProxy.java:50)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.ptc.windchill.enterprise.report.ReportHelper.<clinit>(ReportHelper.java:145)
    at com.ptc.windchill.enterprise.report.StandardReportService.<clinit>(StandardReportService.java:174)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at wt.services.ManagerImplementation.create(ManagerImplementation.java:235)
    at wt.services.StandardManagerFactory.createImplementations(StandardManagerFactory.java:135)
    at wt.services.StandardManagerFactory.<init>(StandardManagerFactory.java:117)
    at wt.services.StandardManagerFactory$Singleton.<clinit>(StandardManagerFactory.java:73)
    at wt.services.StandardManagerFactory.getInstance(StandardManagerFactory.java:102)
    at wt.services.StandardManagerService.createFactory(StandardManagerService.java:373)
    at wt.services.StandardManagerService.initialize(StandardManagerService.java:363)
    at wt.services.StandardManagerService.newStandardManagerService(StandardManagerService.java:99)
    at wt.services.StandardServicesHandler.getFactory(StandardServicesHandler.java:51)
    at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:42)
    at wt.method.MethodServerMain.run(MethodServerMain.java:603)
    at wt.method.MethodServerMain.main(MethodServerMain.java:373)
Caused by: java.lang.NoClassDefFoundError: org/apache/axis/message/SOAPHeaderElement
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at com.ptc.windchill.cognos.CognosProxy.<clinit>(CognosProxy.java:40)
    ... 18 more
Caused by: java.lang.ClassNotFoundException: org.apache.axis.message.SOAPHeaderElement
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 24 more
2018-11-01 10:42:11,731 FATAL [main] wt.method.server  - MethodServerMain abort
java.lang.NoClassDefFoundError: org/apache/axis/message/SOAPHeaderElement
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at com.ptc.windchill.cognos.CognosProxy.<clinit>(CognosProxy.java:40)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.ptc.windchill.enterprise.report.ReportHelper.<clinit>(ReportHelper.java:145)
    at com.ptc.windchill.enterprise.report.StandardReportService.<clinit>(StandardReportService.java:174)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at wt.services.ManagerImplementation.create(ManagerImplementation.java:235)
    at wt.services.StandardManagerFactory.createImplementations(StandardManagerFactory.java:135)
    at wt.services.StandardManagerFactory.<init>(StandardManagerFactory.java:117)
    at wt.services.StandardManagerFactory$Singleton.<clinit>(StandardManagerFactory.java:73)
    at wt.services.StandardManagerFactory.getInstance(StandardManagerFactory.java:102)
    at wt.services.StandardManagerService.createFactory(StandardManagerService.java:373)
    at wt.services.StandardManagerService.initialize(StandardManagerService.java:363)
    at wt.services.StandardManagerService.newStandardManagerService(StandardManagerService.java:99)
    at wt.services.StandardServicesHandler.getFactory(StandardServicesHandler.java:51)
    at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:42)
    at wt.method.MethodServerMain.run(MethodServerMain.java:603)
    at wt.method.MethodServerMain.main(MethodServerMain.java:373)
Caused by: java.lang.ClassNotFoundException: org.apache.axis.message.SOAPHeaderElement
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 24 more
This is a printer-friendly version of Article 295573 and may be out of date. For the latest version click CS295573