Register FAQ Calendar Search Today's Posts Mark Forums Read

Go Back   Java Programming Forums > Java IDEs > Eclipse

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2008, 08:26 PM
Junior Member
 
Join Date: Nov 2008
Posts: 1
kairamr is on a distinguished road
Default Connecting to Oracle from within Eclipse

In my Eclipse 3.4.1 ( with Tomcat 6.0 ) set up, I am having problems connecting to and extracting data from an Oracle (8.1.7) database. I am using "classe12.jar" in Tomcat's lib directory which is also in my CLASSPATH.
Despite using what I consider as the correct Driver template for that classes12.jar file, appropriate context.xml and web.xml files my test jsp file is not able to output any results from the database.
Any of the forum members who worked with Oracle with their Eclipse could help, may be by providing instructions on setting up the driver correctly along with the proper xml files to work with my database ?.
Any help will be very much appreciated. I can send my versions of those files for any one to look at.

Thanks
Raj
Reply With Quote
  #2 (permalink)  
Old 12-11-2008, 10:16 PM
JavaPF's Avatar
Java Programmer
 
Join Date: May 2008
Location: Deep inside the Eclipse IDE
Posts: 172
JavaPF will become famous soon enoughJavaPF will become famous soon enough
Default Re: Connecting to Oracle from within Eclipse

Hello kairamr,

Welcome to the Java Programming Forums.

It would be an advantage to post the code that you are using. This way our members can look it over to try to diagnose any problems.

I personally have never used Java to connect to an Oracle database but I do have experience with Sybase.

Take a look and see if any of these links will help you:

Connect to an Oracle database with JDBC - Real's Java How-to

Oracle JDbc Frequently Asked Questions

Oracle JDBCDatabase SQL JDBCJava
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Custom Search
100 most searched terms
Search Cloud
"bad endpoint type" com.sun.xml.internal.messaging.saaj.soapexceptionimpl com.sun.xml.internal.messaging.saaj.soapexceptionimpl: bad endpoint type com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed com.sun.xml.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception com.sun.xml.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: message send failed convert arraylist to map date_format_now eclipse shortcut keys ejb3 quartz java convert double to binary java forum java forums java jtextarea bold java jtextarea color java jtextarea font java jtextarea font size java programmer forum java programmers forum java programming forum java programming forums java read last line java read last line of file java sendkeys java.security.privilegedactionexception java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: bad response java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: message send failed javapf javaprogrammingforums jtextarea bold jtextarea font jtextarea font color jtextarea font size programing forums programming forums reset jcombobox saaj0008 saaj0008: bad response; bad request saaj0008: bad response; not found severe: saaj0008 severe: saaj0008: bad response; bad request severe: saaj0008: bad response; not found soap java.security.privilegedactionexception soapexceptionimpl: bad endpoint type textpad java

All times are GMT. The time now is 11:30 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.