[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Entity beans not autodeployed : javax.ejb.EJBException:

ALRubinger do-not-reply at jboss.com
Wed Oct 4 12:10:15 EDT 2006


Did you find a solution to this?  I'm getting:

11:57:19,156 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.ninem.rx.domain.site.Site

Great.

11:57:20,046 INFO  [AnnotationBinder] Binding entity from annotated class: com.ninem.rx.domain.site.Site
  | 11:57:20,046 INFO  [EntityBinder] Bind entity com.ninem.rx.domain.site.Site on table site

Good.

11:57:20,359 INFO  [CollectionBinder] Mapping collection: com.ninem.rx.domain.site.Site.users -> user

Expected.

11:57:23,875 WARN  [ServiceController] Problem starting service ninem:service=Admin
  | javax.ejb.EJBException: java.lang.IllegalArgumentException: Unknown entity: com.ninem.rx.domain.site.Site

...why?

If it matters...I'm injecting my EntityManager via @Resource (It's in JNDI), and this exception occurs in the "start" method of a @Service Bean.

S,
ALR

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

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



More information about the jboss-user mailing list