4 Replies Latest reply on Aug 4, 2003 7:47 AM by photon

    Testjca-service.xml work in 3.0.6 but not in 3.2.1

    photon Newbie

      I have the following test-service.xml worked in 3.0.6:

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

      <!-- ===================================================================== -->
      <!-- -->
      <!-- JBoss Server Configuration -->
      <!-- -->
      <!-- ===================================================================== -->
      <!-- Connection factory for the test resource adapter. -->





      <!--make the rar deploy! hack till better deployment-->
      jboss.jca:service=RARDeployer
      <depends optional-attribute-name="ManagedConnectionFactoryName">
      <!--embedded mbean-->


      <!--hack-->
      <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=MyTestConnector




      <config-property name="HostName" type="java.lang.String">ocean</config-property>
      <config-property name="PortNumber" type="java.lang.Integer">32324</config-property>



      TEST




      <depends optional-attribute-name="ManagedConnectionPool">
      <!--embedded mbean-->


      0
      50
      5000
      15
      ByContainer



      <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager

      <!--
      <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager
      java:/TransactionManager
      -->





      I also tried replacing the above with the following in 3.2.1 (name: test-ds.xml) but get a javax.naming.NameNotFoundException: TEST not bound in the server.log when I tried to look up the connection.

      What am I missing ? Thanks a lot for the help.

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

      <connection-factories>
      <no-tx-connection-factories>
      <jndi-name>TEST</jndi-name> <config-property name="HostName" type="java.lang.String">ocean</config-proper
      ty>
      <config-property name="PortNumber" type="java.lang.Integer">32325</config-pro
      perty>
      </no-tx-connection-factories>
      </connection-factories>