[Mono-dev] Consistent failing in mod_mono / xsp / mono
Ben Clewett
ben.clewett at roadtech.co.uk
Mon Nov 5 11:57:27 UTC 2012
Hi Mono,
I am using mono 3.0.0 with mod_mono 2.10 and xsp 2.10 on SUSE 12.1 on
Linux 3.1.10 x86_64.
When starting my ASP code by starting Apache, all is well.
However when the process is re-spawned I get this exception more or less
every time:
Exception caught during reading the configuration file:
System.MissingMethodException: Method not found:
'System.Configuration.IConfigurationSectionHandler.Create'.
at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.GetSection
(System.String sectionName) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.get_AppSettings ()
[0x00000] in <filename unknown>:0
at Mono.WebServer.Apache.Server.get_AppSettings () [0x00000] in
<filename unknown>:0
at Mono.WebServer.Apache.Server+ApplicationSettings..ctor ()
[0x00000] in <filename unknown>:0
Listening on: /tmp/mod_mono_server_main_webservice
Root directory: /usr/local/ws
Worker initialization exception occurred. Continuing anyway:
System.MissingMethodException: Method not found:
'System.Configuration.IConfigurationSectionHandler.Create'.
at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.GetSection
(System.String sectionName) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.get_AppSettings ()
[0x00000] in <filename unknown>:0
at Mono.WebServer.ModMonoWorkerRequest..cctor () [0x00000] in
<filename unknown>:0
System.NullReferenceException: Object reference not set to an instance
of an object
at Mono.WebServer.BaseApplicationHost.EndOfRequest
(Mono.WebServer.MonoWorkerRequest mwr) [0x00000] in <filename unknown>:0
at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId,
System.String verb, System.String queryString, System.String path,
System.String protocol, System.String localAddress, Int32 serverPort,
System.String remoteAddress, Int32 remotePort, System.String remoteName,
System.String[] headers, System.String[] headerValues, System.Object
worker) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[],object)
at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state)
[0x00000] in <filename unknown>:0
at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
in <filename unknown>:0
This is followed by the next exception, which will spin for ever. This
renders the server dead!
[Mon Nov 05 11:46:34 2012] [error] (70014)End of file found: read_data
failed
[Mon Nov 05 11:46:34 2012] [error] Command stream corrupted, last
command was -1
System.NullReferenceException: Object reference not set to an instance
of an object
at Mono.WebServer.BaseApplicationHost.EndOfRequest
(Mono.WebServer.MonoWorkerRequest mwr) [0x00000] in <filename unknown>:0
at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId,
System.String verb, System.String queryString, System.String path,
System.String protocol, System.String localAddress, Int32 serverPort,
System.String remoteAddress, Int32 remotePort, System.String remoteName,
System.String[] headers, System.String[] headerValues, System.Object
worker) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[],object)
at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state)
[0x00000] in <filename unknown>:0
at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
in <filename unknown>:0
This can be corrected by a complete Apache restart. However this should
work without issue.
If there is anything anybody can suggest to solve this problem, please
let me know.
Regards,
Ben
--
Ben Clewett
http://www.roadtech.co.uk
http://www.tachomaster.co.uk
+44 (0)1923 460000
Road Tech Computer Systems Ltd
Shenley Hall
Rectory Lane
Shenley
Hertfordshire WD7 9AN
United Kingdom
More information about the Mono-devel-list
mailing list