Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 77057 invoked from network); 13 Feb 2003 22:05:15 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 13 Feb 2003 22:05:15 -0000 Received: (qmail 4492 invoked by uid 97); 13 Feb 2003 22:06:50 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 4481 invoked from network); 13 Feb 2003 22:06:49 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 13 Feb 2003 22:06:49 -0000 Received: (qmail 74294 invoked by uid 500); 13 Feb 2003 22:04:42 -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 74236 invoked from network); 13 Feb 2003 22:04:42 -0000 Received: from www.shareowner.com (HELO shareowner.com) (66.46.24.147) by daedalus.apache.org with SMTP; 13 Feb 2003 22:04:42 -0000 Received: from exchange.int.shareowner.com (gw.shareowner.com [66.46.24.163]) by shareowner.com (8.11.6/8.11.6) with ESMTP id h1DLn9d01623 for ; Thu, 13 Feb 2003 16:49:09 -0500 Received: by exchange.int.shareowner.com with Internet Mail Service (5.5.2653.19) id ; Thu, 13 Feb 2003 17:04:42 -0500 Message-ID: From: pqin@shareowner.com To: tomcat-user@jakarta.apache.org Subject: RE: jk2 config -- uri directive for root context? Date: Thu, 13 Feb 2003 17:04:42 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2D3AB.E8FABCD0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2D3AB.E8FABCD0 Content-Type: text/plain Try following [uri:/*] in your workers2.properties in $CATALINA_HOME/webapps/ROOT, modify index.jsp to redirect your request to somewhere you want to go. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -----Original Message----- From: Jake Robb [mailto:jakerobb@mac.com] Sent: February 13, 2003 4:55 PM To: Tomcat Users List Subject: Re: jk2 config -- uri directive for root context? Okay, I think I might have figured out my mistake, but I still need help here. I enabled the port 8080 direct connection, and I get the same behavior as before, so my problem is with Tomcat, and not with JK. I set debug="10" in several places, and the Tomcat error logs look normal. None of my site is implemented using servlets -- it's all JSP. I have been Googling all afternoon, with no luck finding any examples of a proper setup for any non-servlet context, let alone a root context (servlet or otherwise!). Do I have to use the manager app to do something to set up my context, or can I just create the web.xml file? Do I even need a web.xml file if I'm not using a servlet? Does anyone out there have Tomcat 4.1.18 set up so that it will serve http://address.com/index.jsp? I have had no luck getting this to work, and if I could just compare notes with someone who has it working, I could probably figure out what's wrong. Thanks! -Jake ----- Original Message ----- From: "Brett Neumeier" To: "'Tomcat Users List'" Sent: Thursday, February 13, 2003 2:03 PM Subject: RE: jk2 config -- uri directive for root context? > Hi Jake, > > > Does this work when going to Tomcat directly (say to port 8080, if you've > > got a HTTP connector listening to that port) rather than going through a > > native web server? If you don't have an HTTP connector configured in > > Tomcat, you might want to add one to help in debugging the situation. > > Have you tried this? What happens when you take the web server and JK out > of the picture? I think this is the most obvious first step you can take to > determine where the problem lies. > > If it turns out that everything works fine when you make the request > directly to Tomcat, then the problem is certainly related to JK2 -- either a > bug in the JK2 code, or a misconfiguration, or both. > > If it turns out that HTTP requests direct to Tomcat don't work any better > than the ones being sent through the native web server and JK2, then the > problem is probably not related to JK2 -- thus there must be a > misconfiguration on the Tomcat side. > > > You also might want to enable debugging information in the web server, or > > tomcat, or both -- if you can find out what Tomcat is trying to do, that > > might illuminate why it's not doing what you expect. > > Have you tried this? The places you can turn on debugging information (as > far as I know) are: > > In workers2.properties, as "debug=" properties for components -- you can set > debug to values from 1 to 10, according to the documentation, with higher > numbers meaning more log data. > > In server.xml, as "debug=" attributes of Connector or Context elements (with > 1-10 values as above). > > What might be informative is to turn on debugging output for all of these, > and look over what each component thinks is happening. > > Cheers, > > bn > > --------------------------------------------------------------------- > 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 ------_=_NextPart_001_01C2D3AB.E8FABCD0--