1 Reply Latest reply on Sep 21, 2004 1:28 AM by Elias Ross

    Migrating from Jboss 3.0.0 to Jboss 3.2.5 - Help wtih Servic

    umesh bellur Newbie

      I am migrating an application from 3.0.0 to 3.2.5. I have a service.xml file which deploys mbeans for connection pools that I have included below. However 3.2.5 refuses to deploy this because it says the mbeans are already defined in jboss-jca.sar. It further appears that 3.2.5 has started using style sheets for defining connection pools. My question is, where should I place the .ds file that the style sheet looks for and how do I duplicate my managed connection pool setup that I have below in the ds file? I checked in docs/examples and there are ds files for oracle which I suppose I can use. But where is this file supposed to be placed?

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


      <config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:@</config-property>
      <config-property name="DriverClass" type="java.lang.String">oracle.jdbc.driver.OracleDriver</config-property>
      <!--set these only if you want only default logins, not through JAAS -->
      <config-property name="UserName" type="java.lang.String">misec</config-property>
      <config-property name="Password" type="java.lang.String">acc1001</config-property>

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

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

      <!--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

      <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-->