Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Tuesday, June 2, 2009

mwactl.sh start gives java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleStatement

Anand called at 7 AM today to report this error which was coming in a Production environment when Mobile and Wireless service was started with mwactl.sh start:

oracle.apps.mwa.tools.GenerateLauncher.main(GenerateLauncher.java:60)

java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleStatement

We compared the instance with Development instances. The classpath matched. We even compared the truss and found that in the instances working, it was unable to find OracleStatement.class but was going ahead and looking for other classes.

Later in the day, Ben asked Anand to put jdbc111.zip in the classpath as a workaround. The root cause was also found. Someone had issued the command compress appsbrog2.zip which had converted appsborg2.zip to appsborg2.zip.Z. Uncompressing it and reinstating it resolved the issue.