Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B05FA179BA for ; Mon, 6 Oct 2014 11:45:47 +0000 (UTC) Received: (qmail 36339 invoked by uid 500); 6 Oct 2014 11:45:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 36258 invoked by uid 500); 6 Oct 2014 11:45:43 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 36247 invoked by uid 99); 6 Oct 2014 11:45:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 11:45:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of padcom@gmail.com designates 209.85.214.174 as permitted sender) Received: from [209.85.214.174] (HELO mail-ob0-f174.google.com) (209.85.214.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 11:45:17 +0000 Received: by mail-ob0-f174.google.com with SMTP id wp18so3669285obc.5 for ; Mon, 06 Oct 2014 04:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=nrsnDoInkuNPTBV1Q/QoEx1UbTGG1S+1ijdj2eV8brk=; b=wRO/8SBx5Zh+NiQg4/ttTkznuCdi7RMU3LFQ1xJ6755XVi67vO7QWR+NQxt+FZwhuo Dq6AclHh1b6k2ViLqZZdjr+hQfIQ6rr/8+EaUJeMimhqb1kfgFbF6L8m2d4ijuSqvolj YdKJTcyP3YFXp+MhXA3tJjWlg02hkn7H31yEi3u/CFwVMiDfi6B1607ghjQmhZ71zlG7 VLVYhE8gGfQfakDe8DOPLjoGuH7mR92ktZ5HItHE8XDNNnPhF1zgP+zD8zeiWGNjbc3C IDSx43kTjh0qAWR4iAMwiL06Uapj8doEZ7X6YkVkcyP98/wTyLFFiLkr2SnQ/e+9i1lc S9ww== MIME-Version: 1.0 X-Received: by 10.182.104.104 with SMTP id gd8mr25587627obb.17.1412595916401; Mon, 06 Oct 2014 04:45:16 -0700 (PDT) Received: by 10.76.98.133 with HTTP; Mon, 6 Oct 2014 04:45:16 -0700 (PDT) Reply-To: padcom@gmail.com In-Reply-To: References: Date: Mon, 6 Oct 2014 13:45:16 +0200 Message-ID: Subject: Re: Maven Tomcat 6/7/8 plugin From: Matthias Hryniszak To: Daniel Mikusa Cc: Tomcat Users List Content-Type: multipart/alternative; boundary=089e01160bf8cf01e50504bf9d1b X-Virus-Checked: Checked by ClamAV on apache.org --089e01160bf8cf01e50504bf9d1b Content-Type: text/plain; charset=UTF-8 Perfect! I didn't know about this one. Thanks! 2014-10-06 13:37 GMT+02:00 Daniel Mikusa : > On Sun, Oct 5, 2014 at 2:00 PM, Matthias Hryniszak > wrote: > >> It seems I might have expressed myself purely. Let me rephrase: >> >> I'm looking for RemoteIpValve support in maven-tomcat7-plugin. > > > Perhaps you could use RemoteIPFilter instead? You can configure that > through web.xml. > > > http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Remote_IP_Filter > > Dan > > >> I know the >> valve itself exists since long before version 7 and I am already using it >> in production. What I'm on to here is running Maven-managed web >> applications in development and as far as I can see it's been added ~2 >> weeks after the release of 2.2 version of that plugin >> >> Alternatively if you know of a way to persuade Apache CXF to present the >> endpoint URL using HTTPS scheme when running mvn tomcat7:run. CXF does it >> automatically if the RemoteIpValve is installed and proper header exists >> (as in the isSecure() method returns true). Otherwise it does just HTTP >> and >> that in turn makes my local HAProxy do a 302 to HTTPS which ends up in an >> infinite loop and that's not exactly the result I was hoping for... >> >> Cheers, >> Matthias >> >> 2014-10-05 19:31 GMT+02:00 Konstantin Kolinko : >> >> > 2014-10-05 18:01 GMT+04:00 Matthias Hryniszak : >> > > Hi all, >> > > >> > > I'm new to this list so let me briefly introduce myself. My name is >> > > Matthias and I live in Poland. I'm a software architect for Lumesse, >> an >> > > British software development company. The core of our development is >> > talent >> > > acquisition and talent management software. The part I'm working with >> is >> > > e-learning solutions. >> > > >> > > Now that you all know me let me ask you a question: are there any >> plans >> > on >> > > releasing a new version of the maven-tomcat7-plugin and/or an upgrade >> to >> > > maven-tomcat8-plugin? We're falling short a bit on the lack of remote >> IP >> > > valve in the current release >> > >> > RemoteIpValve does exist in Tomcat 7 >> > >> http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Remote_IP_Valve >> > >> > > and I was wondering if that's going to be >> > > released any time soon. Please note the last release (2.2) was >> November >> > > 2013 and there's been lots of changes so it'd be great to have them >> > > stabilized and released - not to mention the upgrade over embedded >> Tomcat >> > > version. >> > >> > It is being developed on a branch, >> > http://svn.apache.org/viewvc/tomcat/maven-plugin/branches/tc8.x/ >> > >> > See archives of tomcat dev mailing list for discussions. >> > >> > Thus far, integration tests are failing, >> > http://markmail.org/message/xc5r6yycrvmjh2vx >> > >> > >> > Best regards, >> > Konstantin Kolinko >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> > For additional commands, e-mail: users-help@tomcat.apache.org >> > >> > >> > > --089e01160bf8cf01e50504bf9d1b--