Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Socket creation problem in java/weblogic5.1  RSS feed

 
Vishwas Kashikar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to create a socket connection at a particular host and port to a servlet.
The servlet is part of the application but is to be called using a host and port id. So the host and port are local to the machine on which the application is installed.
If another installation of the application is done
on the same machine under the same weblogic server but a different user and domain....the socket connection cannot be created for the same host and port and an exception is thrown. At one point of time only one application instance is running on the machine.
It works perfectly for the one instance (always the same one) of the application but not for the others.
The code creates and closes the socket for normal or error conditions....so the socket remaining connected to the first application instance is ruled out.
Can someone please provide some inputs on this.
Thanks and Regards,
Vishwas
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!