Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Convert context.xml resource from Tomcat to Jetty

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>









Back to the top