Troubleshooting Windows event log connectivity for WUC from Linux
If anyone is interested, the attached document has java code and libraries to test Windows event log reading via WMI from a Linux server. It allows for a quick test to see if credentials and prilileges are good, as well as network connectivity before trying the same in WUC... Since it can be run on a separate server, it's a quicker way to validate a connection without having to create a new item or look through error logs in ArcSight. The included files: compile.sh and run.sh can be used to compile and run the program. The source code is originally found at http://stackoverflow.com/questions/310355/how-do-i-access-windows-event-viewer-log-data-from-java. Tested on Ubuntu 10.10 x86 with OpenJDK 1.6 update 20.
I realize this is an old posting however I am configuring a WUC for the first time and am having issues. How do you run this code on Linux?