synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Anderson (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-188) If backend https service is down, frontend service https gets low level problem that destabilizes non-blocking transport
Date Wed, 05 Dec 2007 09:03:43 GMT
If backend https service is down, frontend service https gets low level problem that destabilizes
non-blocking transport
------------------------------------------------------------------------------------------------------------------------

                 Key: SYNAPSE-188
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-188
             Project: Synapse
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: JDK6 RHEL3
            Reporter: Paul Anderson


I use PHP to send POX via SSL. Synapse then sends to the backend Geronimo, SOAP over SSL.
But if the backend is down, I get transport errors.
Maybe the error is related to the byte buffering issue that was fixed recently (thanks!) to
get Synapse working with PHP SSL input.
Maybe if I switch off NIO it will be more stable?

2007-12-04 17:08:14,312 [server] [I/O dispatcher 7]  INFO PipeImpl Using native OS Pipes for
event-driven to stream IO bridgi
ng
2007-12-04 17:08:14,417 [server] [HttpServerWorker-1]  INFO LogMediator To: /Service, Direction:
request, Envelope
: <?xml version='1.0' encoding='utf-8'?><soapmsg/>
2007-12-04 17:08:14,448 [server] [HttpServerWorker-1]  INFO TimeoutHandler This engine will
expire all callbacks after : 8640
0 seconds, irrespective of the timeout action, after the specified or optional timeout
2007-12-04 17:08:14,568 [server] [I/O dispatcher 3]  WARN HttpCoreNIOSender System may be
unstable: IOReactor encountered a r
untime exception : null
java.lang.NullPointerException
        at org.apache.synapse.transport.nhttp.ClientHandler.inputReady(ClientHandler.java:225)
        at org.apache.synapse.transport.nhttp.LoggingNHttpClientHandler.inputReady(LoggingNHttpClientHandler.java:113)
        at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:135)
        at org.apache.synapse.transport.nhttp.SSLClientIOEventDispatch.inputReady(SSLClientIOEventDispatch.java:117)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:94)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:189)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:137)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:69)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:281)
        at java.lang.Thread.run(Thread.java:619)

AND ON SHUTDOWN:

2007-12-04 17:06:39,795 [server] [Thread-14]  INFO SynapseServer Shutting down Apache Synapse
...
2007-12-04 17:06:39,796 [server] [HttpCoreNIOListener]  INFO HttpCoreNIOListener Listener
Shutdown
2007-12-04 17:06:39,797 [server] [Thread-14]  INFO HttpCoreNIOListener Listener shut down
2007-12-04 17:06:39,797 [server] [HttpCoreNIOListener]  INFO HttpCoreNIOListener Listener
Shutdown
2007-12-04 17:06:39,798 [server [Thread-14]  INFO HttpCoreNIOListener Listener shut down
2007-12-04 17:06:39,798 [server] [HttpCoreNIOSender]  INFO HttpCoreNIOSender Sender Shutdown
2007-12-04 17:06:40,309 [server] [I/O dispatcher 1] ERROR ClientHandler HTTP connection [closed]:
null
java.nio.channels.AsynchronousCloseException
        at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:263)
        at org.apache.http.impl.nio.reactor.SSLIOSession.receiveEncryptedData(SSLIOSession.java:225)
        at org.apache.http.impl.nio.reactor.SSLIOSession.isAppInputReady(SSLIOSession.java:245)
        at org.apache.synapse.transport.nhttp.SSLClientIOEventDispatch.inputReady(SSLClientIOEventDispatch.java:116)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:94)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:189)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:137)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:69)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:281)
        at java.lang.Thread.run(Thread.java:619)
2007-12-04 17:06:40,310 [server] [I/O dispatcher 1] ERROR ClientHandler I/O error : null
java.nio.channels.AsynchronousCloseException
        at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:263)
        at org.apache.http.impl.nio.reactor.SSLIOSession.receiveEncryptedData(SSLIOSession.java:225)
        at org.apache.http.impl.nio.reactor.SSLIOSession.isAppInputReady(SSLIOSession.java:245)
        at org.apache.synapse.transport.nhttp.SSLClientIOEventDispatch.inputReady(SSLClientIOEventDispatch.java:116)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:94)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:189)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:137)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:69)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:281)
        at java.lang.Thread.run(Thread.java:619)
2007-12-04 17:06:40,817 [server] [I/O dispatcher 2] ERROR ClientHandler HTTP connection [closed]:
null
java.nio.channels.AsynchronousCloseException
        at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:263)
        at org.apache.http.impl.nio.reactor.SSLIOSession.receiveEncryptedData(SSLIOSession.java:225)
        at org.apache.http.impl.nio.reactor.SSLIOSession.isAppInputReady(SSLIOSession.java:245)
        at org.apache.synapse.transport.nhttp.SSLClientIOEventDispatch.inputReady(SSLClientIOEventDispatch.java:116)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:94)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:189)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:137)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:69)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:281)
        at java.lang.Thread.run(Thread.java:619)
2007-12-04 17:06:40,817 [server] [I/O dispatcher 2] ERROR ClientHandler I/O error : null
java.nio.channels.AsynchronousCloseException
        at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message