0 Replies Latest reply on Oct 21, 2010 10:31 AM by huggivig

    javax.naming.NameNotFoundException: TransactionManager not bound

    huggivig Newbie

      The problem was link link to another depoyement problem.... (message driven bean not depoyed)

       

      I migrate an application from Jboss 4.0.5 GA  to Jboss  5.0.1 GA and I have got this exception when executing my application.

      Strangely, TransactionManager is not bound (I can’t see it in JNDIView) when my application is deployed, and it’s bound when my application is not deployed.

       

      Ds.xml :

       

      <datasources>

        <local-tx-datasource>

          <jndi-name>jdbc/XYZ</jndi-name>

           <rar-name>jboss-local-jdbc.rar</rar-name>

               <use-java-context>false</use-java-context>

              <connection-definition>javax.sql.DataSource</connection-definition>

              <jmx-invoker-name>jboss:service=invoker,type=jrmp</jmx-invoker-name>

              <min-pool-size>0</min-pool-size>

              <max-pool-size>10</max-pool-size>

              <blocking-timeout-millis>30000</blocking-timeout-millis>

              <idle-timeout-minutes>30</idle-timeout-minutes>

              <prefill>false</prefill>

              <background-validation>false</background-validation>

              <background-validation-millis>0</background-validation-millis>

              <validate-on-match>true</validate-on-match>

              <statistics-formatter>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</statistics-formatter>

              <isSameRM-override-value>false</isSameRM-override-value>

              <allocation-retry>0</allocation-retry>

              <allocation-retry-wait-millis>5000</allocation-retry-wait-millis>

              <security-domain-and-application xsi:type="securityMetaData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

              <metadata>

                  <type-mapping>Oracle9i</type-mapping>

              </metadata>

              <type-mapping>Oracle9i</type-mapping>

              <local-transaction/>

              <user-name>user</user-name>

              <password>pass</password>

              <check-valid-connection-sql>SELECT * FROM DUAL</check-valid-connection-sql>

              <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>

              <prepared-statement-cache-size>0</prepared-statement-cache-size>

              <share-prepared-statements>false</share-prepared-statements>

              <set-tx-query-timeout>false</set-tx-query-timeout>

              <query-timeout>0</query-timeout>

              <use-try-lock>60000</use-try-lock>

              <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>

              <connection-url>jdbc:oracle:thin:@forfaitXX:1521:XYZ</connection-url>

        </local-tx-datasource>

      </datasources>

       

       

      Persistence.xml :

       

      <?xml version="1.0" encoding="UTF-8"?>

      <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">

        <persistence-unit name="OracleCnx_XYZ" transaction-type="JTA">

          <provider>org.hibernate.ejb.HibernatePersistence</provider>

          <jta-data-source>jdbc/XYZ</jta-data-source>

          <jar-file>base-metier.jar</jar-file>

          <properties>

            <property value="org.hibernate.dialect.Oracle9Dialect" />

            <property name="hibernate.show_sql" value="false" />

            <property name="hibernate.format_sql" value="true" />

            <property name="hibernate.cache.use_query_cache" value="true" />

            <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider" />

                        <property value="org.hibernate.transaction.JTATransactionFactory" />

            <property value="org.hibernate.transaction.JBossTransactionManagerLookup" />

                        <property name="jboss.entity.manager.factory.jndi.name"   value="java:/entityManagerFactory" />

                        <property value="java:comp/UserTransaction" />

          </properties>

        </persistence-unit>

      </persistence>

       

      Trace :

       

    • 10:38:36,278 ERROR [TxPolicy] javax.ejb.EJBTransactionRolledbackException: [PersistenceUnit: OracleCnx_XYZ] Unable to build EntityManagerFactory 
    • 10:38:36,294 SEVERE [AuthentUtilisateurAction] Exception lors de l'authentication  
    • javax.ejb.EJBTransactionRolledbackException: [PersistenceUnit: OracleCnx_XYZ] Unable to build EntityManagerFactory 
    •     at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:115) 
    •     at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130) 
    •     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:194) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176) 
    •     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216) 
    •     at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) 
    •     at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) 
    •     at $Proxy289.setXYZContext(Unknown Source) 
    •     at fr.XYZ.base.metier.gateway.ManagerEjb.getManager(ManagerEjb.java:113) 
    •     at fr.XYZ.base.metier.gateway.service.GatewayManagerBean.getUserIdAndAuthentifieUser(GatewayManagerBean.java:104) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    •     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    •     at java.lang.reflect.Method.invoke(Method.java:597) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) 
    •     at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) 
    •     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) 
    •     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    •     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    •     at java.lang.reflect.Method.invoke(Method.java:597) 
    •     at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) 
    •     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_17351029.invoke(InvocationContextInterceptor_z_fillMethod_17351029.java) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) 
    •     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_17351029.invoke(InvocationContextInterceptor_z_setup_17351029.java) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) 
    •     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176) 
    •     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216) 
    •     at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) 
    •     at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) 
    •     at $Proxy361.getUserIdAndAuthentifieUser(Unknown Source) 
    •     at fr.XYZ.commons.ui.proxies.EJBProxy.authentifieUser(EJBProxy.java:55) 
    •     at fr.XYZ.base.ui.portail.action.AuthentUtilisateurAction.execute(AuthentUtilisateurAction.java:55) 
    •     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) 
    •     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) 
    •     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) 
    •     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) 
    •     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 
    •     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
    •     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 
    •     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
    •     at fr.XYZ.commons.ui.encoding.EncodingFilter.doFilter(EncodingFilter.java:22) 
    •     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
    •     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
    •     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 
    •     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
    •     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
    •     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) 
    •     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
    •     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) 
    •     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) 
    •     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) 
    •     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) 
    •     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
    •     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
    •     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) 
    •     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
    •     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) 
    •     at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436) 
    •     at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384) 
    •     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 
    •     at java.lang.Thread.run(Thread.java:619) 
    • Caused by: javax.persistence.PersistenceException: [PersistenceUnit: OracleCnx_XYZ] Unable to build EntityManagerFactory 
    •     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) 
    •     at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) 
    •     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) 
    •     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) 
    •     at fr.XYZ.commons.metier.factories.EMFFactory.getEntityManagerFactory(EMFFactory.java:43) 
    •     at fr.XYZ.commons.metier.service.GenericManagerBean.setXYZContext(GenericManagerBean.java:27) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    •     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    •     at java.lang.reflect.Method.invoke(Method.java:597) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) 
    •     at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) 
    •     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) 
    •     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    •     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    •     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    •     at java.lang.reflect.Method.invoke(Method.java:597) 
    •     at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) 
    •     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_17351029.invoke(InvocationContextInterceptor_z_fillMethod_17351029.java) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) 
    •     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_17351029.invoke(InvocationContextInterceptor_z_setup_17351029.java) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) 
    •     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
    •     at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) 
    •     ... 105 more 
    • Caused by: org.hibernate.HibernateException: Could not locate TransactionManager 
    •     at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:60) 
    •     at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:357) 
    •     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) 
    •     at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) 
    •     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) 
    •     ... 142 more 
    • Caused by: javax.naming.NameNotFoundException: TransactionManager not bound 
    •     at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) 
    •     at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) 
    •     at org.jnp.server.NamingServer.getObject(NamingServer.java:785) 
    •     at org.jnp.server.NamingServer.lookup(NamingServer.java:443) 
    •     at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source) 
    •     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    •     at java.lang.reflect.Method.invoke(Method.java:597) 
    •     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) 
    •     at sun.rmi.transport.Transport$1.run(Transport.java:159) 
    •     at java.security.AccessController.doPrivileged(Native Method) 
    •     at sun.rmi.transport.Transport.serviceCall(Transport.java:155) 
    •     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) 
    •     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) 
    •     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) 
    •     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
    •     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
    •     at java.lang.Thread.run(Thread.java:619) 
    •     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255) 
    •     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233) 
    •     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142) 
    •     at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) 
    •     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726) 
    •     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686) 
    •     at javax.naming.InitialContext.lookup(InitialContext.java:392) 
    •     at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:57) 
    •     ... 146 more 
    • JNDI view :
      1. java: Namespace 
      2.  
      3.   +- UserTransactionSessionFactory (proxy: $Proxy260 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) 
      4.   +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) 
      5.   +- XYZ-ear (class: org.jnp.interfaces.NamingContext) 
      6.   |   +- ejb (class: org.jnp.interfaces.NamingContext) 
      7.   |   |   +- ReplicationErrorsManagerBean (class: org.jnp.interfaces.NamingContext) 
      8.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.replication.ReplicationErrorsManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.replication.ReplicationErrorsManager) 
      9.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.replication.ReplicationErrorsManager) 
      10.   |   |   +- LdapManagerBean (class: org.jnp.interfaces.NamingContext) 
      11.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.ldap.service.LdapManager) 
      12.   |   |   |   +- local-fr.XYZ.base.metier.ldap.service.LdapManager (class: Proxy for: fr.XYZ.base.metier.ldap.service.LdapManager) 
      13.   |   |   +- TerritoiresManagerBean (class: org.jnp.interfaces.NamingContext) 
      14.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.territoires.service.TerritoiresManagerLocal) 
      15.   |   |   |   +- local-fr.XYZ.base.metier.territoires.service.TerritoiresManagerLocal (class: Proxy for: fr.XYZ.base.metier.territoires.service.TerritoiresManagerLocal) 
      16.   |   |   +- ContactManagerBean (class: org.jnp.interfaces.NamingContext) 
      17.   |   |   |   +- local-fr.XYZ.base.metier.contact.service.ContactManager (class: Proxy for: fr.XYZ.base.metier.contact.service.ContactManager) 
      18.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.contact.service.ContactManager) 
      19.   |   |   +- StatutManagerBean (class: org.jnp.interfaces.NamingContext) 
      20.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.statut.StatutManager) 
      21.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.statut.StatutManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.statut.StatutManager) 
      22.   |   |   +- DocumentsAdministratifsManagerBean (class: org.jnp.interfaces.NamingContext) 
      23.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.documentsAdministratifs.DocumentsAdministratifsManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.documentsAdministratifs.DocumentsAdministratifsManager) 
      24.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.documentsAdministratifs.DocumentsAdministratifsManager) 
      25.   |   |   +- ProfilManagerBean (class: org.jnp.interfaces.NamingContext) 
      26.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.droits.service.ProfilManager) 
      27.   |   |   |   +- local-fr.XYZ.base.metier.droits.service.ProfilManager (class: Proxy for: fr.XYZ.base.metier.droits.service.ProfilManager) 
      28.   |   |   +- StatutParametreManagerBean (class: org.jnp.interfaces.NamingContext) 
      29.   |   |   |   +- local-fr.XYZ.base.metier.parametres.service.StatutParametreManager (class: Proxy for: fr.XYZ.base.metier.parametres.service.StatutParametreManager) 
      30.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.parametres.service.StatutParametreManager) 
      31.   |   |   +- JournalManagerBean (class: org.jnp.interfaces.NamingContext) 
      32.   |   |   |   +- local-fr.XYZ.base.metier.journal.service.JournalManager (class: Proxy for: fr.XYZ.base.metier.journal.service.JournalManager) 
      33.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.journal.service.JournalManager) 
      34.   |   |   +- CandidatureParametreManagerBean (class: org.jnp.interfaces.NamingContext) 
      35.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.parametres.service.CandidatureParametreManager) 
      36.   |   |   |   +- local-fr.XYZ.base.metier.parametres.service.CandidatureParametreManager (class: Proxy for: fr.XYZ.base.metier.parametres.service.CandidatureParametreManager) 
      37.   |   |   +- ApplicationParametresManagerBean (class: org.jnp.interfaces.NamingContext) 
      38.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.parametres.service.ApplicationParametresManager) 
      39.   |   |   |   +- local-fr.XYZ.base.metier.parametres.service.ApplicationParametresManager (class: Proxy for: fr.XYZ.base.metier.parametres.service.ApplicationParametresManager) 
      40.   |   |   +- ParametresManagerBean (class: org.jnp.interfaces.NamingContext) 
      41.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.contact.service.ParametresManager) 
      42.   |   |   |   +- local-fr.XYZ.base.metier.contact.service.ParametresManager (class: Proxy for: fr.XYZ.base.metier.contact.service.ParametresManager) 
      43.   |   |   +- TempsManagerBean (class: org.jnp.interfaces.NamingContext) 
      44.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.temps.TempsManager) 
      45.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.temps.TempsManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.temps.TempsManager) 
      46.   |   |   +- CompetencesManagerBean (class: org.jnp.interfaces.NamingContext) 
      47.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.competences.CompetencesManager) 
      48.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.competences.CompetencesManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.competences.CompetencesManager) 
      49.   |   |   +- InseeManagerBean (class: org.jnp.interfaces.NamingContext) 
      50.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.insee.InseeManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.insee.InseeManager) 
      51.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.insee.InseeManager) 
      52.   |   |   +- MailerManagerBean (class: org.jnp.interfaces.NamingContext) 
      53.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.mailerManager.service.MailerManager) 
      54.   |   |   |   +- local-fr.XYZ.base.metier.mailerManager.service.MailerManager (class: Proxy for: fr.XYZ.base.metier.mailerManager.service.MailerManager) 
      55.   |   |   +- EmploisManagerBean (class: org.jnp.interfaces.NamingContext) 
      56.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.emplois.EmploisManager) 
      57.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.emplois.EmploisManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.emplois.EmploisManager) 
      58.   |   |   +- VersionsManagerBean (class: org.jnp.interfaces.NamingContext) 
      59.   |   |   |   +- local-fr.XYZ.base.metier.versions.service.VersionsManager (class: Proxy for: fr.XYZ.base.metier.versions.service.VersionsManager) 
      60.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.versions.service.VersionsManager) 
      61.   |   |   +- AnnuaireManagerBean (class: org.jnp.interfaces.NamingContext) 
      62.   |   |   |   +- local-fr.XYZ.base.metier.contact.service.AnnuaireManager (class: Proxy for: fr.XYZ.base.metier.contact.service.AnnuaireManager) 
      63.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.contact.service.AnnuaireManager) 
      64.   |   |   +- GatewayManagerBean (class: org.jnp.interfaces.NamingContext) 
      65.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.gateway.service.GatewayManager) 
      66.   |   |   |   +- local-fr.XYZ.base.metier.gateway.service.GatewayManager (class: Proxy for: fr.XYZ.base.metier.gateway.service.GatewayManager) 
      67.   |   |   +- OrganisationManagerBean (class: org.jnp.interfaces.NamingContext) 
      68.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.organisation.OrganisationManager) 
      69.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.organisation.OrganisationManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.organisation.OrganisationManager) 
      70.   |   |   +- ConcoursManagerBean (class: org.jnp.interfaces.NamingContext) 
      71.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.concours.ConcoursManager) 
      72.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.concours.ConcoursManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.concours.ConcoursManager) 
      73.   |   |   +- XYZApplicationManagerBean (class: org.jnp.interfaces.NamingContext) 
      74.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.droits.service.ApplicationManagerLocal) 
      75.   |   |   |   +- local-fr.XYZ.base.metier.droits.service.ApplicationManagerLocal (class: Proxy for: fr.XYZ.base.metier.droits.service.ApplicationManagerLocal) 
      76.   |   |   +- PreventionManagerBean (class: org.jnp.interfaces.NamingContext) 
      77.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.referentiel.service.prevention.PreventionManager) 
      78.   |   |   |   +- local-fr.XYZ.base.metier.referentiel.service.prevention.PreventionManager (class: Proxy for: fr.XYZ.base.metier.referentiel.service.prevention.PreventionManager) 
      79.   |   |   +- TerritoireParametreManagerBean (class: org.jnp.interfaces.NamingContext) 
      80.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.parametres.service.TerritoireParametreManager) 
      81.   |   |   |   +- local-fr.XYZ.base.metier.parametres.service.TerritoireParametreManager (class: Proxy for: fr.XYZ.base.metier.parametres.service.TerritoireParametreManager) 
      82.   |   |   +- CompetenceParametreManagerBean (class: org.jnp.interfaces.NamingContext) 
      83.   |   |   |   +- local (class: Proxy for: fr.XYZ.base.metier.parametres.service.CompetenceParametreManager) 
      84.   |   |   |   +- local-fr.XYZ.base.metier.parametres.service.CompetenceParametreManager (class: Proxy for: fr.XYZ.base.metier.parametres.service.CompetenceParametreManager) 
      85.   +- SecureManagementView (class: org.jnp.interfaces.NamingContext) 
      86.   |   +- remote-org.jboss.deployers.spi.management.ManagementView (class: Proxy for: org.jboss.deployers.spi.management.ManagementView) 
      87.   |   +- remote (class: Proxy for: org.jboss.deployers.spi.management.ManagementView) 
      88.   +- SecureDeploymentManager (class: org.jnp.interfaces.NamingContext) 
      89.   |   +- remote-org.jboss.deployers.spi.management.deploy.DeploymentManager (class: Proxy for: org.jboss.deployers.spi.management.deploy.DeploymentManager) 
      90.   |   +- remote (class: Proxy for: org.jboss.deployers.spi.management.deploy.DeploymentManager) 
      91.   +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory) 
      92.   +- XAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory) 
      93.   +- topic (class: org.jnp.interfaces.NamingContext) 
      94.   +- ClusteredConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory) 
      95.   +- ProfileService (class: org.jboss.aop.generatedproxies.AOPProxy$2) 
      96.   +- SecureProfileService (class: org.jnp.interfaces.NamingContext) 
      97.   |   +- remote (class: Proxy for: org.jboss.profileservice.spi.ProfileService) 
      98.   |   +- remote-org.jboss.profileservice.spi.ProfileService (class: Proxy for: org.jboss.profileservice.spi.ProfileService) 
      99.   +- queue (class: org.jnp.interfaces.NamingContext) 
      100.   |   +- Message (class: org.jboss.jms.destination.JBossQueue) 
      101.   |   +- DLQ (class: org.jboss.jms.destination.JBossQueue) 
      102.   |   +- ExpiryQueue (class: org.jboss.jms.destination.JBossQueue) 
      103.   +- ClusteredXAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory) 
      104.   +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) 
      105.   +- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory) 
      106.   +- jmx (class: org.jnp.interfaces.NamingContext) 
      107.   |   +- invoker (class: org.jnp.interfaces.NamingContext) 
      108.   |   |   +- RMIAdaptor (proxy: $Proxy253 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) 
      109.   |   +- rmi (class: org.jnp.interfaces.NamingContext) 
      110.   |   |   +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) 
      111.   +- jdbc (class: org.jnp.interfaces.NamingContext) 
      112.   |   +- XYZ (class: javax.sql.DataSource) 
      113.   +- persistence.unit:unitName=XYZ-goplus-ear.ear (class: org.jnp.interfaces.NamingContext) 
      114.   |   +- XYZ-base-metier-impl.jar#OracleCnx_XYZ35 (class: org.hibernate.impl.SessionFactoryImpl) 
      115.   +- TomcatAuthenticators (class: java.util.Properties) 
      116.   +- console (class: org.jnp.interfaces.NamingContext) 
      117.   |   +- PluginManager (proxy: $Proxy254 implements org.jboss.console.manager.PluginManagerMBean (no security manager: RMI class loader disabled))