Where is the jdbc driver to change it in IAS folders

Hello ...
we are developing an application in Jdevelper 10.1.2. When we test the application in the jdeveloper embedded container, a specific query is not returning the correct information from the database. However, if we deploy the application in an IAS 10g instance in the A server, the specific query in the application works correctly. We deploy the same application in another server and the specific query doesn't work correctly... we belive that the reason of this error is the jdbc driver
The question is: Where is located the oracle jdbc driver in the IAS 10g folders to change the driver.... i try in the jdbc folder from the Home folder but the folders in both servers are equals the applib folder in the instance path are diferent in some jar files but no one of this files are related with jdbc driver

Hi,
I don't want to use JDeveloper.
I want to write a Java program that connects to the database using Jdbc.
The PATH and CLASSPATH are defined for Java 1.4.
Here is the current CLASSPATH:
L:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;
L:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;.
What "import java......." should I code?
Many thanks.

Similar Messages

  • JDBC on ORACLE 10 G 2: Where is the Jdbc driver?

    Hi,
    I have the JDBC tutorial working with Jdeveloper 1.3 (wich uses Java 1.5), but I would like to test a standalone java source against ORACLE 10 (wich uses Java 1.4).
    So far I have found these snippets:
    ******************** Quote 1 ***********************************************************
    // Import the JDBC classes
    import java.sql.*;
    import oracle.jdbc.pool.OracleDataSource;
    // Import the java classes used in applets
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    public class JdbcApplet extends java.applet.Applet
    implements ActionListener
    // The connect string
    static final String connect_string = "jdbc:oracle:thin:hr/hr@//localhost:1521/orcl.oracle.com";
    ****************************** End quote 1 *******************************************
    That does not compile (Java 1.4 is in PATH and CLASSPATH)
    Here is the error message:
    *************************** Quote ****************************************************
    JdbcAplaite.java:22: package oracle.jdbc.pool does not exist
    import oracle.jdbc.pool.OracleDataSource;
    ^
    JdbcAplaite.java:82: cannot resolve symbol
    symbol : class OracleDataSource
    location: class JdbcAplaite
    OracleDataSource ods = new OracleDataSource();
    ******************** End Quote *****************************************************
    This other snippet:
    ***************************** Quote 3 *************************************************
    // You need to import the java.sql package to use JDBC
    import java.sql.*;
    class Selector
    public static void main (String args [])
    throws SQLException
    // Load the Oracle JDBC driver
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    // Connect to the database
    // You must put a database name after the @ sign in the connection URL.
    // You can use either the fully specified SQL*net syntax or a short cut
    // syntax as <host>:<port>:<sid>. The example uses the short cut syntax.
    Connection conn =
    DriverManager.getConnection ("jdbc:oracle:thin:@oracle-prod:1521:8PRD",
                        "USERNAME", "PASSWORD");
    does not work either. Error message:
    ******************************* Quote *********************************************************
    Selector.java:23: package oracle.jdbc.driver does not exist
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    ^
    1 error
    I try to locate the source generated by JDevelopper when using JDBC but I find only XML files.
    But I really need Jdbc Java 1.4 style, since I can't change PATH and CLASSPATH if I want to keep ORACLE 10 running on XP PRO.
    So I'm stuck.
    Many thanks for your help :-)

    Hi,
    I don't want to use JDeveloper.
    I want to write a Java program that connects to the database using Jdbc.
    The PATH and CLASSPATH are defined for Java 1.4.
    Here is the current CLASSPATH:
    L:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;
    L:\oracle\product\10.2.0\db_1\jlib\orai18n.jar;.
    What "import java......." should I code?
    Many thanks.

  • How to omit parameter values from exceptions thrown by the JDBC driver

    Is there a way to get the Oracle JDBC driver to omit the parameter values from the message when it throws an exception?
    We have an application that persists credit cards and when an exception is thrown by the driver, it's including the credit card number in the error message, which ultimately gets logged by the application. There are too many layers and locations, including OpenJPA, Spring, and our own application, where we'd have to massage the error data to remove that card number.
    For example, we get the following exception:
    Caused by: org.apache.renamed.openjpa.lib.jdbc.ReportingSQLException: ORA-20104: Permission denied
    ORA-06512: at "PROTEGRITY.PTY", line 57
    ORA-06512: at "PROTEGRITY.PTY", line 383
    ORA-06512: at "SUBSDSYS.TORDERPAYMENT_UPD", line 16
    ORA-04088: error during execution of trigger 'SUBSDSYS.TORDERPAYMENT_UPD'
    {prepstmnt 6603044
    UPDATE PAYMENT
         SET CARD_HOLDER_NAME = ?, CARD_TYPE = ?, EXPIRY_MONTH = ?, EXPIRY_YEAR = ?, GATEWAY = ?
         WHERE UIDPK = ?
    [params=(String) Test Test, (String) VISA, (String) 03, (String) 2012, (String) CREDITCARD, (long) 106901]} [code=20104, state=72000]
    at org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
    at org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(LoggingConnectionDecorator.java:57)
    The actual content of the message appears to come from the JDBC driver, not OpenJPA.
    This particular example doesn't show the card number, but only exposed that possibility as a risk.
    BTW: before you ask, for PCI compliance we're using a database layer service to encrypt the card numbers before they're stored in the table.
    Thanks much.

    [email protected] wrote:
    The actual content of the message appears to come from the JDBC driver, not OpenJPA.Wrong. This is a dump of parameters used to execute a query - and it comes from some upper layer, not the JDBC driver.
    I would start looking at the source code starting here:
    org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)

  • When I attempt to open iphoto, I get the loading icon in the working space/picture area.  If I try to reinstall ilife '11, will I lose any pictures?  Where, on the hard drive, are all my pictures actually stored?

    When I attempt to open iphoto, I get the loading icon in the working space/picture area.  If I try to reinstall ilife '11, will I lose any pictures?  Where, on the hard drive, are all my pictures actually stored?

    You won't lose anything because you have a back up, right?
    Most Simple Back Up
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex:
    Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically. Examples of such apps: Chronosync or DejaVu . But are many others. Search on MacUpdate
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Upgrade MS SQL 2005 platform to MS SQL 2008 - Update the JDBC driver issue

    Hello to all,
    I´m planning to do an upgrade of a sap system (SAP ECC 6.0) from SQL Server 2005 to an SQL Server 2008 but I´m facing with a little problem. This system has two stacks - ABAP + JAVA - and because of that the Upgrade Guide to MS SQL Server 2008 describe which are the requirements for this upgrade DB platform, and one of them is this:
    "If you use a Java system, you have updated the JDBC driver as described in SAP Note 639702"
    ... the updated of JDBC driver when we have in system a Java part, like it has in this case! But I´m with a serious problems to find in SAP System Files in Windows 2003 Server the four files that is mentioned in that note 639702. I can´t find it anywhere... in note says:
    Depending on the SAP release and the system configuration, the driver files base.jar, util.jar, sqlserver.jar, and spy.jar are available in an installed system at:
    (NetWeaver'04, Java:) usrsap<SAP SID>JC<InstanceNumber>j2eejdbc
    (NetWeaver'04, ABAP+Java:) usrsap<SAP SID>DVEBMGS<InstanceNumber>j2eejdbc
    (NetWeaver 2004s:) usrsap<SAPSID>SYSexe<NUC|UC>Platformmssjdbc
    But... still I didn´t find them!  I also read other note 1109274 - New JDBC driver for NetWeaver 7.0 and higher but even so I still can´t find it! 
    Can you help me to find this files on my operation system? I have to update that JDBC... but of course for this task I have to find it first!!!
    Best regards,
    João Dimas - Portugal

    Hello John Feely,
    Yeah I already know that you mentioned! In my first post/previous message I mentioned that, I already read the note 639702 and it was there I read that explanation... regarding that creation that you refer in the case of files are not in those directories, so you said that I could download this four files and put in there... but where? and how..? Sorry but that solution seems does not make any sense!
    I also look other systems with double stack ABAP + JAVA and I one more time I didn´t see that directories or files that are mentioned in that note!! DAMN!
    Any tip?
    Kind regards,
    João Dimas - Portugal

  • Where is the JDBC for ORACLE8.05?

    where is the JDBC for ORACLE8.05?

    As stated in the FAQ: http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#02_02
    you can use the Driver 9.0.1 that is available here:
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/index.html

  • JDBC adapter can't find the jdbc driver class

    Hello, my jdbc driver give an very strange error
    11:46:13 (4207): JDBC adapter terminated
    Mon Aug 02 11:46:13 CEST 2004 *****
    11:46:13 (4210): ERROR: Attempt to load JDBC driver failed ("java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver")
    Attempt to intialize JDBC adapter failed
    11:46:13 (4203): Unable to start JDBC adapter (not initialized)
    I know that the jdbc driver is in the classpath, and to confirm that I have created a java program in the IB (repository) which import the class oracle.jdbc.driver.OracleDriver. I can compile and run that program without problems.
    Here you can see my jdbc adapter configuration file:
    jdbc adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleDB2XMB
    mode=DB2XMB
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://<host>:<port>/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=ExtAdapterSender
    XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    XMB.SenderInterfaceName=ExtAdapterSenderIF
    XMB.QualityOfService=EO
    ##DB Adapter specific parameters (example for SQL-Server, see docu)
    db.jdbcDriver=oracle.jdbc.driver.OracleDriver
    db.connectionURL=jdbc:oracle:<user>:<password>/hello@<url>:<port>:<instance>
    db.processDBSQLStatement=Select * emp
    db.pollInterval=600
    xml.recordsetsPerMessage=1

    Hi Ernesto,
    Can you try to the following:
    1. Remove your JDBC driver entries from the CLASSPATH.
    2. Put those jars into your jre/lib/ext directory.
    3. Restart the whole adapter engine, and
    4. Config the driver java class for the adapter. the class name to be used can be found in your JDBC driver document.
    Let me know whether it works.
    Hart

  • New iMac, where's the DVD drive/slot?

    just brought unwrapped a brand new iMac ... where's the DVD drive/slot?  i am a video editor how can i make hard copy of work or watch a DVD of client's work if there's no slot for DVD?????????

    There's none included in the hardware, but you can purchase Apple's external one here: http://store.apple.com/us/product/MD564ZM/A/apple-usb-superdrive

  • How can I find the JDBC Driver version

    Hi,
    How can I find the JDBC Driver version installed on my Sun Solaris machine which
    has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
    do so or does Weblogic console say something about it
    Thanks
    Parikshit Khanna

    Parikshit Khanna wrote:
    Hi,
    How can I find the JDBC Driver version installed on my Sun Solaris machine which
    has Weblogic Server 7.0 installed on it. Is there some kind of tool/command to
    do so or does Weblogic console say something about it
    Thanks
    Parikshit KhannaThere is a jdbc DatabaseMetaData call getDriverVersion().
    The best thing to do is to download Oracle's latest appropriate
    driver from their site, and edit the start-weblogic script to
    make sure the downloaded driver is ahead of any weblogic stuff in
    the server's classpath. We do ship a driver, but Oracle usually
    has a newer better one very soon after that...
    Joe

  • Mac Book Pro Retina with Mt Lion.  Where is the Hard Drive?

    Mac Book Pro Retina with Mt Lion.  Where is the Hard Drive?

    Technically there is no "hard drive" in the Retina MacBook Pro, as all models come with "flash" storage which isnt a "hard disk drive." So if you are wondering why you are not hearing classic hard drive chatter and spin-up sounds then this is the reason.
    Other than that, logically the devices are treated the same, so as Kappy mentions you just have to enable it on your desktop or go to your computer name in the Finder sidebar under "Devices" or otherwise go to the top level of the system's folder structure to reveal any mounted volumes, including the internal drive.

  • How do I install the jdbc driver for sql server 2005, in sql developer 4.0 ?

    Hallo together
    I need access to tables in a MS SQL Server 2005 database.
    One possibility is the JDBC driver.
    How do i install this driver ?
    Thank you very much for your postings.

    Hi,
      This is from the documentation -
    Database: Third Party JDBC Drivers
    The Third Party JDBC Drivers pane specifies drivers to be used for connections to third-party (non-Oracle) databases, such as IBM DB2, MySQL, Microsoft SQL Server, or Sybase Adaptive Server. (You do not need to add a driver for connections to Microsoft Access databases.) To add a driver, click Add Entry and select the path for the driver:
    For Microsoft SQL Server or Sybase Adaptive Server: jtds-1.2.jar, which is included in the jtds-1.2-dist.zip download
    To find a specific third-party JDBC driver, see the appropriate website (for example, http://www.mysql.com for the MySQL Connector/J JDBC driver for MySQL, http://jtds.sourceforge.net/ for the jTDS driver for Microsoft SQL Server and Sybase Adaptive Server, or search at http://www.teradata.com/ for the JDBC driver for Teradata). For MySQL, use the MySQL 5.0 driver, not 5.1 or later, with SQL Developer release 1.5.
    You must specify a third-party JDBC driver or install a driver using the Check for Updates feature before you can create a database connection to a third-party database of that associated type. (See the tabs for creating connections to third-party databases in the Create/Edit/Select Database Connection dialog box.)
    Alternative:
    As an alternative to using this preference, you can click Help, then Check for Updates to install the JTDS JDBC Driver for Microsoft SQL Server and the MySQL JDBE Driver as extensions.
    Regards,
    Mike

  • Upgrade MS SQL 2005 platform to MS SQL 2008 - Update the JDBC driver...

    Hello to all,
    This is the second post that I created reporting this error because in the first one I open this message in group of "SAP on SQL Server" but without any kind of help from community:
    My problem is...
    I´m planning to do an upgrade of a sap system (SAP ECC 6.0) from SQL Server 2005 to a SQL Server 2008 but I´m facing with a little problem. This system has two stacks - ABAP + JAVA - and because of that the Upgrade Guide to MS SQL Server 2008 describe which are the requirements for this upgrade DB platform, and one of them is this:
    "If you use a Java system, you have updated the JDBC driver as described in SAP Note 639702"
    ... the updated of JDBC driver when we have in system a Java part, like it has in this case! But I´m with a serious problems to find in SAP System Files in Windows 2003 Server the four files that is mentioned in that note 639702. I can´t find it anywhere... in note says:
    Depending on the SAP release and the system configuration, the driver files base.jar, util.jar, sqlserver.jar, and spy.jar are available in an installed system at:
    (NetWeaver'04, Java:) usrsap<SAP SID>JC<InstanceNumber>j2eejdbc
    (NetWeaver'04, ABAP+Java:) usrsap<SAP SID>DVEBMGS<InstanceNumber>j2eejdbc
    (NetWeaver 2004s:) usrsap<SAPSID>SYSexe<NUC|UC>Platformmssjdbc
    But... still I didn´t find them! I also read other note 1109274 - New JDBC driver for NetWeaver 7.0 and higher but even so I still can´t find it!
    Can you help me to find this files on my operation system? I have to update that JDBC... but of course for this task I have to find it first!!!
    Best regards,
    João Dimas - Portugal

    Hi,
    Have you considered the possibility that the directory that was supposed to contain the jdbc drivers has been replaced by a recent kernel upgrade and you never noticed?
    Anyway, looking forward, put in a new set of JDBC drivers in the correct location.
    Also, with reference to the following point from the first note:
    Check your JDBC Driver version before you download it. To do this, unpack the attached check tool SAPCheckVersion in the relevant JDBC directory (refer to the previous paragraph). Then open a command prompt there and execute the following command:
    SAPCheckVersion.cmd <server name> <username> <password>
    Replace <server name> with the name of the database server, <username> and <password> with the logon data of an SQL user (for example, sa or SAP<SID>DB). If you call SAPCheckVersion.cmd without a parameter, the system displays detailed help. The tool supports both DataDirect and Microsoft drivers.
    *The download name tells you which version of the driver you need to download from SAP Service Marketplace.*
    Run this SAPCheckVersion and find out which drivers you need to download and then download them and use them.
    Regards,
    Shitij

  • Where is the hard drive on hp mini 1000

    where is the hard drive on hp mini 1000

    Hi,
    You machine can have 1 of these:
      8-GB solid-state drive 
    16-GB solid-state drive 
    60-GB, 4200-rpm hard drive
    and they are tricky ones in a tricky place. You can find them using the following book (pp 42 & 43 under Mass Storage Devices):
      h10032.www1.hp.com/ctg/Manual/c01631228.pdf
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • About the JDBC driver for Oracle805

    Hello everyone,
    I'm using the thin driver to config the JDBC Connection Pool in Weblogic 7.0,
    and the
    Oracle is 8.0.4. I can config it but it worked well just at the first time. I
    get the
    Connection from the WLS connection pool as the EJB does. Now both my JDBC code
    and the EJB
    can not access the database. I doubt if the JDBC driver is the correct version.
    regards

    For the record, Oracle 8.0.4 is no longer supported. The earliest version supported is now 8.1.7.
    Not that this is the problem that you are seeing.
    Can you use dbping to test if you can connect to the database?
    "Jason Feng" <[email protected]> wrote in message news:3ebf8f2c$[email protected]..
    >
    Hello everyone,
    I'm using the thin driver to config the JDBC Connection Pool in Weblogic 7.0,
    and the
    Oracle is 8.0.4. I can config it but it worked well just at the first time. I
    get the
    Connection from the WLS connection pool as the EJB does. Now both my JDBC code
    and the EJB
    can not access the database. I doubt if the JDBC driver is the correct version.
    regards

  • Load the JDBC driver

    hi every one,
    Iam trying to make a connection to Oracle9i using java, i know that first i have to load the JDBC driver and then establish a connection to the database but if faced 2 problems
    1- I don't know the name of the jdbc driver. if any body can show me how can i know it.
    2- when connecting to the database i have to provide the server name and the port number unfortunatly i don't know both.
    so if any one can help to find them.
    Thanks alot

    hi every one,
    Iam trying to make a connection to Oracle9i using
    java, i know that first i have to load the JDBC
    driver and then establish a connection to the
    database but if faced 2 problems
    1- I don't know the name of the jdbc driver. if any
    body can show me how can i know it.
    It depends on what driver you are using. Look it up and search the Oracle site. Or look through the gazillion examples in the JDBC forum.
    2- when connecting to the database i have to provide
    the server name and the port number unfortunatly i
    don't know both.
    Talk to your DBA. There is no way we could or should be able to help you on this one.

Maybe you are looking for

  • All hyperlinks are not working when published

    All of the links work on iweb 09; however, when published some of the links are not working. To get an idea of what I mean you can go to the site, thinkwhatif.org and see it. Would someone be able to provide an answer how to solve it? I have unlinked

  • IPhoto 5 has better quality that iPhoto 6 when emailing photos?

    How can I set up iPhoto 6 to use the same image quality as iPhoto 5 when emailing photos? I have two iMacs, side by side, one is G5 with iPhoto 5, and another is Intel with iPhoto 6. When I use iPhoto 5 to email a photo, medium quality 640x480, it lo

  • Extension: Distribution error.

    Hello, I finished my Extension and now I want to make it ready for distribution. I did what I got told to do here: http://www.oracle.com/technetwork/developer-tools/jdev/extension-094911.html When I want to import that ZIP-File via "Check for Updates

  • Checks in SM30 - problem

    Hi ALL, hope all are doing fine!!! am entering records in the database table through table maintenance in sm30,,,,,before that am checking the entries entered in sm30 are valid or not. for that am using the event 01 before_save ....so that entries wi

  • CS4 crashes when setting rulers

    I have tried several times to show rulers and PSCS4 crashes every time. I get a glimpse of the upper left corner of the rulers then it crashes. Any ideas how to fix this? Re install?