E-PC: Java classpath too long (>3072) causing the server crash (Doc ID 663322.1)

Last updated on JUNE 03, 2016

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.4 to 8.48 [Release 8.4]
Information in this document applies to any platform.
***Checked for Relevance 08-JUL-2014***


Symptoms

Customer has an interface Application Engine program calling to a third party via JAVA using peoplecode CreateJavaObject.. etc, it's running on Process Scheduler in PeopleTools 8.47.15 / RHEL Linux. As part of this interface program configuration, we had to upload all "AXIS2 1.1.1" JAR's into $PS_HOME/appserv/classes. After we upload the extra java files, the interface Application Engine program start to fail....

The PeopleTools/Debug/TestUtilities/Test#1 and Test#2 fail as well, after uploading the 3rd party java files to application server. If we remove all "AXIS2 1.1.1" JAR's, then Test#1 and Test#2 works again. The interface with this 3rd party needs these AXIS2 1.1.1 JAR's

The peoplecode trace on application server show the java classpath as below

PSAPPSRV.13080 1-105430 09.58.35 0.000072 2: &PC_Java_Obj = CreateJavaObject("PeopleSoft.PeopleCode.SysVar");
PSAPPSRV.13080 1-105431 09.58.35 0.003165 JavaVM Loaded Java VM library jvm.
PSAPPSRV.13080 1-105432 09.58.35 0.013289 JavaVM JVM arg 1: -Djava.class.path=/u01/app/psoft89/class:/u01/app/psoft89/appserv/classes:/u01/app/psoft89/appserv/classes/image.jar:/u01/app/psoft89/appserv/classes/Serialization.jar:/u01/app/psoft89/appserv/classes/woden-1.0.0M6.jar:/u01/app/psoft89/appserv/classes/xalan-2.7.0.jar:/u01/app/psoft89/appserv/classes/axis2-tools-1.1.1.jar:/u01/app/psoft89/appserv/classes/..... (removed, total length = 4531 characters)
PSAPPSRV.13080 1-105433 09.58.35 0.000005 JavaVM JVM arg 2: vfprintf
PSAPPSRV.13080 1-105434 09.58.35 0.000005 JavaVM JVM arg 3: -Djava.awt.headless=true
PSAPPSRV.13080 1-105435 09.58.35 0.000006 JavaVM JVM arg 4: -Dps_vault=/u01/app/psoft89/secvault/psvault
PSAPPSRV.13080 1-105436 09.58.35 0.075039 JavaVM Java VM Created.


Crash/dump file on PSAPPSERV show the belows

==== Local Backtrace
#0 0x005f87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x0077b5bb in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#2 0xb6fcf578 in PSExceptionHandler::DumpStack () from /u01/app/psoft89/bin/libpssys.so
#3 0xb6fcee9b in PSExceptionHandler::DumpFaultInfo () from /u01/app/psoft89/bin/libpssys.so
#4 0xb6fd0480 in PSExceptionHandler::DumpInfo () from /u01/app/psoft89/bin/libpssys.so
#5 0xb6fd0c00 in PSExceptionHandler::UnhandledExceptionHandler () from /u01/app/psoft89/bin/libpssys.so
#6 0xb6fd0ac4 in DmpUnixSignalHandler () from /u01/app/psoft89/bin/libpssys.so
#7 0xb1194b5c in os::Linux::chained_handler () from /usr/java/j2sdk1.4.2_17/jre/lib/i386/server/libjvm.so
#8 0xb1197444 in JVM_handle_linux_signal () from /usr/java/j2sdk1.4.2_17/jre/lib/i386/server/libjvm.so
#9 0xb1195e94 in signalHandler () from /usr/java/j2sdk1.4.2_17/jre/lib/i386/server/libjvm.so
#10 <signal handler called>
#11 0xb794fe6c in CMgrMemCache::ReleaseScriptLLMData () from /u01/app/psoft89/bin/libpsmgr.so
#12 0xb78ed37e in CMgrCntrlImp::CheckTransaction () from /u01/app/psoft89/bin/libpsmgr.so
#13 0xb7b0b894 in CNetServer::EndService () from /u01/app/psoft89/bin/libpsnetapi.so
#14 0x0805abf0 in ICPanel ()
#15 0xb7f2ad4c in _tmsvcdsp () from /u01/app/psoft89/tuxedo81/lib/libtux.so
#16 0xb7f48d46 in _tmrunserver () from /u01/app/psoft89/tuxedo81/lib/libtux.so
#17 0xb7f29ceb in _tmstartserver () from /u01/app/psoft89/tuxedo81/lib/libtux.so
#18 0x0804e16b in main ()

or also see stack trace as below

Thread 5 (system thread 3149874):
#0 0xc020f180 in _waitpid_sys+0x10 () from /lib/libc.2
#1 0xc021b21c in waitpid+0xc4 () from /lib/libc.2
#2 0xda1e5400 in PSExceptionHandler::DumpStack+0x378 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpssys.sl
#3 0xda1e4874 in PSExceptionHandler::DumpFaultInfo+0x84 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpssys.sl
#4 0xda1e6c20 in PSExceptionHandler::DumpInfo+0x460 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpssys.sl
#5 0xda1e4324 in PSExceptionHandler::UnhandledExceptionHandler+0x1c () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpssys.sl
#6 0xda1e4040 in DmpUnixSignalHandler+0x90 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpssys.sl
#7 <signal handler called>
#8 0xc01980f4 in _sigfillset+0x624 () from /lib/libc.2
#9 0xc0195bbc in _sscanf+0x68c () from /lib/libc.2
#10 0xc019b23c in malloc+0x18c () from /lib/libc.2
#11 0xc93e65f8 in operator new []+0x40 () from /lib/libCsup_v2.2
#12 0xc4c4f134 in PSvfwprintf+0x54 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpscompat.sl
#13 0xc4c40d5c in PS_LogVPrintf+0x18c () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpscompat.sl
#14 0xc4c40b90 in PS_LogPrintf+0x28 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpscompat.sl
#15 0xd0828890 in CNetLog::WriteHeaderToFile+0x90 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpsnetapi.sl
#16 0xd08284d8 in CNetLog::Write+0x1c8 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpsnetapi.sl
#17 0xd082771c in NetWriteLog+0x3c () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpsnetapi.sl
#18 0xd08276c0 in NetWriteLog+0x38 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpsnetapi.sl
#19 0xda1def4c in dbgDebugMsg+0x2fc () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpssys.sl
#20 0xda1deb20 in DbgLogfImp+0x68 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpssys.sl
#21 0xcb9f97b4 in DbgLogf+0x114 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpscmnutils.sl
#22 0xdce5fcac in CPSJniInstServices::LogMsg+0x34 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpspcm.sl
#23 0xc703a5f0 in LogMsg__14CPSJniInstanceSFPCUse+0xe0 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpscmn.sl
#24 0xc703a130 in CPSJniInstance::Init3+0x910 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpscmn.sl
#25 0xc7036ba0 in JVMLoaderWorker::Run+0x78 () from /apps/psoft/fsm84sp1/pt847/DEVFSMSP/bin/libpscmn.sl
#26 0xc592ea04 in StartThread__22PSThreadImplementationSFP22PSThreadImplementation+0x10c ()

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms