[jboss-user] [EJB/JBoss] - commit-option A cache invalidation issue

2007-12-14 Thread tigrik
Hi guys! I was searching for solution quite long, but haven't found a real solution. My applications has a EJB 2.1 part and EJB3 part. In some rare cases I have to write into EJB2 part using EJB3, so EJB2 commit-option-A caching doesn't get it. (JBOSS 4.0.5) Is there an easy way to remove an

[jboss-user] [EJB 3.0] - Re: Jboss can't find annotated entity classes

2007-07-25 Thread tigrik
"waynebaylor" wrote : have you tried adding the entities to your persistence.xml? | | | Yes I did! Seams like it's impossible to hold the EJB3 in the WAR. You have to make EAR with WEB-content in WAR and EJB3 in some JAR file... No idea how to do it using Eclipse... :( View the origi

[jboss-user] [EJB 3.0] - Re: Jboss can't find annotated entity classes

2007-07-25 Thread tigrik
"jaikiran" wrote : anonymous wrote : Caused by: java.lang.ClassNotFoundException: WEB-INF.classes.com.kukinbuk.hibernate.RecipePicture | | Looks like the class name is incorrect. | | JBoss searches for @entity marked classes itself... so how the class name can be wrong, it's what JBo

[jboss-user] [EJB 3.0] - Re: Jboss can't find annotated entity classes

2007-07-25 Thread tigrik
peristance.xml: | | | | java:/MySqlDS | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067461#4067461 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [EJB 3.0] - Jboss can't find annotated entity classes

2007-07-25 Thread tigrik
Hi guys, I'm new to EJB3 so maybe it's a real dumb question but I'm sitting 3 days with this error right now and slowly becoming crazy. The problem is, JBoss 4.2 can't find my entity classes. As it starts the persistence I get an error (see bellow). Here is my persistence.xml: j