The following Test output was output after adding the log4j.xml and log4j.dtd files from the Audit Event Handlers Java project we covered in Chapter 2.
Configuration property file search order:
user.dir = /root/eclipse-workspace/AUD_CIOps
user.home = /root
java.home = /opt/ibm/java-x86_64-80/jre
Loading configuration resource: FileNetBuild.properties
Configuration for:Config.AutoRefreshEnabled value:null applied
Configuration for:com.filenet.engine.LoggerRefreshInterval value:null applied
[Perf Log] No interval found. Auditor disabled.
Configuration for:FileNet.EJB.ContextProperties value:null applied
Configuration for:com.filenet.AppServerType value:null applied
Configuration for:com.filenet.AppServer value:null applied
JSAS1480I: Security is not enabled because the ConfigURL property file is not set.
Configuration for:com.filenet.api.useLocalAuthentication value:null applied
Configuration for:com.filenet.api.crcl.logging.chatty value:null applied
Configuration for:FileNet.crcl.implementation.api.location value:null applied
Configuration for:FileNet.crcl.implementation.api.locations value:null applied
Configuration for:FileNet.crcl.implementation.api.urls value:null applied
Configuration for:com.filenet.api.util.Id.SequentialDBType value:null applied
Configuration for:CheetahBCMode value:false applied
Configuration for:com.filenet.engine.LogRequestWithError value:null applied
Configuration for:com.filenet.engine.init.DefaultLocale value:en-us applied
Configuration for:com.filenet.locale.equivalents value:|,he_*,iw_*,|,nb_NO,nb_*,no_*,| applied
Configuration for:FileNet.WSI.HttpCookieMaxAge value:null applied
Configuration for:MaximumRetry value:null applied
Configuration for:ExpireSessionInterval value:null applied
Configuration for:BuildVersion value:dap553.1500 applied
Configuration for:FileNet.WSI.HttpChunkSize value:null applied
Configuration for:FileNet.WSI.custom.credential.class value:null applied
Configuration for:FileNet.WSI.custom.credential.usermethod value:getUserName applied
Configuration for:FileNet.WSI.custom.credential.passwordmethod value:getPassword applied
Configuration for:FileNet.WSI.TransportConnectionTimeout value:null applied
Configuration for:FileNet.WSI.stax.XMLOutputFactory value:com.ibm.xml.xlxp.api.stax.XMLOutputFactoryImpl applied
Configuration for:WSITypeAttributeRequired value:null applied
Configuration for:WSIDefaultNamespacePermitted value:null applied
Configuration for:FileNet.WSI.AutoDetectLTPAToken value:null applied
Configuration for:FileNet.WSI.stax.XMLInputFactory value:com.ibm.xml.xlxp.api.stax.XMLInputFactoryImpl applied
<?xml version=1.0 encoding= utf-8/?><AUDIT_REPORT><CaseID>00001</CaseID><COMMENTS>AUD Test on 17th February pm</COMMENTS><AUDIT_DATE>2022-06-27</AUDIT_DATE><AUDIT_STATUS>Date of Audit Report Document</AUDIT_STATUS></AUDIT_REPORT>
Lookup connection factory cn=AUDCF3
Sending a message…
Lookup connection factory cn=AUDCF3
Create and start the connection
Create the session
10 documents found
AC.pdf||2|3|OS2|{00D14A81-0000-C31E-A7D2-F2B7CF2D4803}
AC.pdf||2|3|OS2|{00D14A81-0000-C31E-A7D2-F2B7CF2D4803}
AC.pdf||2|3|OS2|{00D14A81-0000-C31E-A7D2-F2B7CF2D4803}
AC.pdf||2|3|OS2|{00D14A81-0000-C31E-A7D2-F2B7CF2D4803}
AC.pdf||2|3|OS2|{00D14A81-0000-C31E-A7D2-F2B7CF2D4803}
AC.pdf||2|3|OS2|{00D14A81-0000-C31E-A7D2-F2B7CF2D4803}
AC.pdf||2|3|OS2|{00D14A81-0000-C31E-A7D2-F2B7CF2D4803}
Audit Event Test Version 2||2|3|OS2|{A0DA5481-0000-C216-A96D-41296308BB2E}
Automatic Folder ID added||2|3|OS2|{30085581-0000-C416-9A60-74FB38E99E4D}
Test Audit Events||2|3|OS2|{40D35481-0000-CA14-BF15-512387B70CF4}
Listing 3-10The JUnit test output after adding the log4j.xml and log4j.dtd files
Figure 3-233The runmqsc command displays the details of AUDQM Queue Manager
Figure 3-234The AUDOperationsTest run for JUnit testing is run
Figure 3-235The results of the Test Run are displayed in the Properties of the Queue Entry (dated July 4, 2022)
Figure 3-236The Data property of the Queue Entry shows the message from the Java