http://wiki.eclipse.org/Jetty/Howto/Configure_JNDI_Datasource

On Fri, Feb 25, 2011 at 10:03 PM, Heizer, Charles <[email protected]> wrote:
> Hello,
> I would like to know how to convert this Tomcat context.xml file to Jetty
> 7? I have been searching but have not found anything.
>
> Thanks,
> Charles
>
>
> context.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <Context>
>  <Resource
>  auth="Container"
>  description="DB Connection"
>  name="jdbc/nickyb"
>  type="javax.sql.DataSource"
>  driverClassName="com.mysql.jdbc.Driver"
>  url="jdbc:mysql://localhost:3306/myAppDB?autoReconnect=true"
>  username="roUsr"
>  password="roUsr"
>  maxIdle="2"
>  maxWait="5000"
>  maxActive="4"/>
> </Context>

-- 
Filipe Sousa
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to