Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 67846 invoked from network); 17 Jul 2007 01:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2007 01:40:58 -0000 Received: (qmail 10569 invoked by uid 500); 17 Jul 2007 01:38:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 10147 invoked by uid 500); 17 Jul 2007 01:38:23 -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 10136 invoked by uid 99); 17 Jul 2007 01:38:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2007 18:38:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2007 18:38:18 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IAc0j-0003yx-Pm for users@tomcat.apache.org; Mon, 16 Jul 2007 18:37:57 -0700 Message-ID: <11641477.post@talk.nabble.com> Date: Mon, 16 Jul 2007 18:37:57 -0700 (PDT) From: csirus To: users@tomcat.apache.org Subject: Re: Problem listing apps in manager app In-Reply-To: <917329.98252.qm@web57310.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gavin.kennedy@csiro.au References: <917329.98252.qm@web57310.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I hit the same snag when I updated server.xml and added some Context elements for web apps I hadn't deployed yet. So, check the spelling/existence of any webapps that you explicitly name in your server.xml file. Jake Alley wrote: > > I'm trying to list the applications in the manager app. It was working > before, but now all of a sudden it has stopped. It was working before, > but I added an app and it stopped working. I remove the app and it still > doesn't work. I clean the work space for the manager app and it still > doesn't work. The applications list under "Complete Server Status" but > not under "List Applications." > > I'm using 6.0.13 on 1.5.0_06-b05 > > The error I get is: > > java.lang.NullPointerException > > org.apache.catalina.manager.HTMLManagerServlet.list(HTMLManagerServlet.java:434) > > org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:137) > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > Line 434 is the following: > > args[11] = new Integer(context.getManager().getMaxInactiveInterval()/60); > > I'm inclined to believe it's failing because of context.getManager() which > is checked for null previously in the same function. > > if (context.getManager() != null) { > args[4] = new Integer > (context.getManager().getActiveSessions()); > } else { > args[4] = new Integer(0); > } > > Does anybody have any insight into this? > > Thanks. > > > > --------------------------------- > Need a vacation? Get great deals to amazing places on Yahoo! Travel. > -- View this message in context: http://www.nabble.com/Problem-listing-apps-in-manager-app-tf4065356.html#a11641477 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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