1 Reply Latest reply on May 20, 2011 12:20 PM by hughw

    profiling jboss as a service

      hi, i'm able to connect with the profiler client when running run.bat

      but when started as a service i get

      ERROR [org.jboss.profiler.client.cmd.Client] Can not get
      connection to server. Problem establishing socket connection for InvokerLocator
      [socket://localhost:5400/]
      org.jboss.remoting.CannotConnectException: Can not get connection to server.
      Problem establishing socket connection for InvokerLocator [socket://localhost:5400/]

        • 1. profiling jboss as a service
          hughw

          I hope you've already found the answer to this, but for anyone else who finds this while searching...

           

          When JBoss is started as a service, the run.bat/run.sh script often passes a single IP address to use. "-b 192.168.0.2" If this is the case, you will have to tell the profiler client to connect to the same IP address.

           

          This can be done by changing the host=localhost line in jboss-profiler-client.properties

           

          Hugh