Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 33092 invoked from network); 4 Aug 2008 12:47:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 12:47:26 -0000 Received: (qmail 32463 invoked by uid 500); 4 Aug 2008 12:47:13 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 32433 invoked by uid 500); 4 Aug 2008 12:47:13 -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 32422 invoked by uid 99); 4 Aug 2008 12:47:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 05:47:13 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dns4@cornell.edu designates 128.253.83.142 as permitted sender) Received: from [128.253.83.142] (HELO authusersmtp.mail.cornell.edu) (128.253.83.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 12:46:15 +0000 Received: from [128.253.209.217] (dns4-endeavour.calsnet.cornell.edu [128.253.209.217]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id m74CkfL7024636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 4 Aug 2008 08:46:41 -0400 (EDT) Message-ID: <4896FA31.6060802@cornell.edu> Date: Mon, 04 Aug 2008 08:46:41 -0400 From: David Smith User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: configure tomcat References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org A couple of suggestions: 1. Drop the CLASSPATH from bashrc. It'll cause all sorts of weird problems. Plus the jars you added are automatically added by tomcat's own internal classloader. No need to explicitly declare them anyway. 2. Check you logs for what happened during startup up to the moment of your request. That should help a lot in determining what happened. --David Nadun Herath wrote: > I am a newbie to tomcat. I installed it ubuntu > > added the following line to bashrc file > > export CLASSPATH=/usr/local/tomcat/common/lib/jsp-api.jar:/usr/local/tomcat/common/lib/servlet-api.jar > > > When I run startup.sh it runs ok. Giving this message > > Using CATALINA_BASE: /usr/local/tomcat > Using CATALINA_HOME: /usr/local/tomcat > Using CATALINA_TMPDIR: /usr/local/tomcat/temp > Using JRE_HOME: /usr/lib/jvm/java-6-sun > > But when I type localhost/8080 it says can't connect. What is the problem. > Please help. I thank you in advance. > --------------------------------------------------------------------- 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