i have deployed a war file in tomcat. The war file is supposed to contact a password vault server and give the password for my application.
But it is hanging at the place of connecting to the server ip address.
When we run the same with Run as Java application using main() from RAD/WSAD, it works perfectly and giving the password to us.
we used ipaddress 10.x.x.x in the place of testpvault.abc.com. No Working anyways.
Just hangs at the line in RED below. Not coming exception block also.
We are running tomcat on 8080 port. Do I need to do any configuration/setting in tomcat server.xml for connecting to another IP address or server ?? Please guide me.
I don't think that it's Tomcat or the JVM that's causing the connection problems, but the firewall on either one (or both) of the machines, or something in between.
From the machine on which Tomcat is running, can you ping the other machine? Can you connect to it using Telnet? Open a command prompt and try the following two commands (assuming the other machine is running on port 80; otherwise replace the 80 with the right port):
Also, are you aware that you can't access the WEB-INF folder or any file inside it through a web browser?
Are you sure that RAD is running on that same machine? Because the ping result verifies that there is a network issue between the two. Now all you need to do is figure out what causes this issue. I would contact my network administrator about that.