Re: [Mono-dev] [PATCH] mono-service bugs - please review

2008-02-07 Thread Jörg Rosenkranz
Hi Avery, 2008/2/5, Avery Pennarun <[EMAIL PROTECTED]>: > Note that it currently is implemented by polling every 500ms, which is lame > on multiple levels (you don't want daemons waking up every 500ms on your > laptop for no reason, as it wastes power). I eagerly await your signal > patch. I kne

[Mono-dev] mono-service can't run services with AppDomains anymore

2007-03-12 Thread Jörg Rosenkranz
Hi all, I have tried to run a service using mono-service on Mono 1.2.3 and Mono SVN. The service creates a new AppDomain and runs its code inside of this. This had been working before without problems. Now I get an exception "Ambiguous matching in method resolution" inside the cross AppDomain rem

Re: [Mono-dev] Maybe a System.Data.OracleClient.dll bug

2006-09-27 Thread Jörg Rosenkranz
2006/9/26, Leszek Ciesielski <[EMAIL PROTECTED]>: > It would be nice to use GetBytesCount() instead, but that would > require knowing the exact string we are going to bind - which we don't > know. (Correct me if I'm wrong) I haven't found an OCI function for this yet. Joerg. _

Re: [Mono-dev] Maybe a System.Data.OracleClient.dll bug

2006-09-27 Thread Jörg Rosenkranz
? > > 2006/9/26, Leszek Ciesielski <[EMAIL PROTECTED]>: > > On 9/26/06, Jörg Rosenkranz <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I have attached a patch which should fix this problem. > > > Please check that it runs

Re: [Mono-dev] Maybe a System.Data.OracleClient.dll bug

2006-09-26 Thread Jörg Rosenkranz
Hi all, I have attached a patch which should fix this problem. Please check that it runs correctly because I can not build and test this patch here. Joerg. 2006/9/26, David <[EMAIL PROTECTED]>: Finally, I find a way to insert the string. In my sample; // insert 4 length chinese string to dat

Re: [Mono-dev] Maybe a System.Data.OracleClient.dll bug

2006-09-25 Thread Jörg Rosenkranz
Hi David, 2006/9/18, David <[EMAIL PROTECTED]>: > ... > You will see the result is not we expected,not all the character insert into > the database. > I suspect the problem lies in OciDefineHandle.DefineChar. There a buffer of 2 * character length is allocated and filled. This is enough for all e

Re: [Mono-dev] [PATCH] ServiceProcess API compatibility fixes

2006-09-17 Thread Jörg Rosenkranz
Hello Gert, For me it's OK to commit this patch. Joerg. 2006/9/16, Gert Driesen <[EMAIL PROTECTED]>: > Hi Joerg, > > Attached is a patch which fixes some API compatbility issues for > System.ServiceProcess. > > Most of these fixes just add missing attributes, these should definitely not > have a

Re: [Mono-dev] [PATCH] System.ServiceProcess API compatibilityfixes - try #2

2006-09-05 Thread Jörg Rosenkranz
2006/9/5, Gert Driesen <[EMAIL PROTECTED]>: > > > Now that you bring it up, could you explain how the mono-service > implementation works. I've never looked into it. > > Is it a daemon ? First it was a C daemon embedding Mono. For easier implementation it was converted to a C# EXE which is run in

Re: [Mono-dev] [PATCH] System.ServiceProcess API compatibility fixes - try #2

2006-09-05 Thread Jörg Rosenkranz
Hello Gert, I see no problems with this patch as it shouldn't affect the Linux mono-service implementation. Joerg. 2006/9/5, Gert Driesen <[EMAIL PROTECTED]>: > guess it's no good without the patch itself, or is it ;-) > > - Original Message - > From: "Gert Driesen" <[EMAIL PROTECTED]> >

Re: [Mono-dev] [PATCH] mono-service: Use AppDomain.ExecuteAssembly instead of MethodInfo.Invoke

2006-06-07 Thread Jörg Rosenkranz
Hi Kornel, 2006/6/7, Kornél Pál <[EMAIL PROTECTED]>: This fixes the bug reported by Pablo. AppDomain.ExecuteAssembly uses the same method to execute the assembly as the runtime so assemblies that can be executed using the runtime are guaranted to be executable by mono-service as well. I have

Re: [Mono-dev] mono-service again (BUG FIX)

2006-06-07 Thread Jörg Rosenkranz
Hi Pablo, Thanks for spotting this bug. I don't have a test environment here so could you please test if the following change works for you too? entry.Invoke (null, null); I have attached a patch to change this line. How is the entry point of your service defined? My services always worked w

[Mono-dev] [PATCH] Verbose message for disk full error.

2006-02-22 Thread Jörg Rosenkranz
Hi Dick, The attached patch adds a verbose exception to error 39 (disk full). Is it save to commit this change? Thanks, Joerg. DiskFullException.diff Description: DiskFullException.diff ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

RE: [Mono-dev] Checking out sources

2005-09-16 Thread Jörg Rosenkranz
Hi Johann, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Johann BLAIS > > I'm desperately trying to check out the sources of Mono. I tried the > method described in the mono site > > svn co svn://mono.myrealbox.com/source/trunk/mcs > > > T

[Mono-devel-list] [PATCH] Fix for #75684 (Mono.Data.Tds.TdsMetaParameter)

2005-08-02 Thread Jörg Rosenkranz
Hi all, The attached patch fixes following bug: http://bugzilla.ximian.com/show_bug.cgi?id=75684 It 'converts' all TDS parameters of type varbinary and size > 8000 to type image. I'm doing this in Prepare because I haven't found a better place. Is it OK to commit this patch? Thanks, Joerg. Bu

RE: [Mono-devel-list] Services and eventlogs

2005-08-01 Thread Jörg Rosenkranz
Hello Casper, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Casper Hornstrup > > My application has two services. How do you register the > services on Mono/Linux? I'm looking for the equivalent of > installutil.exe on Windows. There is no su

RE: [Mono-devel-list] DateTime Parameters in MSSQL Server

2005-07-19 Thread Jörg Rosenkranz
Hi Mirco > > that is not ISO :) > ISO 8601 is: -MM-ddTHH:mm:ss > Details at: > http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html > So maybe we should call it "Nearly ISO dates" ;-) Joerg. ___ Mono-devel-list mailing list Mono-dev

RE: [Mono-devel-list] DateTime Parameters in MSSQL Server

2005-07-14 Thread Jörg Rosenkranz
Hello John, > -Original Message- > From: John BouAntoun [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 14, 2005 2:12 AM > To: Jörg Rosenkranz; Hubert FONGARNAND; > > I agree with you that the ISO standard dates should be used > for the software to SQL parameter

RE: [Mono-devel-list] DateTime Parameters in MSSQL Server

2005-07-13 Thread Jörg Rosenkranz
Hello John, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of John BouAntoun > > I've found you can't go wrong with using abbreviated month > name in either this format: > > dd MMM > > Or the other way around > > MMM dd > > Perhaps

RE: [Mono-devel-list] [PATCH] Reworked unified Locale classes

2005-06-23 Thread Jörg Rosenkranz
Hi all, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Jonathan Pryor > > There are four solutions: > > - Make `resources' `volatile', which disables any caching the > processor might do. This effectively makes reads & writes >

RE: [Mono-devel-list] Syslog support

2005-06-22 Thread Jörg Rosenkranz
Hi, > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vorobiev Maksim > Sent: Wednesday, June 22, 2005 5:35 PM > > Is there are any possibility to work with syslog daemon from Mono > without developing additional unmanaged code? I cann't find support

RE: [Mono-devel-list] Windows service

2005-06-02 Thread Jörg Rosenkranz
Hello Anton, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Anton Andreev > > Does Mono support Windows Service as daemon or something? > man mono-service HTH, Joerg. ___ Mono-devel-list mailing l

RE: [Mono-devel-list] Environment.OSVersion.Platform for Unix

2005-05-10 Thread Jörg Rosenkranz
Hi Michi, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Michi Henning > > Another way to do this is to invert the test and avoid the > issue entirely: And the application is broken when an enum value Win64 is introduced. I think Miguels test

[Mono-devel-list] mono-service changes and problems

2005-04-09 Thread Jörg Rosenkranz
Hey, I've introduced some changes to mono-service and System.ServiceProcess.ServiceBase. The ServiceBase.Run function now invokes the main loop of mono-service as callback. This handling matches the Windows behaviour better because Main ends after the service was stopped. There are still som

RE: AW: [Mono-devel-list] System.ServiceProcess development

2005-04-05 Thread Jörg Rosenkranz
Hello Ben, > -Original Message- > From: Ben Maurer [mailto:[EMAIL PROTECTED] > Sent: Monday, April 04, 2005 11:44 PM > > * I think it would make sense to have mono --daemon or > something. > `mono' does not use libmono.so, it statically links > to libmono. > This

AW: [Mono-devel-list] System.ServiceProcess development

2005-04-04 Thread Jörg Rosenkranz
Hello Miguel, > > I think your code should go into SVN; Would you mind doing the honors? > I've added the daemon under mono/monod and commited my changes in ServiceBase. Maybe someone can have a look at Makefile.am. I hope it doesn't break builds on other systems. Have fun! Joerg. PS: Sorry for m

RE: [Mono-devel-list] System.ServiceProcess development

2005-03-31 Thread Jörg Rosenkranz
Hello Sunny, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sunny > > do someone works on System.ServiceProcess namespace? I would > like to give it a > try, or to help, if someone have started with it. > I've sent a proof of concept to the lis

RE: [Mono-devel-list] Sln to make conversion

2005-03-15 Thread Jörg Rosenkranz
Hello, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of JD Conley > > We have a pretty big set of .NET solutions/projects that we would like > to build in the latest Mono and get running on Linux/OSX. They consist > of C#, VB.NET, and one small C++

RE: [Mono-devel-list] monod: System.ServiceProcess on Linux

2005-03-09 Thread Jörg Rosenkranz
Hello Rafael, > -Original Message- > From: Rafael Teixeira [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 08, 2005 8:19 PM > > Nice piece of work. > But I do prefer to do it all in managed code using Mono.Unix, but I > don't have ready code to show so I may silence my big mouth... ;(

[Mono-devel-list] monod: System.ServiceProcess on Linux

2005-03-08 Thread Jörg Rosenkranz
Hi all, Attached is the first incarnation of a Mono Linux daemon to run .NET services developed using System.ServiceProcess. The daemon exports an internal call which is used by ServiceBase to get the service objects from the managed service. To test this daemon you have to: 1. Patch Sy

[Mono-devel-list] [Patch] SqlCommand should pay attention to CommandBehavior.CloseConnection

2005-03-07 Thread Jörg Rosenkranz
Hello all, I have attached a patch for bug #73252 http://bugzilla.ximian.com/show_bug.cgi?id=73252 Is it OK to commit this one? Thanks, Joerg. Bug_73252.patch Description: Bug_73252.patch