ClassNotFoundException Stack Traces in the Log File

#1

If I turn the log level in objectdb.conf to debug I get a lot of ClassNotFoundException's (see example below).

My question is, is there a way to avoid these exceptions?


[2013-02-05 10:52:30 #399 type.loader]
java.lang.ClassNotFoundException: org.xxx.TConductingEquipment
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.objectdb.o.RCL.j(RCL.java:299)
at com.objectdb.o.ACL.loadClass(ACL.java:101)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.objectdb.o.TYM.ay(TYM.java:1024)
at com.objectdb.o.TYM.aq(TYM.java:840)
at com.objectdb.o.UTY.Q(UTY.java:252)
at com.objectdb.o.UTY.<init>(UTY.java:204)
at com.objectdb.o.TYS.n(TYS.java:283)
at com.objectdb.o.TYM.ac(TYM.java:475)
at com.objectdb.o.TYM.ao(TYM.java:799)
at com.objectdb.o.TYM.av(TYM.java:945)
at com.objectdb.o.TYM.av(TYM.java:919)
at com.objectdb.o.TYM.au(TYM.java:895)
at com.objectdb.o.MMM.<init>(MMM.java:244)
at com.objectdb.o.UTY.X(UTY.java:539)
at com.objectdb.o.TYS.y(TYS.java:767)
at com.objectdb.o.TYS.x(TYS.java:620)
at com.objectdb.o.TYS.v(TYS.java:572)
at com.objectdb.o.TYM.ae(TYM.java:542)
at com.objectdb.o.TYM.ac(TYM.java:478)
at com.objectdb.o.TYM.ao(TYM.java:799)
at com.objectdb.o.TYM.at(TYM.java:884)
at com.objectdb.o.TYM.aw(TYM.java:956)
at com.objectdb.o.OBM.bz(OBM.java:376)
at com.objectdb.o.OBM.bz(OBM.java:262)
at com.objectdb.jpa.EMImpl.persist(EMImpl.java:417)
#2

It is the normal behavior when using debug level logging globally.

But you can decrease logging level for this specific subject, by updating the configuration:

<general>
    ...
  <logger name="type.loader" level="warning" />
</general>
ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login