1 Reply Latest reply on Jan 21, 2014 9:22 AM by Ramesh Reddy

    Deploying Resources

    Tom Arnold Novice

      This perhaps may be better suited for another forum, but I thought I'd try here first.


      JBoss allows me to deploy datasources with "*-ds.xml" files.




      <?xml version="1.0" encoding="UTF-8"?>
        <datasource jta="true"
            <check-valid-connection-sql>SELECT 1</check-valid-connection-sql>


      I'm starting to get my hands dirty with the webservice connector and haven't had any luck with a similar strategy. Google suggests that "-ra.xml" files should work, but I've had no luck. Is there any way to do this? I am using JBoss EAP 6.1.0.




        • 1. Re: Deploying Resources
          Ramesh Reddy Master



          Yes, we know of the support for -ds.xml files, this was added to JBoss AS 7.x after the many community members complained about  similar support from JBoss 5, 6 days. The disconnect is, in JBoss AS 5 & 6, user could configure both JDBC data sources and JCA sources using a -ds.xml file. However, in JBoss AS 7, the JDBC data source subsystem is different from that of the resource adapter. I do not think I saw similar support for -ra.xml for resource adapters. It could be done, but it needs AS level code changes for it. You can certainly open up dialog with WildFly team and log a feature request.


          These individual -ds.xml files files work best in standalone environment, so currently I recommend using the CLI scripting or Admin API for adding a data source for Teiid.