java/lang/NoClassDefFoundError

General discussion on the JZOS batch launcher and toolkit
Post Reply
jriemer
Posts: 25
Joined: Thu Jul 06, 2006 11:15 am

java/lang/NoClassDefFoundError

Post by jriemer »

Receiving:

[Signaling in VM: java/lang/NoClassDefFoundError, message: com/rigci/addamsub/parse/ParseEventHandler]

CLASSPATH displays as:

09:26:13 JZOSVM14(I): CLASSPATH=/usr/lpp/db2/db2710/classes/db2j2classes.zip:/ADDAM/AddamProduction/jars/Abator.jar:/ADDAM/AddamProduction/jars/AddamSubV2.jar:/ADDAM/AddamProduction/jars/AddamSubV2Parser.jar:/ADDAM/AddamProduction/jars/activation.jar:/ADDAM/AddamProduction/jars/commons-beanutils-bean-collections.jar:/ADDAM/AddamProduction/jars/commons-beanutils-core.jar:/ADDAM/AddamProduction/jars/commons-beanutils.jar:/ADDAM/AddamProduction/jars/commons-cli-1.0.jar:/ADDAM/AddamProduction/jars/commons-collections-3.1.jar:/ADDAM/AddamProduction/jars/commons-configuration-1.1.jar:/ADDAM/AddamProduction/jars/commons-digester.jar:/ADDAM/AddamProduction/jars/commons-email-1.0.jar:/ADDAM/AddamProduction/jars/commons-jexl-1.0.jar:/ADDAM/AddamProduction/jars/commons-lang-2.0.jar:/ADDAM/AddamProduction/jars/commons-logging-api.jar:/ADDAM/AddamProduction/jars/commons-logging.jar:/ADDAM/AddamProduction/jars/ibatis-common-2.jar:/ADDAM/AddamProduction/jars/ibatis-dao-2.jar:/ADDAM/AddamProduction/jars/ibatis-sqlmap-2.jar:/ADDAM/AddamProduction/jars/junit.jar:/ADDAM/AddamProduction/jars/log4j-1.2.9.jar:/ADDAM/AddamProduction/jars/mail.jar:/ADDAM/AddamProduction/AddamSubInstall:/ADDAM/AddamProduction/jars:/usr/local/jzos/jzos.jar


The jar which should contain the missing definition is:

/ADDAM/AddamProduction/jars/AddamSubV2Parser.jar

which does appear in the CLASSPATH list above. A "jar
-tvf /ADDAM/AddamProduction/jars/AddamSubV2Parser.jar"

confirms its presence with the inclusion of the following in the output:

572 Sat May 20 14:10:04 CDT 2006 com/rigci/addamsub/parse/ParseEventHandler.class


Any insight? Thanks.
coz
Posts: 391
Joined: Fri Jul 30, 2004 5:29 pm

Post by coz »

It's possible that an upstream class can't be loaded. Try adding -verbose:class as a java option and see if that provides any hints.
jriemer
Posts: 25
Joined: Thu Jul 06, 2006 11:15 am

java/lang/NoClassDefFoundError

Post by jriemer »

The run did include -verbose:class; anything else you wish to see...?
coz
Posts: 391
Joined: Fri Jul 30, 2004 5:29 pm

Post by coz »

Along with -verbose:class, please also set LOGLVL='+T' and send the job log to info@dovetail.com and we'll take a look.
Post Reply