wondering if anyone has seen this while running the admin webapp from
tomcat 5.0.16?

running the admin webapp, when clicking on the Service (Catalina) link
in the left side frame, i get the following stack trace: 

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException: Define tag cannot set a null value

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCon
textImpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte
xtImpl.java:800)
        admin.service.service_jsp._jspService(service_jsp.java:840)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja
va:1069)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestP
rocessor.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:743)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

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:235)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.ja
va:1069)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestP
rocessor.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:743)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

note The full stack trace of the root cause is available in the Tomcat
logs.

in the tomcat logs:

2004-01-20 12:13:52 StandardContext[/admin]action: Entered
TreeControlTestAction:perform()
2004-01-20 12:13:52 StandardContext[/admin]action: tree param is null
2004-01-20 12:13:52 StandardContext[/admin]action: Select event on
Standalone:type=Service,serviceName=Catalina
2004-01-20 12:13:52 ApplicationDispatcher[/admin] Servlet.service() for
servlet admin.service.service_jsp threw exception
javax.servlet.jsp.JspException: Define tag cannot set a null value
        at
org.apache.struts.taglib.bean.DefineTag.doEndTag(DefineTag.java:272)
        at admin.service.service_jsp._jspService(service_jsp.java:235)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
<snip>

my <Service> element from web.xml looks like:

  <Service name="Catalina">
    <Connector port="8008"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="8443"
acceptCount="100"
               debug="0" connectionTimeout="20000" 
               disableUploadTimeout="true">
       <!-- Restrict access -->
       <Valve className="org.apache.catalina.valves.RemoteAddrValve"
              allow="localhost,127.0.0.1,192.168.0.*,192.168.100.*"/>
    </Connector>
 
    <Connector address="192.168.100.152" port="8009" redirectPort="8443"
               debug="0" enableLookups="false"
               protocol="AJP/1.3" />

    <Engine name="Standalone" defaultHost="192.168.100.152" debug="0" 
            jvmRoute="app4">         

      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>

      <Host name="192.168.100.152" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

        <Cluster 
className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
                  name="ValidationCluster"
                  debug="32"
                 
serviceclass="org.apache.catalina.cluster.mcast.McastService"
                  mcastAddr="228.1.2.4"
                  mcastPort="45566"
                  msgFrequency="500"
                  mcastFrequency="500"
                  mcastDropTime="3000"
                  tcpThreadCount="10"
                  tcpListenAddress="192.168.100.152"
                  tcpListenPort="4001"
                  tcpSelectorTimeout="100"
                  printToScreen="true"
                  expireSessionsOnShutdown="false"
                  useDirtyFlag="true"
                  replicationMode="pooled"
                 
managerClassName="org.apache.catalina.cluster.session.SimpleTcpReplicat
ionManager"
        />
        <Valve
className="org.apache.catalina.cluster.tcp.ReplicationValve"
              
filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>

        <Context path="/manager" debug="0" privileged="true"
                
docBase="/home/tomcat/tomcat5/inst1/server/webapps/manager">
           <Realm className="org.apache.catalina.realm.MemoryRealm" />
        </Context>  

        <Context path="/admin" debug="0" privileged="true"
                
docBase="/home/tomcat/tomcat5/inst1/server/webapps/admin">
           <Realm className="org.apache.catalina.realm.MemoryRealm" />
        </Context>  
      </Host>

    </Engine>

  </Service>


any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to