Troubleshooting
Problem
At startup the Content Engine Bulk Import Tool (CEBI) reports a warning indicating that no appenders are found for log4j logging
Symptom
Receive the following warning upon starting the Bulk Import Tool
log4j:WARN No appenders could be found for logger (filenet_error.api.com.filenet.apiimpl.util.ConfigValueLookup).
log4j:WARN Please initialize the log4j system properly.
Resolving The Problem
To eliminate the warning, configure CEBI to use the log4j.properties files. Since the CEBI tool uses the CE Java API, client side tracing can also be enabled:
Copy the log4j.properties.client file from C:\Program Files\IBM\FileNet\ContentEngine\config\samples to the C:\Program Files\IBM\FileNet\ContentEngine\tools\CEBI directory and name it log4j.properties.
Update the log4j.properties file:
i) In the Appenders section, modify the values for the log file locations and names as needed:
log4j.appender.FileNetErrorAppender.File
log4j.appender.FileNetTraceAppender.File
log4j.appender.FileNetErrorRollingAppender.File
log4j.appender.FileNetTraceRollingAppender.File
Then run the tool specifying the log4j.jar file and the log4j.properties file.
Example:
java -cp
"C:\P8CEJava51\Client\lib\Jace.jar;C:\P8CEJava51\Client\lib\log4j.jar;C:\Program Files\IBM\FileNet\ContentEngine\tools\CEBI\BulkImport.jar" -Dlog4j.configuration=file:"C:\Program
Files\IBM\FileNet\ContentEngine\tools\CEBI\log4j.properties" bulkImport.BI_Start
To enable log4j trace logging if required, Refer to the folloeing technote for more information:
http://www-01.ibm.com/support/docview.wss?uid=swg21416100
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21626085