web.xml已经写了
<resource-ref>
    <description>sybase db</description>
    <res-ref-name>jdbc/Sybase230</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
  </resource-ref>

解决方案 »

  1.   

    web.xml里写过了
    <resource-ref>
        <description>sybase db</description>
        <res-ref-name>jdbc/Sybase230</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      

  2.   

    <Context ....        <ResourceLink global="jdbc/myoracle"    name="jdbc/myoracle"type="javax.sql.DataSource"/>
    ...</context>
    在你要用到连接池的项目中,其中"jdbc/myoracle"是你的全局资源名称
      

  3.   

    但是tomcat5里面没有Context咋办