defect aggregation failed to start

Document ID : KB000098270
Last Modified Date : 31/05/2018
Show Technical Document Details
Issue:
On 10.7 Enterprise Manager, if it runs separate JVM by the following properties in tess-default.properties:

defects.aggregateInSeparateJvm=true
dailystats.aggregateInSeparateJvm=true

Then, IntroscopeEnterpriseManager.log has the following error message every hour.

[ERROR] [DefectAggregation.Thread1] [Manager.com.timestock.tess.services.scheduler.DefectAggregationTask] Separate JVM for defect aggregation failed to start

Also, it has the following error message every day.

[ERROR] [DailyAggregation.Thread1] [Manager.com.timestock.tess.services.processors.StatsAggregator] Separate JVM for daily stats aggregation failed to start
Cause:
log4j.properties has the incorrect value of property:

log4j.appender.stdout.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss.SSS a z} [%-3p] [%t] [%c] %m%n
Resolution:
Replace the line in log4j.properties:
log4j.appender.stdout.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss.SSS a z} [%-3p] [%t] [%c] %m%n
with
log4j.appender.stdout.layout.ConversionPattern=%p [%t] %m%n