[jboss-user] [JNDI and Naming] - Why datasource JNDI name has to start with 'java:/' or 'java:jboss/ in AS 7.1
badr elhouari
do-not-reply at jboss.com
Fri Jun 29 10:08:42 EDT 2012
badr elhouari [https://community.jboss.org/people/badr] created the discussion
"Why datasource JNDI name has to start with 'java:/' or 'java:jboss/ in AS 7.1"
To view the discussion, visit: https://community.jboss.org/message/745048#745048
--------------------------------------------------------------
Hi,
I have to deploy the same war in glassfish 3.1 and AS 7.1 which normaly possible with the Java EE portability principle! So I need to create the same datasource with the same JNDI name in both AS 7.1 and glassfish 3.1. The problem is that AS 7.1 impose to me to start the datasource JNDI name by Java:/ or Java:jboss/ BUT glassfish don't accept a JNDI name containig *:* So I'm wondering why Jboss put this retriction?
Thanks in advance
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/745048#745048]
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/20120629/e08ac3e2/attachment.html
More information about the jboss-user
mailing list