Thanks Michal. 

I am using SM 3.1. I have tried different combinations. I tried not
including the classpath tag and I have also tried doing something like this
for all the jars

<classpath>
  ...  
 <location>lib/activation-1.1.jar</location>
  <location>lib/aopalliance-1.0.jar</location>
   ...
</classpath>

But, it fails to find classes. 



Michal wrote:
> 
> If you are using the latest SM then you could omit the whole classpath
> definition. 
> I think there was some enhancement recently and following locations are
> considered as default (within SU):
> - .
> - lib/*.jar
> 
> 
> SriB wrote:
>> 
>> Hello!
>> 
>> I have a jsr181 based service unit that exposes a POJO as a web service.
>> I have a whole bunch of dependent JAR files for this POJO. Where do I put
>> them?
>> 
>> The servicemix docs say, I can do this:
>> 
>> <classpath>
>>   <location>lib/foo.jar</location>
>> </classpath>
>> 
>> I tried lib/*.jar for multiple jars, but that did not work. What is the
>> syntax ? 
>> 
>> Any help is appreciated.
>> 
>> Thanks!
>> 
>> Regards,
>> Sri
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jsr181-POJO%27s-dependent-JAR-files-tf4147463s12049.html#a11810049
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to