aspose file tools*
The moose likes JDBC and the fly likes problem connecting tomcat with oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem connecting tomcat with oracle" Watch "problem connecting tomcat with oracle" New topic
Author

problem connecting tomcat with oracle

suzanne d'souza
Greenhorn

Joined: Feb 15, 2013
Posts: 4
Hey guys,

i would really appreciate some help on this..

i installed ubuntu server in remote n then tomcat6..i deployed my war using tomcat manager..

n placed classes12.jar n ojdbc14.jar in

/var/lib/tomcat6/common/classes

and created an xml file called age_rep.xml (age_rep is my appl folder name).my Age_rep.xml looks like this :






i then modified web.xml file in

/var/lib/tomcat6/webapps/age_rep/WEB-INF (age_rep is my appl folder).web.xml looks like




and then i have included the below line in my code



but still its not getting corrected..
I followed the same procedure(except placed the jar files in tomcats/lib) in windows and that works fine..please help


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
Please KeepItDown.


Ping & DNS - updated with new look and Ping home screen widget
T Mishra
Ranch Hand

Joined: Apr 04, 2006
Posts: 107


n placed classes12.jar n ojdbc14.jar in
/var/lib/tomcat6/common/classes

place it in $CATALINA_HOME/lib and try. Also, please compare it with an example oracle configuration at Apache tomcat


Thanks,
Tushar (SCJP 1.5)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem connecting tomcat with oracle
 
Similar Threads
Add a DataSource to an installed APP
Juddi DB connection problem
Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.
struts 1.3 Data base connection pool
'jdbc' in JNDI name causes problem on Tomcat 6