[Mono-bugs] [Bug 75212][Nor] Changed - console application
exporting a class with remoting
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Jun 13 13:18:34 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by fn30762 at fmi.uni-sofia.bg.
http://bugzilla.ximian.com/show_bug.cgi?id=75212
--- shadow/75212 2005-06-13 11:02:46.000000000 -0400
+++ shadow/75212.tmp.22141 2005-06-13 13:18:34.000000000 -0400
@@ -58,6 +58,31 @@
------- Additional Comments From fn30762 at fmi.uni-sofia.bg 2005-06-10 10:47 -------
The attachments are tar.bz2 files.
------- Additional Comments From lluis at ximian.com 2005-06-13 11:02 -------
I don't see anything related to remoting in the attached code. Is this
a remoting issue or a System.Data issue?
+
+------- Additional Comments From fn30762 at fmi.uni-sofia.bg 2005-06-13 13:18 -------
+
+main.cs is executed first. So the program should start, load
+configuration ,display "load configuration" and the path to the
+errorlog file, export the class on port 9989 and go in endless loop
+waiting for remote method call. No database is required here in this
+early phase (the database is required when a method is called after
+the server has started). The actual result is displayed above - "killed".
+
+static void Main(string[] args)
+ {
+ LoadConfiguration();
+
+ //Wait for method invocation Search/Authenticate
+ TcpServerChannel channel = new TcpServerChannel (9989);
+ ChannelServices.RegisterChannel (channel);
+
+ RemotingConfiguration.RegisterWellKnownServiceType(typeof
+(RemoteClass), "RemoteClass", WellKnownObjectMode.Singleton);
+
+ while(true);
+ }
+
+
More information about the mono-bugs
mailing list