Step to configure Oracle Database server with Apache tom
1) Copy Oracle Jar file ojdbc14.jar (or) ojdbc6.jar till the lib directory to tomcat server
2) Modify the parameters in the server.xml file with your corresponding values the parameters are :
a) Driver class name
b) Type = java.sql. data source
c) url = jdbc :oracle :thin:@hostname:1521:database name
d) username= username and password = password of DB server
e) Define the JNDI name in the application Web.xml file under the parameter resourceā€“reference name and resource type , make sure that the application is referencing to the JNDI name which is defined in application web.xml file

Recent Posts

Start typing and press Enter to search