SAP Knowledge Base Article - Preview

2156795 - ClassNotFoundException when starting PcdCheckTool

Symptom

  • You are running Enterprise Portal 7.30 or higher on a UNIX environment;
     
  • You have detected PCD Inconsistencies on your system in the NWA, following Note 1473054 'Checking database consistency for the PCD for CE 7.1 & above';
     
  • You want to run the PcdCheckTool to resolve the inconsistencies, but when you run the PcdCheckToolUnix.sh, you see an exception like below in the console: 

Libraries have already been copied
Starting Console...
   INFO: Loading tool launcher...
   INFO: [OS: Windows Server 2008 R2] [VM vendor: SAP AG] [VM version: 1.6.0_85] [VM type: SAP Java Server VM]
   INFO: Main class to start: "com.sapportals.portal.pcd.admintools.standalone.console.PCDTestTools"
   INFO: Loading 37 JAR files: [.\acl_api.jar, .\acl_core.jar, .\antlr.jar, .\cache.jar, .\com.sap.e
xception.facade.jar, .\gl_api.jar, .\gl_api_intern.jar, .\gl_core.jar, .\iaik_jce.jar, .\jta.jar, .\
lock_api.jar, .\lock_core.jar, .\logging.jar, .\pcdconfig_api.jar, .\pcdcr_api.jar, .\pcdcr_core.jar
, .\pcdStandaloneInit_api.jar, .\pcdStandaloneInit_core.jar, .\pcdStandaloneRuntime_api.jar, .\pcdSt
andaloneRuntime_core.jar, .\pcdTools_api.jar, .\pcdTools_core.jar, .\pcdtrace_api.jar, .\pcdtrace_co
re.jar, .\plconnection_api.jar, .\plconnection_core.jar, .\sap.com~tc~bl~offline_launcher~impl.jar,
.\sap.com~tc~epbc~pcd~gl~transporteptapi~javalib.jar, .\sap.com~tc~exception~impl.jar, .\sap.com~tc~
sec~secstorefs~java~core.jar, .\softcache_api.jar, .\softcache_core.jar, .\transport_api.jar, .\tran
sport_core.jar, .\transport_ept_core.jar, .\umwrapper_api.jar, .\umwrapper_core.jar]
  FATAL: Main class "com.sapportals.portal.pcd.admintools.standalone.console.PCDTestTools" cannot be started:
  FATAL: java.lang.ClassNotFoundException: com.sapportals.portal.pcd.admintools.standalone.console.PCDTestTools
        at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:916)
        at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:807)
        at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:755)
        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:139)
  FATAL: com.sap.engine.offline.OfflineToolStart will abort now with exitcode 2
Program terminated abnormally
Press any key to continue . . .


Read more...

Environment

  • SAP NetWeaver 7.3 or higher
      
  • Server operating system is UNIX

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

pcd check tool, pcdcheck, database, portal content directory, corrupt, db, 7.31, EHP, PcdCheckToolUnix.sh, UNIX, PCDTestTools, MainConsole, PcdCheckTool.sh , KBA , BC-PIN-PCD , PCD Generic Layer Services , Problem

About this page

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

Search for additional results

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