Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 766D11075A for ; Sun, 14 Apr 2013 12:32:20 +0000 (UTC) Received: (qmail 37406 invoked by uid 500); 14 Apr 2013 12:32:18 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 36519 invoked by uid 500); 14 Apr 2013 12:32:18 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 36449 invoked by uid 99); 14 Apr 2013 12:32:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Apr 2013 12:32:16 +0000 Date: Sun, 14 Apr 2013 12:32:15 +0000 (UTC) From: =?utf-8?Q?Olivier_Lamy_=28*=24=5E=C2=A8=25=60=C2=A3=29_=28JIRA=29?= To: dev@tomcat.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MTOMCAT-217) CLI parameters passed to war-exec.jar don't override the internal values (httpPort) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MTOMCAT-217?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^=C2=A8%`=C2=A3) updated MTOMCAT-217: ------------------------------------------- Issue Type: New Feature (was: Bug) Move it as a new feature as it's not supported currently see parameters htt= p://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/exec-war-mojo.h= tml BTW see http://tomcat.apache.org/maven-plugin-2.1/executable-war-jar.html y= ou can use cli parameter: -httpPort =20 > 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 (*$^=C2=A8%`=C2=A3) > > I use maven-tomcat-plugin to create war-exec.jar with following definitio= n: > > org.apache.tomcat.maven > tomcat7-maven-plugin > 2.2-SNAPSHOT > > src/main/tomcat/server.xml > > > > create-exec-war > > exec-war-only > > package > > > > But when the server.xml is specified - to configure some defaults for ser= ver like NIO, etc. than the CLI parameters are ignored: > java -jar war-exec.jar -httpPort 8888 =20 > 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 administrato= rs 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