Hi,
As the error message hints, a common cause for this exception is the
client closing the browser while you're generating the page. People do
that often when they run into error pages, e.g. as soon as they see the
404 header. I don't know what the rest of your 404.jsp does, but you
should try
, July 28, 2004 5:50 AM
Subject: RE: Broken pipe exception with every request!
Hi,
As the error message hints, a common cause for this exception is the
client closing the browser while you're generating the page. People do
that often when they run into error pages, e.g. as soon as they see the
404
Hi,
Does anybody know how to hide the JDBCRealm password from server.xml?
Thanks
Claudio.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hola,
I did a thread dump (SIG-QUIT) on both the JRun and Tomcat environments
during the refresh button load test and the differences are
significant.
The differences in internal thread management between any two servers
are likely to be significant.
Tomcat: Java CPU% exceeds 80%. Site
In my case, tomcat does not recover.
but what I would like to get answered are the questions about the behavior
of tomcat in my mail. I think it doesn't matter if it gets crashed or
not, it's just the fact that a processors stays processing a job after
apache allready dropped it's own thread
I was literally about to post on the same subject. If anyone knows how
Tomcat (and in my case Apache 2.0.48+mod_jk2 on Solaris 8) handles
interrupted/broken connections this would be helpful.
Just to add my own observations... I can push over our test
environment simply by hitting refresh
Just to add some PART 3...
it might be usefull to have the mod_jk connector give a clear message
other than 404 to the browser, wouldn't it ? (of course we can setup a
custom 404, but it's not the same as a real 404 !)
Pepijn
On Fri, 19 Mar 2004, Chris Boyce wrote:
I was literally about to
I actually don't get 404's... the site just grinds to a halt, and jk_2
spews tonnes of messages like this:
Fri Mar 12 15:57:47 2004] [error] ajp13.service() Error forwarding
ajp13:localhost:8009 1 0
[Fri Mar 12 15:57:47 2004] [error] mod_jk.handler() Error connecting to
tomcat 3
[Fri Mar 12
I'm using Linux
I see a lot of 'no processors available' in de catalina_log files.
processor usage is indeed eating whole cpu, but machine doesn't die at
all.
do note that I use mod_jk, not mod_jk2 ! I think there's a whole
different way of logging etc. in jk2.
also something I don't really
Chris Boyce wrote:
Just to add my own observations... I can push over our test
environment simply by hitting refresh (rapidly) for our front page,
which does contain some SQL queries. By just one browser continuously
interrupting the connections with refresh, I can watch the Java
process in
Im was getting the same error in 4.1.24 then migrated to 4.1.29 but still getting it
-Original Message-
From: news.basebeans.net [mailto:[EMAIL PROTECTED]
Sent: 03 2004 . 22:23
To: [EMAIL PROTECTED]
Subject: Broken Pipe and Tomcat 4.1.24 -- Fixed?
I'm using Tomcat 4.1.24 and I'm still
Which database are you using?
--
De: Markus Brigl[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: sexta-feira, 19 de dezembro de 2003 6:06
Para: [EMAIL PROTECTED]
Assunto: Broken pipe exception
Hi I received the following exception!
We
We use Versant 6.0.5 patch 10!
Do you think the problem is connected to the database?
Thank's for help!
Markus
Edson Alves Pereira wrote:
Which database are you using?
--
De: Markus Brigl[SMTP:[EMAIL PROTECTED]
Responder: Tomcat Users List
Enviada:sexta-feira, 19 de
]
Responder:Tomcat Users List
Enviada: sexta-feira, 19 de dezembro de 2003 9:35
Para: Tomcat Users List
Assunto: Re: Broken pipe exception
We use Versant 6.0.5 patch 10!
Do you think the problem is connected to the database?
Thank's for help!
Markus
Edson Alves Pereira
Howdy,
This is not related to your DB (at least, not likely to be related to
your DB). It's probably your user closing the browser while the request
is still processing. This issue in Coyote was fixed in Tomcat 4.1.24 I
believe, so you should try upgrading to tomcat 4.1.29 or 5.0.16 and see
Hi,
the client is an applet and the browser hasn't been closed! Could it be
the applet goes in timeout? Because after this error on server side the
applet throws a an exception if we refresh the data!
could not send requests to server (root exception: java.io.IOException:
First header field
Howdy,
the client is an applet and the browser hasn't been closed! Could it be
the applet goes in timeout? Because after this error on server side the
applet throws a an exception if we refresh the data!
Yup, that's a good theory. Have you experimented with the connectionTimeout
parameters on
The applet might be buggy and close the connection before the entire response
is received. (Just a theory)
-Tim
Markus Brigl wrote:
Hi,
the client is an applet and the browser hasn't been closed! Could it be
the applet goes in timeout? Because after this error on server side the
applet
Hi,
I don't think the connectionTimeout is the problem. I tought more about
corrupted connection than a lost connection, because the applet is made
by more internal frames. This special frame will be closed after this
error, but applet continues to work!
Markus
Shapira, Yoav wrote:
Howdy,
Howdy,
Then perhaps as someone else suggested, look for a bug in the applet.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Markus Brigl [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 11:03 AM
To: Tomcat Users List
Subject: Re: Broken pipe exception
Hi,
I
Howdy,
We use a servlet to send serialized data to a java client. It always
append
Post the relevant servlet code.
Is there a limitation to the size of data that we can send by a socket?
No.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
Code for ApplicationObjectServlet :
private void recupererListe( HttpServletRequest request,
HttpServletResponse response,
String nomObjet)
throws IOException {
try {
List listeDonnee = (List)
The number of ajp13 threads in the pool are configurable in the server.xml.
A broken pipe is usually caused by someone clicking on a link and then when
nothing happens clicking on a different link. So the first click is
probably to a slow page (maybe due to a long db query etc). Tomcat will
At the moment, mod_jk(12) drops the connection to Tomcat if the client
drops the connection (e.g. hits the stop button) before the page is fully
sent. I won't bore people with the details of why it works this way, but
you can usually ignore it.
Schnitzer, Jeff [EMAIL PROTECTED] wrote in message
.
-Original Message-
From: Mike Jackson [SMTP:[EMAIL PROTECTED]]
Sent: 23 September 2002 23:34
To: Tomcat Users List
Subject: RE: Broken Pipe Errors
In my experience those broken pipe errors seem to happen most often when
Internet Exploder decided that the page hasn't changed
Message-
From: Anthony Milbourne [mailto:[EMAIL PROTECTED]]
Sent: den 24 september 2002 11:09
To: 'Tomcat Users List'
Subject: RE: Broken Pipe Errors
Hi
Thanks for the feedback. I don't think that, in our case,
there are any
direct connections to Tomcat as it is behind a firewall
In my experience those broken pipe errors seem to happen most often when
Internet Exploder decided that the page hasn't changed. So they may or
may not be a real symtom of your problem. But I only got those when I
was directly connecting to tomcat, not when I'm using apache as a front
end.
I've had a similar problem with Novell Portal Services on a Win2k/Apache 2.0.40/Tomcat
4.1.10/JDK 1.4 box... memory usage kept climbing and eventually had to reboot system
twice after memory usage got to 181M and tomcat spit back a outofmemory error. Tried
adding -Xms64m to catalina.bat to
Hi,
If your servlets or JSP pages have any problems and you see
java.lang.OutOfMemoryError in your log files or in a stack trace
generated by the Java Virtual Machine (JVM), then you probably need to
increase the JVM's maximum heap size.
Solaris 1.2 and 1.3 JVMs have a default maximum heap size
On a windows machine where apache is starting tomcat, where would I place the switch?
I placed it as part of CATALINA_OPS by entering
set CATALINA_OPTS=-Xms256m -Xmx512m
near the beginning of the catalina.bat startup file. Not sure if this was where to
place it or not though.
[EMAIL
Hi,
-Original Message-
From: Emerson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 6:40 PM
To: Tomcat Users List
Subject: RE: Broken pipe
Hi Anton
Take a look above, i marked the lines that appear my servlet code :
Yeap, sorry. I noticed them when the letter
Hi Anton
Take a look above, i marked the lines that appear my servlet code :
At 09:38 31/1/2002 +0200, you wrote:
Hi,
-Original Message-
From: Emerson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 7:36 PM
To: Tomcat Users List
Subject: RE: Broken pipe
I
Hi,
-Original Message-
From: Emerson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 10:50 PM
To: Tomcat Users List
Subject: Broken pipe
Is there any way of not throwing an exception java.io.IOException: Broken
pipe when the user reloads or cancel the request of a
I haven't tried to get that exception, but i supposse it's possible to pick
it up.
look at my stacktrace :
java.io.IOException: Broken pipe
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
at
Hi,
-Original Message-
From: Emerson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 7:36 PM
To: Tomcat Users List
Subject: RE: Broken pipe
I haven't tried to get that exception, but i supposse it's
possible to pick
it up.
look at my stacktrace
Not sure if this is related or not.
I'm getting broken pipe:
[Wed Oct 17 08:56:01 2001] [error] [client 216.135.0.25] File does not
exist: /home/httpd/html/unsub/a href=
[Wed Oct 17 09:11:29 2001] [error] server reached MaxClients setting,
consider raising the MaxClients setting
[Wed Oct 17
For those who are interested in this issue (yet!)
I know that this is not a Tomcat problem but I think it's important!
We were working with the following network architecture:
Servlets -subnet1--Firewall -subnet2---Database
with this scenario we get the error.
But we change the
Thanks for the anwser, but:
- The servlet is not garbage collected. When I check it in the mornig, after all
night of inactivity, the servlet is active.
- Yesterday, I included a connection pooling class. Thus, the servlet re-starts
the connection.But I get a "connection reset by peer" error,
01 6:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Broken pipe error
Thanks for the anwser, but:
- The servlet is not garbage collected. When I check it in the mornig, after
all
night of inactivity, the servlet is active.
- Yesterday, I included a connection pooling class. Thus, the servlet
ough.
Randy
-Original Message-
From: Xavier Escandell [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 6:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Broken pipe error
Thanks for the anwser, but:
- The servlet is not garbage collected. When I check it in the
morn
This error drove my nuts.
I was using Informix.
Finally we used a connection pool called DbBroker from www.javaexchange.com.
This pool constantly runs a thread that checks connection status and
resets or recreates them if the connection is bad.
After using this pool, all of our broken pipe
The answer is no - Tomcat knows nothing about your socket
connections and therefore can't close them. A couple of things come to mind
- first the Oracle drivers might be releasing the connection, check their
documentation about this. Also, what is the behavior if your servlet is
fvrier 2001 14:37
: '[EMAIL PROTECTED]'
Objet : RE: Broken pipe error
Hi:
I get "broken pipe error" when trying to re-execute a servlet after
several hours of innactivity. Then I must re-start Tomcat to get all
running again.
The servlet is connected to a database using oracle t
, Christopher [mailto:[EMAIL PROTECTED]]
Envoy : jeudi 22 fvrier 2001 14:37
: '[EMAIL PROTECTED]'
Objet : RE: Broken pipe error
Hi:
I get "broken pipe error" when trying to re-execute a servlet after
several hours of innactivity. Then I must re-start Tomcat to get all
run
Hi Markus,
This is a problem has been puzzling me for quite
a while too.
However, it does seem related to an exception being
generated in my own code, ie it happens only after
some jsp I have written throws an exception (which
I catch log). I think, therefore, that it isn't a tomcat
bug as
45 matches
Mail list logo