[Mono-list] xsp2 crashing

Madars Vitolins madars.vitolins at gmail.com
Sun Mar 11 10:02:03 EDT 2007


I rosolved this by adding right path to xsp within /etc/init.d/xsp script
(this is for gentoo)

        ebegin "Starting xsp"

        if [ ${MonoServerVersion} -eq 1 ]; then
                xsppath=1.0/xsp.exe
        elif [ ${MonoServerVersion} -eq 2 ]; then
                xsppath=2.0/xsp2.exe
        else
                eerror "MonoServerVersion was not properly set. Check your
config file"
                return 1
        fi

        start-stop-daemon --quiet --start \
                --background \
                --make-pidfile \
                --pidfile /var/run/aspnet/xsp.pid \
                --chuid root \
                --exec /usr/bin/mono /usr/lib64/mono/${xsppath} -- --root
${MonoServerRoot} --cert /etc/ca/certs/server-cert.pem --https --p12file
/etc/ca/certs/root-cert.p12 --pkpwd ballarena --port ${MonoServerPort}
--nonstop
        eend $?


So bug 79931 <http://bugzilla.ximian.com/show_bug.cgi?id=79931>
is right about this, problem with symlinks.

Thanks,
Madars.


On 3/10/07, Madars Vitolins <madars.vitolins at gmail.com> wrote:
>
> I checked this,
> So I should enter here in /usr/bin/xsp2 script full path to xsp2.exe
> OK, I did so, even tried:
>
> #!/bin/sh
> exec /usr/bin/mono $MONO_OPTIONS
> "/usr/lib64/mono/gac/xsp2/1.2.3.0__0738eb9f132ed756/xsp2.exe" "$@"
>
> but problem stays the same :(
>
> Madars.
>
> On 3/10/07, Robert Jordan <robertj at gmx.net> wrote:
> >
> > Hi,
> >
> > See http://bugzilla.ximian.com/show_bug.cgi?id=79931
> >
> > Robert
> >
> >
> > Madars Vitolins wrote:
> > > Got more trances, when accessed from FireFox (doing postback)
> > >
> > > System.Exception: Error reading headers.
> > >
> > > Server stack trace:
> > >  at Mono.WebServer.XSPWorkerRequest.GetRequestHeaders () [0x00000]
> > >  at Mono.WebServer.XSPWorkerRequest..ctor (Int32 requestId,
> > > Mono.WebServer.XSPRequestBroker requestBroker, IApplicationHost
> > appHost,
> > > System.Net.EndPoint localEP, System.Net.EndPoint remoteEP,
> > > System.Stringverb,
> > > System.String path, System.String queryString, System.String protocol,
> > > System.Byte[] inputBuffer, IntPtr socket, Boolean secure) [0x00000]
> > >
> > > Exception rethrown at [0]:
> > > ---> System.Runtime.Remoting.RemotingException: Method 'Read' not
> > found in
> > > type 'Mono.WebServer.BaseRequestBroker'
> > >
> > > Server stack trace:
> > >  at System.Runtime.Remoting.Messaging.CADMethodCallMessage.GetMethod()
> > > [0x00000]
> > >  at System.Runtime.Remoting.Messaging.MethodCall..ctor (
> > > System.Runtime.Remoting.Messaging.CADMethodCallMessage msg) [0x00000]
> > >  at System.AppDomain.ProcessMessageInDomain (System.Byte[] arrRequest,
> > > System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg,
> > > System.Byte[]&
> > > arrResponse,
> > > System.Runtime.Remoting.Messaging.CADMethodReturnMessage&cadMrm)
> > > [0x00000]
> > >  at (wrapper remoting-invoke-with-check)
> > > System.AppDomain:ProcessMessageInDomain (byte[],
> > > System.Runtime.Remoting.Messaging.CADMethodCallMessage ,byte[]&,
> > > System.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
> > >  at
> > >
> > System.Runtime.Remoting.Channels.CrossAppDomainSink.ProcessMessageInDomain
> > > (
> > > System.Byte[] arrRequest,
> > > System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg)
> > [0x00000]
> > >
> > > Exception rethrown at [0]:
> > >
> > >  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (
> > > System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
> > > System.Exception& exc, System.Object[]& out_args) [0x00000] --- End of
> > > inner
> > > exception stack trace ---
> > >
> > >  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (
> > > System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
> > > System.Exception& exc, System.Object[]& out_args) [0x00000]
> > >
> > > Madars Vitolins wrote:
> > >
> > > Hello,
> > >    I have build up some simple asp.net 2.0 web page (which uses
> > session,
> > > and request objects) and I have tested it in 32 bit environment, so
> > there
> > > was not problem, But now I have deployed it on 64bit linux (gentoo)
> > and now
> > > I got following error (below) when doing PostBack to server. I am
> > testing
> > > this with IE6. I updated mono to 1.2.3.1 and xsp 1.2.3. Page is hosted
> > on
> > > xsp server (it will be for intranet use only). At first I tested with
> > MS
> > > built binaries, later I mastered to compile this with gmcs, but result
> > is
> > > the same.
> > >
> > >   Someone knows where could be the problem?
> > >
> > > Thanks
> > > Madars Vitolins
> > >
> > >
> > > Server error in '/' application
> > > ------------------------------
> > > *Description: *Error processing request.
> > >
> > > *Error Message: *HTTP 500.
> > > *Stack Trace: *
> > >
> > > System.Runtime.Remoting.RemotingException : Method 'Read' not found in
> > > type 'Mono.WebServer.BaseRequestBroker'
> > >
> > > Server stack trace:
> > >  at System.Runtime.Remoting.Messaging.CADMethodCallMessage.GetMethod
> > > () [0x00000]
> > >  at System.Runtime.Remoting.Messaging.MethodCall..ctor
> > > (System.Runtime.Remoting.Messaging.CADMethodCallMessage msg) [0x00000]
> > >  at System.AppDomain.ProcessMessageInDomain (System.Byte[] arrRequest,
> >
> > > System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg,
> > > System.Byte[]& arrResponse,
> > > System.Runtime.Remoting.Messaging.CADMethodReturnMessage& cadMrm)
> > > [0x00000]
> > >  at (wrapper remoting-invoke-with-check)
> > > System.AppDomain:ProcessMessageInDomain
> > > (byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage
> > ,byte[]&,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
> > >
> > >  at
> > >
> > System.Runtime.Remoting.Channels.CrossAppDomainSink.ProcessMessageInDomain
> > > (System.Byte[] arrRequest,
> > > System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg)
> > > [0x00000]
> > >
> > > Exception rethrown at [0]:
> > >
> > >  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
> > > (System.Runtime.Remoting.Proxies.RealProxy
> > > rp, IMessage msg, System.Exception& exc, System.Object[]& out_args)
> > > [0x00000]
> > >
> > > ------------------------------
> > >
> > > _______________________________________________
> > > Mono-list maillist  -
> > > Mono-list at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
> >
> > >
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Mono-list maillist  -   Mono-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> > _______________________________________________
> > Mono-list maillist  -   Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070311/84e0d310/attachment.html 


More information about the Mono-list mailing list