Question : Need some help resolving Tomcat Java Error (Unrecognized Windows Sockets error: 0: JVM_Bind)

I am trying to run a web application on Tomcat 5. Getting a java.net.SocketException. Google search seemed to indicate that this may be due to another application using a port that Tomcat server is trying to use. I changed the port to 50000 range, and still get the same error:

Mon Jul 19 16:53:00 CDT 2010: Starting to listen to port 50002
Mon Jul 19 16:53:00 CDT 2010
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
      at java.net.ServerSocket.bind(ServerSocket.java:319)
      at java.net.ServerSocket.<init>(ServerSocket.java:185)
      at java.net.ServerSocket.<init>(ServerSocket.java:97)
      at catalog.Engine.PortListener(Engine.java:324)
      at catalog.Engine.execute(Engine.java:121)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

Answer : Need some help resolving Tomcat Java Error (Unrecognized Windows Sockets error: 0: JVM_Bind)

your catalog.Engine is trying to open a port. 50000 range is too high.
Try changing it to 4000
Random Solutions  
 
programming4us programming4us