tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Annie Guo <a...@appriss.com>
Subject RE: Page output is disappearing
Date Thu, 03 Jun 2004 13:39:21 GMT
If you have a NullPointerException somewhere in your tag or jsp pages, this
could happen.  It happened to me a couple of times.  Look for any variable
that might be null.

-----Original Message-----
From: Keith Hankin [mailto:keithh@addr.com]
Sent: Thursday, June 03, 2004 1:58 AM
To: Tomcat Users List
Subject: Re: Page output is disappearing


This happens even if the server has been up and running for a while, and
when I look at the manager html page, it indicates that the application is
running properly. The problem only happens when I have a specific custom
taglib included in the page.

----- Original Message -----
From: "Ben Souther" <bsouther@fwdco.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, June 02, 2004 8:05 PM
Subject: Re: Page output is disappearing


> Hitting a page while tomcat is still in the process of firing up or in the
> middle or reloading the app will cause this.
>
> Due to an architectural change, it happens more often in 5x than 4x.
> I don't know all the particulars but it's been discussed on this list
before.
> You could probably find out more by searching the archives.
>
>
>
> On Wednesday 02 June 2004 10:12 am, Keith Hankin wrote:
> > No, I'm not using tag pooling.
> >
> > ----- Original Message -----
> > From: "Tim Funk" <funkman@joedog.org>
> > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> > Sent: Tuesday, June 01, 2004 5:39 PM
> > Subject: Re: Page output is disappearing
> >
> > > Off chance, are you using tag-pooling? Try turning that off and see
what
> >
> > happens.
> >
> > > -Tim
> > >
> > > Keith Hankin wrote:
> > > > Does anyone know any conditions under which writing to the JspWriter
> >
> > will
> >
> > > > not result in any output? I have a custom taglib class that extends
> > > > BodyTagSupport. The doStartTag() method returns EVAL_BODY_BUFFERED.
I
> >
> > then
> >
> > > > have another custom
> > > > taglib class that is a child of this tag, which extends TagSupport.
In
> > > > doStartTag(), this method gets the JspWriter and writes to it,
however
> >
> > the
> >
> > > > output does not appear to come out. This child custom taglib does
not
> >
> > even
> >
> > > > refer to the parent tag in any way. However if I remove the
containing
> > > > parent tag from the JSP page, the output *does* come out. I am using

> >
> > Tomcat
> >
> > > > 5.0.19.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> --
> Ben Souther
> F.W. Davison & Company, Inc.
>
>
> This e-mail message, and any accompanying documents, is for the sole use
of
> the intended recipient(s) and may contain confidential and privileged
> information.  Any unauthorized review, use, disclosure, distribution or
> copying is prohibited.  If you are not the intended recipient, please
> contact our office by email or by telephone at (508) 747-7261 and
> immediately destroy all copies of the original message.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


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

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


Mime
View raw message