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 80340FB45 for ; Mon, 8 Apr 2013 15:19:17 +0000 (UTC) Received: (qmail 30871 invoked by uid 500); 8 Apr 2013 15:19:16 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 30815 invoked by uid 500); 8 Apr 2013 15:19:16 -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 30794 invoked by uid 99); 8 Apr 2013 15:19:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 15:19:16 +0000 Date: Mon, 8 Apr 2013 15:19:16 +0000 (UTC) From: "Jason McIntosh (JIRA)" To: dev@tomcat.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D136= 25451#comment-13625451 ]=20 Jason McIntosh commented on MTOMCAT-217: ---------------------------------------- Off hand, a server.xml would bypass those CLI settings, as server.xml is wh= ere those settings are normally defined. Sounds more like an enhancement (= and a complicated one) to allow command line arguments to overload a compli= cated (potentially) server.xml configuration. I think the assumption would= be if you really want to use a custom server.xml you'll need to define the= host/port settings in your server.xml file. =20 =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: Bug > 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