1 2 Previous Next 15 Replies Latest reply on Mar 10, 2009 7:32 PM by Sunil

    XAConnectionFactory not found only in Clustering

    CTO SEOENG Newbie

      Ok, before you go off...I have spent the past 2 days researching this error. Still cannot find my applicable situation. Things like http://wiki.jboss.org/wiki/Wiki.jsp?page=IGetXAConnectionFactoryNotBoundHowDoIFixIt do not help, as I am not getting any other errors that I can see.

      Setup:

      jboss-4.2.2.GA
      2 nodes in cluster
      mysql datasource

      I am getting this error when both nodes are in cluster (note I do not get this error when I stop one of the nodes):

      01 Nov 2007 10:50:33,031 TRACE [JMSContainerInvoker(MyClass) Reconnect] (ServiceMBeanSupport.java:87) - Constructing
      01 Nov 2007 10:50:33,031 DEBUG [JMSContainerInvoker(MyClass) Reconnect] (ServiceMBeanSupport.java:256) - Creating DLQHandler
      01 Nov 2007 10:50:33,093 DEBUG [JMSContainerInvoker(MyClass) Reconnect] (ServiceMBeanSupport.java:265) - Initialization failed DLQHandler
      javax.naming.NameNotFoundException: XAConnectionFactory not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
       at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:215)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
       at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312)
       at $Proxy72.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
       at javax.naming.InitialContext.lookup(InitialContext.java:392)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
       at java.lang.Thread.run(Thread.java:619)
      01 Nov 2007 10:50:33,093 ERROR [JMSContainerInvoker(MyClass) Reconnect] (JMSContainerInvoker.java:1435) - Reconnect failed: JMS provider failure detected for MyClass
      javax.naming.NameNotFoundException: XAConnectionFactory not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
      


      files:

      C:\jboss-4.2.2.GA\server\all\deploy\jms\hajndi-jms-ds.xml
      C:\jboss-4.2.2.GA\server\all\deploy\jms\jms-ra.rar
      C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc-state-service.xml
      C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc2-service.xml
      C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-destinations-service.xml
      C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-service.xml
      C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jvm-il-service.xml
      C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\uil2-service.xml

      All files are standard default. These files are normally placed in the deploy/jms directory in the Default server configuration, and it works. But when they are in a clustered configuration as mentioned above, it gets the errors that the XAConnectionFactory cannot be found.



        • 2. Re: XAConnectionFactory not found only in Clustering
          CTO SEOENG Newbie

          On startup:

          01 Nov 2007 10:50:27,213 INFO [main] (Embedded.java:889) - Catalina naming disabled
          01 Nov 2007 10:50:27,416 INFO [main] (AprLifecycleListener.java:140) - The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ../lib
          01 Nov 2007 10:50:27,635 INFO [main] (Http11Protocol.java:182) - Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
          01 Nov 2007 10:50:27,651 INFO [main] (AjpProtocol.java:165) - Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
          01 Nov 2007 10:50:27,651 INFO [main] (Catalina.java:536) - Initialization processed in 435 ms
          01 Nov 2007 10:50:27,651 INFO [main] (StandardService.java:507) - Starting service jboss.web
          01 Nov 2007 10:50:27,651 INFO [main] (StandardEngine.java:431) - Starting Servlet Engine: JBossWeb/2.0.1.GA
          01 Nov 2007 10:50:27,713 INFO [main] (Catalina.java:584) - Server startup in 59 ms
          01 Nov 2007 10:50:27,838 INFO [main] (TomcatDeployer.java:127) - deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
          01 Nov 2007 10:50:28,510 INFO [main] (TomcatDeployer.java:127) - deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
          01 Nov 2007 10:50:28,682 INFO [main] (TomcatDeployer.java:127) - deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
          01 Nov 2007 10:50:28,791 INFO [main] (TomcatDeployer.java:127) - deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddi.war/
          01 Nov 2007 10:50:28,901 INFO [main] (RegistryServlet.java:63) - Loading jUDDI configuration.
          01 Nov 2007 10:50:28,901 INFO [main] (RegistryServlet.java:75) - Resources loaded from: /WEB-INF/juddi.properties
          01 Nov 2007 10:50:28,901 INFO [main] (RegistryServlet.java:154) - Initializing jUDDI components.
          01 Nov 2007 10:50:29,276 INFO [main] (TomcatDeployer.java:127) - deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
          01 Nov 2007 10:50:29,760 INFO [main] (MailService.java:356) - Mail Service bound to java:/Mail
          01 Nov 2007 10:50:29,916 INFO [main] (RARDeployment.java:105) - Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
          01 Nov 2007 10:50:29,948 INFO [main] (RARDeployment.java:105) - Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
          01 Nov 2007 10:50:30,010 INFO [main] (RARDeployment.java:105) - Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
          01 Nov 2007 10:50:30,041 INFO [main] (RARDeployment.java:105) - Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
          01 Nov 2007 10:50:30,104 INFO [main] (RARDeployment.java:105) - Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
          01 Nov 2007 10:50:30,135 INFO [main] (RARDeployment.java:105) - Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
          01 Nov 2007 10:50:30,182 INFO [main] (RARDeployment.java:105) - Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
          01 Nov 2007 10:50:30,198 INFO [main] (QuartzResourceAdapter.java:52) - start quartz!!!
          01 Nov 2007 10:50:30,260 INFO [main] (SimpleThreadPool.java:247) - Job execution threads will use class loader of thread: main
          01 Nov 2007 10:50:30,291 INFO [main] (QuartzScheduler.java:195) - Quartz Scheduler v.1.5.2 created.
          01 Nov 2007 10:50:30,291 INFO [main] (RAMJobStore.java:138) - RAMJobStore initialized.
          01 Nov 2007 10:50:30,291 INFO [main] (StdSchedulerFactory.java:1014) - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
          01 Nov 2007 10:50:30,291 INFO [main] (StdSchedulerFactory.java:1018) - Quartz scheduler version: 1.5.2
          01 Nov 2007 10:50:30,291 INFO [main] (QuartzScheduler.java:400) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
          01 Nov 2007 10:50:30,416 TRACE [main] (ServiceMBeanSupport.java:87) - Constructing
          01 Nov 2007 10:50:30,432 TRACE [main] (ServiceMBeanSupport.java:87) - Constructing
          01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:256) - Creating jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
          01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:269) - Created jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
          01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:256) - Creating jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
          01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:269) - Created jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
          01 Nov 2007 10:50:30,495 DEBUG [main] (ServiceMBeanSupport.java:285) - Starting jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
          01 Nov 2007 10:50:30,510 DEBUG [main] (JMSProviderLoader.java:199) - attempting to bind org.jboss.jms.jndi.JNDIProviderAdapter@1e6cb2a to java:/DefaultJMSProvider
          01 Nov 2007 10:50:30,510 DEBUG [main] (JMSProviderLoader.java:171) - Bound adapter to java:/DefaultJMSProvider
          01 Nov 2007 10:50:30,510 DEBUG [main] (ServiceMBeanSupport.java:301) - Started jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
          01 Nov 2007 10:50:30,510 DEBUG [main] (ServiceMBeanSupport.java:285) - Starting jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
          01 Nov 2007 10:50:30,510 DEBUG [main] (ServerSessionPoolLoader.java:91) - initialized with pool factory: org.jboss.jms.asf.StdServerSessionPoolFactory@f09995
          01 Nov 2007 10:50:30,510 DEBUG [main] (ServerSessionPoolLoader.java:99) - pool factory StdJMSPool bound to java:/StdJMSPool
          01 Nov 2007 10:50:30,510 DEBUG [main] (ServiceMBeanSupport.java:301) - Started jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool
          01 Nov 2007 10:50:30,588 INFO [main] (ConnectionFactoryBindingService.java:147) - Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
          01 Nov 2007 10:50:30,713 INFO [main] (ConnectionFactoryBindingService.java:147) - Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
          01 Nov 2007 10:50:31,010 INFO [main] (TomcatDeployer.java:127) - deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
          01 Nov 2007 10:50:32,448 INFO [main] (EARDeployer.java:142) - Init J2EE application: file:/C:/jboss-4.2.2.GA/server/all/farm/****.ear
          01 Nov 2007 10:50:47,307 INFO [main] (EjbModule.java:341) - Deploying ******MDB
          01 Nov 2007 10:50:47,354 TRACE [main] (ServiceMBeanSupport.java:87) - Constructing
          01 Nov 2007 10:50:47,354 INFO [main] (EjbModule.java:341) - Deploying ******MDB
          01 Nov 2007 10:50:47,370 TRACE [main] (ServiceMBeanSupport.java:87) - Constructing
          01 Nov 2007 10:50:47,370 INFO [main] (EjbModule.java:341) - Deploying ******MDB
          01 Nov 2007 10:50:47,385 TRACE [main] (ServiceMBeanSupport.java:87) - Constructing
          01 Nov 2007 10:50:47,385 INFO [main] (EjbModule.java:341) - Deploying ******MDB
          01 Nov 2007 10:50:47,385 TRACE [main] (ServiceMBeanSupport.java:87) - Constructing
          01 Nov 2007 10:50:47,416 DEBUG [main] (ServiceMBeanSupport.java:256) - Creating jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@6864195
          01 Nov 2007 10:50:47,416 DEBUG [main] (ServiceMBeanSupport.java:269) - Created jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@6864195
          01 Nov 2007 10:50:47,448 DEBUG [main] (ServiceMBeanSupport.java:256) - Creating jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@12357377
          01 Nov 2007 10:50:47,448 DEBUG [main] (ServiceMBeanSupport.java:269) - Created jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@12357377
          01 Nov 2007 10:50:47,463 DEBUG [main] (ServiceMBeanSupport.java:256) - Creating jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@19318917
          01 Nov 2007 10:50:47,463 DEBUG [main] (ServiceMBeanSupport.java:269) - Created jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@19318917
          01 Nov 2007 10:50:47,479 DEBUG [main] (ServiceMBeanSupport.java:256) - Creating jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@5709968
          01 Nov 2007 10:50:47,479 DEBUG [main] (ServiceMBeanSupport.java:269) - Created jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@5709968
          01 Nov 2007 10:50:47,495 DEBUG [main] (ServiceMBeanSupport.java:285) - Starting jboss.j2ee:service=EJB,plugin=invoker,binding=*****MDB-message-driven-bean,jndiName=local/*****MDB@6864195
          01 Nov 2007 10:50:47,495 DEBUG [main] (JMSContainerInvoker.java:499) - Initializing
          01 Nov 2007 10:50:47,495 DEBUG [main] (JMSContainerInvoker.java:1050) - Looking up provider adapter: java:/DefaultJMSProvider
          01 Nov 2007 10:50:47,495 DEBUG [main] (JMSContainerInvoker.java:503) - Provider adapter: org.jboss.jms.jndi.JNDIProviderAdapter@1e6cb2a
          01 Nov 2007 10:50:47,495 TRACE [main] (ServiceMBeanSupport.java:87) - Constructing
          01 Nov 2007 10:50:47,495 DEBUG [main] (ServiceMBeanSupport.java:256) - Creating DLQHandler
          01 Nov 2007 10:50:47,541 DEBUG [main] (ServiceMBeanSupport.java:265) - Initialization failed DLQHandler
          javax.naming.NameNotFoundException: XAConnectionFactory not bound
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
           at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
           at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
           at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
           at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:215)
           at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
          


          • 3. Re: XAConnectionFactory not found only in Clustering
            CTO SEOENG Newbie

            Let me add one more thing, as anything can help at this point. I have overriden some settings in my jboss.xml in my ejb.jar...maybe this is causing the issue? (it works in the default server setting in a standalone configuration):

            <!DOCTYPE jboss PUBLIC
             "-//JBoss//DTD JBOSS 4.0//EN"
             "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
            <jboss>
             <enterprise-beans>
             <message-driven>
             <ejb-name>MDB1</ejb-name>
             <configuration-name>MDB1MDBConfig</configuration-name>
             <destination-jndi-name>queue/MDB1Queue</destination-jndi-name>
             </message-driven>
             <message-driven>
             <ejb-name>MDB2</ejb-name>
             <configuration-name>MDB2MDBConfig</configuration-name>
             <destination-jndi-name>queue/MDB2Queue</destination-jndi-name>
             </message-driven>
             <message-driven>
             <ejb-name>MDB3</ejb-name>
             <configuration-name>MDB3MDBConfig</configuration-name>
             <destination-jndi-name>queue/MDB3Queue</destination-jndi-name>
             </message-driven>
             <message-driven>
             <ejb-name>MDB4</ejb-name>
             <configuration-name>MDB4MDBConfig</configuration-name>
             <destination-jndi-name>queue/MDB4Queue</destination-jndi-name>
             </message-driven>
             </enterprise-beans>
            
             <container-configurations>
            
             <container-configuration>
             <container-name>MDB4MDBConfig</container-name>
             <call-logging>false</call-logging>
             <invoker-proxy-binding-name>MDB4-message-driven-bean</invoker-proxy-binding-name>
             <container-interceptors>
             <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
             <!-- CMT -->
             <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <!-- BMT -->
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
             </container-interceptors>
             <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
             <instance-cache></instance-cache>
             <persistence-manager></persistence-manager>
             <container-pool-conf>
             <MaximumSize>50</MaximumSize>
             </container-pool-conf>
             </container-configuration>
            
             <container-configuration>
             <container-name>MDB3MDBConfig</container-name>
             <call-logging>false</call-logging>
             <invoker-proxy-binding-name>MDB3-message-driven-bean</invoker-proxy-binding-name>
             <container-interceptors>
             <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
             <!-- CMT -->
             <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <!-- BMT -->
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
             </container-interceptors>
             <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
             <instance-cache></instance-cache>
             <persistence-manager></persistence-manager>
             <container-pool-conf>
             <MaximumSize>50</MaximumSize>
             </container-pool-conf>
             </container-configuration>
            
             <container-configuration>
             <container-name>MDB2MDBConfig</container-name>
             <call-logging>false</call-logging>
             <invoker-proxy-binding-name>MDB2-message-driven-bean</invoker-proxy-binding-name>
             <container-interceptors>
             <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
             <!-- CMT -->
             <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <!-- BMT -->
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
             </container-interceptors>
             <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
             <instance-cache></instance-cache>
             <persistence-manager></persistence-manager>
             <container-pool-conf>
             <MaximumSize>50</MaximumSize>
             </container-pool-conf>
             </container-configuration>
            
             <container-configuration>
             <container-name>MDB1MDBConfig</container-name>
             <call-logging>false</call-logging>
             <invoker-proxy-binding-name>MDB1-message-driven-bean</invoker-proxy-binding-name>
             <container-interceptors>
             <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
             <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
             <!-- CMT -->
             <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <!-- BMT -->
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
             <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
             <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
             </container-interceptors>
             <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
             <instance-cache></instance-cache>
             <persistence-manager></persistence-manager>
             <container-pool-conf>
             <MaximumSize>50</MaximumSize>
             </container-pool-conf>
             </container-configuration>
             </container-configurations>
            
             <invoker-proxy-bindings>
            
             <invoker-proxy-binding>
             <name>MDB4-message-driven-bean</name>
             <invoker-mbean>default</invoker-mbean>
             <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
             <proxy-factory-config>
             <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
             <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
             <CreateJBossMQDestination>true</CreateJBossMQDestination>
             <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
             <MinimumSize>1</MinimumSize>
             <MaximumSize>5</MaximumSize>
             <KeepAliveMillis>30000</KeepAliveMillis>
             <MaxMessages>1</MaxMessages>
             <MDBConfig>
             <ReconnectIntervalSec>10</ReconnectIntervalSec>
             <DLQConfig>
             <DestinationQueue>queue/DLQ</DestinationQueue>
             <MaxTimesRedelivered>10</MaxTimesRedelivered>
             <TimeToLive>0</TimeToLive>
             </DLQConfig>
             </MDBConfig>
             </proxy-factory-config>
             </invoker-proxy-binding>
            
             <invoker-proxy-binding>
             <name>MDB3-message-driven-bean</name>
             <invoker-mbean>default</invoker-mbean>
             <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
             <proxy-factory-config>
             <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
             <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
             <CreateJBossMQDestination>true</CreateJBossMQDestination>
             <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
             <MinimumSize>1</MinimumSize>
             <MaximumSize>1</MaximumSize>
             <KeepAliveMillis>30000</KeepAliveMillis>
             <MaxMessages>1</MaxMessages>
             <MDBConfig>
             <ReconnectIntervalSec>10</ReconnectIntervalSec>
             <DLQConfig>
             <DestinationQueue>queue/DLQ</DestinationQueue>
             <MaxTimesRedelivered>10</MaxTimesRedelivered>
             <TimeToLive>0</TimeToLive>
             </DLQConfig>
             </MDBConfig>
             </proxy-factory-config>
             </invoker-proxy-binding>
            
             <invoker-proxy-binding>
             <name>MDB1-message-driven-bean</name>
             <invoker-mbean>default</invoker-mbean>
             <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
             <proxy-factory-config>
             <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
             <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
             <CreateJBossMQDestination>true</CreateJBossMQDestination>
             <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
             <MinimumSize>1</MinimumSize>
             <MaximumSize>2</MaximumSize>
             <KeepAliveMillis>30000</KeepAliveMillis>
             <MaxMessages>1</MaxMessages>
             <MDBConfig>
             <ReconnectIntervalSec>10</ReconnectIntervalSec>
             <DLQConfig>
             <DestinationQueue>queue/DLQ</DestinationQueue>
             <MaxTimesRedelivered>10</MaxTimesRedelivered>
             <TimeToLive>0</TimeToLive>
             </DLQConfig>
             </MDBConfig>
             </proxy-factory-config>
             </invoker-proxy-binding>
            
             <invoker-proxy-binding>
             <name>MDB2-message-driven-bean</name>
             <invoker-mbean>default</invoker-mbean>
             <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
             <proxy-factory-config>
             <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
             <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
             <CreateJBossMQDestination>true</CreateJBossMQDestination>
             <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
             <MinimumSize>1</MinimumSize>
             <MaximumSize>1</MaximumSize>
             <KeepAliveMillis>30000</KeepAliveMillis>
             <MaxMessages>1</MaxMessages>
             <MDBConfig>
             <ReconnectIntervalSec>10</ReconnectIntervalSec>
             <DLQConfig>
             <DestinationQueue>queue/DLQ</DestinationQueue>
             <MaxTimesRedelivered>10</MaxTimesRedelivered>
             <TimeToLive>0</TimeToLive>
             </DLQConfig>
             </MDBConfig>
             </proxy-factory-config>
             </invoker-proxy-binding>
             </invoker-proxy-bindings>
            
            </jboss>
            


            • 4. Re: XAConnectionFactory not found only in Clustering
              CTO SEOENG Newbie

              Got more detailed logs...something about failing on an rpc call?

              01 Nov 2007 23:39:51,307 TRACE [ScannerThread] (AbstractDeploymentScanner.java:279) - Sleeping...
              01 Nov 2007 23:39:51,525 TRACE [ScannerThread] (URLDeploymentScanner.java:529) - Updating existing deployments
              01 Nov 2007 23:39:51,525 TRACE [ScannerThread] (AbstractDeploymentScanner.java:279) - Sleeping...
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (HAPartitionImpl.java:1069) - Partition DefaultPartition received msg
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=org.jgroups.blocks.MethodCall, loadClassDepth=0
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, org.jgroups.blocks.MethodCall@1bb35b<CodeSource: (file:/C:/jboss-4.2.2.GA/server/all/lib/jgroups.jar <no signer certificates>)>
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=org.jgroups.blocks.MethodCall class=class org.jgroups.blocks.MethodCall cl=org.jboss.mx.loading.UnifiedClassLoader3@100ebec{ url=null ,addedOrder=2}
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=[Ljava.lang.Object;, loadClassDepth=0
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, [Ljava.lang.Object;@181bd13<CodeSource: null>
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=[Ljava.lang.Object; class=class [Ljava.lang.Object; cl=null
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=javax.naming.CompoundName, loadClassDepth=0
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, javax.naming.CompoundName@130b5e2<CodeSource: null>
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=javax.naming.CompoundName class=class javax.naming.CompoundName cl=null
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=org.jnp.interfaces.FastNamingProperties, loadClassDepth=0
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, org.jnp.interfaces.FastNamingProperties@9021e3<CodeSource: (file:/C:/jboss-4.2.2.GA/server/all/lib/jnpserver.jar <no signer certificates>)>
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=org.jnp.interfaces.FastNamingProperties class=class org.jnp.interfaces.FastNamingProperties cl=org.jboss.mx.loading.UnifiedClassLoader3@100ebec{ url=null ,addedOrder=2}
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=java.util.Properties, loadClassDepth=0
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, java.util.Properties@16c163f<CodeSource: null>
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=java.util.Properties class=class java.util.Properties cl=null
              01 Nov 2007 23:39:51,525 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=java.util.Hashtable, loadClassDepth=0
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, java.util.Hashtable@12bcd4b<CodeSource: null>
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=java.util.Hashtable class=class java.util.Hashtable cl=null
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=[Ljava.lang.Class;, loadClassDepth=0
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, [Ljava.lang.Class;@b25b9d<CodeSource: null>
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=[Ljava.lang.Class; class=class [Ljava.lang.Class; cl=null
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=javax.naming.Name, loadClassDepth=0
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:410) - Loaded class from cache, javax.naming.Name@1c330aa<CodeSource: null>
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@966905{ url=null ,addedOrder=20} name=javax.naming.Name class=interface javax.naming.Name cl=null
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (HAPartitionImpl.java:1098) - pre methodName: HAJNDI.lookupLocally
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (HAPartitionImpl.java:1106) - handlerName: HAJNDI methodName: lookupLocally
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (HAPartitionImpl.java:1107) - Handle: HAJNDI.lookupLocally
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (TreeHead.java:286) - lookupLocally, name=XAConnectionFactory
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (NamingServer.java:527) - No binding for: XAConnectionFactory in context , bindings:
              TransactionSynchronizationRegistry=Reference Class Name: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple
              
              UserTransactionSessionFactory=org.jnp.interfaces.MarshalledValuePair@101f417
              console=org.jnp.server.NamingServer@1c346d0
              UUIDKeyGeneratorFactory=org.jnp.interfaces.MarshalledValuePair@15e236a
              HAPartition=org.jnp.server.NamingServer@7b9969
              HASessionState=org.jnp.server.NamingServer@1a1ee47
              JAXR=org.jnp.interfaces.MarshalledValuePair@22af8c
              UserTransaction=Reference Class Name: org.jboss.tm.usertx.client.ClientUserTransaction
              
              invokers=org.jnp.server.NamingServer@1f27273
              jmx=org.jnp.server.NamingServer@18f5cce
              HiLoKeyGeneratorFactory=org.jnp.interfaces.MarshalledValuePair@115e891
              
              01 Nov 2007 23:39:51,635 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (TreeHead.java:307) - lookupLocally failed, name=XAConnectionFactory
              javax.naming.NameNotFoundException: XAConnectionFactory not bound
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
               at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
               at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
               at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
               at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:597)
               at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
               at org.jboss.ha.framework.server.HAPartitionImpl.handle(HAPartitionImpl.java:1126)
               at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654)
               at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
               at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367)
               at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:777)
               at org.jgroups.JChannel.up(JChannel.java:1091)
               at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
               at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.FRAG2.up(FRAG2.java:197)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:262)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
               at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.FD.up(FD.java:300)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.Discovery.up(Discovery.java:225)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:909)
               at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:851)
               at org.jgroups.protocols.TP.access$400(TP.java:46)
               at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1297)
               at java.lang.Thread.run(Thread.java:619)
              01 Nov 2007 23:39:51,744 TRACE [Timer-7] (BaseEvictionAlgorithm.java:93) - process(): region: /_default_/
              01 Nov 2007 23:39:51,744 TRACE [IncomingPacketHandler (channel=DefaultPartition)] (HAPartitionImpl.java:1133) - rpc call threw exception
              javax.naming.NameNotFoundException: XAConnectionFactory not bound
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
               at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
               at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
               at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
               at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:597)
               at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
               at org.jboss.ha.framework.server.HAPartitionImpl.handle(HAPartitionImpl.java:1126)
               at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654)
               at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
               at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367)
               at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:777)
               at org.jgroups.JChannel.up(JChannel.java:1091)
               at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
               at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.FRAG2.up(FRAG2.java:197)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:262)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
               at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.FD.up(FD.java:300)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.Discovery.up(Discovery.java:225)
               at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
               at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
               at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:909)
               at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:851)
               at org.jgroups.protocols.TP.access$400(TP.java:46)
               at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1297)
               at java.lang.Thread.run(Thread.java:619)
              01 Nov 2007 23:39:51,744 TRACE [Timer-7] (BaseEvictionAlgorithm.java:168) - processed 0 node events in region: /_default_/
              01 Nov 2007 23:39:51,854 TRACE [Timer-7] (BaseEvictionAlgorithm.java:450) - Recycle queue is empty
              01 Nov 2007 23:39:51,760 DEBUG [Thread-5] (?:?) - Periodic recovery - second pass <Thu, 1 Nov 2007 23:39:51>
              01 Nov 2007 23:39:51,854 DEBUG [Thread-5] (?:?) - AtomicActionRecoveryModule: Second pass
              01 Nov 2007 23:39:51,854 DEBUG [Thread-5] (TORecoveryModule.java:206) - [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
              01 Nov 2007 23:39:51,854 TRACE [Thread-5] (RepositoryClassLoader.java:397) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@100ebec{ url=null ,addedOrder=2} name=java.text.MessageFormat, loadClassDepth=0
              01 Nov 2007 23:39:51,854 TRACE [Thread-5] (RepositoryClassLoader.java:410) - Loaded class from cache, java.text.MessageFormat@1ee026e<CodeSource: null>
              01 Nov 2007 23:39:51,854 TRACE [Thread-5] (RepositoryClassLoader.java:423) - loadClass org.jboss.mx.loading.UnifiedClassLoader3@100ebec{ url=null ,addedOrder=2} name=java.text.MessageFormat class=class java.text.MessageFormat cl=null
              01 Nov 2007 23:39:51,854 DEBUG [Thread-5] (XARecoveryModule.java:156) - [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
              01 Nov 2007 23:39:54,463 TRACE [Timer-5] (BaseEvictionAlgorithm.java:93) - process(): region: /_default_/
              01 Nov 2007 23:39:54,463 TRACE [Timer-5] (BaseEvictionAlgorithm.java:168) - processed 0 node events in region: /_default_/
              01 Nov 2007 23:39:54,463 TRACE [Timer-5] (BaseEvictionAlgorithm.java:450) - Recycle queue is empty
              


              • 5. Re: XAConnectionFactory not found only in Clustering
                CTO SEOENG Newbie

                Here is the code which throws the error:

                HAPartitionImpl.java

                 /* Invoke it and just return any exception with trace level logging of
                 the exception. The exception semantics of a group rpc call are weak as
                 the return value may be a normal return value or the exception thrown.
                 */
                 try
                 {
                 retval = method_call.invoke(handler);
                 if( trace )
                 log.trace("rpc call return value: "+retval);
                 }
                 catch (Throwable t)
                 {
                 if( trace )
                 log.trace("rpc call threw exception", t);
                 retval = t;
                 }
                


                • 6. Re: XAConnectionFactory not found only in Clustering
                  CTO SEOENG Newbie

                  Still cannot get this to work. I am running a DI-624 router with these machines, Windows XP Pro. Tested JGroups based off of the Wiki instructions, and I am receiving multicast to both machines.

                  My problem is very similar to this post --> http://www.jboss.org/?module=bb&op=viewtopic&t=69990

                  But as you can see below, the 'java:/' is not appended, so this isn't it.

                  Here is the JMSProvider stuff:

                  <?xml version="1.0" encoding="UTF-8"?>
                  
                  <connection-factories>
                  
                   <!-- ==================================================================== -->
                   <!-- JMS Stuff -->
                   <!-- ==================================================================== -->
                  
                   <!-- The JMS provider loader -->
                   <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
                   name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
                   <attribute name="ProviderName">DefaultJMSProvider</attribute>
                   <attribute name="ProviderAdapterClass">
                   org.jboss.jms.jndi.JNDIProviderAdapter
                   </attribute>
                   <!-- The combined connection factory -->
                   <attribute name="FactoryRef">XAConnectionFactory</attribute>
                   <!-- The queue connection factory -->
                   <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
                   <!-- The topic factory -->
                   <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
                   <!-- Access JMS via HAJNDI -->
                   <attribute name="Properties">
                   java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
                   java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
                   java.naming.provider.url=${jboss.bind.address:localhost}:1100
                   jnp.disableDiscovery=false
                   jnp.partitionName=${jboss.partition.name:DefaultPartition}
                   jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
                   jnp.discoveryPort=1102
                   jnp.discoveryTTL=16
                   jnp.discoveryTimeout=5000
                   jnp.maxRetries=1
                   </attribute>
                   </mbean>
                  
                   <!-- The server session pool for Message Driven Beans -->
                   <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
                   name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
                   <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
                   <attribute name="PoolName">StdJMSPool</attribute>
                   <attribute name="PoolFactoryClass">
                   org.jboss.jms.asf.StdServerSessionPoolFactory
                   </attribute>
                   </mbean>
                  
                   <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
                   <tx-connection-factory>
                   <jndi-name>JmsXA</jndi-name>
                   <xa-transaction/>
                   <rar-name>jms-ra.rar</rar-name>
                   <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
                   <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
                   <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">DefaultJMSProvider</config-property>
                   <max-pool-size>20</max-pool-size>
                   <security-domain-and-application>JmsXARealm</security-domain-and-application>
                   </tx-connection-factory>
                  
                  </connection-factories>
                  


                  • 7. Re: XAConnectionFactory not found only in Clustering
                    CTO SEOENG Newbie

                    Here is some additional startup info showing the recognition of 2 nodes and then the HAJNDI binding address:

                    02 Nov 2007 08:53:43,822 INFO [main] (HAPartitionImpl.java:261) - Number of cluster members: 2
                    02 Nov 2007 08:53:43,822 INFO [main] (HAPartitionImpl.java:272) - Other members: 1
                    02 Nov 2007 08:53:43,822 INFO [main] (HAPartitionImpl.java:303) - Fetching state (will wait for 30000 milliseconds):
                    02 Nov 2007 08:53:44,807 INFO [main] (HAPartitionImpl.java:327) - state was retrieved successfully (in 985 milliseconds)
                    02 Nov 2007 08:53:45,041 INFO [main] (DetachedHANamingService.java:465) - Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/127.0.0.1
                    02 Nov 2007 08:53:45,057 INFO [main] (DetachedHANamingService.java:561) - Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
                    02 Nov 2007 08:53:45,291 INFO [main] (TreeCache.java:1403) - No transaction manager lookup class has been defined. Transactions cannot be used
                    02 Nov 2007 08:53:45,338 INFO [main] (InterceptorChainFactory.java:277) - interceptor chain is:
                    


                    • 8. Re: XAConnectionFactory not found only in Clustering
                      CTO SEOENG Newbie

                      I have reproduced this on JBoss 4.2.1 as well now. :(

                      • 9. Re: XAConnectionFactory not found only in Clustering
                        Brian Stansberry Master

                        Does your MBD try to deploy before or after the HAPartition logging shown in your post from Monday? And does it try to deploy before or after the JMS server has started on the other node? If before, we've got a deployment ordering problem to solve.

                        The TRACE logging you showed is normal stuff when a RPC comes in to HA-JNDI from another server and HA-JNDI can't find the requested binding locally.

                        Another suggestion is to pass an IP address to -b when starting JBoss. If you don't, services bind to localhost, which could lead to strange behavior.

                        • 10. Re: XAConnectionFactory not found only in Clustering
                          CTO SEOENG Newbie

                          Determined issue. Once the -b "" was used for both nodes, the problem went away. It appears that you must bind to something other than localhost, or you will received this error.

                          Any explanation to this would be welcome, as I do not completely understand what is going on. I had thought that JBoss is supposed to recognize (via multicast) all nodes and which node was acting as the main JMS node, and use that node. Apparently if you don't specify the -b option / if you bind to localhost, this does not happen.

                          • 11. Re: XAConnectionFactory not found only in Clustering
                            CTO SEOENG Newbie

                            Whoa, Thanks Brian. Just saw your post. That is indeed what happened!

                            • 12. Re: XAConnectionFactory not found only in Clustering
                              Brian Stansberry Master

                              Sorry it took me so long to respond to you.

                              I need to think a bit about exactly why not setting -b caused an issue for you. I know the clustering code uses a combination of jboss.bind.address + JNDI port as sort of node ID; -b sets jboss.bind.address. If you set don't set -b, in 4.2.x it gets set to 127.0.0.1. With either that value or 0.0.0.0, basically multiple nodes in the cluster can end up with the same id (i.e. 127.0.0.1:1099 or 0.0.0.0:1099). I suspect this is the cause of the issue, although the exact way it's failing isn't clear to me.

                              • 13. Re: XAConnectionFactory not found only in Clustering
                                Taco Eschenmoser Newbie

                                I'm running JBoss 4.0.3SP1 and I've got the exact same problem with the "XAConnectionFactory not bound" exception. Unfortunately the solution with the -b Parameter does not work in my environment. Do I have to upgrade to a newer JBoss version, or is there a way to make this work with the specified version?

                                • 14. Re: XAConnectionFactory not found only in Clustering
                                  Sunil Newbie

                                  hey taco,
                                  Am also in same situation.Please let me know if you have solved the issue with your server.

                                  I am also getting same error when am trying to start the server. Any suggestions will be highly appreciated.

                                  Thank you

                                  Sunil

                                  1 2 Previous Next