4 Replies Latest reply on May 9, 2008 4:35 AM by Jeff Zhang

    jboss-ra.xml useful?

    Jeff Zhang Newbie

      I am look http://jira.jboss.com/jira/browse/JBAS-5023 about org.jboss.test.jcaprops.test.JBossRaXmlOverrideUnitTestCase.testJBossRaXmlOverride

      I noticed JbossAs doesn't handle jboss-ra.xml in deployment process. This fail test.

      And Jboss4.2.2 doesn't too.

      I am not sure we still use jboss-ra.xml or not.

        • 1. Re: jboss-ra.xml useful?
          Vicky Kak Master

           

          "Jeff Zhang" wrote:
          I am look http://jira.jboss.com/jira/browse/JBAS-5023 about org.jboss.test.jcaprops.test.JBossRaXmlOverrideUnitTestCase.testJBossRaXmlOverride

          I noticed JbossAs doesn't handle jboss-ra.xml in deployment process. This fail test.

          And Jboss4.2.2 doesn't too.

          I am not sure we still use jboss-ra.xml or not.


          What is new in this , it is already know issue and pointed out at JBAS-5023 ?

          What exactly do you want to know ?



          • 2. Re: jboss-ra.xml useful?
            Jeff Zhang Newbie

            The test deploy the testjcaprops-override.rar file.

            +-testjcaprops.jar
            +-META-INF
            +-ra.xml
            +-jboss-ra.xml

            In ra.xml:

            <config-property>
            <config-property-name>StringRAR</config-property-name>
            <config-property-type>java.lang.String</config-property-type>
            <config-property-value>StringFromRARProperties</config-property-value>
            </config-property>
            <config-property>
            <config-property-name>BooleanRAR</config-property-name>
            <config-property-type>java.lang.Boolean</config-property-type>
            <config-property-value>True</config-property-value>
            </config-property>
            


            And in jboss-ra.xml:
            <ra-config-property>
            <ra-config-property-name>StringRAR</ra-config-property-name>
            <ra-config-property-type>java.lang.String</ra-config-property-type>
            <ra-config-property-value>XMLOVERRIDE</ra-config-property-value>
            </ra-config-property>
            <ra-config-property>
            <ra-config-property-name>BooleanRAR</ra-config-property-name>
            <ra-config-property-type>java.lang.Boolean</ra-config-property-type>
            <ra-config-property-value>False</ra-config-property-value>
            </ra-config-property>
            


            the property value should be override, but it is not.
            I have looked AS5, 4.2.2, 4.0.5, it seems jboss-ra.xml not work all. My question is if we use jboss-ra.xml as jca resource adaptor addition description file?

            Thanks

            • 3. Re: jboss-ra.xml useful?
              Vicky Kak Master

              All this is known and is explained here
              http://www.jboss.com/index.html?module=bb&op=viewtopic&t=125174

              we need to fix it , the jboss-ra.xml thing is broken.

              • 4. Re: jboss-ra.xml useful?
                Jeff Zhang Newbie

                Thanks vicky, I would like to read forum posts from begin to end. :)