Well, I found this:

http://wiki.apache.org/nutch/WhatsTheProblemWithPluginsAndClass-loading

Arrrgh.  Well, looks like I am going to use JMX to have my plugin talk
to my application.  That way I won't have have several copies of my
"business" jars around.



On 1/31/07, Briggs <[EMAIL PROTECTED]> wrote:
> So, I am having ClassLoader issues with plugins. It seems that the
> PluginRepository does some wierd class loading (PluginClassLoader)
> when it starts up. Does this mean that my plugin will not inherit the
> classpath of my web application that it is loaded within?
>
> A simple example is that my webapp contains spring-2.0.jar. But when I
> try to call a spring class from within my plugin, I get a
> "NoClassDefFound" error.  So....
>
> But the real issue is that I need to have my plugins to have access to
> some business classes that are deployed within my web application.
> How does one go about this in a nice way?
>
> --
> "Concious decisions by concious minds are what make reality real"
>


-- 
"Concious decisions by concious minds are what make reality real"

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to