[JBoss-dev] JBoss 5 javax.naming.NameNotFoundException: hibernate not bo
rhuguet
rene.huguet at besonet.ch
Thu Jul 2 08:04:15 EDT 2009
I am migrating a 4.0.2 JBOSS app which uses hibernate to JBOSS 5.0.1 GA but
if i try to get a hibernate session
i keep getting the following error in JBOSS:
javax.naming.NameNotFoundException: hibernate not bound
The deployment of my UserEjb works fine (see log below) but the
org.hibernate.SessionFactory of my .har in the JBoss JMX-Management Console
= null.
On JBoss 4 the Application works fine.
Anyone know why this would happen? Is there some change in hibernate in
JBOSS 5?
Thanks!
René
Deployment Log:
2009-07-02 10:08:59,643 DEBUG
[org.jboss.deployment.OptAnnotationMetaDataDeployer] (HDScanner) Deployment
is metadata-complete, skipping annotation processing,
ejbJarMetaData=org.jboss.metadata.ejb.spec.EjbJar20MetaData at 1f,
jbossWebMetaData=null, jbossClientMetaData=null,
metaDataCompleteIsDefault=false
2009-07-02 10:08:59,721 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (HDScanner)
vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/
endpoint mappings:
+ ejb/UserEJB.jar#ejb/UserEjb ->
ContainerDependencyMetaData(deploymentPath=UserEJB.jar,componentName=ejb/UserEjb,containerName=ejb/UserEjb,jndiNames=[ejb/UserEjb,
UserEJB/ejb/UserEjb],jndiAliasDepends=[],targets=[],jndiDepends=[])
2009-07-02 10:08:59,721 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (HDScanner)
Processing unit=UserEJB.jar, structure:
UserEJB.ear
+UserEJB.har
+UserEJB.jar
++EjbEndpoint:ejbName=ejb/UserEjb,ejbClass=com.prodega.user.ejb.UserEjb,home=com.prodega.user.interfaces.UserEjbHome,remote=com.prodega.user.interfaces.UserEjb
2009-07-02 10:08:59,721 INFO
[org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (HDScanner) Encountered
deployment
AbstractVFSDeploymentContext at 13744184{vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/}
2009-07-02 10:08:59,721 INFO
[org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (HDScanner) Encountered
deployment
AbstractVFSDeploymentContext at 13744184{vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/}
2009-07-02 10:08:59,721 INFO
[org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (HDScanner) Encountered
deployment
AbstractVFSDeploymentContext at 13744184{vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/}
2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer]
(HDScanner) installing bean: ejb/UserEJB.jar#ejb/UserEjb,uid20239039
2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer]
(HDScanner) with dependencies:
2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer]
(HDScanner) and supplies:
2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer]
(HDScanner) jndi:ejb/UserEjb
2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer]
(HDScanner) jndi:UserEJB/ejb/UserEjb
2009-07-02 10:08:59,955 INFO [org.jboss.ejb.EjbModule] (HDScanner)
Deploying ejb/UserEjb
2009-07-02 10:09:00,033 WARN [org.jboss.ejb.EjbModule] (HDScanner) EJB
configured to bypass security. Please verify if this is intended.
Bean=ejb/UserEjb
Deployment=vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/
2009-07-02 10:09:00,330 INFO [org.jboss.proxy.ejb.ProxyFactory] (HDScanner)
Bound EJB Home 'ejb/UserEjb' to jndi 'ejb/UserEjb'
--
View this message in context: http://www.nabble.com/JBoss-5-javax.naming.NameNotFoundException%3A-hibernate-not-bo-tp24304282p24304282.html
Sent from the JBoss - Dev mailing list archive at Nabble.com.
More information about the jboss-development
mailing list