You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Hunt <ro...@comcast.net> on 2005/02/15 03:11:16 UTC

TC 5.0.28 AdminTool -- nodes under Tomcat Server throwing exceptions

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 




Re: TC 5.0.28 AdminTool -- nodes under Tomcat Server throwing exceptions

Posted by sven morales <ak...@yahoo.com>.
Hi,
   Can you post the pared down server.xml?  The stock
server.xml is mostly comments anyways, so which
elements did you remove to cause these exceptions?

aka_sergio


--- Robert Hunt <ro...@comcast.net> wrote:

> 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 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org