<div>Hi all!</div>
<div>I asked the same question afew days ago, but I didn't get s satisfying answer since that nor i found a solution by myself. </div>
<div>So desparating pulling hair since that on my proplem:</div>
<div>I am trying to add some custom site definitions to the opencms-system.xml through a java class with the method:</div>
<div>addSite() from the Class org.opencms.site.CmsSiteManager</div>
<div> </div>
<div> i get the following error message:</div>
<div> </div>
<div> org.opencms.main.CmsRuntimeException: Site configuration has been frozen and can not longer be changed.<br> at org.opencms.site.CmsSiteManager.addSite(CmsSiteManager.java:289)</div>
<div> </div>
<div>In javadoc its written: "Adds a new CmsSite to the list of configured sites, this is only allowed during configuration"</div>
<div>Does anybody know how to get "during configuration"?</div>
<div>-or know a different solution</div>
<div>Best regards<br>Andy</div>