|
nk4um User
Posts: 2
|
Thanks Peter.
As is so often the way, when I went to revisit the issue today (again after a shutdown overnight), 1060 port was assigned
successfully again. So it''s that old bitter-sweet feeling of moving on but without resolution.
Kicking myself for not doing an old-fashined restart immediately after running into the problem - though it is very odd and
unsettling that tcpview & netstat didn''t help identify the culprit.
At least I can move on playing again now - and of course it is more than likely that NetKernel was completely innocent in
this episode!
Cheers,
Kevin.
|
|
nk4um Moderator
Posts: 755
|
2005-08-01T14:07:16.000ZAugust 1, 2005 14:07Errrrrrr
Sorry - that''s what you said you''d used! Well at least someone else might find the link useful!
|
|
nk4um Moderator
Posts: 755
|
|
|
nk4um Moderator
Posts: 755
|
Hi Kevin,
This error occurs when the Jetty transport attempts to bind to the socket on port 1060 when it is already in use. On Unix
boxes you can make sure java hasn''t left a rogue thread tied to the socket with...
killall java
On windows you will have to use task manager to kill all java - though it sounds like you have already tried this.
The only cause would be another process grabbing the 1060 port. To test if something has grabbed the port you can try telneting
in to it...
telnet localhost 1060
The only other thing I would suggest is looking at your firewall settings?
I hope this helps but I fear you might just have to dig around to find out who''s grabbed or not released the socket.
Cheers,
Peter
|
|
nk4um User
Posts: 2
|
I installed NetKernel (1060-NKSEDK-2.0.6) on my Windows XP Pro laptop, and after resolving port clash issues by stopping the
offending (Oracle) services, got 1060/8080 to work ok and started working through the examples.
Now returning to work after a shutdown cycle, I find that when I run startup.bat I get an exception re failing to bind to
1060 due to ''address already in use'' (exception excerpt below).
However, when I run netstat or tcpview, there is no sign of 1060.
I have also made sure there are no java processes alive using Task Manager, and checked that the Oracle services are not restarted.
I could reassign the NetKernel ports following other advice on this forum, but I''d rather get to the bottom of this if possible.
Any suggestions?
Thanks
kevin.
<id>Jetty Server failed to start</id> <message>on port 1060</message> - <stack> <level>org.ten60.transport.jetty.JettyTransport.addServers() line:131</level> <level>org.ten60.transport.jetty.JettyTransport.start() line:154</level> <level>com.ten60.netkernel.transport.TransportManager.refresh() line:193</level> <level>com.ten60.netkernel.transport.TransportManager.start() line:123</level> </stack> - <ex> <id>java.net.BindException</id> <message>Address already in use: JVM_Bind</message> - <stack> <level>java.net.PlainSocketImpl.socketBind() line:-2</level> <level>java.net.PlainSocketImpl.bind() line:331</level> <level>java.net.ServerSocket.bind() line:318</level> <level>java.net.ServerSocket.<init>() line:185</level> </stack>
|