3 Replies Latest reply on Oct 12, 2006 7:27 PM by Chris Malan

    "could not make connection to the server"

    Matt Mella Newbie

      When I start jboss I get the following error:

      16:24:56,436 ERROR [IpcConnection] Could not make connection to the server. <Host>isd-portal</Host><Port>5400</Port><Timeout>20000</Timeout>
      16:24:56,445 ERROR [PoolManager] com.appiancorp.asl3.runtimefw.rta.ipc.TcpException: java.net.ConnectException: Connection refused
      com.appiancorp.asl3.runtimefw.rta.ipc.TcpException: java.net.ConnectException: Connection refused
       at com.appiancorp.asl3.runtimefw.rta.ipc.IpcConnection.o(IpcConnection.java:39)
       at com.appiancorp.asl3.runtimefw.rta.ipc.IpcConnection.<init>(IpcConnection.java:45)
       at com.appiancorp.asl3.runtimefw.rta.connect.pool.ServerUtils.isPrimary(ServerUtils.java:31)
       at com.appiancorp.asl3.runtimefw.rta.connect.pool.PoolManager.addServer(PoolManager.java:503)
       at com.appiancorp.asl3.runtimefw.rta.connect.pool.PoolManager$CheckInvalidConnections.run(PoolManager.java:74)
       at java.util.TimerThread.mainLoop(Timer.java:432)
       at java.util.TimerThread.run(Timer.java:382)
      Caused by: java.net.ConnectException: Connection refused
       at java.net.PlainSocketImpl.socketConnect(Native Method)
       at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
       at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
       at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
       at java.net.Socket.connect(Socket.java:452)
       at java.net.Socket.connect(Socket.java:402)
       at java.net.Socket.<init>(Socket.java:309)
       at java.net.Socket.<init>(Socket.java:124)
       at com.appiancorp.asl3.runtimefw.rta.ipc.IpcConnection.o(IpcConnection.java:33)
       ... 6 more

      I am running JBoss version 3.2.5 and I am completely new to JBoss, just got handed the assignment to figure out what these errors are that started occuring ~4 months ago

      It looks like it cannot connect to itself?

        • 1. Re:
          Chris Malan Novice

          This is a long shot: does whoever starts JBoss have permissions to write to all the directories in and under JBOSS_HOME?

          I also vaguely remember there was an issue with the IP Address assigned to the machine that should be referred to somewhere.

          Why use such an old JBoss?

          • 2. Re:
            Matt Mella Newbie

            I'm starting jboss as root - so shouldnt be any permission issues here.

            And yes - I know its an old version of JBOSS, but I'm not sure upgrading would fix the issue - or create more problems. I'd rather have a working version of jboss before upgrading.

            This system has been idle for ~4-6 months. stopped working then and just now they want to fix it, and of course I wasn't here when it was initially setup or running.

            is there a way to find out what processes run on those ports? Obviously they aren't starting - but how do i find out what they are?


            • 3. Re:
              Chris Malan Novice

              http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePorts will show you which services use which ports.

              Looking at your exceptions again, it seems your problems start with classes in subpackages of com.appiancorp.asl3.runtimefw.rta To the best of my knowledge this is not part of JBoss. It appears to be an extenrnal (to JBoss) connection pool manager. Try disabling it and start JBoss again.