name jndi is not bound in this context

    xiaoxiao2021-03-25  219

    在tomcat下的server.xml中配置

    <Context path="/UIServer" docBase="C:\xingmu\ftdl\webroot" debug="0" reloadable="false" crossContext="true"> <Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver" initialSize="2" maxActive="5" maxIdle="5" maxWait="10000" minIdle="3" name="wf" username="ft20170223" password="1" type="javax.sql.DataSource" url="jdbc:oracle:thin:@172.17.103.7:1522/ORCL11" /> </Context> path为项目名称

    docBase为项目路劲

    driverClassName驱动

    转载请注明原文地址: https://ju.6miu.com/read-2114.html

    最新回复(0)