[Mono-bugs] [Bug 50971][Nor] New - Errors in the remoting class cause appserver to fail

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 4 Feb 2004 20:16:48 -0500 (EST)


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 lluis@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=50971

--- shadow/50971	2004-02-04 20:16:48.000000000 -0500
+++ shadow/50971.tmp.20207	2004-02-04 20:16:48.000000000 -0500
@@ -0,0 +1,109 @@
+Bug#: 50971
+Product: Mono/Class Libraries
+Version: unspecified
+OS: unknown
+OS Details: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: nricciar@owned.nu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Errors in the remoting class cause appserver to fail
+
+Description of Problem:
+The appserver package in the mono cvs repository will compile fine and run
+to some degree except it has a couple errors in the Remoting area. As far
+as i can tell this is purely a remoting issue and other than that this
+application would run fine under the mono system.
+
+
+Steps to reproduce the problem:
+1.  retreive appserver from the mono cvs
+2.  compile (requires nant)
+3.  run AppServerConsole.exe in bin/ of the project
+
+Actual Results:
+[root@dnmnet bin]# mono AppServerConsole.exe
+Starting Mono.AppServer...
+ 
+Mono.AppServer.Core: 1.0.0.0
+Publishing server objects on port 1033
+ 
+Hosting applications in /var/www/html/modules/appserver/bin/applications
+Loading AdminApplication...
+- Log file: /var/www/html/modules/appserver/bin/applications/admin/app.log
+- Log file: /var/www/html/modules/appserver/bin/applications/admin.FTP.app.log
+Created AdminApplication: admin
+Loading RemotingApplication...
+- Log file: /var/www/html/modules/appserver/bin/applications/remoteapp1/app.log
+Created RemotingApplication: Demo Remoting App
+A null value was found where an object instance was required
+in <0x00172> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
+(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&)
+in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x1b) [0x400904bb]
+in (unmanaged) /usr/lib/libmono.so.0 [0x400a0aa9]
+in <0x00044> (wrapper remoting-invoke)
+Mono.AppServer.RemoteLoader:Configure (string)
+in <0x00032> (wrapper remoting-invoke-with-check)
+Mono.AppServer.RemoteLoader:Configure (string)
+in <0x00206> Mono.AppServer.RemotingApplication:Load ()
+in <0x001b1> Mono.AppServer.ApplicationServer:LoadApplication
+(System.IO.DirectoryInfo)
+in <0x00058> (wrapper remoting-invoke-with-check)
+Mono.AppServer.ApplicationServer:LoadApplication (System.IO.DirectoryInfo)
+in <0x00511> Mono.AppServer.ApplicationServer:.ctor (int,string)
+ 
+Loading WebApplication...
+- Log file: /var/www/html/modules/appserver/bin/applications/WebApp/app.log
+Created WebApplication: WebAppSample
+ 
+ApplicationServer Running.  Press enter to exit...
+
+
+Expected Results:
+not sure but im thinking the same without the error.
+
+How often does this happen? 
+every time
+
+Additional Information:
+When you go to http://localhost:8080/ you get another error....
+
+System.Runtime.Remoting.RemotingException: Cannot create channel sink to
+connect to URL tcp://localhost:1033/Mono.AppServer.ApplicationServer. An
+appropriate channel has probably not been registered.
+in <0x00079>
+System.Runtime.Remoting.RemotingServices:GetClientChannelSinkChain
+(string,object,string&)
+in <0x000c9>
+System.Runtime.Remoting.RemotingServices:GetOrCreateClientIdentity
+(System.Runtime.Remoting.ObjRef,System.Type,object&)
+in <0x0001b> System.Runtime.Remoting.RemotingServices:GetRemoteObject
+(System.Runtime.Remoting.ObjRef,System.Type)
+in <0x00047> System.Runtime.Remoting.RemotingServices:Connect
+(System.Type,string)
+in <0x00010> System.Activator:GetObject (System.Type,string)
+in <0x00014> Mono.AppServer.Admin.UI.AppServerHelper:GetApplicationServer ()
+in <0x00035> Mono.AppServer.Admin.UI._default:Page_Load
+(object,System.EventArgs)
+in <0x0005a> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x00090> System.Web.UI.Control:OnLoad (System.EventArgs)
+in <0x00031> System.Web.UI.Control:LoadRecursive ()
+in <0x000bb> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in <0x00191> .ExecuteHandlerState:Execute ()
+in <0x0004e> .StateMachine:ExecuteState
+(System.Web.HttpApplication/IStateHandler,bool&)
+
+------- Additional Comments From gonzalo@ximian.com  2003-12-12 01:18 -------
+I cannot build appserver under windows with MS runtime + nant... :-?
+Anyway, remoting is in corlib...
+
+------- Additional Comments From lluis@ximian.com  2004-02-04 20:16 -------
+Fixed in CVS