Posted By:
Michael_Briggs
Posted On:
Tuesday, February 26, 2002 08:42 AM
I just downloaded 3.01 (evaluation). I installed it on my desktop and everything started up just fine. However, when I installed it on my web server, I got the following error: com.swiftmq.swiftlet.SwiftletException: Address in use: JVM_Bind at com.swiftmq.impl.routing.standard.RoutingSwiftletImpl.b(RoutingSwiftletImpl.java:260) at com.swiftmq.impl.routing.standard.RoutingSwiftletImpl.d(RoutingSwiftletImpl.java:139) at com.swiftmq.impl.routing.standard.RoutingSwiftletImpl.startup(RoutingSwiftletImpl.java:25) at com.swiftmq.swiftlet.SwiftletManager.startUpSwiftlet(SwiftletManager.java:144) at com.swiftmq.swiftlet.SwiftletManager.startKernelSwiftlets(SwiftletManager.java:
More>>
I just downloaded 3.01 (evaluation).
I installed it on my desktop and everything started up just fine.
However, when I installed it on my web server, I got the following error:
com.swiftmq.swiftlet.SwiftletException: Address in use: JVM_Bind
at com.swiftmq.impl.routing.standard.RoutingSwiftletImpl.b(RoutingSwiftletImpl.java:260)
at com.swiftmq.impl.routing.standard.RoutingSwiftletImpl.d(RoutingSwiftletImpl.java:139)
at com.swiftmq.impl.routing.standard.RoutingSwiftletImpl.startup(RoutingSwiftletImpl.java:25)
at com.swiftmq.swiftlet.SwiftletManager.startUpSwiftlet(SwiftletManager.java:144)
at com.swiftmq.swiftlet.SwiftletManager.startKernelSwiftlets(SwiftletManager.java:232)
at com.swiftmq.swiftlet.SwiftletManager.initSwiftlets(SwiftletManager.java:611)
at com.swiftmq.swiftlet.SwiftletManager.startRouter(SwiftletManager.java:412)
at com.swiftmq.Router.main(Router.java:17)
Exception during startup kernel swiftlet 'sys$routing': Address in use: JVM_Bind
Initially, I did not make any changes to the configuration files,
When I turned on tracing for the Network & Routing Swiftlets,
I see it fails trying to open port 4100.
I verified many times that port 4100 is indeed available.
I wrote a simple little program to verify this as well:
import java.net.*;
public class Test
{
public static void main(String[] psaArgs)
{
System.out.println("Enter.");
try
{
ServerSocket rSocket = new ServerSocket(4100, 50);
}
catch (Exception prException)
{
prException.printStackTrace();
}
System.out.println("Exit.");
}
}
The above program runs without exception.
I changed to the port from 4100 to well over a dozen
other available ports in the routerconfig.xml file.
Entry:
However, SwiftMQ throws the above exception every time.
Information about the web server machine:
Dual Pentium II 500 MHz
Windows NT Server 4.0 Service Pack 6a.
Windows Proxy Server 2 Service Pack 1
Memory: 512 MB
Multi-Homed
JDK 1.3.1_01
Also, as a sanity check, I installed the latest version
of JBoss (2.4.4) on the web server machine.
When I configure JBoss's JNDI server to listen on port 4100,
JBoss starts without error.
jboss.jcml entry:
4100
Any ideas on what is causing SwiftMQ to throw the exception or how I should proceed?
Thanks in advanced for any help you can provide.
-Michael Briggs
<<Less