Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 80682 invoked from network); 7 Jul 2003 14:38:20 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 7 Jul 2003 14:38:20 -0000 Received: (qmail 8353 invoked by uid 97); 7 Jul 2003 14:40:48 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 8346 invoked from network); 7 Jul 2003 14:40:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 7 Jul 2003 14:40:47 -0000 Received: (qmail 78785 invoked by uid 500); 7 Jul 2003 14:37:58 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 78722 invoked from network); 7 Jul 2003 14:37:57 -0000 Received: from dsl092-231-125.phl1.dsl.speakeasy.net (HELO boobie.icky.org) (66.92.231.125) by daedalus.apache.org with SMTP; 7 Jul 2003 14:37:57 -0000 Received: from boobie.icky.org (localhost [127.0.0.1]) by boobie.icky.org (8.12.9+Sun/8.12.9) with ESMTP id h67Ea68t006969 for ; Mon, 7 Jul 2003 10:36:06 -0400 (EDT) Received: from localhost (eric@localhost) by boobie.icky.org (8.12.9+Sun/8.12.2/Submit) with ESMTP id h67Ea6XO006966 for ; Mon, 7 Jul 2003 10:36:06 -0400 (EDT) X-Authentication-Warning: boobie.icky.org: eric owned process doing -bs Date: Mon, 7 Jul 2003 10:36:06 -0400 (EDT) From: "Eric J. Pinnell" To: Tomcat Users List Subject: RE: mod_jk2 uri questions In-Reply-To: <20030707143511.DA12BCF9DE@bounce.cabanova.ro> Message-ID: References: <20030707143511.DA12BCF9DE@bounce.cabanova.ro> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't know if this will work but try adding JkSet config.file /path/to/workers2.properties just under the LoadModule. That way you know for sure it's reading the file you want. -e On Mon, 7 Jul 2003, Catalin Constantin wrote: > in my httpd.conf i have > LoadModule jk2_module modules/mod_jk2.so > > > DocumentRoot /nethosting/mysite.com/jsp/ROOT > ServerName www.mysite.com > ServerAdmin webmaster@mysite.com > ServerPath /nethosting/mysite.com/jsp/ROOTs > CustomLog /var/log/httpd/mysite.com/access.log combined > ErrorLog /var/log/httpd/mysite.com/error.log > > > so basically nothing that has to do with jk2 in my httpd.conf file ! > > below is a full listing of my workers2.properties file > > --- begin ---- > [logger] > level=DEBUG > > # Define the comunication channel > #[channel.jni:jni] > #info=The jni channel, used if tomcat is started inprocess > > [shm] > file=/var/log/httpd/shm.file > size=1048576 > > # Define the parameters for the Java Virtual Machine > #[vm:] > #info=Parameters used to load a JVM in the server process > #OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/serv > er/lib/catalina.jar > #OPT=-Dtomcat.home=${TOMCAT_HOME} > #OPT=-Dcatalina.home=${TOMCAT_HOME} > #OPT=-Xmx128M > > # JNI worker startup handler > #[worker.jni:onStartup] > #info=Command to be executed by the VM on startup. This one will start > tomcat. > #class=org/apache/jk/apr/TomcatStarter > #ARG=start > #stdout=/var/log/httpd/stdout.log > #stderr=/var/log/httpd/stderr.log > > # JNI worker shutdown handler > #[worker.jni:onShutdown] > #info=Command to be executed by the VM on shutdown. This one will stop > tomcat. > #class=org/apache/jk/apr/TomcatStarter > #ARG=stop > > # Example socket channel, override port and host. > [channel.socket:localhost:8009] > port=8009 > host=127.0.0.1 > > [ajp13:localhost:8009] > channel=channel.socket:localhost:8009 > > # ksi webapp configuration (virtualhost) > [uri:www.mysite.com/*.jsp] > info=Map .jsp files > > [uri:www.mysite.com/do/*] > info=Map do actions > > [uri:www.mysite.com/manager/*] > info=Map the manager webapp > --- end ---- > > i am using apache 2.0.46 > and tomcat 4.1 > > thanx again ! > > Catalin Constantin > Bounce Software > www.bounce-software.com > > > > > > -----Original Message----- > > From: Eric J. Pinnell [mailto:eric@iCky.org] > > Sent: Monday, July 07, 2003 5:27 PM > > To: Tomcat Users List > > > > Hi, > > > > What is your httpd.conf entry? Your workers2.properties > > files looks ok. > > You include things you want Tomcat to do rather than exclude > > things. You > > are not including /images so apache should handle those requests. > > > > -e > > > > On Mon, 7 Jul 2003, Catalin Constantin wrote: > > > > > hi there > > > > > > i have in my workers2.properties > > > the following uri mappings: > > > > > > [uri:www.mysite.com/*.jsp] > > > info=Map .jsp files > > > > > > [uri:www.mysite.com/do/*] > > > info=Map do actions > > > > > > [uri:www.mysite.com/manager/*] > > > info=Map the manager webapp > > > > > > why does tomcat handle the requests to > > > http://www.mysite.com/images ? > > > (eg: i see the tomcat directory listing, instead of the > > Apache 2.0.46 > > > forbidden error) > > > > > > thank you ! > > > > > > > > > Catalin Constantin > > > Bounce Software > > > www.bounce-software.com > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org