|
Failed to connect to remote VM.Connection refused - run remote app in eclipse debug -
07-03-2008, 06:00 AM
I am getting the following "Failed to connect to remote VM.Connection refused" error when trying to run the remote web application in eclipse debug mode.
My Environment:
App server : Oracle app server with jdk 1.5
IDE : Eclipse3.2 with jdk1.4.2
1. I update opmn.xml file for debug notification like
<category id="start-parameters">
<data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/ORBO-INST/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -XX:PermSize=128m -XX:MaxPermSize=256m -Xdebug -Xrunjdwp:transport=dt_socket,address=8998,server=y"/>
<data id="oc4j-options" value="-userThreads"/>
</category>
2. In eclipse Remote java application related information is entered.
host: localhost where my application is running
port: 8998.
3. My firewall status is off.
while launching i am getting the above mentioned error. Can you please anybody help me in this regard.
Thanks in advance,
Rajan.
|