RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
> From: Shirely [mailto:shir...@powerelab.com] > Subject: Re: Tomcat response Blank Page > > What is the access log? How to check it? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access%20Log%20Valve - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDE

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
> From: Shirely [mailto:shir...@powerelab.com] > Subject: RE: Tomcat response Blank Page > > I don't undestand it. But my page is not empty so why send out empty? The output isn't empty - it's a chunked response with zero bytes in the body. Perfectly valid, and typi

Re: Tomcat response Blank Page

2010-03-08 Thread Shirely
;>>> than >>>>> it reaching the server. Try running Wireshark on each end and see if >>>>> you >>>>> can catch the failure. >>>>> >>>>>- Chuck >>>>> >>>>> >>>>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE >

RE: Tomcat response Blank Page

2010-03-08 Thread Shirely
..@pidster.com] >> Subject: Re: Tomcat response Blank Page >> >> Admittedly, I can't think of a way for the page to stop there as a >> result of an exception and still send a 200 status, but it's worth >> exploring. > > It's chunked output, so ze

Re: Tomcat response Blank Page

2010-03-08 Thread Pid
On 08/03/2010 15:13, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/8/2010 6:42 AM, Pid wrote: What happens if the line: Utility.writeToFile("/WP.txt",str +"\n"); throws an exception? The only line which writes output to the response is after that line,

Re: Tomcat response Blank Page

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/8/2010 6:42 AM, Pid wrote: > What happens if the line: > > Utility.writeToFile("/WP.txt",str +"\n"); > > throws an exception? > The only line which writes output to the response is after that line, so > if something stops the page before

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Tomcat response Blank Page > > Admittedly, I can't think of a way for the page to stop there as a > result of an exception and still send a 200 status, but it's worth > exploring. It's chunked output, so z

Re: Tomcat response Blank Page

2010-03-08 Thread Pid
sponse packet only have a "0" at the body part. How many bytes does the access log say it sent? Is there any error in any other log? p Shirley n828cl wrote: From: Shirely [mailto:shir...@powerelab.com] Subject: Re: Tomcat response Blank Page Then, I found that when it display bla

Re: Tomcat response Blank Page

2010-03-07 Thread Shirely
ytes does the access log say it sent? > Is there any error in any other log? > > > p > >> Shirley >> >> >> n828cl wrote: >>> >>>> From: Shirely [mailto:shir...@powerelab.com] >>>> Subject: Re: Tomcat response Blank Pa

Re: Tomcat response Blank Page

2010-03-06 Thread Pid
t sent? Is there any error in any other log? p Shirley n828cl wrote: From: Shirely [mailto:shir...@powerelab.com] Subject: Re: Tomcat response Blank Page Then, I found that when it display blank page, it will not update the session counter and also didn't read to text file. Sounds li

RE: Tomcat response Blank Page

2010-03-06 Thread Shirely
com] >> Subject: Re: Tomcat response Blank Page >> >> Then, I found that when it display blank page, it will not update the >> session counter and also didn't read to text file. > > Sounds like something in between is responding to the request, rather than > i

RE: Tomcat response Blank Page

2010-03-06 Thread Caldarale, Charles R
> From: Shirely [mailto:shir...@powerelab.com] > Subject: Re: Tomcat response Blank Page > > Then, I found that when it display blank page, it will not update the > session counter and also didn't read to text file. Sounds like something in between is responding to the req

Re: Tomcat response Blank Page

2010-03-06 Thread Shirely
he counter (often an >>> image) is never referenced, and therefore not updated. >>> >>> - -chris >>> -BEGIN PGP SIGNATURE- >>> Version: GnuPG v1.4.10 (MingW32) >>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >>> &g

Re: Tomcat response Blank Page

2010-03-05 Thread Pid
On 05/03/2010 15:09, Shirely wrote: I just try a very very simple code, here is the code. <%@ page language="java" import="java.text.*, java.util.*, tools.*" errorPage="" %> <% int count = 0; if(session.getAttribute("WH_Count")!= null){ Integer t = (Integer)session.getAttribute("WH_Cou

Re: Tomcat response Blank Page

2010-03-05 Thread Shirely
; iEYEARECAAYFAkuRGzYACgkQ9CaO5/Lv0PBzXACgwtkDVVe0Wo4L5IHpW3pviDo6 > BVUAoK4thjWyP/Ztpry22UNQl0vMtRWo > =54pL > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For ad

Re: Tomcat response Blank Page

2010-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shirley, On 3/5/2010 5:05 AM, Shirely wrote: > I have a Tomcat 6.0 run at Window Server 2008. We mainly used it to show some > dynamic JSP by running java method at background. However, I found that > tomcat server sometimes run abnormally. I see a

Tomcat response Blank Page

2010-03-05 Thread Shirely
Shirley Au -- View this message in context: http://old.nabble.com/Tomcat-response-Blank-Page-tp27792029p27792029.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.