activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: Connection pooling
Date Thu, 15 Mar 2007 21:56:20 GMT
On 3/15/07, garima015 <garima_indiya@rediffmail.com> wrote:
>
> Hi,
>
> Can anyone give me some idea on how i can implement the activemq connection
> pooling.
> I tried using this code
> PooledConnectionFactory connectionFactory = new
> PooledConnectionFactory(ipAddress);
>
> and then setting up the number of connections.But when i ran it i got this
> error.
> java.lang.NoClassDefFoundError: org/apache/commons/pool/ObjectPoolFactory
>
> I am using activemq 4.0.2 jar
> Can someobne plz help

You need to include the commons-pool 1.2 JAR in your project.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Mime
View raw message