[jboss-user] [EJB 3.0] - Error persisting entities in EJB3 unknow entity java.lang.Il

sreeraaman do-not-reply at jboss.com
Mon Dec 18 04:56:52 EST 2006


Hi All,

I am using JSF/Seam/EJB3. Invoking a SLSB method from JSF via Seam throws the following exception:


  | 15:05:14,375 ERROR [STDERR] java.lang.IllegalArgumentException: Unknown entity: entities.Client$$EnhancerByCGLIB$$78349cf5
  | 15:05:14,375 ERROR [STDERR] 	at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:215)
  | 15:05:14,375 ERROR [STDERR] 	at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:175)
  | 15:05:14,375 ERROR [STDERR] 	at sessionbeans.StandardClientService.sessionbeans$StandardClientService$createClientJSF$aop(StandardClientService.java:92)
  | 15:05:14,375 ERROR [STDERR] 	at sessionbeans.StandardClientService$createClientJSF_N7759129025289692916.invokeNext(StandardClientService$createClientJSF_N7759129025289692916.java)
  | 15:05:14,375 ERROR [STDERR] 	at aoptest.PermissionInterceptor.verifyPermissions(PermissionInterceptor.java:191)
  | 


I have a jboss aop interceptor for the session bean. Is this creating problems?

Any help would be appreciated.

Thanks in advance.
regards
sriraman.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994586#3994586

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994586



More information about the jboss-user mailing list