views:

40

answers:

2

Hi Guys,

My Weblogic is installed in a Red hat OS machine.

In the startWebLogic.sh i have added this line JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n %JAVA_OPTIONS%"

When I try to connect from my Eclipse I get a "Failed to connect to remote VM. Connection refused. Connection refused: connect" message.

Can you please tell me where I may be going wrong?

A: 

in the startWebLogic.sh file in the bin folder in the RHEL add this line -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n at the place where you find this ${JAVA_HOME}/bin/java Place the above line just after ${JAVA_HOME}/bin/java

mujeeb
this will make no difference, since the way mujeeb did this is the preferred way. why are you anwsering your own question?
Salandur
Well I found the answer after I posted the question. However the way I explain in my answer worked for me. However, thanks for your reply. Much appreciated.
mujeeb
A: 

you can only connect to a running VM, so make sure your server is running.

if you are running on separate systems, it is possible and very likely that a firewall is blocking the connection. so contact your network administrator to see if this is true

Salandur