[Mono-dev] Class loading related problem with mono xsp and ikvm
adar.wesley at gmail.com
Sun Oct 19 03:08:29 EDT 2008
Try naming the configuration file web.config and putting it in the root
directory of your
On Sat, Oct 18, 2008 at 12:52 AM, KyuHwan Kim <kyuhwan at gmail.com> wrote:
> Hi, everyone.
> I am doing some project with mono xsp and ikvm.
> But there is a class loading related problem.
> Here is my situation.
> I have the following dlls
> - dll compiled with IKVMC: JAVA.dll
> - C# dll: CS.dll --> call JAVA api above
> When one of the method in CS.dll which call JAVA.dll's method is
> called from web server, it throws System.NullReferenceException.
> It seems to be class loading related problem.
> And when I built test.exe file which calls the CS.dll's method without
> web server.
> It also had same problem. I resolved the problem with the
> test.exe.config which specify the class loader for IKVM
> The following is the config file.
> <?xml version="1.0" encoding="utf-8" ?>
> <add key="ikvm-classloader:test"
> IKVM.OpenJDK.ClassLibrary, Version=0.36.0.5, Culture=neutral,
> PublicKeyToken=null" />
> But, with web server (mono xsp) I don't know how to give the
> configuration to mono xsp or whatever.
> I expected that simply providing xsp.exe.config with <appSettings>
> above would resolve it. But it doesn't work.
> How to resolve this problem?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list