My Oracle Support Banner

Coherence Extend Issue From .NET With SSL (Doc ID 1446590.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version 3.6.0 to 3.6.1.1 [Release AS10g]
Information in this document applies to any platform.

Symptoms

Intermittent errors are encountered once SSL is used to secure the link between your .NET application and a Coherence Cluster, for example:

Server Error in '/' Application.
________________________________________
The Write method cannot be called when another write operation is pending.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotSupportedException: The Write method cannot be called when another write operation is pending.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NotSupportedException: The Write method cannot be called when another write operation is pending.]
System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +7913631
System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count) +127
Tangosol.Util.Daemon.QueueProcessor.Service.Peer.Initiator.TcpConnection.Send(DataWriter writer) +227

[ConnectionException]
Tangosol.Net.Messaging.Impl.RequestStatus.get_Response() +43
Tangosol.Net.Messaging.Impl.RequestStatus.WaitForResponse(Int64 millis) +744
Tangosol.Net.Messaging.Impl.Channel.Request(IRequest request, Int64 millis) +113
Tangosol.Util.ConverterInvocableCache.Invoke(Object key, IEntryProcessor agent) +111
Tangosol.Web.Model.AbstractSessionModelManager.SaveSession(SessionKey sessionId, SessionHolder holder, Boolean newSession) +332
Tangosol.Web.CoherenceSessionStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +254
System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +929
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

Changes

The Coherence*Extend connection between the .NET Client and the Coherence*Extend proxy server was configured to use SSL to secure it.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.