http://www.junlu.com/
Home
»
Home (12/2007)
»
Tomcat Users
»
TC 5.0.28 AdminTool -- nodes under Tomcat Server throwing exceptions
Robert Hunt
2005-02-14
Replies:
TC 5.0.28 AdminTool -- nodes under Tomcat Serve... --
Robert Hunt
2005-02-14
TC 5.0.28 AdminTool -- nodes under Tomcat Serve...
--
sven morales
2005-02-14
TC 5.0.28 running "out of the box", the admin tool works fine; tree view expands and all nodes are accessible.
Trying to run the admin tool with my own (pared down) server.xml generates the following when clicking the "Service (Catalina)" node:
javax.servlet.ServletException
: Define tag cannot set a null value
org.apache.jasper.runtime.PageContextImpl
.doHandlePageException (
PageContextImpl.java
:825)
org.apache.jasper.runtime.PageContextImpl
.handlePageException (
PageContextImpl.java
:758)
admin.service.service_jsp._jspService(service_jsp.java:848)
org.apache.jasper.runtime.HttpJspBase
.service (
HttpJspBase.java
:94)
javax.servlet.http.HttpServlet
.service (
HttpServlet.java
:802)
org.apache.struts.action.RequestProcessor
.doForward (
RequestProcessor.java
:1069)
org.apache.struts.action.RequestProcessor
.processForwardConfig (
RequestProcessor.java
:455)
org.apache.struts.action.RequestProcessor
.process (
RequestProcessor.java
:279)
org.apache.struts.action.ActionServlet
.process (
ActionServlet.java
:1482)
org.apache.struts.action.ActionServlet
.doGet (
ActionServlet.java
:507)
javax.servlet.http.HttpServlet
.service (
HttpServlet.java
:689)
javax.servlet.http.HttpServlet
.service (
HttpServlet.java
:802)
root cause
javax.servlet.jsp.JspException
: Define tag cannot set a null value
org.apache.struts.taglib.bean.DefineTag
.doEndTag (
DefineTag.java
:272)
admin.service.service_jsp._jspService(service_jsp.java:237)
org.apache.jasper.runtime.HttpJspBase
.service (
HttpJspBase.java
:94)
javax.servlet.http.HttpServlet
.service (
HttpServlet.java
:802)
==================================
I can click the handle and have the tree view expand ok, but clicking the node triggers the exception.
The Logger and Valve nodes work OK. However, the "Host (localhost)" node and each "Context (/xxx)" node also kick:
Host:
java.lang.NullPointerException
org.apache.struts.taglib.logic.CompareTagBase
.condition (
CompareTagBase.java
:179)
org.apache.struts.taglib.logic.NotEqualTag
.condition (
NotEqualTag.java
:90)
org.apache.struts.taglib.logic.ConditionalTagBase
.doStartTag (
ConditionalTagBase.java
:218)
admin.host.host_jsp._jspService(host_jsp.java:440)
org.apache.jasper.runtime.HttpJspBase
.service (
HttpJspBase.java
:94)
javax.servlet.http.HttpServlet
.service (
HttpServlet.java
:802)
org.apache.struts.action.RequestProcessor
.doForward (
RequestProcessor.java
:1069)
org.apache.struts.action.RequestProcessor
.processForwardConfig (
RequestProcessor.java
:455)
org.apache.struts.action.RequestProcessor
.process (
RequestProcessor.java
:279)
org.apache.struts.action.ActionServlet
.process (
ActionServlet.java
:1482)
org.apache.struts.action.ActionServlet
.doGet (
ActionServlet.java
:507)
javax.servlet.http.HttpServlet
.service (
HttpServlet.java
:689)
javax.servlet.http.HttpServlet
.service (
HttpServlet.java
:802)
Context:
Error retrieving attribute debug
©2008 junlu.com - Jax Systems, LLC, U.S.A.