• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cluster Portlets cookie problem

 
tersanch Fernandes
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic