Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello Everyone,
I have setup windchill eclipse configuration and set up values for the method server as shown below but when I attempt to debug configuration it says refused to connect can someone please help me out to overcome this.
value="true"/>
<Property name="wt.manager.cmd.MethodServer.debug.args" overridable="true" targetFile="codebase/wt.properties" value="-Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=host name:8000,server=y,suspend=n"/>
Regards,
Karthik
Hi,
Is there BackgroundMethodServer in your env?
I think removing BackgroundMethodServer is worth to try.
Hello,
Be sure that the value is correct.
there are some differences within JDK9+
for example JDK9 the value looks like "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8005"
for 5-8JDK -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8005
Also if you configure debug mode for Method server and also Background server you have to use separate configuration with different port number.
<Property name="wt.manager.cmd.MethodServer.debug.args" overridable="true"
targetFile="codebase/wt.properties"
value="{15}"/>
<Property name="wt.manager.cmd.BackgroundMethodServer.param.15" overridable="true"
targetFile="codebase/wt.properties"
value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:9006"/>
<Property name="wt.manager.cmd.MethodServer.param.15" overridable="true"
targetFile="codebase/wt.properties"
value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:9005"/>
Regards
PetrH