Troubleshooting
The Oracle Utilities Network Management System - Oracle Field Service Adapter uses Apache log4j library to log error, warning and debug messages. To enable debug output following lines should be added to the log4j configuration file used by the WebLogic Server where the adapter is deployed.
<Logger name="com.splwg.oms.interfaces.mwm" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="MOBILE" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="MOBILE_DB" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="MOBILE_WS" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="REST" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
Debug in the adapter can be enabled/disabled dynamically using command
Action any.publisher* ejb client NMS-OFS debug <debug facility>=<debug level>
Where <debug level> is one of DEBUG, INFO, WARN, ERROR, FATAL, OFF.
Useful debug facilities:
REST: incoming and outgoing RESTful (JSON) messages
SOAP: incoming and outgoing SOAP (XML) messages
MOBILE_WS: incoming and outgoing requests (without actual message payload)
MOBILE_DB: database access
com.splwg.oms.interfaces.mwm: general debug