[Opensim-dev] .NET services example (was: RE: GForge Project)
Develope
Develope at Ashuan.de
Thu Jan 8 09:16:45 UTC 2009
Thank you John,
I've looked at the code.
I see that's my code is equal yours, so I don't know the problem of some people here saying that .Net-Services not running with mono, anyway ....
The major is for me to run this on windows, if this code run on Linux -- okay :)
My skill in Linux is very low so i cant run and test in.
If someone will test it for me .. pls tell me about.
greetz
Kai
From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Hurliman, John
Sent: Mittwoch, 7. Januar 2009 20:42
To: opensim-dev at lists.berlios.de
Subject: [Opensim-dev] .NET services example (was: RE: GForge Project)
Take a look at how the distributed asset server handles running as a service:
http://forge.opensimulator.org/gf/project/assetserver/scmsvn/?action=browse&path=%2Ftrunk%2FAssetServer%2FMain.cs&revision=57&view=markup
and
http://forge.opensimulator.org/gf/project/assetserver/scmsvn/?action=browse&path=%2Ftrunk%2FAssetServer%2FAssetServer.cs&revision=60&view=markup
If the project is compiled in debug mode, it initializes the AssetServer class directly and runs a loop waiting for Ctrl+C to exit. If the project is compiled in release mode, it uses ServiceBase to create a service (use mono-service2 to run under Linux). This gets around the common problem of ServiceBase interfering with debugging, but still works under Windows+Linux without substantial code changes or any wrappers.
John
From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Develope
Sent: Wednesday, January 07, 2009 6:08 AM
To: opensim-dev at lists.berlios.de
Subject: [Opensim-dev] GForge Project
Hello OpenSims,
a few days ago we talk about here creating an wrapper to run grids components as a Service.
After some doubts its clear to me to create an raw windows service cause nant mono isn't functional with this.
My project is created in GForge named 'OpenSim.Grid.WinService''. With this you can configure each .exe from OpenSim Grid to run as service.
In this release now you can remote control your console via tcp-proxy, so you are able to control your service from another computer.
My major question is : What must I do to get my project listed in GForge ?
thx and greetz
Kai
Kai Apfelbaum
Dipl.-Inform.
e-mail: kai.apfelbaum at state-method.net
www: www.state-method.net
________________________________
[STATE] METHOD GmbH
Alte Bergheimer Str. 9
69115 Heidelberg
fon
mobil
fax
+49 (6221) 6507351
+49 (172) 385 358 3
+49 (0) 12120 219 679
Amtsgericht Heidelberg, HRB 338041
USt-IdNr.: DE241977570
Geschäftsführer : Marc Thom
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090108/74270b76/attachment-0001.html>
More information about the Opensim-dev
mailing list