Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 18302 invoked from network); 1 Nov 2007 13:32:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 13:32:33 -0000 Received: (qmail 96814 invoked by uid 500); 1 Nov 2007 13:30:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96797 invoked by uid 500); 1 Nov 2007 13:30:17 -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 96786 invoked by uid 99); 1 Nov 2007 13:30:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 06:30:17 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 13:30:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ina7U-0003xJ-EN for users@tomcat.apache.org; Thu, 01 Nov 2007 06:30:00 -0700 Message-ID: <13528609.post@talk.nabble.com> Date: Thu, 1 Nov 2007 06:30:00 -0700 (PDT) From: Sierra To: users@tomcat.apache.org Subject: Re: Apache + Tomcat Integration In-Reply-To: <13513148.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kranthi.543@gmail.com References: <13491267.post@talk.nabble.com> <47277D99.6080308@hanik.com> <13513148.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have made the integration work. I did changes to the indexpage of apache (i.e. I included frameset and called my tomcat page) I have removed virtual host from http file and made it simple by inlusind only location.. JkUriSet worker ajp13:127.0.0.1:8009 Its redirecting to my tomcat. TIll now its okei, but for displaying static pages I have included the files in httpd doc, and its working fine but I want to make it in another location so that I can put my files in a different location. How can I do? ~Kranthi Sierra wrote: > > Hi Filip, > > I have done with mod_jk2 and I have included the following in httpd.conf > > NameVirtualHost 192.168.139.202:80 > > > ServerAdmin IntranetTeam@SierraAtlantic.com > DocumentRoot /usr/Images > > AllowOverride AuthConfig > > ServerName warriors > ServerAlias 192.168.139.202:80 > ErrorLog /home/error.log > CustomLog /home/access.log combined > > JkUriSet worker ajp13:localhost:8009 > > > JkUriSet worker ajp13:localhost:8009 > > > > I am getting a tree structure(Index of/ and listing the files) of my > document root instead of web appln. > > -Kranthi > > Filip Hanik - Dev Lists wrote: >> >> ouch, JK2 has been deprecated for almost three years now, >> >> use mod_jk, it's being maintained and patches kept up to date or use >> mod_proxy for http proxying >> >> Filip >> >> Sierra wrote: >>> Hi All, >>> >>> I am very bew to Linux and I have been given a task to integrate Apache >>> and >>> Tomcat. >>> >>> I got a document and integrated but the output I am getting is [B]It >>> works[/B]. >>> I want to get my home page with my IP. but If I give Ip followed by >>> 7080(full URL) I am able to see the home page. >>> >>> I used jakarta-tomcat-connectors-jk2-2.0.4-src.tar.tar and >>> libtool-1.5.8.tar.tar. >>> >>> >>> jk2.properties: >>> [CODE] >>> channelSocket.port=8009 >>> channelSocket.address=127.0.0.1 >>> channelSocket.maxThreads=300[/CODE] >>> >>> httpd.conf >>> I have added these lines.. >>> >>> [CODE]LoadModule jk2_module libexec/mod_jk2.so >>> >>> >>> JkUriSet worker ajp13:127.0.0.1:8009 >>> >>> >>> JkUriSet worker ajp13:127.0.0.1:8009 >>> [/CODE] >>> >>> workers2.properties >>> >>> [CODE][shm] >>> file=/usr/local/apache2/logs/shm.file >>> size=1048576 >>> >>> # socket channel >>> [channel.socket:localhost:8009] >>> port=8009 >>> host=127.0.0.1 >>> >>> # worker for the connector >>> [ajp13:localhost:8009] >>> channel=channel.socket:localhost:8009[/CODE] >>> >>> >>> >>> server.xml >>> >>> [CODE] >>> >> docBase=" /home/oracle/apache-tomcat-5.5.20/webapps/AjaxSample " >>> debug="0" >>> reloadable="true" crossContext="true"/> >>> [/CODE] >>> >>> Is there any configuration I missed, please help me out. >>> >>> Regards, >>> Kranthi Kiran >>> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> >> > > -- View this message in context: http://www.nabble.com/Apache-%2B-Tomcat-Integration-tf4719336.html#a13528609 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org