Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help please !!!--- jndi.properties file in tomcat

 
deepa karkala
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on tomcat and weblogic setup which has been done long back and the application also has been launched. I am using Tomcat as the web server and weblogic as application server. There are 4 managed servers and they are in the cluster.
There is a file jndi.properties under tomcat\webapp\mypresentation and it contains :
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://ipadd1,ipadd2,ipadd3,ipadd4:7001
In place of cluster address, I can see the ipaddresses of the managed servers.
I believe that in production environment, we can not strictly mention the ipaddresses of the servers for cluster address rather we have to mention the cluster DNS name (which would be mapped to the 4 ip addresses).
Does this jndi file entry causes any problem ?
(by the way, right now my application is running fine but once in blue moon, all the of the clients will be kicked out of the applications from from end).
I would highly appreicate if anyone can suggest me whether I need to do some changes in jndi.properties file.
thanks and regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic