socket erroe when invoking python from java app
Posted on 2004-09-09
I seem to have a winsock error when I tried to invoke my python xml server from within my java application. I know the server works fine because I checked it independently, I also manually started the server and then call the functions from my java app the problem is when I tried to start the python server from within the app I get the following error
Traceback (most recent call last):
File "C:/Python23/new folder/file.py", line 1307, in ?
server = SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8080))
File "C:\Python23\lib\SimpleXMLRPCServer.py", line 450, in __init__
SocketServer.TCPServer.__init__(self, addr, requestHandler)
File "C:\Python23\lib\SocketServer.py", line 329, in __init__
File "C:\Python23\lib\socket.py", line 154, in __init__
_sock = _realsocket(family, type, proto)
socket.error: (10091, 'Network subsystem is unvailable')
Any idea on why this happens?