James,

Yes the problem was my company uses the JDBC 2 version of the Postgres jar.

Using the JDBC 3 version contains the correct classes required and produces
the persistent messages in Postgres.

Thanks to both you and Mark for your help.

Peter


James.Strachan wrote:
> 
> On 9/11/06, petera <[EMAIL PROTECTED]> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Postgres-persistence-in-Tomcat-tf2225497.html#a6249956
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to