Fw: [Mono-list] Configuring virtualhost to use vb code
Jorge Bastos
mysql.jorge at decimal.pt
Wed Dec 28 06:32:06 EST 2005
Hi Jochen,
Thanks for the help you've been giving me, i'll wait some words from Rafael or the team then.
Jorge
----- Original Message -----
From: Jochen Wezel - CompuMaster GmbH
To: Jorge Bastos ; A Rafael D Teixeira
Cc:
Sent: Wednesday, December 28, 2005 8:04 AM
Subject: AW: [Mono-list] Configuring virtualhost to use vb code
Hi Jorge,
Rafael and his team are the leading guys in the compiler construction process of MBAS.
Maybe he or the people of his MonoBrazil group have got some words for you.
Thanks
Jochen
--------------------------------------------------------------------------------
Von: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] Im Auftrag von Jorge Bastos
Gesendet: Freitag, 23. Dezember 2005 19:09
An: Mono-list at lists.ximian.com
Betreff: Fw: [Mono-list] Configuring virtualhost to use vb code
Belive me that i'll love to help but i have no idea how can i help!
Jorge Bastos
----- Original Message -----
From: Jochen Wezel - CompuMaster GmbH
To: Jorge Bastos ; Mono-list at lists.ximian.com
Cc: Gonzalo Paniagua Javier
Sent: Friday, December 23, 2005 1:20 PM
Subject: AW: [Mono-list] Configuring virtualhost to use vb code
Hi Jorge,
So, it's not a not a configuration but an MonoBasic compiler problem.
You might solve this issue when you help in development of the MonoBasic (MBAS) compiler.
Please remind: MonoBASIC is still alpha code, no beta, no stable. If you need to execute web applications for production use, my current recommendation is to use C# or Microsoft.Windows.
Regards
Jochen
--------------------------------------------------------------------------------
Von: Jorge Bastos [mailto:mysql.jorge at decimal.pt]
Gesendet: Freitag, 23. Dezember 2005 13:59
An: Jochen Wezel - CompuMaster GmbH; Mono-list at lists.ximian.com
Betreff: Fw: [Mono-list] Configuring virtualhost to use vb code
Yes, using c# is works with the virtualhost configured to use xsp2.
Jorge Bastos
----- Original Message -----
From: Jochen Wezel - CompuMaster GmbH
To: Jorge Bastos
Sent: Friday, December 23, 2005 12:42 PM
Subject: AW: [Mono-list] Configuring virtualhost to use vb code
does it works when you change the language to C# ?
--------------------------------------------------------------------------------
Von: Jorge Bastos [mailto:mysql.jorge at decimal.pt]
Gesendet: Freitag, 23. Dezember 2005 13:41
An: ; gonzalo at ximian.com; Jochen Wezel - CompuMaster GmbH
Betreff: Fw: [Mono-list] Configuring virtualhost to use vb code
Jochen thanks for your reply.
I looked at apache logs and i have this:
Could i be missing something? This /usr/local/lib/mono/1.0/mbas.exe maybe shouldn't be 2.0?
I think my virtualhost setup to use xsp2 is ok, correct me if im wrong.
So.. do you thing there anything else i can do or this is a bug?
I'm sending this reply to Gonzalo directly so that i may help me :)
So many thanks and i hope you can help me.
Jorge Bastos
** (/usr/local/lib/mono/1.0/mbas.exe:7555): WARNING **: The class System.Collections.Generic.IEnumerable`1 could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Stacktrace:
in <0x4> (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
in <0xffffffe4> (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
in <0xc> System.Reflection.Assembly:GetTypes ()
in <0x91> Mono.MonoBASIC.TypeManager:AddAssembly (System.Reflection.Assembly)
in <0xfffffaa2> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_Assembly (System.Reflection.Assembly)
in <0x11a> Mono.GetOptions.Useful.CommonCompilerOptions:LoadAssembly (Mono.GetOptions.Useful.AssemblyAdder,string,int&,bool)
in <0xc7> Mono.GetOptions.Useful.CommonCompilerOptions:LoadReferencedAssemblies (Mono.GetOptions.Useful.AssemblyAdder)
in <0x3f> Mono.Languages.Driver:LoadReferencedAssemblies ()
in <0x128147> (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool ()
in <0xdf> Mono.Languages.Driver:Execute (string[])
in <0x27> Mono.Languages.Driver:Main (string[])
in <0x50b51147> (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[] (object,intptr,intptr,intptr)
Native stacktrace:
/usr/local/bin/mono(mono_handle_native_sigsegv+0x7c) [0x8146eac]
/usr/local/bin/mono [0x81176db]
[0xffffe440]
/usr/local/bin/mono [0x8092494]
/usr/local/bin/mono(mono_type_create_from_typespec_full+0x160) [0x8094f00]
/usr/local/bin/mono [0x80ea371]
/usr/local/bin/mono [0x80ea525]
/usr/local/bin/mono(mono_class_get_full+0x15) [0x80ea665]
/usr/local/bin/mono(mono_metadata_interfaces_from_typedef_full+0x149) [0x8093909]
/usr/local/bin/mono [0x80eac87]
/usr/local/bin/mono [0x80ea4e5]
/usr/local/bin/mono [0x80d813e]
/usr/local/bin/mono [0x80d8456]
[0xb74554db]
[0xb7455495]
[0xb7430aa2]
[0xb74309f9]
[0xb7430453]
[0xb7430168]
[0xb7430050]
[0xb7454ca0]
[0xb757cdb0]
[0xb757c970]
[0xb757c874]
/usr/local/bin/mono(mono_runtime_exec_main+0x80) [0x80cd990]
/usr/local/bin/mono(mono_runtime_run_main+0x12f) [0x80d038f]
/usr/local/bin/mono(mono_main+0xeef) [0x805d5ff]
/lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7d78ed0]
/usr/local/bin/mono [0x805c1b1]
----- Original Message -----
From: Jochen Wezel - CompuMaster GmbH
To: Jorge Bastos ; Mono-list at lists.ximian.com
Cc: Gonzalo Paniagua Javier
Sent: Friday, December 23, 2005 10:58 AM
Subject: AW: [Mono-list] Configuring virtualhost to use vb code
In some strange situation when the compiler breaks, the (temporary) dll doesn't get written.
The 404 File not found exception is misleading in that case, since the ASPX file is there. Better it would be a 500 Compilation error.
--------------------------------------------------------------------------------
Von: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] Im Auftrag von Jorge Bastos
Gesendet: Mittwoch, 21. Dezember 2005 12:16
An: Mono-list at lists.ximian.com
Betreff: [Mono-list] Configuring virtualhost to use vb code
Hi people,
I've been for some weeks trying to use vb style code in a certein virtualhost, so i have in a file "d.aspx" the folowing:
---
<%@ Page Language="vb" %>
<% response.write("hi there its me!") %>
---
in the virtualhost i have:
MonoApplications demo2 "site.com:/:/home/alojamento/site.com"
MonoServerPath demo2 /usr/local/lib/xsp/2.0/mod-mono-server2.exe
<Directory /home/alojamento/site.com/>
MonoSetServerAlias demo2
SetHandler mono
</Directory>
when i go to the browser, http://site.com/d.aspx, i get what i pasted below.
I think it is using the vb compiler from the information from below but, not working and from what i see from the 404 error seams something about path's, i may have something wrong in the configuration, how can help me?
Many thanks,
Jorge Bastos
Server error in '/' application
--------------------------------------------------------------------------------
File not found
Description: Error processing request.
Error Message: HTTP 404. File not found
Stack Trace: System.IO.FileNotFoundException: /tmp/www-data-temp-aspnet-0/342b47eb/50422.dll : /tmp/www-data-temp-aspnet-0/342b47eb/50422.dll
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
in <0x0000c> System.Reflection.Assembly:LoadFrom (System.String assemblyFile)
in <0x00391> Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
in <0x00022> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
in <0x002f5> Microsoft.VisualBasic.VBCodeCompiler:CompileFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea)
in <0x00022> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea)
in <0x0003c> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit e)
in <0x0014e> System.Web.Compilation.CachingCompiler:Compile (System.Web.Compilation.BaseCompiler compiler)
in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType ()
in <0x000fa> System.Web.Compilation.AspGenerator:GetCompiledType ()
in <0x00029> System.Web.UI.PageParser:CompileIntoType ()
in <0x00011> System.Web.UI.TemplateControlParser:GetCompiledInstance ()
in <0x00035> System.Web.UI.PageParser:GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context)
in <0x00010> System.Web.UI.PageHandlerFactory:GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path)
in <0x001e6> System.Web.HttpApplication:GetHandler (System.Web.HttpContext context)
in <0x00b8a> System.Web.HttpApplication+<Pipeline>__1:MoveNext ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051228/fb00ef1f/attachment-0001.html
More information about the Mono-list
mailing list