[jboss-user] [JNDI and Naming] - Re: javax.naming.NameNotFoundException: persistence not bound

rac tech do-not-reply at jboss.com
Tue Dec 21 17:16:44 EST 2010


rac-tech [http://community.jboss.org/people/rac-tech] created the discussion

"Re: javax.naming.NameNotFoundException: persistence not bound"

To view the discussion, visit: http://community.jboss.org/message/577084#577084

--------------------------------------------------------------
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
[http://community.jboss.org/message/577084#577084]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101221/25177762/attachment-0001.html 


More information about the jboss-user mailing list