5.5이전과 작성법이 바뀌었습니다.
참고 : http://developer.spikesource.com/wiki/index.php/Question:Problems_upgrading_to_tomcat_5.5
참고 : http://developer.spikesource.com/wiki/index.php/Question:Problems_upgrading_to_tomcat_5.5
<?xml version="1.0"?>
<Context docBase="yourapp" path="/yourapp">
<Resource name="jdbc/yourapp" scope="Shareable" type="javax.sql.DataSource"
factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
url="jdbc:mysql://localhost:3306/yourapp?autoReconnect=true"
driverClassName="com.mysql.jdbc.Driver"
username="youruser"
password="yourpassword"
maxIdle="5"
maxActive="50"
/>
</Context>
태그 : tomcat




최근 덧글