services management postgres config

Scott Battaglia scott.battaglia at gmail.com
Sat Mar 1 12:46:44 EST 2008


Robert, I've neer used Postgres' DataSource.  I generally use one such as
Apache Commons DataSource Pool, which I've never seen a problem with.

Postgres in general is a supported database of Hibernate so there shouldn't
be a problem there.

-Scott

On Fri, Feb 29, 2008 at 6:02 PM, Robert Lewis <r.lewis at tamu.edu> wrote:

> Hi,
>
> I am using http://www.ja-sig.org/wiki/display/CASUM/Configuring
>
> and trying to setup services management with postgres. What I am getting
> is an exception during deployment, log entries like the following.
>
> ...
> BeanCreationException: Error creating bean with name
> 'entityManagerFactory'
> ...
> Invocation of init method failed; nested exception is
> java.lang.StackOverflowError
>
> My bean looks like the following.
>
>        <bean
>                id="dataSource"
>                class="org.postgresql.jdbc2.optional.SimpleDataSource"
>                p:serverName="testserver.tamu.edu"
>                p:databaseName="testdb"
>                p:password="thisisnotit"
>                p:user="nothisisnotit" />
>
>
> Has anyone used postgres for this and can point me in the right direction?
>
> Thanks,
>
> Robert Lewis
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080301/c17aa7d9/attachment.html 


More information about the cas mailing list