[ mx4j-Bugs-957420 ] Do not show exception when user interrupts a request...
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #957420, was opened at 2004-05-20 16:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=957420&group_id=47745
Category: HTTP Adaptor
Group: Release 2.0.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Rumpf (mrumpf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Do not show exception when user interrupts a request...
Initial Comment:
Hi,
when I click on a link to view an MBean and while it
has not been displayed yet I click on a new link I
received the following exception although I've set the
log level to warning:
Exception during http request
javax.management.MBeanException: Exception thrown in
operation writeResponse
at
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:430)
at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:822)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at
mx4j.tools.adaptor.http.HttpAdaptor.postProcess(HttpAdaptor.java:751)
at
mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:980)
Caused by: java.net.SocketException: Broken pipe
at
java.net.SocketOutputStream.socketWrite0(Native Method)
at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:112)
at
java.net.SocketOutputStream.write(SocketOutputStream.java:156)
at
java.io.BufferedOutputStream.write(BufferedOutputStream.java:121)
at
java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:129)
at
mx4j.tools.adaptor.http.XSLTProcessor.writeResponse(XSLTProcessor.java:151)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:410)
... 5 more
Exception during request processing
java.net.SocketException: Broken pipe
at
java.net.SocketOutputStream.socketWrite0(Native Method)
at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:112)
at
java.net.SocketOutputStream.write(SocketOutputStream.java:156)
at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:139)
at
mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:1024)
The exception should be catched as it is a frequent
behaviour to click on another link when one invocation
takes too long...
This happens at least in combination: Sun JMX RI and
MX4J HTTP Adaptor (Unfortunately we can't use the MX4J
Implementation yet becasue we need to the RMI-IIOP
connector together with OpenORB).
Cheers,
Michael
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=957420&group_id=47745
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click