ObjectDB objectdb-2.2.5_03 in client-server mode
Netbeans ID6.9.1 JavaEE web project (JPA)
Glassfish3.0.1
With server logging turned on I get the following error message for many (or all) encountered classes:
[2011-05-31 09:16:24 #5 type.loader]
java.lang.ClassNotFoundException: com.greensoft.entity.Element
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.objectdb.o.RCL.j(RCL.java:299)
at com.objectdb.o.ACL.loadClass(ACL.java:106)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.objectdb.o.TYM.aw(TYM.java:979)
at com.objectdb.o.UTY.initSysType(UTY.java:324)
at com.objectdb.o.TYS.l(TYS.java:163)
at com.objectdb.o.TYM.ac(TYM.java:485)
at com.objectdb.o.MST.UA(MST.java:1022)
at com.objectdb.o.WRA.UA(WRA.java:195)
at com.objectdb.o.WRA.UA(WRA.java:195)
at com.objectdb.o.WSN.UA(WSN.java:180)
at com.objectdb.o.STC.l(STC.java:298)
at com.objectdb.o.SHN.ab(SHN.java:368)
at com.objectdb.o.SHN.J(SHN.java:124)
at com.objectdb.o.HND.run(HND.java:133)
at java.lang.Thread.run(Thread.java:655)[2011-05-31 09:16:24 #6 type.loader]
java.lang.ClassNotFoundException: java.lang.com.greensoft.entity.Element
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.objectdb.o.RCL.j(RCL.java:329)
at com.objectdb.o.ACL.loadClass(ACL.java:106)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.objectdb.o.TYM.aw(TYM.java:979)
at com.objectdb.o.UTY.initSysType(UTY.java:324)
at com.objectdb.o.TYS.l(TYS.java:163)
at com.objectdb.o.TYM.ac(TYM.java:485)
at com.objectdb.o.MST.UA(MST.java:1022)
at com.objectdb.o.WRA.UA(WRA.java:195)
at com.objectdb.o.WRA.UA(WRA.java:195)
at com.objectdb.o.WSN.UA(WSN.java:180)
at com.objectdb.o.STC.l(STC.java:298)
at com.objectdb.o.SHN.ab(SHN.java:368)
at com.objectdb.o.SHN.J(SHN.java:124)
at com.objectdb.o.HND.run(HND.java:133)
at java.lang.Thread.run(Thread.java:655)
The web project build has:
build/web/WEB-INF/classes/META-INF/persistence.xml
build/web/WEB-INF/classes/com/greensoft/*
The .odb file is created and seems to have the right classes with the right structure, but there are no objects persisted (although that may be due to another problem, namely my application halts with an error about unique primary keys/ids on initial startup entity creation/wiring).
Q: Is there anywhere else I have to tell the server about the built entity classes ?
Grateful for feedback,
Webel