-
1. Re: Mysterious Exception
te-bachi Jan 31, 2007 6:22 AM (in response to qpool.char)First of all, when I install JBoss 4.0.5 AS from the JEMS Installer with ejb3, I don't have to patch.
Second, we (or I) would like to see your JAR-structure and the persistence.xml -
2. Re: Mysterious Exception
qpool.char Jan 31, 2007 7:45 AM (in response to qpool.char)problem solved.... mistake in my build script.... wasted 2 days.... no comment
-
3. Re: Mysterious Exception
qpool.char Jan 31, 2007 7:48 AM (in response to qpool.char)You were totally right.... my build script did not package all of the .class files. I m sorry for stealing your time.... i will look at the easy things first when i face the next problem. :)
-
-
5. Re: Mysterious Exception
dkane Jun 18, 2007 7:02 AM (in response to qpool.char)"QPool.Char" wrote:
You were totally right.... my build script did not package all of the .class files. I m sorry for stealing your time.... i will look at the easy things first when i face the next problem. :)
Could you please tell a bit more about that ?
Having the same problem. The exception isjavax.persistence.PersistenceException: [PersistenceUnit: telePUnit] class or package not found ..... Caused by: java.lang.ClassNotFoundException: com.track.AutoCMP
The AutoCMP.class is packaged. Breaking my head during the whole day, please help, what's wrong ?
Thank you ! -
6. Re: Mysterious Exception
dkane Jun 18, 2007 7:22 AM (in response to qpool.char)Notable addition :
when I remove @Entity annotation from CMP class which is the root cause of exception, this class is not "ClassNotFound" anymore. But another packaged class, still with @Entity annotation, takes this place in exception report.
So, the problem is definitely related to entity beans and their persistence, not to absence of class file in my case. -
7. Re: Mysterious Exception
waynebaylor Jun 18, 2007 3:17 PM (in response to qpool.char)could you post some info on the persistence.xml
-
8. Re: Mysterious Exception
dkane Jun 19, 2007 3:25 AM (in response to qpool.char)Thank you for attention.
I have solved that , but still don't understand the reason.
The project was created as "J2EE 1.4 project" in JBoss IDE and moved all sources there. I have re-created one as "EJB3.0 project" and now it works. The only difference was that "JBoss AOP 1.3 libraries" appeared in library list. In "J2EE 1.4 project" I were unable to select this library from the list of available libraries to attach. -
9. Re: Mysterious Exception
dkane Jun 19, 2007 3:27 AM (in response to qpool.char)Sorry for the typo, the correct text :
Thank you for attention.
I have solved that , but still don't understand the reason.
The project was created as "J2EE 1.4 project" in JBoss IDE. I have re-created one as "EJB3.0 project" and moved all sources there and now it works. The only difference was that "JBoss AOP 1.3 libraries" appeared in library list. In "J2EE 1.4 project" I were unable to select this library from the list of available libraries to attach.