Hi

I am having the same bound problem. I followed the steps as described in the 
above emails. But does not help

The error is :
2006-03-21 10:41:59,951 DEBUG [org.jboss.ejb3.stateless.StatelessManager] 
Starting failed jboss.j2ee:service=EJB3,name=com.trial.dao.StudentDAO
java.lang.RuntimeException: unable to find: java:/managedEntityFactories/Student
        at 
org.jboss.ejb3.injection.PersistenceContextHandler.getManagedEntityManagerFactory(PersistenceContextHandler.java:85)
.
.
.
Caused by: javax.naming.NameNotFoundException: Student not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)


There is no exception related to DB tables. But it looks like that can be the 
root cause. My persisitence.xml looks like
<entity-manager>
  Student
  <jta-data-source>java:/DefaultDS</jta-data-source>
  
    
  
</entity-manager>

Even if I set the hibernate.hbm2ddl.auto to create-drop. I get the same error.

Funny thing is, this used to work very well for me on JBoss RC1 but now on SP1 
version , it fails. I have set the loggin to be DEBUG level as well. But I 
don't get any more detailed message. 

Please help.

Nidhi


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to