« Return to Thread: How to configure data source for Jetty server?

How to configure data source for Jetty server?

by Petr Fejfar-2 :: Rate this Message:

Reply to Author | View in Thread

Hi all,

When I've started learning Wicket, I followed configuration described
in the book Enjoy web dev ...

Now I'm trying to migrate my project under Maven's management. I seem
to be almost
finished except data source configuration in the Tomcat's context file:

  <Resource
    name="jdbc/trackerDataSource"
    auth="Container"
    type="javax.sql.DataSource"
    driverClassName="org.postgresql.Driver"
    url="jdbc:postgresql://localhost/tracker"
    username="xxx"
    password="xxx"
    maxActive="20"
    maxIdle="8"
    defaultAutoCommit="false"
    defaultTransactionIsolation="SERIALIZABLE"
    testOnBorrow="true"
    validationQuery="select 1"/>

Please, could somebody show me how to achieve
the same effect in Jetty's configuration?


Thanks, Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: How to configure data source for Jetty server?