tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Updated] (MTOMCAT-217) CLI parameters passed to war-exec.jar don't override the internal values (httpPort)
Date Sun, 14 Apr 2013 12:32:15 GMT

     [ https://issues.apache.org/jira/browse/MTOMCAT-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Lamy (*$^¨%`£) updated MTOMCAT-217:
-------------------------------------------

    Issue Type: New Feature  (was: Bug)

Move it as a new feature as it's not supported currently see parameters http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/exec-war-mojo.html
BTW see http://tomcat.apache.org/maven-plugin-2.1/executable-war-jar.html you can use cli
parameter: -httpPort
                
> CLI parameters passed to war-exec.jar don't override the internal values (httpPort)
> -----------------------------------------------------------------------------------
>
>                 Key: MTOMCAT-217
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-217
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: New Feature
>          Components: tomcat7
>    Affects Versions: 2.2
>         Environment: Windows7, maven2.2.1, JDK-Oracle 7.0_u15
>            Reporter: Petr Novak
>            Assignee: Olivier Lamy (*$^¨%`£)
>
> I use maven-tomcat-plugin to create war-exec.jar with following definition:
>           <plugin>
>             <groupId>org.apache.tomcat.maven</groupId>
>             <artifactId>tomcat7-maven-plugin</artifactId>
>             <version>2.2-SNAPSHOT</version>
>             <configuration>
>               <serverXml>src/main/tomcat/server.xml</serverXml>
>             </configuration>
>             <executions>
>               <execution>
>                 <id>create-exec-war</id>
>                 <goals>
>                   <goal>exec-war-only</goal>
>                 </goals>
>                 <phase>package</phase>
>               </execution>
>             </executions>
>           </plugin>
> But when the server.xml is specified - to configure some defaults for server like NIO,
etc.  than the CLI parameters are ignored:
> java -jar war-exec.jar -httpPort 8888  
> does not change the the server port.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message