Setting up a workspace
Before you use the sample policy governor or write custom policies, set up your workspace for developing, testing, and debugging. To develop and test a custom policy, you must have a fully configured instance of the product.
Before you begin
Procedure
- Set the server to run in debug mode from either the administrator
console or a command line:
- From the administrator console:
- Log in to the administrator console: Click .
- Click Debugging Service.
- Click Enable service at server startup and note the port number.
- On a command line, type the following text:
D:\WAS\profiles\profile1\config\cells\etkCell\nodes\etkNode\servers\server1\server.xml <services xmi:type="debugservice:DebugService" xmi:id="DebugService_1228856053015" enable="true" jvmDebugPort="7778" jvmDebugArgs="-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7778" BSFDebugPort="4444" BSFLoggingLevel="0"/>
- From the administrator console:
- Restart the server.