SAP Knowledge Base Article - Preview

1854060 - PcdCheckTool ends with error java.lang.NoClassDefFoundError:javax/jms/Message

Symptom

  • You are using SAP NetWeaver 7.3 SP0, SP1, or SP2 version.
  • You have detected PCD inconsistencies via NWA.
  • Followed note 2225655 - PCD Check tool central note to run PcdCheckTool.sh or PcdCheckTool.bat so as to fix inconsistencies, however below exception throw out in console:

    <sid>adm> ./PcdCheckTool.sh
    Starting up
    Copying required jars...
    Copylibs ok
    Starting Console...
       INFO: Loading tool launcher...
       INFO: [OS: Linux] [VM vendor: SAP AG] [VM version: 1.6.0_17] [VM type: SAP Java Server VM]
       INFO: Main class to start: "com.sapportals.portal.pcd.admintools.standalone.console.MainConsole"
       INFO: IAIK JAR files not found. SAP Startup Framework is needed to detect IAIK location.
       INFO: Loading 37 JAR files: [./sap.com~tc~bl~offline_launcher~impl.jar, ./gl_api.jar, ./plconnecti   on_api.jar, ./iaik_jce.jar, ./transport_core.jar, ./pcdcr_api.jar, ./pcdconfig_api.jar, ./transport_a   pi.jar, ./pcdStandaloneRuntime_core.jar, ./umwrapper_api.jar, ./pcdStandaloneRuntime_api.jar, ./pcdtr   ace_core.jar, ./umwrapper_core.jar, ./acl_core.jar, ./pcdTools_api.jar, ./antlr.jar, ./sap.com~tc~sec   ~secstorefs~java~core.jar, ./pcdStandaloneInit_api.jar, ./acl_api.jar, ./sap.com~tc~exception~impl.ja   r, ./softcache_api.jar, ./lock_core.jar, ./com.sap.exception.facade.jar, ./jta.jar, ./transport_ept_c   ore.jar, ./logging.jar, ./pcdcr_core.jar, ./sap.com~tc~epbc~pcd~gl~transporteptapi~javalib.jar, ./sof   tcache_core.jar, ./gl_api_intern.jar, ./plconnection_core.jar, ./pcdTools_core.jar, ./lock_api.jar, .   /pcdtrace_api.jar, ./cache.jar, ./pcdStandaloneInit_core.jar, ./gl_core.jar]
       INFO: Start
    Connecting to database...
    Connected
      FATAL: Main class "com.sapportals.portal.pcd.admintools.standalone.console.MainConsole" cannot be s   tarted:
      FATAL: java.lang.NoClassDefFoundError: javax/jms/Message
            at com.sapportals.portal.pcd.pl.PlAttributes.<init>(PlAttributes.java:38)
            at com.sapportals.portal.pcd.pl.PlObject.getAttributes(PlObject.java:1092)
            at com.sapportals.portal.pcd.pl.PlObject.setHierarchyObject(PlObject.java:1030)
            at com.sapportals.portal.pcd.pl.PlObject.<init>(PlObject.java:143)
            at com.sapportals.portal.pcd.pl.PlContext.<init>(PlContext.java:103)
            at com.sapportals.portal.pcd.pl.PlFactory.getObject(PlFactory.java:887)
            at com.sapportals.portal.pcd.pl.PlFactory.getObject(PlFactory.java:860)
            at com.sapportals.portal.pcd.pl.PlFactory$PlInitialContext.<init>(PlFactory.java:64)
            at com.sapportals.portal.pcd.pl.PlFactory.initialize(PlFactory.java:693)
            at com.sapportals.portal.pcd.gl.standalone.Init.initPlFactory(Init.java:204)
            at com.sapportals.portal.pcd.admintools.InitDialog.setVisible(InitDialog.java:484)
            at com.sapportals.portal.pcd.admintools.standalone.console.MainConsole.main(MainConsole.java:   42)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:157)
    Caused by: java.lang.ClassNotFoundException: javax.jms.Message
            at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:911)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:802)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:750)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:367)
            ... 17 more

      FATAL: com.sap.engine.offline.OfflineToolStart will abort now with exitcode 2


Read more...

Environment

  • SAP NetWeaver 7.3

Product

SAP NetWeaver 7.3

Keywords

pcd check tool, pcdchecktool, inconsistencies, portal content directory, corrupt, database, db, jms.jar
, KBA , EP-PIN-PCD , Portal Content Directory , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.