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

Opening a socket on a separate JVM  RSS feed

 
Carlos Pena
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently writing a secure server program, which listens for client connections and starts a different JVM using the Runtime.exec() to start a different server which monitors jobs started by the first server executing the client's request. The second JVM simple creates an Object which is also a server, but when it tries to open the socket to listen, it fails and gives me a SocketException. I don't understand why this error has occured, I checked the port, to make sure its free and it is. Also, when I create the same Object within the first JVM it works perfectly it listens and connects to client connections. Can any one help me with this problem? If you need for information on this, please feel free to ask.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!