According to the tcServer manual a SystemProperties listener needs to be the first element under System. However, when I add a SystemProperties listener in a template it appends it to the end of the file. This causes our start-up to fail.
Is there any way that we can use the templates and add a listener at the top of a child list?
My template server-fragment.xml files is:
ThanksCode:<?xml version='1.0' encoding='utf-8'?> <Server> <add:Listener className="com.springsource.tcserver.properties.SystemProperties" file.1="${catalina.base}/local/environment.properties" file.2="${catalina.base}/local/credentials.properties" immutable="false" trigger="now"/> </Server>


Reply With Quote