Tuesday, March 8, 2011

If your RAD not working in Debug mode.. check here

Thanks to Yateesh

Hi Bipin,

1. Navigate to the below dir D:\WCToolkitEE60\wasprofile\config\cells\localhost\nodes\localhost\servers\server1\

2. Edit server.xml

Please make sure you have the below entry in this file - debugArgs.


jvmEntries debugArgs="-Dcom.ibm.ws.classloader.j9enabled=true -Xj9 -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777" debugMode="true" genericJvmArguments="-Xquickstart" hprofArguments="" initialHeapSize="512" maximumHeapSize="1024" runHProf="false" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" xmi:id="JavaVirtualMachine_1247828987711" >

systemProperties name="com.ibm.wca.logging.configFile" required="true" value="D:/WCTOOL~1/conf/xml/loader/WCALoggerConfig.xml" xmi:id="Property_1247829214602"

systemProperties name="com.ibm.websphere.ejbcontainer.FbpkAlwaysReadOnly" required="true" value="true" xmi:id="Property_1247829214633"

systemProperties name="com.ibm.commerce.dynacache.decrypt" required="true" value="false" xmi:id="Property_1247829214664"

systemProperties name="com.ibm.servlet.file.esi.timeOut" required="true" value="0" xmi:id="Property_1247829214680"

jvmEntries>

Also
Window-Preferences-Run/Debug-Launching-
Select Launch in debug mode when workspace contains breakpoints-Always


Make sure your debugMode=true.. :) enjoy the debugging...

Regards,
Yateesh

1 comment: