2 Replies Latest reply on Mar 11, 2006 4:52 AM by anders.hedstrom

    Ports going crazy...

      I'm having a really rough time getting JBoss to run correctly due to ports being consumed.

      I'm on Windows XP SP2, using eclipse 3.1.2 + MyEclipse 4.1.1. I'm using JBoss 4.0.4RC1 w/ EJB3 (non-clustered).

      I've been writing and testing apps on JBoss for a week now in this environment w/o a single problem. Suddenly, I can't get JBoss to start w/o a boatload of exceptions due to ports already being in use.

      First it was port 1101....now I'm having problems w/ 1098...so JNDI won't work apparently...

      22:11:04,562 WARN [ServiceController] Problem starting service jboss:service=Naming
      java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
       java.net.BindException: Address already in use: JVM_Bind
       at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
       at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178)
       at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
       at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
       at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:180)
       at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
       at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
       at org.jnp.server.Main.initJnpInvoker(Main.java:314)
       at org.jnp.server.Main.start(Main.java:277)
      


      I have no idea what is suddenly using these ports or what is going on...anyone have any ideas? I tried using netstat and that just shows me that the ports are in use...doesn't help much.

      Thanks!