activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Postgres persistence in Tomcat
Date Mon, 11 Sep 2006 14:16:38 GMT
On 9/11/06, petera <peter.anderson@egsgroup.com> wrote:
>
> James,
>
> Now loaded the bean-spring jar file I am getting further ut now receiving
> error message:
>
> >Could not connect to broker URL:
> vm://localhost?brokerConfig=xbean:activemq.xml. Reason:
> org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registering bean with >name 'postgres-ds' defined in class path resource
> [activemq.xml]: Bean class [org.postgresql.ds.PGPoolingDataSource] not
> found; nested exception is java.lang.ClassNotFoundException:
> >org.postgresql.ds.PGPoolingDataSource
>
> I have the Postgres 8.1.4 jdbc jar loaded in commons/lib

The answer is that last bit of log...

exception is java.lang.ClassNotFoundException:
>org.postgresql.ds.PGPoolingDataSource

So you need to find a jar with that class and add it to your classpath
-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message