• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat, Jboss, JNDI  RSS feed

 
fred garvin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

I would like to know what the correct way to set the jndi properties in my tomcat web app. I don't want to hard code the properties in the jsp. Years ago we set these properties:
java.naming.factory.initial
java.naming.factory.url.pkgs
java.naming.provider.url

I'm sure this goes in a xml file. Which one, and how? web.xml?

Here I am assuming tomcat and jboss are on separate servers.

Thank you for any help.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!