• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic