Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A238B10257 for ; Sat, 15 Feb 2014 00:27:00 +0000 (UTC) Received: (qmail 60303 invoked by uid 500); 15 Feb 2014 00:26:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60176 invoked by uid 500); 15 Feb 2014 00:26:56 -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 60166 invoked by uid 99); 15 Feb 2014 00:26:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Feb 2014 00:26:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of neven.cvetkovic@gmail.com designates 209.85.215.178 as permitted sender) Received: from [209.85.215.178] (HELO mail-ea0-f178.google.com) (209.85.215.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Feb 2014 00:26:50 +0000 Received: by mail-ea0-f178.google.com with SMTP id a15so6016572eae.23 for ; Fri, 14 Feb 2014 16:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gU5wjLW+KGyZr0cGD0JmnzIhCUCEoC289WB/Ue9LJf4=; b=kOsTGpkmDgLqQmmxji+cBglN7pmZ9pBZsWVdEtftt4N/MT1HbiIcUPCaWjC3TUW+Zi 9vdi/AHytvq+GBCXh/2YqLzAWpttS8vmLyIDV1j9hpic0bmzNTG6eO24JVy/gdu5qspV 0tOUdGA5PVXwqNuBcG3SpzkSLgTSU7DFQ0thbC/VqMyD8EwbkEajTW3ZwsTdrrU/RIJu cz4KwP0ekyeM/jT3hTCc//qBNqguRKQaWLZ0N+Bq87NvV2LUq52yG8MMJ4u5W/elV6Gg d5BzuaozJSd/0tbCeNzV++sTgFfZwipYHSyF21dfmH0C5l0d5GIgvo7w66zWm3n3r7XW Beww== X-Received: by 10.14.109.71 with SMTP id r47mr12242451eeg.28.1392423989890; Fri, 14 Feb 2014 16:26:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.115.200 with HTTP; Fri, 14 Feb 2014 16:26:09 -0800 (PST) In-Reply-To: References: <52FE7643.1090806@christopherschultz.net> <52FEA78E.6040604@yahoo.com> From: Neven Cvetkovic Date: Fri, 14 Feb 2014 19:26:09 -0500 Message-ID: Subject: Re: Unable to shutdown Tomcat To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a11c28d524b546404f266f992 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c28d524b546404f266f992 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 14, 2014 at 6:37 PM, Pooja Swamy wrote: > I started tomcat - > > test@17.198.48.77:/Users/test/software/runtime/bin>./startup.sh > Using CATALINA_BASE: /Users/test/software/runtime > Using CATALINA_HOME: /Users/test/software/runtime > Using CATALINA_TMPDIR: /Users/test/software/runtime/temp > Pooja, Your initial CATALINA_HOME was: /Users/test/software/tomcat Now you are running from a different directory: /Users/test/software/runtime What's the difference now? You mentioned you changed the port to 18000, where did you do that? What did you change? Why did you change that? Can you confirm that your Tomcat is not starting up, with either of three commands: 1. sudo ps -ef | grep catalina (here's sample output) 501 36371 35319 0 7:01pm ttys003 0:05.22 /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java -Djava.util.logging.config.file=/Users/test/software/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/Users/test/software/tomcat/endorsed -classpath /Users/test/software/tomcat/bin/bootstrap.jar:/Users/test/software/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/Users/test/software/tomcat -Dcatalina.home=/Users/test/software/tomcat -Djava.io.tmpdir=/Users/test/software/tomcat/temp org.apache.catalina.startup.Bootstrap start 2. sudo lsof -iTCP -sTCP:LISTEN -P -n | grep 8080 (here's sample output) java 36371 test 48u IPv6 0xff43c4aa9610cc0b 0t0 TCP *:8080 (LISTEN) 3. sudo netstat -an | grep 8080 (sample output) tcp46 0 0 *.8080 *.* LISTEN NOTE: I prefer lsof over netstat on Mac, as I can see the process number that is bound to the specific port number in one command. I did not dig into Mac version of netstat to see other switches (netstat -vatpn doesn't work on Mac like on Linux). This will make sure that you Tomcat is started. Is your TOMCAT running after you started it? If that's not the case, you need to see why you Tomcat doesn't start. Your earlier console output from /Users/test/software/tomcat/bin/catalina.sh run was not complete. Good luck! --001a11c28d524b546404f266f992--