<Context docBase="ㅇㅇㅇ" path="ㅇㅇㅇ" reloadable="true" source="org.eclipse.jst.j2ee.server:ㅇㅇㅇ">
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
<Resource name="JNDI이름" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="계정" password="비번" driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@아이피:1521:orcl"/>
</Context>
위의 형태로 server.xml을 수정해준다.
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
<Resource name="JNDI이름" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="계정" password="비번" driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@아이피:1521:orcl"/>
</Context>
위의 형태로 server.xml을 수정해준다.
'development > tomcat' 카테고리의 다른 글
Failed shutdown of Apache Portable Runtime (0) | 2010.04.21 |
---|---|
Extra bytes at the end of class file listenersSessionListener (0) | 2010.04.21 |
톰캣 5 context 설정 (0) | 2010.04.21 |