Hello, I am running client socket program which is supposed to get connected with a server socket. The server socket is running fine and netstat -a shows that my server socket port is listening.
But when client socket program is run: It fails by giving following error message.
Thread[main,5,main] : java.net.SocketException: Unrecognized Windows Sockets error: 10106: create java.net.SocketException: Unrecognized Windows Sockets error: 10106: create at java.net.Socket.createImpl(Socket.java:388) at java.net.Socke
I am running this on Windows XP. Running on other platforms like solaris is working fine.
I hate to reopen an issue from a few years ago, but I am running into this issue when attempting to run tomcat under Windows 7.
One interesting thing I noticed about Windows 7 is that it doesn't define a SystemRoot environment variable as it does in XP. Does anyone have any ideas. I understand my chances of finding a solution might be scarce due to how new Windows 7 is.
I made an attempt to create a system level environment variable called SystemRoot, but that didn't seem to resolve my issue.
Note - the original post differs from my post slightly in that the exception is a bit different:
I REALLY appreciate everyone's time and energy toward this.
posted 9 years ago
Ok, Please disregard the post above. I was able to solve the issue. I was completely unaware and had an instance of Tomcat running the whole time. I didn't realize I had it installed as a service, then attempted to run the startup.bat script. I apologize to anyone who took any time to research this and assure you I will be more careful when posting next time.