JDBC connection definition in deployerConfigContext.xml

View: New views
4 Messages — Rating Filter:   Alert me  

JDBC connection definition in deployerConfigContext.xml

by Michael Ströder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI!

Glancing over
http://www.ja-sig.org/wiki/display/CASUM/JDBC
I guess I have to add something to deployerConfigContext.xml describing
the connection parameters for a JDBC connection. Does somebody have a
sample config? I'm still not really used to this Spring and JDBC
stuff...(I'm rather an LDAP guy).

Ciao, Michael.
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: JDBC connection definition in deployerConfigContext.xml

by Michael Ströder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

BTW: I want to use PostgresQL.

Ciao, Michael.

Michael Ströder wrote:
>
> Glancing over
> http://www.ja-sig.org/wiki/display/CASUM/JDBC
> I guess I have to add something to deployerConfigContext.xml describing
> the connection parameters for a JDBC connection. Does somebody have a
> sample config? I'm still not really used to this Spring and JDBC
> stuff...(I'm rather an LDAP guy).
>
> Ciao, Michael.

_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: JDBC connection definition in deployerConfigContext.xml

by scott_battaglia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael,
Here's a sample for the Postgres database using Apache's Common DataSource:
                                                <bean
                                                        class="org.apache.commons.dbcp.BasicDataSource">
                                                        <property
                                                                name="driverClassName"
                                                                value="org.postgresql.Driver" />
                                                        <property
                                                                name="maxActive"
                                                                value="10" />
                                                        <property
                                                                name="password"
                                                                value="{PASSWORD}" />
                                                        <property
                                                                name="url"
                                                                value="jdbc:postgresql://localhost:5433/mydb" />
                                                        <property
                                                                name="username"
                                                                value="{USERNAME}" />
                                                </bean>

The Apache web site should have details on ALL the configuration items (way more than I could iterate in an email.

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia

On Mon, Jun 23, 2008 at 11:41 AM, Michael Ströder <michael@...> wrote:
BTW: I want to use PostgresQL.

Ciao, Michael.

Michael Ströder wrote:
>
> Glancing over
> http://www.ja-sig.org/wiki/display/CASUM/JDBC
> I guess I have to add something to deployerConfigContext.xml describing
> the connection parameters for a JDBC connection. Does somebody have a
> sample config? I'm still not really used to this Spring and JDBC
> stuff...(I'm rather an LDAP guy).
>
> Ciao, Michael.

_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas


_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: JDBC connection definition in deployerConfigContext.xml

by Michael Ströder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Scott Battaglia wrote:
> Here's a sample for the Postgres database using Apache's Common DataSource:

Scott, thanks a lot I'm one step further now.

Ciao, Michael.
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas