2011. 8. 12. 23:41

1. web.xml
  </web-app>부분 이전에

     <resource-ref>
    <description>DB Connection Pool </description>
    <res-ref-name>jdbc/techLabsDS </res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>

 이거 추가 -



2. server.xml
<Resource name="jdbc/techLabsDS"
      auth="Container"
      type="javax.sql.DataSource"
      username="swuadmin"
      password="swu2009"
      driverClassName="com.ibm.db2.jcc.DB2Driver"
      url="jdbc:db2://192.168.0.32:50000/swudb"
      maxActive="8"
      maxIdle="4"/ >
Posted by Triany