[Mono-list] mono xsp exception

jupiter.hce at gmail.com jupiter.hce at gmail.com
Thu Sep 1 08:28:57 EDT 2011


Hi,

I have a simple test program to regularily send string data to mono xsp web
server via ajax, the web server received it and returned the string
data back. It worked fine for 20 minutes, then the mod_mono server
threw exceptions in apache httpd error_log and the server stopped
response to client and cut down the connection (session). 

Although I assigned IsTermination=false the OperationContact, it still
threw exception with "IsTerminating is set to True" in the error message.

The exception did not seem from my simple test program, could any exmplain 
where those exceptions come from and what was it really means? 

Handling exception type InvalidOperationException
Message is This XmlWriter does not accept StartTag at this state
Error.
IsTerminating is set to True
System.InvalidOperationException: This XmlWriter does not accept
StartTag at this state Error.
at System.Xml.XmlTextWriter.WriteStartElement (System.String prefix,
System.String localName, System.String namespaceUri) [0x00000] in
<filename unknown>:0
at System.Xml.DefaultXmlWriter.WriteStartElement (System.String
prefix, System.String localName, System.String ns) [0x00000] in
<filename unknown>:0
at System.Xml.XmlWriter.WriteStartElement (System.String localName,
System.String ns) [0x00000] in <filename unknown>:0
at System.ServiceModel.Logger.TraceCore (TraceEventType eventType,
Int32 id, Boolean hasRelatedActivity, Guid relatedActivity,
System.Object[] data) [0x00000] in <filename unknown>:0
at System.ServiceModel.Logger.LogMessage
(System.ServiceModel.Diagnostics.MessageLogTraceRecord log) [0x00000]
in
<filename unknown>:0
at System.ServiceModel.Logger.LogMessage (MessageLogSourceKind
sourceKind, System.ServiceModel.Channels.Message& msg, Int64
maxMessageSize) [0x00000] in <filename unknown>:0
at
System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest
(TimeSpan timeout, System.ServiceModel.Channels.RequestContext&
context)
[0x00000] in <filename unknown>:0
at
System.ServiceModel.Channels.ReplyChannelBase.<BeginTryReceiveRequest>m__1B
(TimeSpan tout, System.ServiceModel.Channels.RequestContext& ctx)
[0x00000] in <filename unknown>:0


Handling exception type InvalidOperationException
Message is This XmlWriter does not accept StartTag at this state
Error.
IsTerminating is set to True
System.InvalidOperationException: This XmlWriter does not accept
StartTag at this state Error.
at System.Xml.XmlTextWriter.WriteStartElement (System.String prefix,
System.String localName, System.String namespaceUri) [0x00000] in
<filename unknown>:0
at System.Xml.DefaultXmlWriter.WriteStartElement (System.String
prefix, System.String localName, System.String ns) [0x00000] in
<filename unknown>:0
at System.Xml.XmlWriter.WriteStartElement (System.String localName,
System.String ns) [0x00000] in <filename unknown>:0
at System.ServiceModel.Logger.TraceCore (TraceEventType eventType,
Int32 id, Boolean hasRelatedActivity, Guid relatedActivity,
System.Object[] data) [0x00000] in <filename unknown>:0
at System.ServiceModel.Logger.LogMessage
(System.ServiceModel.Diagnostics.MessageLogTraceRecord log) [0x00000]
in <filename unknown>:0
at System.ServiceModel.Logger.LogMessage (MessageLogSourceKind
sourceKind, System.ServiceModel.Channels.Message& msg, Int64
maxMessageSize) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest
(TimeSpan timeout, System.ServiceModel.Channels.RequestContext&
context)
[0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.ReplyChannelBase.<BeginTryReceiveRequest>m__1B
(TimeSpan tout, System.ServiceModel.Channels.RequestContext& ctx)
[0x00000] in <filename unknown>:0




More information about the Mono-list mailing list