I think from Carl's earlier messages he is trying to call Lucene from within
his own class inside his JSR181 service unit. From the classloader
descriptin on the ServiceMix web site, it looks like the service unit
classloader is the lowest one.

If Lucene is loaded and used by ServiceMix in a higher classloader, that's
going to prevent him using it from a SU.

Does that make the problem that Carl's having any clearer?

Phil


On 5/23/07, Carl23 <[EMAIL PROTECTED]> wrote:
>
>
> sorry - my mistake!
>
> dropping the jar into the lib/optional folder made it all work (I hadn't
> restarted the server!)


Cool

does this mean a different (incorrect) version of the lucene jar is being
> picked up earlier?


I don't think so.
Do you know which class references lucene ? Is it your own class, spring ?
Remember that a dependant class must be in the same or higher classloader.
so knowing the class that first use lucene could help.

-- 
View this message in context: 
http://www.nabble.com/Problem-deploying-project-containing-lucene-tf3802951s12049.html#a10872856
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to