Load the System Properties before Starting the Catalina Container so we can
define environment entries in the Catalina Configuration files.
-------------------------------------------------------------------------------------------------------------------------------------------
Key: MTOMCAT-44
URL: http://jira.codehaus.org/browse/MTOMCAT-44
Project: Maven 2.x Tomcat Plugin
Issue Type: Improvement
Affects Versions: 1.0-beta-1
Environment: All
Reporter: Bernardo Gomez Palacio
Attachments: AbstractRunMoco-SystemProperties.patch
I am including environment entries in the Catalina configuration files so I can
change the behavior of the container by providing different CATALINA_OPTS at
startup e.g. in server.xml:
<Connector executor="tomcatThreadPool"
address="${instance.catalina.ip}"
port="${instance.catalina.http.port}" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="${instance.catalina.shttp.port}" />
I am using this approach since I am templating Tomcat for different
deployment Scenarios (1 Catalina Home, Several Catalina Bases, Several Cloned
Instances per Catalina Base). In order to use such templates through the
tomcat:run* plugins I need the AbstractRunMojo to load the
setupSystemPropteries() before starting the container. I am including a patch
file for the org.codehaus.mojo.tomcat.AbstractRunMojo.java file.
Best Regards!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email