Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 64472 invoked from network); 29 Nov 2000 04:22:48 -0000 Received: from ksicomm01.knowledgeplanet.com (HELO ksicomm01.knowledgesoft.com) (204.183.205.236) by locus.apache.org with SMTP; 29 Nov 2000 04:22:48 -0000 Received: from [192.168.182.140] (208.151.182.245 [208.151.182.245]) by ksicomm01.knowledgesoft.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id WFTV3SQW; Tue, 28 Nov 2000 23:25:19 -0500 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Tue, 28 Nov 2000 20:22:13 -0800 Subject: Re: admin context From: John Tangney To: Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi I downloaded tomcat 3.2b8 and ran it standalone. I get the same error connecting to the admin app on port 8080. So it looks like a bug in the app or in tomcat. This used to work in an older version. Any clues anyone? Can *anyone* get /admin to work in 3.2b8? Thanks --johnt On 11/28/00 11:58 AM, John Tangney at jtangney@knowledgeplanet.com wrote: > Hi > > I am running tomcat 3.2b6 inside apache 1.3.14 using mod_jk. I'm running > Solaris on a sparc. All seems to work well, except for the admin app. > > I am able to see the "Context Administration" page containing the form, but > when I click on the "View All Contexts" button, I get the error listed > below. > > Note that I added a user with roles="admin" to > $TOMCAT_HOME/conf/tomcat-users.xml in order to get past the BASIC > authentication mentioned in web.xml for this app. > > Before the exception appears, I notice that tomcat writes the following to > the console: > > 2000-11-28 11:49:23 - Ctx( /admin ): Illegal access to internal attribute > > Then the very next output is the exception: > > 2000-11-28 11:49:23 - Ctx( /admin ): Exception in: R( /admin + > /contextAdmin/contextAdmin.jsp + null) - javax.servlet.ServletException > at > org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp > l.java:449) > at > contextAdmin._0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0 > ._jspService(_0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0 > .java:192) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja > va:177) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387) > at org.apache.tomcat.core.Handler.service(Handler.java:263) > at > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371) > at > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78 > 6) > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:732) > at > org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection > (Ajp12ConnectionHandler.java:166) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) > at java.lang.Thread.run(Thread.java:484) > > Root cause: > > java.lang.NullPointerException > at ContextAdmin.init(ContextAdmin.java:46) > at > contextAdmin._0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0 > ._jspService(_0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0 > .java:112) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja > va:177) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387) > at org.apache.tomcat.core.Handler.service(Handler.java:263) > at > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371) > at > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78 > 6) > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:732) > at > org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection > (Ajp12ConnectionHandler.java:166) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) > at java.lang.Thread.run(Thread.java:484) > > > The jasper log file has nothing untoward: > > 2000-11-28 11:49:23 - JspEngine --> /contextAdmin/contextAdmin.jsp > 2000-11-28 11:49:23 - ServletPath: /contextAdmin/contextAdmin.jsp > 2000-11-28 11:49:23 - PathInfo: null > 2000-11-28 11:49:23 - RealPath: > /usr/local/tomcat/webapps/admin/contextAdmin/contextAdmin.jsp > 2000-11-28 11:49:23 - RequestURI: > /admin/contextAdmin/contextAdmin.jsp > 2000-11-28 11:49:23 - QueryString: > submit=View+All+Contexts&addContextPath=&addContextDocBase=&removeContextNam > e= > 2000-11-28 11:49:23 - Request Params: > 2000-11-28 11:49:23 - removeContextName = > 2000-11-28 11:49:23 - addContextPath = > 2000-11-28 11:49:23 - submit = View All Contexts > 2000-11-28 11:49:23 - addContextDocBase = > 2000-11-28 11:49:23 - Classpath according to the Servlet Engine is: > /usr/local/tomcat/webapps/admin/WEB-INF/classes >