hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Leigh <james-nos...@leighnet.ca>
Subject Re: I/O dispatch worker terminated abnormally
Date Wed, 10 Aug 2011 13:09:28 GMT
On Tue, 2011-08-09 at 16:00 +0200, Oleg Kalnichevski wrote:
> On Mon, 2011-08-08 at 20:11 -0400, James Leigh wrote:
> >  However, below is a stack trace of a
> > runtime exception. What concerns me is that a client can shutdown an i/o
> > reactor remotely. An exception like this should be handled by the server
> > (even if it just closes the session and continues).
> >
> > The server is running httpcore 4.1.3.
> > OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1)
> > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
> > 
> > The client is a Black Berry PlayBook 1.0.7 browser attempting to open an
> > SSL connection to the server.
> > 
> > Thanks,
> > James
> > 
> > org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker terminated abnormally
> >         at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:321)
> >         at org.openrdf.http.object.HTTPObjectServer$5.run(HTTPObjectServer.java:410)
> >         at java.lang.Thread.run(Thread.java:636)
> > Caused by: java.lang.RuntimeException: sun.security.pkcs11.wrapper.PKCS11Exception:
CKR_DOMAIN_PARAMS_INVALID
> >         at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1029)
> >         at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:503)
> >         at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:751)
> >         at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:719)
> >         at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
> 
> 
> Someone at Sun/Oracle had a bright idea to rethrow PKCS11Exception as
> plain RuntimeException. Are they crazy?
> 
> Please raise a JIRA for HttpCore. We'll need to make sure that
> SSIOSession shuts itself gracefully in case javax.net.ssl.SSLEngine does
> something stupid like the exception above.
> 
> Oleg
> 

Crazy I know, but this is why I want runtime exceptions caught.

I created https://issues.apache.org/jira/browse/HTTPCORE-268

Thanks,
James


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message