-
Notifications
You must be signed in to change notification settings - Fork 0
Debugging
Johannes Heucher edited this page Oct 12, 2022
·
3 revisions
There are several tools included in Xyna Factory that can be used to debug problems.
It is possible to remote debug code running in Xyna Factory using an Integrated development environment (IDE) like Eclipse. Therefore start the Xyna Factory with CLI parameters -d <port>
.
Example: The command ./xynafactory.sh -d 4000 start
opens the Java Virtual Machine (JVM) debugging port.
Example in Eclipse:
- Choose Run in the Menu
- -> Debug Configurations
- Double click Remote Java Application
- Set host and port.
- Click Debug
The Xyna Factory uses Apache Log4j2 for logging.
It is recommended to use the graphical Audits of Workflows. Audits can be configured by setting the corresponding Monitoring Level.
- The Xyna Factory's CLI provides many tools for monitoring. See CLI Monitoring for details.
- The installed Java distribution may provide many tools as well. Look for executables such as
jstat
in$JAVA_HOME/bin