JBoss Community

Re: Migrate JBoss 4 datasource/jndi configuration in jboss.xml to JBoss 7

created by Wolf-Dieter Fink in Datasource Configuration - View the full discussion

I'm not sure but maybe you can use the naming subsystem:

 

  <subsystem xmlns="urn:jboss:domain:naming:1.2">

    <bindings>

      <lookup name="java:XY_DS" lookup="java:jboss/datasource/XY_DS"/>

    </bindings>

  <remote-naming/>

</subsystem>

 

Let me know whether it works

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community