[Mono-list] XSP and IKVM error

Miguel de Icaza miguel at ximian.com
Fri Sep 23 17:23:22 EDT 2005


Hello,

> IKVM doesn't support using JNI outside of the default AppDomain. I
> assume XSP is using multiple AppDomains to host different instances of
> your application (like ASP.NET does), so this will cause IKVM run into
> inside multiple AppDomains and this is fine for managed code, but
> unmanaged code cannot be loaded multiple times into the same process, so
> the JNI code gets confused.
> 
> I don't know of any solution or workaround for this problem, but maybe
> XSP has a configuration option to disable using multiple AppDomains?

We currently do not have such an option. 

Can you explain what the limitation is of using IKVM in a separate
domain?  Is this something we can help addressing?

I will ask Gonzalo what to do about running on a single domain, but this
would limit applications to only one in XSP.

miguel.


More information about the Mono-list mailing list