• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem connecting tomcat with oracle

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please KeepItDown.
 
Ranch Hand
Posts: 108
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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

 
reply
    Bookmark Topic Watch Topic
  • New Topic