2 Replies Latest reply on Jul 26, 2010 9:05 AM by saltnlight5

    How to Start data source in 5.1.0

    rakeshsagar

      Hi all,

       

      Can anyone tell me how to start the data source in JBoss.

       

      I had created the Oracle data source using the Admin-console tool in Jboss AS 5.1.0.

      I had restarted JBoss but my data source status is DOWN .

       

      Please help

       

      Thanks

      Rakesh.

        • 1. Re: How to Start data source in 5.1.0
          saltnlight5

          The Datasource should be auto start on startup.

           

          Try deploying a *ds.xml file into your server's deploy directory. This will remain after you restart a server.

           

          You may get an example copy of the file for oracle under JBOSS_HOME/docs/examples/jca/oracle*-ds.xml.

          • 2. Re: How to Start data source in 5.1.0
            saltnlight5

            Actually,it looks like the admin-console will produce that xml file for you under deploy directory already ( I thought it store it somewhere else that's not persist after a server restart.) In this case, just ensure your DS is configured correctly and able to connect. You can compare your file version with the ones in the examples/jca folder.