Krishna Kumar L

Greenhorn
+ Follow
since Feb 01, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Krishna Kumar L

I may not be able to give you a solution but I also have somewhat similar issue with Sun's Glassfish server. I had installed it while connected to my work VPN and I can not access Glassfish console with http://localhost:port when I am not connected to VPN and I have to use the http://127.0.0.1:port (or IP assigned by the router, don't remember exactly). You may have installed Tomcat while connected to Internet and while Internet connection is ON the localhost is mapped to the IP assigned by your ISP and when you disconnect from Internet localhost may be getting mapped to Class C local address. Try looking at what IP is mapped to localhost when Internet is ON and when Internet is OFF.
10 years ago
I have an enterprise application in WLS with a secured EJB module and a web application based on servlets. I want to access a servlet URL from the EJB(both in same EAR file) using ULConnection and I want to secure the servlet so that no other application or client can access it. I do not want to secure the servlet with username and password since I do not want to hard-code the username and password in EJB. Is it possible to restrict a servlet to be accessible only to a particular enterprise application or is there any other ways that I can achieve what I want as described above?