Microsoft
Software
Hardware
Network
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.s
ocketBind(
Native Method)
at java.net.PlainSocketImpl.b
ind(PlainS
ocketImpl.
java:359)
at java.net.ServerSocket.bind
(ServerSoc
ket.java:3
19)
at java.net.ServerSocket.<ini
t>(ServerS
ocket.java
:185)
at java.net.ServerSocket.<ini
t>(ServerS
ocket.java
:97)
at catalog.Engine.PortListene
r(Engine.j
ava:324)
at catalog.Engine.execute(Eng
ine.java:1
21)
at org.quartz.core.JobRunShel
l.run(JobR
unShell.ja
va:195)
at org.quartz.simpl.SimpleThr
eadPool$Wo
rkerThread
.run(Simpl
eThreadPoo
l.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
sum by date and variable (horizontal)
Uplink fast set on a distribution layer switch
SSIS Case Statement not executing
'System.Xml.Linq' doesn't contain any public member
Database Driven Website
Looking for Video Recording Software for Samsung Cameras
Problems moving L2L IPSec VPN from Cisco PIX to Cisco ASA 5520, connecting from Cisco 877
C# WMI query for getting current logged on user doesn't work on Windows 7
OCS 2007 R2
Cisco ASA 5505 Remote Access VPN Problem