i'm a newbie with problems in cascade; my last problem is : in a schedulable i lookup a stateless bean and i start some threads; i pass the stateless bean reference to the thread throught the constructor of the thread; when i call a function of the stateless witch want to persist the entity bean with the EntityManager, i get an IllegalArgumentException occurred calling getter of vc.ejb.rss.persistence.RssItemBean.id .
i use jboss4.0.3SP1, and ejb3.0 of course.
it's the first time encounter this problem.....this is strange because persisting entities from the application work perfectly well....is it because i want to persist an entity from a thread, schedulable ? i don't know...just saying....
i found out that this is happening because the class is not proxied.....but why the session beans of the .ejb3 jar deployed in my ear are proxied and the .ejb3 jar deployed directly in the deploy directory of jboss is not proxied....how can i proxy it.... ???