[jboss-dev-forums] [Design of JBoss Profiler] - problem with jboss profiler 2.0 beta 2 on jboss version 4.2.
sairamvla
do-not-reply at jboss.com
Wed Aug 20 14:45:03 EDT 2008
Hi,
I need urgent help. I downloaded jboss profiler 2.0 beta 2 from http://www.jboss.org/jbossprofiler/downloads/ and installed as per instructions:
* Copy jboss-profiler.jar to jbossas/bin
* Copy jboss-profiler.properties to jbossas/bin
* Edit jboss-profiler.properties in jbossas/bin to include the classes to be profiled
* Copy jboss-profiler-plugins.jar to jbossas/bin
* Edit run.conf (Unix) or run.bat (Windows) in jbossas/bin to include JBoss Profiler in JAVA_OPTS
* Copy jboss-profiler.sar to jbossas/server//deploy
* Boot application server
But when I am starting profiler with $JAVA_HOME/bin/java -jar jboss-profiler-client.jar startProfiler, I am getting issue. It is throwing exception:
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/]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:530)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1550)
at org.jboss.remoting.Client.invoke(Client.java:530)
at org.jboss.remoting.Client.invoke(Client.java:518)
at org.jboss.profiler.client.cmd.Client.main(Client.java:254)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:801)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:526)
... 5 more
In jmx-console I have following for Communicator Mbean:
SocketPort int
Socket boolean RW True
Host java.lang.String R 0.0.0.0
RmiPort int RW
HttpPort int RW
Http boolean RW True
Rmi boolean RW True
I started jboss with option -Djboss.bind.address=0.0.0.0. Is this causing issue? Please suggest how to fix it.
Thanks in advance,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171602#4171602
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171602
More information about the jboss-dev-forums
mailing list