This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Cluster Portlets cookie problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Cluster Portlets cookie problem" Watch "Cluster Portlets cookie problem" New topic
Author

Cluster Portlets cookie problem

tersanch Fernandes
Greenhorn

Joined: Jan 28, 2006
Posts: 3
Hi All,

I have 2 WAS servers with 2 Web servers with different IP address in a clusterd envi with a n/w dispatcher. I need a portlet with creates a cookie with the ClientIP and the HostIP of the webserver.

hostIP = InetAddress.getLocalHost().getHostAddress();

But when I use this piece of code it gives me the IP address of the WAS server and not the different Webservers.

Can soomeone please guide me on the steps to obtain the address of the WebServers.

Thanks
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Cluster Portlets cookie problem
 
Similar Threads
Domains of cookie query
how to lookup in distributed environment
Google automatic redirect
RMI SocketPermission exception from Applet - works from Netbeans
Load managment system for travel agent client performance