system properties not set when using a server.xml
-------------------------------------------------

                 Key: MTOMCAT-37
                 URL: http://jira.codehaus.org/browse/MTOMCAT-37
             Project: Maven 2.x Tomcat Plugin
          Issue Type: Bug
    Affects Versions: 1.0-beta-1, 1.0
            Reporter: Erik-Jan Blanksma
             Fix For: 1.0


I noticed that the system properties are set _after_ tomcat starts when using a 
serverXml. This is obviously too late.
In the source of AbstractRunMojo in startContainer the branch if ( serverXml != 
null ) ends with container.start() (line 352), which should be removed I guess.
After the if/else switch the system properties are set and the container is 
started.


-- 
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


Reply via email to