| ILOG JRules User Guide > Running and Debugging > Tasks > Debugging Remotely > Debugging Remotely on an Application Server |
Debugging Remotely on an Application Server |
PREVIOUS |
If you have deployed a Rule Execution Server application on an application server and want to debug the application from Rule Studio, the remote debugger can connect to the application server and debug the application and the ruleset.
For every engine associated with the ruleset, Rule Execution Server will try to connect it to the debugger when retrieving it from the connection pool, and close the connection to the debugger when it is returned to the pool.
| Note |
Without a debugger, error messages must be obtained from the application server error log. You can look at the Execution Unit (XU) log from the Rule Execution Server Console. |
To debug a ruleset on an application server:
<JBOSS_HOME>/server/<jrulessamples>/deploy.
http://localhost:9080/Application_Name
http://localhost:7001/Application_Name
http://localhost:8080/Application_Name
Configuration_Name you defined in the debugger launch configuration task.
%JAVA_HOME%\bin\java and preferably before the other options.
"%JAVA_HOME%\bin\java" %DEBUG_OPTS% %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%-Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username= %WLS_USER%-Dweblogic.management.password= %WLS_PW% -Dweblogic.management.server= %ADMIN_URL%-Dweblogic.ProductionModeEnabled= %PRODUCTION_MODE%-Djava.security.policy= "%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
See http://java.sun.com/products/jpda/index.jsp for more details on debugging on Java platforms.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS |