ATG Nucleus loading multiple times (3 times approximately)

ATG Version: 11.1

Jboss: Jboss 6.1 EAP

In some scenarios, ATG will load nucleus application multiple time due some configuration problem in generated ear.

Add following lines in application.xml, which is in ATG generated ear file.


Just before the </application>

This will solve repeated nucleus initialization

And also note that, without the above settings ATG ear deployment will throw following errors,

21:55:11,407 ERROR [stderr] (ServerService Thread Pool — 59) java.lang.NoSuchFieldException: policy