APAR status
Closed as program error.
Error description
Wrong reference to json4j.jar on Linux environment (ERROR:java.lang.NoClassDefFoundError: com.ibm.json.java.JSONArray) Overview: This issue was found during Spatial Everest Release tests. See issue 09-20377 for more information. If install maximo Base Services 7.1.1.6 Build 20091008-0100 DB Build V7116-123 and IBM Maximo Spatial 7.1.1.0 Build 20091020-0558 DB Build V7120-27 on Linux environment Maximo application lost the reference to json4j.jar file that broken Spatial Capabilities. In buildmanifests.xml the baselibs property has the json lib added as: ../lib/JSON4J.jar"/> but the name file is json4j.jar (lowercase) So it can not be found on Linux because it is case sensitive. Not sure if that should be fixed in other places also. Server logs see more detail on issue 09-20377: 10/22/09 9:48:42:851 BRST] 00000079 SystemErr R java.lang.NoClassDefFoundError: com.ibm.json.java.JSONArray [10/22/09 9:48:42:851 BRST] 00000079 SystemErr R at java.lang.J9VMInternals.verifyImpl(Native Method) [10/22/09 9:48:42:851 BRST] 00000079 SystemErr R at java.lang.J9VMInternals.verify(J9VMInternals.java:68) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:129) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.pluss.app.plusssrvad.PlusSServiceAddress.save(PlusSServiceA ddress.java:90) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.mbo.MboSet.saveMbos(MboSet.java:6942) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.mbo.MboSet.validateTransaction(MboSet.java:6923) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.txn.MXTransactionImpl.validateTransaction(MXTransactionImpl .java:376) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.txn.MXTransactionImpl.saveTransaction(MXTransactionImpl.jav a:213) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.txn.MXTransactionImpl.save(MXTransactionImpl.java:162) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.mbo.MboSet.save(MboSet.java:6614) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.mbo.MboSet.save(MboSet.java:6555) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.webclient.system.beans.AppBean.save(AppBean.java:510) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.webclient.system.beans.AppBean.SAVE(AppBean.java:819) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:79) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:43) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at java.lang.reflect.Method.invoke(Method.java:618) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.webclient.system.session.WebClientSession.defaultHandler(We bClientSession.java:1042) [10/22/09 9:48:42:852 BRST] 00000079 SystemErr R at psdi.webclient.system.session.WebClientSession.h ________________________________________________________________ __________________ Eduardo's comment: We are reopening this issue related to: NoClassDefFoundError: com.ibm.json.java.JSONArray, because the name file in buildmaximoear.xml is using file extension in uppercase, it should have the file extension in lowercase to be used into Linux env. Instructions from buildmaximoear.xml (seach for last java class path): <property name="maximo.businessobjectsclasspath" value="${maximo.propertiesjarfile} lib/ldapbp.jar lib/log4j-1.2.13.jar lib/db2jcc.jar lib/db2jcc_license_cu.jar lib/oraclethin.jar lib/Opta.jar lib/k2client.jar lib/idapi.jar lib/xmlParserAPIs.jar lib/acweb.jar lib/commons-net-1.4.0.jar lib/jsr181.jar lib/remoteaccess.jar lib/platform-model.jar lib/ssh.jar /lib/api-client.jar /lib/api-dep.jar /lib/oal-api.jar /lib/oal-topomgr.jar /lib/oal-common.jar lib/edm-server.jar /lib/api-dl.jar /lib/maxcom.jar /lib/icu4j.jar /lib/json4j.JAR"/>
Local fix
na
Problem summary
**************************************************************** * USERS AFFECTED: Maximo Users on releases after 7.1.1.6 * **************************************************************** * PROBLEM DESCRIPTION: Wrong reference to json4j.jar on Linux * * environment * * * * (ERROR:java.lang.NoClassDefFoundError: * * * * com.ibm.json.java.JSONArray) * * * * Overview: This issue was found during * * Spatial Everest Release * * * * tests. See issue 09-20377 for more * * information. * * * * If install maximo Base Services * * 7.1.1.6 Build 20091008-0100 DB * * * * Build V7116-123 and IBM Maximo * * Spatial 7.1.1.0 Build * * * * 20091020-0558 DB Build V7120-27 on * * Linux environment Maximo * * * * application lost the reference to * * json4j.jar file that broken * * * * Spatial Capabilities. * * * * In buildmanifests.xml the baselibs * * property has the json lib * * * * added as: * * * * ../lib/JSON4J.jar"/> * * * * but the name file is json4j.jar * * (lowercase) * * * * So it can not be found on Linux because * * it is case sensitive. * * * * Not sure if that should be fixed in * * other places also. * * * * Server logs see more detail on issue * * 09-20377: * * * * 10/22/09 9:48:42:851 BRST 00000079 * * SystemErr R * * * * java.lang.NoClassDefFoundError: * * com.ibm.json.java.JSONArray * * * * 10/22/09 9:48:42:851 BRST 00000079 * * SystemErr R at * * * * java.lang.J9VMInternals.verifyImpl(Nati * * ve Method) * * * * 10/22/09 9:48:42:851 BRST 00000079 * * SystemErr R at * * * * java.lang.J9VMInternals.verify(J9VMInte * * rnals.java:68) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * java.lang.J9VMInternals.initialize(J9VM * * Internals.java:129) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.pluss.app.plusssrvad.PlusSServiceA * * ddress.save(PlusSServiceA * * * * ddress.java:90) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.mbo.MboSet.saveMbos(MboSet.java:69 * * 42) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.mbo.MboSet.validateTransaction(Mbo * * Set.java:6923) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.txn.MXTransactionImpl.validateTran * * saction(MXTransactionImpl * * * * .java:376) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.txn.MXTransactionImpl.saveTransact * * ion(MXTransactionImpl.jav * * * * a:213) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.txn.MXTransactionImpl.save(MXTrans * * actionImpl.java:162) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.mbo.MboSet.save(MboSet.java:6614) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.mbo.MboSet.save(MboSet.java:6555) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.webclient.system.beans.AppBean.sav * * e(AppBean.java:510) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.webclient.system.beans.AppBean.SAV * * E(AppBean.java:819) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * sun.reflect.NativeMethodAccessorImpl.in * * voke0(Native Method) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * sun.reflect.NativeMethodAccessorImpl.in * * voke(NativeMethodAccessor * * * * Impl.java:79) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * sun.reflect.DelegatingMethodAccessorImp * * l.invoke(DelegatingMethod * * * * AccessorImpl.java:43) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * java.lang.reflect.Method.invoke(Method. * * java:618) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.webclient.system.session.WebClient * * Session.defaultHandler(We * * * * bClientSession.java:1042) * * * * 10/22/09 9:48:42:852 BRST 00000079 * * SystemErr R at * * * * psdi.webclient.system.session.WebClient * * Session.h * * * * _______________________________________ * * _________________________ * * * * __________________ * * * * Eduardo's comment: * * * * We are reopening this issue related to: * * NoClassDefFoundError: * * * * com.ibm.json.java.JSONArray, because * * the name file in * * * * buildmaximoear.xml is using file * * extension in uppercase, it * * * * should have the file extension in * * lowercase to be used into * * * * Linux env. * * * * Instructions from buildmaximoear.xml * * (seach for last java class * * * * path): * * * * <property * * name="maximo.businessobjectsclasspath" * * * * value="$ maximo.propertiesjarfile * * lib/ldapbp.jar * * * * lib/log4j-1.2.13.jar lib/db2jcc.jar * * lib/db2jcc_license_cu.jar * * * * lib/oraclethin.jar lib/Opta.jar * * lib/k2client.jar lib/idapi.jar * * * * lib/xmlParserAPIs.jar lib/acweb.jar * * lib/commons-net-1.4.0.jar * * * * lib/jsr181.jar lib/remoteaccess.jar * * lib/platform-model.jar * * * * lib/ssh.jar /lib/api-client.jar * * /lib/api-dep.jar * * * * /lib/oal-api.jar /lib/oal-topomgr.jar * * /lib/oal-common.jar * * * * lib/edm-server.jar /lib/api-dl.jar * * /lib/maxcom.jar * * * * /lib/icu4j.jar /lib/json4j.JAR"/> * * * **************************************************************** * RECOMMENDATION: * * * * * * * **************************************************************** Wrong reference to json4j.jar (COM.IBM.JSON.JAVA.JSONARRAY)
Problem conclusion
In the buildmaximoear.xml file, the json4j.JAR needs to be changed to json4j.jar (lowercase JAR). The fix for this APAR is contained in the following maintenance package: | release\fix pack | REL 7.1.1.9 - BS and hotfixes 7.1.1.6, 7.1.1.7
Temporary fix
Comments
APAR Information
APAR number
IZ89366
Reported component name
MAXIMO ADMIN
Reported component ID
5724R46A1
Reported release
711
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2010-11-18
Closed date
2010-12-06
Last modified date
2010-12-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
MAXIMO
Fix information
Fixed component name
MAXIMO ADMIN
Fixed component ID
5724R46A1
Applicable component levels
R711 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHPP5","label":"System Related"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"711","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
06 December 2010