1 Reply Latest reply on May 7, 2010 2:28 AM by Richard Qin

    Problem Accessing Datasource from SAR

    Rajender Dangwal Newbie

      I have created an MBean inside a SAR. This SAR depends on a datasource whose definition is defined in the *-ds.xml inside the deploy directory. The problem is that when I try to start the JBOSS with the SAR in the deploy directory the SAR is not able to obtain the jndiName for the datasource. In case the SAR is hot deployed then the datasource is deployed correctly.

      Can anyone provide an insight into why it is happening?


      Thanks in advance.