[Mono-list] mod_mono problem

Carl Olsen carl at carl-olsen.com
Wed Sep 14 20:31:15 EDT 2005


Nope. Still not working:


Creating new config (0x80f0c08) for (null)
Destroying config 0x80f0c08
Server6:~ # xsp --root /home/carl/public_html
xsp
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: /home/carl/public_html
Hit Return to stop the server.
System.Runtime.Serialization.SerializationException: Type
System.Web.Compilation.CompilationException is not marked as Serializable.

Server stack trace:
in <0x000d4>
System.Runtime.Serialization.Formatters.Binary.BinaryCommon:CheckSerializabl
e (System.Type type, ISurrogateSelector selector, StreamingContext context)
in <0x00145>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata metadata,
System.Object data)
in <0x00044>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj)
in <0x00108>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectInsta
nce (System.IO.BinaryWriter writer, System.Object obj, Boolean
isValueObject)
in <0x0002d>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQueuedObjec
ts (System.IO.BinaryWriter writer)
in <0x00037>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00200>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00015>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph)
in <0x00068> System.Runtime.Remoting.RemotingServices:SerializeExceptionData
(System.Exception ex)

Exception rethrown at [0]:

in (wrapper xdomain-invoke) Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in (wrapper remoting-invoke-with-check)
Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in <0x0062c> Mono.WebServer.XSPWorker:Run (System.Object state)
System.Runtime.Serialization.SerializationException: Type
System.Web.Compilation.CompilationException is not marked as Serializable.

Server stack trace:
in <0x000d4>
System.Runtime.Serialization.Formatters.Binary.BinaryCommon:CheckSerializabl
e (System.Type type, ISurrogateSelector selector, StreamingContext context)
in <0x00145>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata metadata,
System.Object data)
in <0x00044>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj)
in <0x00108>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectInsta
nce (System.IO.BinaryWriter writer, System.Object obj, Boolean
isValueObject)
in <0x0002d>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQueuedObjec
ts (System.IO.BinaryWriter writer)
in <0x00037>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00200>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00015>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph)
in <0x00068> System.Runtime.Remoting.RemotingServices:SerializeExceptionData
(System.Exception ex)

Exception rethrown at [0]:

in (wrapper xdomain-invoke) Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in (wrapper remoting-invoke-with-check)
Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in <0x0062c> Mono.WebServer.XSPWorker:Run (System.Object state)
System.Runtime.Serialization.SerializationException: Type
System.Web.Compilation.CompilationException is not marked as Serializable.

Server stack trace:
in <0x000d4>
System.Runtime.Serialization.Formatters.Binary.BinaryCommon:CheckSerializabl
e (System.Type type, ISurrogateSelector selector, StreamingContext context)
in <0x00145>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata metadata,
System.Object data)
in <0x00044>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj)
in <0x00108>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectInsta
nce (System.IO.BinaryWriter writer, System.Object obj, Boolean
isValueObject)
in <0x0002d>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQueuedObjec
ts (System.IO.BinaryWriter writer)
in <0x00037>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00200>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00015>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph)
in <0x00068> System.Runtime.Remoting.RemotingServices:SerializeExceptionData
(System.Exception ex)

Exception rethrown at [0]:

in (wrapper xdomain-invoke) Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in (wrapper remoting-invoke-with-check)
Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in <0x0062c> Mono.WebServer.XSPWorker:Run (System.Object state)
System.Runtime.Serialization.SerializationException: Type
System.Web.Compilation.CompilationException is not marked as Serializable.

Server stack trace:
in <0x000d4>
System.Runtime.Serialization.Formatters.Binary.BinaryCommon:CheckSerializabl
e (System.Type type, ISurrogateSelector selector, StreamingContext context)
in <0x00145>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata metadata,
System.Object data)
in <0x00044>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj)
in <0x00108>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectInsta
nce (System.IO.BinaryWriter writer, System.Object obj, Boolean
isValueObject)
in <0x0002d>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQueuedObjec
ts (System.IO.BinaryWriter writer)
in <0x00037>
System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00200>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers)
in <0x00015>
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
(System.IO.Stream serializationStream, System.Object graph)
in <0x00068> System.Runtime.Remoting.RemotingServices:SerializeExceptionData
(System.Exception ex)

Exception rethrown at [0]:

in (wrapper xdomain-invoke) Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in (wrapper remoting-invoke-with-check)
Mono.WebServer.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono
.WebServer.SslInformations)
in <0x0062c> Mono.WebServer.XSPWorker:Run (System.Object state)

Server6:~ #    

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gonzalo Paniagua
Javier
Sent: Tuesday, September 13, 2005 12:10 AM
To: mono-list at lists.ximian.com
Subject: RE: [Mono-list] mod_mono problem

On Sun, 2005-09-11 at 13:26 -0500, Carl Olsen wrote:
> Here's more:
> 
> 
> Creating new config (0x80f0c08) for (null)
> [Sun Sep 11 13:35:35 2005] [warn] module mono_module is already loaded,
> skipping
> Destroying config 0x80f0c08
> Server6:~ # xsp --port 80 --root . --applications /:/home/carl/public_html
> xsp
> Listening on port: 80
> Listening on address: 0.0.0.0
> Root directory: /root
> Hit Return to stop the server.

This problem happened (at least) when compiling a file from a src
attribute.

It's fixed in svn HEAD and I've uploaded a System.Web.dll to
http://primates.ximian.com/~gonzalo/Systam.Web.dll.gz

You can download that one, gunzip it and run 'gacutil -i
System.Web.dll'.

-Gonzalo


_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list





More information about the Mono-list mailing list