1 Reply Latest reply on Jun 18, 2006 4:50 PM by Jay Glass

    Oracle XAConnectionFactory not bound

    Antonio Jacob Costa Newbie

      Hi everybody,

      I'm testing JBCS 1.0M5 that I've obtained through CVS on th 17th of June (yesturday).

      My configuration is the following:
      . OS: OpenSUSE Linux 10.0
      . JBoss 4.0.3 SP1 patched with EJB3
      . Oracle 10.2.0 (running on a different machine)

      Both the build and installation processes went OK but when I startup JBoss I get the following error:

      17:17:29,674 INFO [EjbModule] Deploying LocalDelivery
      17:17:29,911 INFO [EjbModule] Deploying RemoteDelivery
      17:17:32,273 FATAL [PersistenceXmlLoader] mail JTA
      17:17:32,307 INFO [Ejb3Deployment] EJB3 deployment time took: 2203
      17:17:35,622 WARN [JMSContainerInvoker] JMS provider failure detected:
      javax.naming.NameNotFoundException: XAConnectionFactory not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:281)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
      ...
      


      My datasource is defined as follows:
      <?xml version="1.0" encoding="UTF-8"?>
      <datasources>
       <local-tx-datasource>
       <jndi-name>OracleDS</jndi-name>
       <connection-url>jdbc:datadirect:oracle://192.168.1.5:1521;SID=XE</connection-url>
       <driver-class>com.ddtek.jdbc.oracle.OracleDriver</driver-class>
       <user-name>xxx</user-name>
       <password>xxx</password>
       <min-pool-size>5</min-pool-size>
       <max-pool-size>100</max-pool-size>
       <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
       <track-statements>false</track-statements>
       </local-tx-datasource>
      </datasources>
      


      Can anyone help me on this?

      Best regards,