Discussion:
[jboss-user] [Datasource Configuration] - Re: Migrate JBoss 4 datasource/jndi configuration in jboss.xml to JBoss 7
Wolf-Dieter Fink
2012-11-20 10:12:14 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/777386#777386

--------------------------------------------------------------
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
[https://community.jboss.org/message/777386#777386]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
Joern Ohmen
2012-11-20 13:51:53 UTC
Permalink
Joern Ohmen [https://community.jboss.org/people/joerno] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/777447#777447

--------------------------------------------------------------
Thank you! If the application will work, I'll let you know.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/777447#777447]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
Viet Tran
2013-03-20 03:41:10 UTC
Permalink
Viet Tran [https://community.jboss.org/people/tviet] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/803712#803712

--------------------------------------------------------------
Hi Joern,

I have the same issue with the one you are facing so does it work on your side?

Thank you in advance
Viet Tran
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/803712#803712]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
Loading...