1 Reply Latest reply on Aug 18, 2014 6:06 AM by Wolf-Dieter Fink

    Datasource configuration in domain mode

    xxxxx roque Newbie

      I successfully configured a datasource in my standalone.xml file,but I can´t get the same configuration to work in domain mode.Are there some change I need to apply?


      My config looks as follows:


      <datasource jndi-name="java:/datasources/OracleDs" pool-name="OracleDs" enabled="true" use-java-context="true">

















                               <driver name="oracle" module="com.oracle">




        • 1. Re: Datasource configuration in domain mode
          Wolf-Dieter Fink Master

          The datasource configuration is the same for both modes.

          Difference is that the domain.xml contain more than one profiles (as standalone*.xml does).


          You need to check whether you use the correct profile. The server is part of a server-group and this group use a specific configuration profile.

          This profile need to have the datasource. Also you need to add the driver as a module (manually) for all instances if you use more than one.


          If that did not help you should provide more details.