[Mono-list] How to test the XSP server?

Daniel Morgan danmorg@sc.rr.com
Thu, 2 Jan 2003 07:31:44 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C2B231.006A18D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Try reading the mono-list archives...

You will find that entering http://localhost:8080/index.aspx will work.
Also, make sure garbage collection is turned off.  This can be done with:
export GC_DONT_GC=1
  -----Original Message-----
  From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
Behalf Of Eduardo B.
  Sent: Monday, December 30, 2002 3:22 PM
  To: mono-list@ximian.com
  Subject: [Mono-list] How to test the XSP server?


  Hello,

  I'm using Mandrake 8.2.
  I have downloaded and installed the
  four packages (libgc-6.1-1.i586.rpm, libgc-devel-6.1-1.i586.rpm,
  mono-0.17-2.i586.rpm, mono-devel-0.17-2.i586.rpm)

  After, I have downloaded, extracted and installed (make, make install) the
  XSP web server.


  When I run the server with this command:

  [root@cpdeduardo test]# mono server.exe



  I got this error messages:

  ** (server.exe:2664): WARNING **: [Invalid UTF-8] Failed to load library
libkernel32.dll.so (kernel32.dll): libkernel32.dll.so: cannot open shared
object file:
  Arquivo ou diretório não encontrado

  ** (server.exe:2664): WARNING **: [Invalid UTF-8] Failed to load library
libkernel32.dll.so (kernel32.dll): libkernel32.dll.so: cannot open shared
object file:
  Arquivo ou diretório não encontrado
  ** Warning **: cannot find /usr/etc/mono/machine.config
  Trying to load app config file...
  Listening on port: 8080


  and then, when I type this URL in my browser:

  http://localhost:8080

  I got this error page:

  Error
  System.Web.HttpException: String returned by
HttpRuntime.GetResourceStringFromResourceManager
  in <0x00085> 00 System.Web.HttpApplication:InitModules ()
  in <0x00057> 00 System.Web.HttpApplication:Startup
(System.Web.HttpContext,System.Web.HttpApplicationState)
  in <0x00121> 00 System.Web.HttpApplicationFactory:GetPublicInstance
(System.Web.HttpContext)
  in <0x000b0> 00 System.Web.HttpApplicationFactory:GetInstance
(System.Web.HttpContext)
  in <0x0014a> 00 System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)



  Knows Anybody what I need to do
  to things works correctly?

  Thanks!

------=_NextPart_000_000D_01C2B231.006A18D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D914132312-02012003><FONT face=3DArial color=3D#0000ff =
size=3D2>Try=20
reading the mono-list archives... </FONT></SPAN></DIV>
<DIV><SPAN class=3D914132312-02012003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D914132312-02012003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
will find that entering <A=20
href=3D"http://localhost:8080/index.aspx">http://localhost:8080/index.asp=
x</A>=20
will work.&nbsp;&nbsp; Also, make sure garbage collection is turned =
off.&nbsp;=20
This can be done with:</FONT></SPAN></DIV>
<DIV><SPAN class=3D914132312-02012003><FONT face=3DArial color=3D#0000ff =
size=3D2>export=20
GC_DONT_GC=3D1</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
mono-list-admin@ximian.com=20
  [mailto:mono-list-admin@ximian.com]<B>On Behalf Of </B>Eduardo=20
  B.<BR><B>Sent:</B> Monday, December 30, 2002 3:22 PM<BR><B>To:</B>=20
  mono-list@ximian.com<BR><B>Subject:</B> [Mono-list] How to test the =
XSP=20
  server?<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I'm using Mandrake 8.2.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I have downloaded and installed =
the</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>four packages (<A=20
  =
href=3D"http://www.go-mono.com/archive/mandrake-82-i386/libgc-6.1-1.i586.=
rpm">libgc-6.1-1.i586.rpm</A>,=20
  <A=20
  =
href=3D"http://www.go-mono.com/archive/mandrake-82-i386/libgc-devel-6.1-1=
.i586.rpm">libgc-devel-6.1-1.i586.rpm</A>,</FONT></DIV>
  <DIV><A=20
  =
href=3D"http://www.go-mono.com/archive/mandrake-82-i386/mono-0.17-2.i586.=
rpm">mono-0.17-2.i586.rpm</A><FONT=20
  face=3DArial size=3D2>, <A=20
  =
href=3D"http://www.go-mono.com/archive/mandrake-82-i386/mono-devel-0.17-2=
.i586.rpm">mono-devel-0.17-2.i586.rpm</A>)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>After, I have downloaded, =
extracted&nbsp;and=20
  installed (make, make install)&nbsp;the</FONT></DIV>
  <DIV><A href=3D"http://www.go-mono.com/archive/xsp-0.2.tar.gz">XSP web =

  server</A><FONT face=3DArial size=3D2>.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>When I run the server with this=20
  command:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>[root@cpdeduardo test]# mono=20
  server.exe</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I got this error =
messages:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>** (server.exe:2664): WARNING **: =
[Invalid UTF-8]=20
  Failed to load library libkernel32.dll.so (kernel32.dll): =
libkernel32.dll.so:=20
  cannot open shared object file:<BR>Arquivo ou diret=F3rio n=E3o=20
  encontrado</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>** (server.exe:2664): WARNING **: =
[Invalid UTF-8]=20
  Failed to load library libkernel32.dll.so (kernel32.dll): =
libkernel32.dll.so:=20
  cannot open shared object file:<BR>Arquivo ou diret=F3rio n=E3o =
encontrado<BR>**=20
  Warning **: cannot find /usr/etc/mono/machine.config<BR>Trying to load =
app=20
  config file...<BR>Listening on port: 8080</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>and then, when I type this URL in my=20
  browser:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><A=20
  href=3D"http://localhost:8080">http://localhost:8080</A></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I got this error page:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Error<BR>System.Web.HttpException: =
String=20
  returned by HttpRuntime.GetResourceStringFromResourceManager<BR>in=20
  &lt;0x00085&gt; 00 System.Web.HttpApplication:InitModules ()<BR>in=20
  &lt;0x00057&gt; 00 System.Web.HttpApplication:Startup=20
  (System.Web.HttpContext,System.Web.HttpApplicationState)<BR>in =
&lt;0x00121&gt;=20
  00 System.Web.HttpApplicationFactory:GetPublicInstance=20
  (System.Web.HttpContext)<BR>in &lt;0x000b0&gt; 00=20
  System.Web.HttpApplicationFactory:GetInstance =
(System.Web.HttpContext)<BR>in=20
  &lt;0x0014a&gt; 00 System.Web.HttpRuntime:InternalExecuteRequest=20
  (System.Web.HttpWorkerRequest)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Knows Anybody what I need to =
do</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>to things works =
correctly?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>Thanks!</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000D_01C2B231.006A18D0--