[jboss-user] [Management, JMX/JBoss] - Re: MBean and JNI access

fastmhaavald do-not-reply at jboss.com
Thu Oct 26 10:15:47 EDT 2006


Hi,

I have the same problem.

A general question: SCOPING.... ?

We have some java code which works as long as calling code is not scoped, but in default package.

If we add classes to a scope package com.myscope; 

We get Unsatisdied link error....



Remove scope and it works stand alone java app.



In the MBean we make sure that code accessing the native is using same class loader as code loading JNI lib...


But unsatisfied link error....

Perhaps removing scope in MBean makes it work???


Any ideas, folks?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981025#3981025

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981025



More information about the jboss-user mailing list