Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Socket creation problem in java/weblogic5.1  RSS feed

Vishwas Kashikar
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 the socket remaining connected to the first application instance is ruled out.
Can someone please provide some inputs on this.
Thanks and Regards,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!