[jboss-user] [JNDI and Naming] - Re: Provide one datasource with two different JNDI names
jaikiran pai
do-not-reply at jboss.com
Fri Nov 19 03:26:22 EST 2010
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: Provide one datasource with two different JNDI names"
To view the discussion, visit: http://community.jboss.org/message/571884#571884
--------------------------------------------------------------
Yes, that's possible:
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.jboss.naming.NamingAlias"
name="org.myapp:alias=myDSAlias">
<attribute name="FromName">aliasJNDIName</attribute>
<attribute name="ToName">java:DefaultDS</attribute>
</mbean>
</server>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/571884#571884]
Start a new discussion in JNDI and Naming at Community
[http://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/20101119/30557fca/attachment.html
More information about the jboss-user
mailing list