[jboss-user] [JNDI and Naming] - Use of admin/web/jmx console to give the path of file through JNDI
Sanya Kapoor
do-not-reply at jboss.com
Wed Aug 18 19:00:15 EDT 2010
Sanya Kapoor [http://community.jboss.org/people/jbossuser200] created the discussion
"Use of admin/web/jmx console to give the path of file through JNDI"
To view the discussion, visit: http://community.jboss.org/message/558055#558055
--------------------------------------------------------------
I am using JBoss 5.1.0 GA. For one properties file I have defined a JNDI name like this:
Java:comp/env/pwd.properties
And in web.xml I have entry like this:
<env-entry>
<env-entry-name>pwd.properties</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>..\WebContent\WEB-INF\pwd.properties</env-entry-value>
</env-entry>
My question is that is there a way I can define the path of file in admin/web/jmx console of JBoss(either through JNDI, as we do in WebSphere) rather that putting in the web.xml file.
Any help is appreciated.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/558055#558055]
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/20100818/f16ce781/attachment.html
More information about the jboss-user
mailing list