Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 39337 invoked from network); 8 May 2008 17:24:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 17:24:23 -0000 Received: (qmail 58232 invoked by uid 500); 8 May 2008 17:24:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 58217 invoked by uid 500); 8 May 2008 17:24:13 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 58206 invoked by uid 99); 8 May 2008 17:24:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 10:24:13 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mamta2.singh@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 17:23:27 +0000 Received: by ug-out-1314.google.com with SMTP id a2so163743ugf.27 for ; Thu, 08 May 2008 10:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Ci5cFPG2qj6JLGy3FcM2XbdMKXwwKHq4DyUwvCMyM4I=; b=SkGnbkOiDolJ/2GAswNfLsM636EY75y9WGJb0CiCAgDd3S/53IAhb1qqhMOY8VJXkMZKCAgPe06tVi8F2yvfnePxWEd5Guk26lUW4QWgr9f7oTLgcLlAA8NqaJ+Keq8JA/1QvoPjif4xi3RvbDiLsAsa5G97eRbb+lMidmHSdJA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pzrs6mtQzOa8uvS4tgT9FGUuPkYWpCbmy0TN0NMoWxdx03VGjMG+nRgPzct5Esc3b91u/SaprtBJRaw/sigImQ8AgQDs1q+OzYqDuE5XrSJU8gc2nYFua22tn5/djYkecjlmTHIL3awOUnpPUeVXSBelZZYH5BYOfJHOqH837nA= Received: by 10.67.115.13 with SMTP id s13mr818316ugm.41.1210267416943; Thu, 08 May 2008 10:23:36 -0700 (PDT) Received: by 10.66.225.18 with HTTP; Thu, 8 May 2008 10:23:36 -0700 (PDT) Message-ID: <6f1a03e80805081023j29eaffa1ldf982face5319b99@mail.gmail.com> Date: Thu, 8 May 2008 12:23:36 -0500 From: "Mamta Singh" To: users@httpd.apache.org In-Reply-To: <6c18b76a0805081018v4b261ceqceb0ecef01dcc655@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f1a03e80805071540p79938d1bjf29c2e95e77fc0ba@mail.gmail.com> <005e01c8b0b0$2c594640$0300000a@animal> <6f1a03e80805072219ka126258q6bea5995df66ad66@mail.gmail.com> <6c18b76a0805081018v4b261ceqceb0ecef01dcc655@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] mod_jk issue Yes my apache is listening on port 7690 not on 80. Actually I have both apache 1.3 and 2.2; apache 1.3 is on 80 and apache 2.2 is on 7690. With my application I am using apache 2.2 which is set on 7690. On Thu, May 8, 2008 at 12:18 PM, Eqbal Z wrote: > Is your apache listening on port 80? I saw you said apache port was 7690. > > > > > On Wed, May 7, 2008 at 10:19 PM, Mamta Singh wrote: > > > Thankx for quick reply. Though I have posted my problem on TC mailing > > list, I am posting here too in case someone got the missing point and > > help me in finding where is problem. . > > > > Here are my files: > > > > 1. workers.properties > > > > workers.tomcat_home=/content/tomcat > > workers.java_home=/usr/java > > ps=/ > > worker.list=default > > > > worker.default.port=8009 > > worker.default.host=localhost > > worker.default.type=ajp13 > > worker.default.lbfactor=1 > > > > worker.loadbalancer.type=lb > > worker.loadbalancer.balanced_workers=default > > > > 2. apache2.conf > > > > # Include the virtual host configurations: > > Include /etc/apache2/sites-enabled/ > > > > Include /content/apache-tomcat-5.5.26/conf/auto/mod_jk.conf > > > > # Where to find workers.properties > > JkWorkersFile /etc/apache2/workers.properties > > > > # Where to put jk(check for permission) > > JkLogFile /var/log/apache2/mod_jk.log > > > > # Set the jk log level > > JkLogLevel debug > > > > # Select the log format > > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > > > > # JkOptions indicate to send SSL KEY SIZE, > > JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories > > > > # JkRequestLogFormat set the request format > > JkRequestLogFormat "%w %V %T" > > > > > > 3. sites-enabled/default > > > > NameVirtualHost * > > > > ServerAdmin webmaster@localhost > > > > ############## > > ServerName localhost > > JkMount /* default > > JkMount /gdfr_home/* default > > JkMount /jsp-examples/*.jsp default > > Jkmount /servlet-examples/* default > > > > DocumentRoot /content/subversion > > > > Options FollowSymLinks > > AllowOverride All > > > > > > > > Options Indexes FollowSymLinks MultiViews > > AllowOverride None > > Order allow,deny > > allow from all > > > > > > > > ErrorLog /var/log/apache2/error.log > > > > LogLevel warn > > > > CustomLog /var/log/apache2/access.log combined > > ServerSignature On > > > > > > DAV svn > > SVNPath "/content/subversion/inform" > > > > > > > > > > > > 4. server.xml > > > > > > > > > > > modJk="/usr/lib/apache2/modules/mod_jk.so" /> > > > > /> > > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" > > /> > > className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> > > > > > > > > > > > > > > > > > > > type="org.apache.catalina.UserDatabase" > > description="User database that can be updated and saved" > > factory="org.apache.catalina.users.MemoryUserDatabaseFactory" > > pathname="conf/tomcat-users.xml" /> > > > > > > > > > > > > > > > > > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > > enableLookups="false" redirectPort="8443" acceptCount="100" > > connectionTimeout="20000" disableUploadTimeout="true" /> > > > > > > > > > > > > > > > enableLookups="false" redirectPort="8443" > > protocol="AJP/1.3" emptySessionPath="true" /> > > > > > > > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > > enableLookups="false" acceptCount="100" > connectionTimeout="20000" > > proxyPort="80" disableUploadTimeout="true" /> > > > > > > > > > > > unpackWARs="true" autoDeploy="true" > > xmlValidation="false" xmlNamespaceAware="false"> > > > > > modJk="/usr/lib/apache2/modules/mod_jk.so" > > workersConfig="/etc/apache2/workers.properties" > > jkWorker="default" append="true" > > forwardAll="false"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, May 7, 2008 at 9:06 PM, Johnny Kewl wrote: > > > > > > > --------------------------------------------------------------------------- > > > HARBOR: http://coolharbor.100free.com/index.htm > > > The most powerful application server on earth. > > > The only real POJO Application Server. > > > Making the Java dream come true. > > > > --------------------------------------------------------------------------- > > > ----- Original Message ----- From: "Mamta Singh" > > > > To: > > > Sent: Thursday, May 08, 2008 12:40 AM > > > Subject: [users@httpd] mod_jk issue > > > > > > > > > > > > > > > > Hello everyone!! > > > > I have configured mod_jk, tomcat 5.5 and apache2.2 and it seems > > > > working fine if I run > > > > > > > > > > These addresses are just talking to tomcat directly > > > > > > > > > > > > > http://localhost:8080/jsp-examples/ or > > > > http://localhost:7690/jsp-examples/ [here 8080 is tomcat port and > > > > 7690 is apache port] > > > > > > > > > > > > > > The mapping is wrong somewhere Apache is not connecting to Tomcat > > > I imagine http://localhost does work... ie just talking to Apache > > > > > > > > > > > > > But if I use--- http://localhost/jsp-examples/ It gives > > > > error 'Unable to connect' and as per I know with mod_jk it supposed to > > > > run without port no. > > > > > > > > > > Yes true... Apache is not seeing TC > > > > > > JK config can get a little tricky... suggest you join the TC mailing > list > > > and post your actual configuration. > > > > > > > > > > > > > > Does anyone has idea why I am getting this error. > > > > > > > > Any help would be great > > > > > > > > Thanks > > > > > > > > --------------------------------------------------------------------- > > > > The official User-To-User support forum of the Apache HTTP Server > Project. > > > > See for more info. > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > The official User-To-User support forum of the Apache HTTP Server > Project. > > > See for more info. > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server Project. > > See for more info. > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org