Re: Tomcat response

2013-03-27 Thread Daniel Mikusa
On Mar 27, 2013, at 1:59 AM, Dhaval Jaiswal wrote: > Sometime i am facing an issue with the tomcat response. Can you be more specific about the issue that you are facing? What happens to the response? Do you get any error codes or stack traces? > Tomcat not responding to the httpd web serve

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
a 44 61 ing: chunked..Da >> 0080 74 65 3a 20 4d 6f 6e 2c 20 30 38 20 4d 61 72 20 te: Mon, 08 Mar >> 0090 32 30 31 30 20 30 34 3a 32 31 3a 30 36 20 47 4d 2010 04:21:06 GM >> 00a0 54 0d 0a 0d 0a 30 0d 0a 0d 0a T0 >> >> >> >&

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
No, My original code is doing some calculation at server and return is display as JSP and send to client. However, I found sometimes it will display "blank" page so I add this sample code to test the server. Then, I found that when it display blank page, it will not update the session counter and

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
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_Count"); count = t.intValue(); }

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

Re: tomcat response chunk size

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 2/12/2010 3:31 PM, fredk2 wrote: > I just remembered after i did my post that I can set in apache a > BrowserMatch downgrade-1.0 for this client - works like a charm. Sounds good. > any reason with 8K being a good number and where that > wo

Re: tomcat response chunk size

2010-02-12 Thread fredk2
thanks for the reply. I just remembered after i did my post that I can set in apache a BrowserMatch downgrade-1.0 for this client - works like a charm. any reason with 8K being a good number and where that would be set? Thanks again - Fred Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNE

Re: tomcat response chunk size

2010-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 2/12/2010 2:48 PM, fredk2 wrote: > I have an old client that does not understand the Transfer-Encoding: > chunked. My tomcat response is chunked with hex 2000 (8K and a little bit > less via AJP: 1FF8). Do you mean that it's returned in chu

Re: Tomcat response time extremely high (minutes)

2007-12-18 Thread Nabble-Member1
Hi Rapthor, I'm having similar problem. Has your isue resolved? Can you share the resolution? Thanks Thanh Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rapthor, > > Rapthor wrote: >> But after 1 day the same issue reappeared (response times of abou

Re: Tomcat response time extremely high (minutes)

2007-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rapthor, Rapthor wrote: > But after 1 day the same issue reappeared (response times of about 2 > minutes). When you observe the lng response time, try doing a thread-dump of the JVM to see what's going on. You can see which threads are waiting on

Re: tomcat response slow

2006-05-19 Thread vineesh kumar
Undeploy the other application and make sure that the problem is caused by the new application or some changes in older one. Also check the database for performance. There can be many reasons like, the buffers may not be configures correctly to share the load etc on the db.Aslo check that whether

Re: tomcat response slow

2006-05-19 Thread Rajeev Jha
what does the logs say? turn debug on and check the logs. Also see if the DB URL, user password etc are correct. And I dont think people will like your posting image blobs in mail. Thanks - Rajeev. Patil, Sheetal wrote: Hello all I am using tomcat 5.0 for my application. My application in cre

Re: tomcat response on Linux is very slow for clients behind proxy server

2005-11-11 Thread Shankar Unni
faria hassan wrote: I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux 2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a proxy and making requests over Http1.0, the response time is very slow. However, for clients who are not behind a proxy server,

Re: tomcat response on Linux is very slow for clients behind proxy server

2005-11-11 Thread faria hassan
On 11/10/05, faria hassan <[EMAIL PROTECTED]> wrote: > > Hi, > I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux > 2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a > proxy and making requests over Http1.0, the response time is very slow. > However,