5.1.3.28. I get "java.lang.IllegalStateException: No pre init tasks can be added to the portal container 'portal', because it has already been initialized." what can I do to fix it?

To fix this issue you need to check if:

  1. The file starter-gatein.ear (which will be starter.war for Tomcat) has been deployed

  2. The file starter-gatein.ear (which will be starter.war for Tomcat) is the last ear file to be launched

Note

With Tomcat to prevent any alphabetic issue, the good way to solve this problem is to:

  • Unzip the archive starter.war into a directory called starter

  • Remove the archive starter.war

  • Rename the folder starter to starter.war

This tip works because folders corresponding to unzipped wars are launched after war files.

Copyright ©2012. All rights reserved. eXo Platform SAS