2 Replies Latest reply on Jun 10, 2003 2:44 AM by inthiquab

    How to replace (NoTxConnectionManager) in mysql_service.xml

    inthiquab

      Hi,


      Could any one point me how to configure NoTxConnectionManager in mysql_ds.xml (JBoss 3.2.1)

      The config in mysql_service.xml in JBoss3.0 is


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

      NonTransactional


      <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost/insight</config-property>
      <config-property name="DriverClass" type="java.lang.String">org.gjt.mm.mysql.Driver</config-property>
      <!--set these only if you want only default logins, not through JAAS -->
      <config-property name="UserName" type="java.lang.String"/>
      <config-property name="Password" type="java.lang.String"/>


      <!--Below here are advanced properties -->
      <!--hack-->
      <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper


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

      0
      50
      5000
      15
      <!--criteria indicates if Subject (from security domain) or app supplied
      parameters (such as from getConnection(user, pw)) are used to distinguish
      connections in the pool. Choices are
      ByContainerAndApplication (use both),
      ByContainer (use Subject),
      ByApplication (use app supplied params only),
      ByNothing (all connections are equivalent, usually if adapter supports
      reauthentication)-->
      ByContainer


      <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager
      <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:name=JaasSecurityManager
      <!--make the rar deploy! hack till better deployment-->
      jboss.jca:service=RARDeployer




      Thanks in advance

      Inthiquab Deen