Micro Focus Expert
Micro Focus Expert
579 views

(DP) Support Tip: How to Debug AppServer

In order to determine the root cause of many issues like schedules issues, authentication issues, etc. Debugs of the Application Server are required. These logs are written to

  • /var/opt/omni/log/AppServer
  • C:\ProgramData\OmniBack\log\AppServer

You can follow these instructions:

  1. omnisv stop
  2. Clear all the directory conent of /var/opt/omni/log/AppServer / C:\ProgramData\OmniBack\log\AppServer
  3. omnisv -start -debug 1-500 logs.txt AppServer
  4. Once you the issue has been duplicated disabled debugging by running omnisv stop / omnisv start

 

1 Reply
Highlighted
Knowledge Partner
Knowledge Partner

Re: (DP) Support Tip: How to Debug AppServer

Hello @fbrenes,

UPDATE: I've just checked the change in A.10.03 you mentioned and I really like it. This is pretty handy and makes AppServer debugging easy compared with the previous approach. The information below apply for A.10.02 and earlier.

As far as I know running omnisv in debug mode will not enable AppServer debugs. JBoss/Wildfly will not respond to the debug parameter so a manual modifcation of the standalone.xml is required to get more of less log information from AppServer.

AppServerDebug.png

So you can add this section one or multiple times and replace category=“X".

            <logger category=“X" use-parent-handlers="false">
<handlers> <handler name="DP_LOGGER"/> </handlers> </logger>
Examples for category=“X" values:

com.hp.im.dp.cell
com.hp.im.dp.cell.common
com.hp.im.dp.jce.scheduler.ws
com.hp.im.dp.jce.config
com.hp.im.jce.dispatcher
com.hp.im.jce.jobexecutionengine
com.hp.im.jce.dispatcher.executionmanagement

Regards,
Sebastian Koehler

---
Please use the Like button below, if you find this post useful.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.