Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BD6A9200AF7 for ; Tue, 14 Jun 2016 22:16:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BC0D0160A47; Tue, 14 Jun 2016 20:16:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A88B160A06 for ; Tue, 14 Jun 2016 22:16:28 +0200 (CEST) Received: (qmail 48404 invoked by uid 500); 14 Jun 2016 20:16:27 -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 48393 invoked by uid 99); 14 Jun 2016 20:16:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 20:16:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 348A61A0403 for ; Tue, 14 Jun 2016 20:16:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.573 X-Spam-Level: X-Spam-Status: No, score=0.573 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id d95-fmlMW4Px for ; Tue, 14 Jun 2016 20:16:25 +0000 (UTC) Received: from mail.mhsoftware.com (mail.mhsoftware.com [209.169.14.178]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 16F315F476 for ; Tue, 14 Jun 2016 20:16:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.mhsoftware.com (Postfix) with ESMTP id 6F5BF360CB2 for ; Tue, 14 Jun 2016 14:16:18 -0600 (MDT) X-Virus-Scanned: amavisd-new at mhsoftware.com Received: from mail.mhsoftware.com ([127.0.0.1]) by localhost (mail.mhsoftware.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QsmiSBbXZxEq for ; Tue, 14 Jun 2016 14:16:15 -0600 (MDT) Received: from [192.168.1.120] (c-67-173-252-93.hsd1.co.comcast.net [67.173.252.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.mhsoftware.com (Postfix) with ESMTPSA id C8E25360CAD for ; Tue, 14 Jun 2016 14:16:14 -0600 (MDT) Subject: Re: Problem with Apache in front of Tomcat To: Tomcat Users List References: From: George Sexton Message-ID: Date: Tue, 14 Jun 2016 14:16:11 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------B4D29E9BAA6C3B50B0F84A10" archived-at: Tue, 14 Jun 2016 20:16:29 -0000 --------------B4D29E9BAA6C3B50B0F84A10 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 6/11/2016 10:43 AM, Edwin Quijada wrote: > Hi! > I am trying to put Apache in front of Tomcat , DEbian Jessie but it become a titanic work without success. I read all info about this and seems it is easy but doesnt work. > > > I am using APache 2.4+ Jessie +Tomcat 8.035 , I use this tuto http://www.zeitoun.net/articles/configure-mod_proxy_ajp-with-tomcat/start > > How to configure mod_proxy_ajp with Tomcat - Zeitoun > www.zeitoun.net > mod_proxy_ajp is an Apache module which can be used to forward a client HTTP request to an internal Tomcat application server using the AJP protocol. > > but doesnt work , I seek others sources and all has the same info but I cant work for me > > > When I go myserver.com I get an error "Server Not Found" when I go to the logs catalina.out and error.log for apache doesnt say anything > > > This is my 000-default.conf > > > > ServerAdmin webmaster@localhost > #DocumentRoot /var/www/html > > ErrorLog ${APACHE_LOG_DIR}/error.log > CustomLog ${APACHE_LOG_DIR}/access.log combined > > # > > AddDefaultCharset Off > Order deny,allow > Allow from all > > > # this will pass all the requests from httpd to tomcat8 Just out curiosity, why don't you just use JSVC, and bind tomcat to port 80? > ProxyPass / ajp://localhost:8009/fortunamovil > ProxyPassReverse / ajp://localhost:8009/fortunamovil > > > > I have installed AJP modules for Apache and everything but really I dont know to do > > > > I activate the coneecto AJP in the server.xml > > > Please, any cluees , help because this is make me crazy!! > > -- George Sexton *MH Software, Inc.* Voice: 303 438 9585 http://www.connectdaily.com --------------B4D29E9BAA6C3B50B0F84A10--