Re: [Mono-list] mono-service2 debugging issues

2010-12-08 Thread Abe Gillespie
Ah, I see, I assumed mono-service was for .Net 1.x. Like how there's mod-mono-server, mod-mono-server2, and mod-mono-server4. Thanks for the tip! -Abe On Wed, Dec 8, 2010 at 2:10 PM, Robert Jordan wrote: > On 08.12.2010 19:48, Abe Gillespie wrote: >> Oh, shoot, I forgot to circle back on this o

Re: [Mono-list] mono-service2 debugging issues

2010-12-08 Thread Robert Jordan
On 08.12.2010 19:48, Abe Gillespie wrote: > Oh, shoot, I forgot to circle back on this one. My apologies, I had a > couple of threads going concurrently. I debugged the old fashion way > and finally figured out this is what I needed: Heh, no :) You want "mono-service", which defaults to 4.0. Mon

Re: [Mono-list] mono-service2 debugging issues

2010-12-08 Thread Abe Gillespie
Oh, shoot, I forgot to circle back on this one. My apologies, I had a couple of threads going concurrently. I debugged the old fashion way and finally figured out this is what I needed: #!/bin/bash export MONO_OPTIONS=--runtime=v4.0.30319 export LD_LIBRARY_PATH=.:/usr/local/mono/2.8/lib/:$LD_LIB

Re: [Mono-list] mono-service2 debugging issues

2010-12-08 Thread Andrés G. Aragoneses
It may be some internal problem on how Mono manages the appdomains of your service. IIRC Mono uses Remoting internally for the communication between them. On 06/12/10 06:56, Abe Gillespie wrote: > Yeah, --debug didn't seem to help. However, as luck would have it, > Bojan's answer to the JSON.

Re: [Mono-list] mono-service2 debugging issues

2010-12-05 Thread Abe Gillespie
Yeah, --debug didn't seem to help. However, as luck would have it, Bojan's answer to the JSON.NET thread gave me this little nugget: --trace=E:all However, now that I have the exception stack trace I'm still baffled. Anyone know what's going on below? Does running via mono-service automatically

Re: [Mono-list] mono-service2 debugging issues

2010-12-05 Thread David Jagoe
G'day, On Monday, 6 December 2010, Abe Gillespie wrote: > Hello, > > I'm trying to run my service as a daemon.  It doesn't run and the only > thing I get in the system log is: > > Dec  6 05:04:22 machine mono: Service.exe: A type load exception has occurred. > > I've tried a number of things to c

[Mono-list] mono-service2 debugging issues

2010-12-05 Thread Abe Gillespie
Hello, I'm trying to run my service as a daemon. It doesn't run and the only thing I get in the system log is: Dec 6 05:04:22 machine mono: Service.exe: A type load exception has occurred. I've tried a number of things to coerce more info out of mono but I can't seem to. Is there any way to g

Re: [Mono-list] mono-service2 debugging

2009-09-08 Thread nzsaint
Robert Jordan wrote: > > Try this: > mono --debug $monoprefix/lib/mono/2.0/mono-service.exe yourservice.exe > Replace $monoprefix by the current prefix of your Mono installation. > Note that the service won't be backgrounded when invoked like this. > Thanks Robert. This worked- I received a '

Re: [Mono-list] mono-service2 debugging

2009-09-08 Thread Robert Jordan
nzsaint wrote: > I am trying to use mono-service2 to run a windows service under openSUSE > 11.1. I am currently receiving an error message (object reference not set to > an instance of an object) in the syslog in relation to my service but I > would like to obtain more information to specifically

[Mono-list] mono-service2 debugging

2009-09-08 Thread nzsaint
I am trying to use mono-service2 to run a windows service under openSUSE 11.1. I am currently receiving an error message (object reference not set to an instance of an object) in the syslog in relation to my service but I would like to obtain more information to specifically identify the cause of