JBoss Community

Re: javax.naming.NameNotFoundException: persistence not bound

created by rac-tech in JNDI and Naming - View the full discussion

Thank you for the reply

 

The JBoss version is 5.1.0.

 

Persistent unit(smalllake-bopc) is deployed with a warning just after this exception is thrown. Please see a portion of the log below

----------------------------------------------------------------------------------------------------------

Caused by: javax.naming.NameNotFoundException: persistence not bound

at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)

....

....

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)

... 133 more

 

09:10:29,332 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=sss.ear/sss.jar#smalllake-bopc

09:10:29,379 INFO  [Version] Hibernate Annotations 3.4.0.GA

09:10:29,394 INFO  [Environment] Hibernate 3.3.1.GA

09:10:29,394 INFO  [Environment] hibernate.properties not found

09:10:29,394 INFO  [Environment] Bytecode provider name : javassist

09:10:29,394 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling

09:10:29,457 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA

09:10:29,457 INFO  [Version] Hibernate EntityManager 3.4.0.GA

09:10:29,488 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [

name: smalllake-bopc

...]

09:10:29,582 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community