SAP Knowledge Base Article - Preview

1772037 - PcdCheckTool returns fatal error in console

Symptom

  • You recently upgraded your NetWeaver version 
  • You have detected PCD Inconsistencies on your system in the NWA, following Note 2225655 - PCD Check tool central note 
  • You want to run the PcdCheckTool to resolve the inconsistencies, but when you run the PcdCheckTool.bat or PcdCheckTool.sh, you see an exception like below in the console:

D:\usr\sap\<SID>\J<XX>\j2ee\pcdTools>PcdCheckTool.bat
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_26] [VM type: SAP Java Server VM]
   INFO: Main class to start: "com.sapportals.portal.pcd.admintools.standalone.console.MainConsole"
   INFO: Loading 43 JAR files: [.\acl_api.jar, .\acl_core.jar, .\antlr.jar, .\cache.jar, .\com.sap.exception.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, .\pcdStandaloneRuntime_core.jar, .\pcdstandalone_init_api.jar, .\pcdstandalone_init_core.jar, .\pcdstandalone_tools_api.jar, .\pcdstandalone_tools_core.jar, .\pcdTools_api.jar, .\pcdTools_core.jar, .\pcdtrace_api.jar, .\pcdtrace_core.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, .\src.zip, .\standalone_public.jar, .\transport_api.jar, .\transport_core.jar, .\transport_ept_core.jar, .\umwrapper_api.jar, .\umwrapper_core.jar]
  FATAL: Main class "com.sapportals.portal.pcd.admintools.standalone.console.MainConsole" cannot be started:
  FATAL: java.lang.NoSuchMethodException: com.sapportals.portal.pcd.admintools.standalone.console.MainConsole.main([Ljava.lang.String;)
        at java.lang.Class.getDeclaredMethod(Class.java:1937)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:149)
  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
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP Netweaver 7.5

Product

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

Keywords

fails, nosuchmethodexception, libraries, have, already, been, copied, error, resolve, console, PcdCheckTool.sh, PcdCheckTool.bat, PcdCheckToolUnix.sh, inconsistencies, pcd, check, tool, pcdcheck, database, portal content directory, corrupt, db, java.lang.NoSuchMethodException: com.sapportals.portal.pcd.admintools.standalone.console.MainConsole.main([Ljava.lang.String;), FATAL, com.sapportals.portal.pcd.admintools.standalone.console.MainConsole.main([Ljava.lang.String;), Enterprise Portal 7.30, EP 7.30, Enterprise Portal 7.31, EP 7.31, Enterprise Portal 7.40, EP 7.4 , 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.