[ http://issues.apache.org/jira/browse/DIRMINA-272?page=all ]
Trustin Lee resolved DIRMINA-272.
---------------------------------
Resolution: Invalid
Assignee: Trustin Lee
It's not actually a bug. An SSLException can be sometimes thrown while
destroying the session if the connection was closed abnormally. You can simply
ignore that exception. That's why I logged that message in DEBUG level.
> Unexpected exception from SSLEngine.closeInbound()
> --------------------------------------------------
>
> Key: DIRMINA-272
> URL: http://issues.apache.org/jira/browse/DIRMINA-272
> Project: Directory MINA
> Issue Type: Bug
> Affects Versions: 0.9.5
> Environment: Windows 2000 java 1.5
> Reporter: im-james
> Assigned To: Trustin Lee
>
> The following exception happens when I close the connection: session.close();
> The ssl filter works but I've notice this debug trace in my log.
> I don't know but this might be a signal that there is a problem somewhere
> because I think that throwing exception everytime is probably not a good
> thing for performance.
> Unexpected exception from SSLEngine.closeInbound().
> com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
> com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1352)
> com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1320)
>
> com.sun.net.ssl.internal.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1259)
> org.apache.mina.filter.support.SSLHandler.destroy(SSLHandler.java:165)
> org.apache.mina.filter.SSLFilter.sessionClosed(SSLFilter.java:358)
>
> org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(AbstractIoFilterChain.java:429)
>
> org.apache.mina.common.support.AbstractIoFilterChain.access$600(AbstractIoFilterChain.java:53)
>
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(AbstractIoFilterChain.java:707)
>
> org.apache.mina.filter.thread.ThreadPoolFilter.processEvent(ThreadPoolFilter.java:271)
>
> org.apache.mina.filter.thread.ThreadPoolFilter$ProcessEventsRunnable.run(ThreadPoolFilter.java:309)
>
> org.apache.mina.filter.thread.LeaderFollowersThreadPool$Worker.run(LeaderFollowersThreadPool.java:302)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira