The trace levels are listed in the API reference information for the com.sun.jaw.reference.common.Debug class.
Specifying the Destination of Debug Messages
To specify that debug messages are logged to a file, specify this system property:
DEBUG_OUTPUT=filename
|
where filename is the name of the file, including the path, to which you want debug messages to be logged.
Starting the Default Base Agent in Debug Mode
Before starting the default base agent in debug mode ensure that:
|
prompt java -DDEBUG com.sun.jaw.impl.base.Main
|
|
prompt% /opt/SUNWconn/jaw/bin/jaw debug
|
The debug messages printed are shown in CODE EXAMPLE 9-1.
Setting the Class Path
Make sure that the CLASSPATH environment variable specifies the correct location of:
If a call to a routine implemented in the native library causes the Java virtual machine to fail:
|
getX(A a, B b)
|
|
performGetX( A a, B b)
|
Missing Value Change Events
A VALUE_CHANGE_EVT event is emitted only when properties are changed through the framework, as described in "Setting a Property" on page 50. If a property is modified by its setter method, the framework is not informed and no event is sent.
Adaptor Client Local Exceptions
The getObject method of an adaptor client is successful only if all the c-bean classes are present at a location defined in the CLASSPATH environment variable of the manager. If a c-bean class is not present, a LocalException is thrown. A LocalException at the client wraps a ClassNotFound exception thrown at the agent.