aspose file tools*
The moose likes BEA/Weblogic and the fly likes Help please  !!!--- jndi.properties file in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Help please  !!!--- jndi.properties file in tomcat" Watch "Help please  !!!--- jndi.properties file in tomcat" New topic
Author

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

deepa karkala
Ranch Hand

Joined: Jan 29, 2003
Posts: 62
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help please !!!--- jndi.properties file in tomcat