[jboss-user] [JNDI and Naming] - Re: Moving from 4.2.2 to AS 7

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Jun 13 02:35:26 EDT 2013


Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Moving from 4.2.2 to AS 7"

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

--------------------------------------------------------------
Hello Richard,

yes, the JNDI names must be changed.
If you run in the same module of the application you can use
  java:modul/Account.....
if you are 'only' in the same EAR but in a different module you need to use
  java:app/appEar-1.0-SNAPSHOT/.....
To make it more easy I recommend to define a module name in the DS to get rid of the version, also you can rename the ear/jar

If you are using XDoclet to generate the interfaces you might change the XDoclet *.xdt templates to be able to use AS7 and earlier with the same applicaiton.
--------------------------------------------------------------

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

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130613/2df6e1e0/attachment.html 


More information about the jboss-user mailing list