Re: jspexception in admin webapp

2004-01-21 Thread James Neville
Apu

further, this is not due to clicking save or going back or any such user
action, it happens as soon as i click the Service (Catalina) link. 

It also happened for us with any host or context nodes. (without using 
the back button and on all browsers)

See my post here:-
http://marc.theaimsgroup.com/?l=tomcat-userm=107399516922291w=2
We have since reproduced it on a similar machine, using TC 5.0.16, and 
assumed it was something to do with the struts libraries that came with 
the binary distribution.
We tried replacing them with the struts/bean etc .jars from the 1.0/1.1 
distributions, to no avail.

However, we managed to get a working TC 5.0.16 by building from source.
I must say that the new ant build works a treat! :)
I wish I could clarify the problem further, sorry I can't be any more help.

James.

 

On Tuesday 20 January 2004 02:22 pm, Apu Shah wrote:
   

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




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


jspexception in admin webapp

2004-01-20 Thread Apu Shah

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

Re: jspexception in admin webapp

2004-01-20 Thread Ben Souther
http://issues.apache.org/bugzilla/show_bug.cgi?id=24086

Take a look at this bug and see if the conditions are similar or the same.




On Tuesday 20 January 2004 02:22 pm, Apu Shah wrote:
 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=2
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
   

Re: jspexception in admin webapp

2004-01-20 Thread Apu Shah

thanks ben, i checked that before posting the message. mine is
reproducible under netscape 7, firebird .7 (linux) and netscape 7,
firebird .7, ie 6 (windoze).

further, this is not due to clicking save or going back or any such user
action, it happens as soon as i click the Service (Catalina) link. 



On Tue, 20 Jan 2004 14:29:25 -0500
Ben Souther [EMAIL PROTECTED] wrote:

 http://issues.apache.org/bugzilla/show_bug.cgi?id=24086
 
 Take a look at this bug and see if the conditions are similar or the
 same.
 
 
 
 
 On Tuesday 20 January 2004 02:22 pm, Apu Shah wrote:
  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(Pag
  eCon textImpl.java:867)
 
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageC
  onte 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(RequestProcesso
  r.ja va:1069)
 
  org.apache.struts.action.RequestProcessor.processForwardConfig(Requ
  estP rocessor.java:455)
 
  org.apache.struts.action.RequestProcessor.process(RequestProcessor.
  java
 
  :279)
 
  org.apache.struts.action.ActionServlet.process(ActionServlet.ja
  va: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(RequestProcesso
  r.ja va:1069)
 
  org.apache.struts.action.RequestProcessor.processForwardConfig(Requ
  estP rocessor.java:455)
 
  org.apache.struts.action.RequestProcessor.process(RequestProcessor.
  java
 
  :279)
 
  org.apache.struts.action.ActionServlet.process(ActionServlet.ja
  va: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=2
 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