Adding these jars in the lib/optional should be easily done by changing the
apache-servicemix/src/assembly/bin.xml config file, and maybe the
apache-servicemix/pom.xml to add these dependencies.

On 8/15/06, Klaus Alfert <[EMAIL PROTECTED]> wrote:


My parallel experiment supports your statement - it is not enough to add
it
to the service unit.

So, the proper way is to extend the pom of the components you mention in
the
issue? I'll give it a try if it is ok with you.

Klaus.


gnodet wrote:
>
> On 8/15/06, Klaus Alfert <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thanks for your quick answer.
>>
>> It works, after I added also commons-collection: there was a dependency
>> to
>> CursorableLinkedList.
>>
>> Could this issue resolved by adding the two libraries to the service
>> unit?
>> In that case I could work out a patch for the pom of the loan broaker
>> example.
>
>
> This is not so easy.
> activemq is in the container classloader and commons-pool /
> commons-collection
> are loaded from this classloader.
> The only way is to add them to the container classloader or to change
> classloader
> delegation and add activemq, commons-pool and commons-collection to the
SU
> classloader.
>
>
> Klaus.
>>
>>
>>
>> gnodet wrote:
>> >
>> > This is a know problem, see
>> > http://issues.apache.org/activemq/browse/SM-520
>> > As a workaround, just put the commons-pool in the ./lib/optional
folder
>> of
>> > ServiceMix.
>> >
>> > On 8/15/06, Klaus Alfert <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I had yesterday some deployment problems with a simple JMS service
>> >> assembly,
>> >> where the jms connection factory was not found. Since my assembly
uses
>> >> JMS
>> >> with lw-container, I took a deeper look into the loan broaker
>> examples.
>> >> But
>> >> the loan broaker example failed with a similar error.
>> >>
>> >> What I have done is:
>> >> - svn update of servicemix
>> >> - build servicemix with mvn,
>> >> - unpack the apache-servicemix-3.0-incubating-SNAPSHOT.tar.gz from
>> >> trunk/apache-service/target
>> >> - run bin/servicemix
>> >> - build the loan broaker example with mvn as described in the README
>> >>
>> >> My environemnt is: SuSE Linux 10.1 with jdk 1.5.0_06-b05.
>> >>
>> >> Please find below the output from maven.
>> >>
>> >> Cheers, Klaus.
>> >> [CUT CUT CUT]
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> >
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/loan-broaker-example-fails-tf2108018.html#a5811290
>> Sent from the ServiceMix - Dev forum at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>

--
View this message in context:
http://www.nabble.com/loan-broaker-example-fails-tf2108018.html#a5811443
Sent from the ServiceMix - Dev forum at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to