Is it the OS or the JVM or the JDBC Driver

Hello All,
I have about 25 different databases I want hit with the application depending on who the user is. I am using DriverManager.getConnection or Datasource.getConnection to obtain connection to the database.
It is not connection pool so all the connections and datasources are configured with in the application.
The problem I am facing is I cannot connect to some of the Databases at certain time and is always random, and If I try to run it as a stand alone Java application, I can connect to the data base fine.
So after doing much research and calling IBM, in order to recreate the problem, I tried to run a simple java program in a loop , see if I can connect all of them on work station. There also I ran into the same issue. Connecting to database was really random. After looking at the JDBC debug output and every thing, I found an intersting issue.
When the JDBC connects to the database on my workstation, i don't see the netstat activity to that database. If I just run the program for that one database, I can connect oaky.
I tried everything, allowing TCP to have more ports, connection time outs, I also used the IP's instead of host names to avoid nslookup issues. Synchronizing the method that connects to database, nothing seem to improve my chances
Is it JVM related or Operating system or the JDBC, I couldn't tell. I tried using lot of Memory just to make sure it is not GC or resource issue, without any chance
Anyone with input is much appreciated.
I appreciate your help in advance.

All the Databases are of type Informix.
Probably I picked wrong words when I said stand alone. I am actually using in servlet where I am facing the problem. To be precise when I tried to recreate the problem , all I did is I created a java program which connects to all the database one at a time in a loop and does a simple query and exists out, and closes everything.
I have another program which just runs for only one database.
So If I take the database which fails in the loop and run it on the other one it just connects fine and everything.
About the connection issue all I have is just one connection per database, after I am done, I just close it and the connection to database is attempted.
Following is the program which runs through all the databases, I have changed few things to post it on the forum.
public class InformixAll {
     volatile static IfxDataSource ds;
     public static void main(String[] args) {
          String[] dbArray =
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
                    "1.1.1.1",
          try {
               ds = new IfxDataSource();
          } catch (SQLException e1) {
               e1.printStackTrace();
          for (int i = 0; i < dbArray.length; i++) {               
               doIt(dbArray, i);
     public synchronized static void doIt(String dbArray, int i) {
                              String ip = null;
               try {
                         Process p = Runtime.getRuntime().exec("nslookup " + dbArray);
                         BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));
                         String k = null;
                         while ((k = reader.readLine()) != null) {
                              if(k.indexOf(dbArray) > 1)
                              {k = reader.readLine();
                                   System.out.println(k);
                                   ip =k.trim();
                    } catch (Exception e) {
                         e.printStackTrace();
               try {
                    ds.setDatabaseName("SOME DB");
                    ds.setServerName("DEMO");
                    ds.setPortNumber(100);
                    ds.setUser("USER");
                    ds.setPassword("PASS");
                    ds.setIfxIFXHOST(ip);
                    ds.setIfxIFX_ISOLATION_LEVEL("1");
                    ds.setIfxINFORMIXCONRETRY(50);
                    ds.setIfxINFORMIXCONTIME(3);
                    ds.setIfxTRACE(3);
                    ds.setIfxTRACEFILE("c:\\temp\\isptrace.txt");
                    ds.setIfxPROTOCOLTRACE(2);
                    ds.setIfxPROTOCOLTRACEFILE("c:\\temp\\prot.txt");
                    ds.setIfxIFX_AUTOFREE(true);
                    ds.setIfxOPTOFC("1");
                    ds.setIfxIFX_ISOLATION_LEVEL("1");
                    Connection c = ds.getConnection();
                    PreparedStatement st = c.prepareStatement(" SELECT * FROM TABLE ");
                    ResultSet rs = st.executeQuery();
                    System.out.print(i + "." + " Number " + dbArray + " = ");
                    if (rs.next()) {
                         System.out.print(" OKAY ");
                    } else {
                         System.out.print(" OKAY ");
                    System.out.println();
                    rs.close();
                    st.close();
                    c.close();
               } catch (SQLException e) {
                    System.out.println("Could not Connect to " + dbArray);

Similar Messages

  • 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)

  • 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

  • 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

  • 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

  • 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.

  • 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

  • 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

  • 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.

  • DB2 and WebSphere: having trouble running the JDBC driver script

    I'm investigating WebSphere Studio Application Developer (WSAD) and want to go through one of their tutorials. They require DB2 7.1, so I installed that. There is a script in the DB2 7.1 distribution that enables the JDBC driver within WSAD. Howver, the script won't run because it says I don't have the correct permissions.
    I'm running all this on Win2K, and my userid has administrator privileges, and I installed both WSAD and DB2 under that userid.
    So, has anybody got WSAD and DB2 to work together? If so, how?
    Thanks much in advance.
    Jane Sokolow
    S1Studio tech writer

    You are suppose to run one of these two batch files:
    C:\Program Files\SQLLIB\java12\usejdbc1.bat
    C:\Program Files\SQLLIB\java12\usejdbc2.bat
    I assume that you need the second one. If you take a look inside of this batch file you'll that it is only simple copy/remove files. You should be able to do those operations with your userid. Perhaps, it is a good ideea to stop either DB2 and WSAD before running this batch file (is trying to remove two files one .dll and another .exe which could be in use ...).

  • The repository URL MASTER IS NOT COMPATIBLE WITH THE JDBC DRIVER

    Hello,
    I have windows 7 (64 bits), java 7 , OracleXE112_Win32 , ofm_rcu_win_11.1.1.7.0_64_disk1_1of1 ,ofm_odi_win_11.1.1.7.0_32_disk1_1of2
    On  install ODI (c:\tmp\DISK1\install\setup.exe)     show message above
    Starting Oracle Universal Installer ...
    Checking if CPU speed is above 300 MHz. Real Pa 1862 MHz
    ssado
    Checking swap space: 0 MB available, 512 MB required. Failed <<<<
    Checking monitor: must be configured to display at least 256 colors Super
    ior to 256. Past real 4294967296
    Some checks have failed requirements. You should fill them requirement
    s before
    continue with the installation,
      Continue? (y / n) [n] y
    Ignoring >>> necessary prerequisites failures. Continuing ...
      Preparing to launch Oracle Universal Installer from C: \ Users \ REGINA APPDA ~ 1 \
    ta \ Local \ Temp \ OraInstall2013-11-25_07-04-36AM. Wait ...
    typed Y and follow
    typed Y
    I chose "Ignore Repository Setup" option
    and installed without errors.
    Now I click the Oracle Data Integrator and the screen appears asking to connect to the repository and fill in the requested data:
    Connection with Oracle Data Integrator
    Name to Log-in: Paul
    User: Supervisor
    Password: supervisor
    Connecting to Database (Master repository)
    User: system
    Password: password
    List of Driver: Oracle JDBC driver
    Driver Name: oracle.jdbc.OracleDriver
    URL: localhost: 1521: xe
    Working repository
    Only Master Repository it is option
    clicking the Test button shows me the message:
    oracle.odi.core.config.MasterRepositoryUrlNotValidForDriverException: ODI-10178: O URL jdbc "localhost:1521:XE" não foi aceito pela classe de driver jdbc "oracle.jdbc.OracleDriver" fornecida no MasterRepositoryDbInfo.
        at oracle.odi.core.OdiInstance.createDataSourceDefinition(OdiInstance.java:351)
        at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:633)
        at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:609)
        at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:548)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:764)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$4(SnpsDialogLoginDetail.java:752)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$2.performAction(SnpsDialogLoginDetail.java:297)
        at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2040)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2490)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:628)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:642)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:179)
        at java.awt.Dialog$1.run(Dialog.java:1049)
        at java.awt.Dialog$3.run(Dialog.java:1097)
        at java.awt.Dialog.show(Dialog.java:1094)
        at java.awt.Component.show(Component.java:1591)
        at java.awt.Component.setVisible(Component.java:1544)
        at java.awt.Window.setVisible(Window.java:844)
        at java.awt.Dialog.setVisible(Dialog.java:985)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:397)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
        at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
        at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
        at oracle.odi.ui.LoginFactory.createNewLogin(LoginFactory.java:259)
        at com.sunopsis.graphical.dialog.SnpsDialogLogin$4.performAction(SnpsDialogLogin.java:213)
        at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2040)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2490)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:628)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:642)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:179)
        at java.awt.Dialog$1.run(Dialog.java:1049)
        at java.awt.Dialog$3.run(Dialog.java:1097)
        at java.awt.Dialog.show(Dialog.java:1094)
        at java.awt.Component.show(Component.java:1591)
        at java.awt.Component.setVisible(Component.java:1544)
        at java.awt.Window.setVisible(Window.java:844)
        at java.awt.Dialog.setVisible(Dialog.java:985)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:397)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
        at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
        at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
        at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:127)
        at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
        at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
        at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:502)
        at oracle.odi.ui.docking.AbstractOdiDockableWindow$1.actionPerformed(AbstractOdiDockableWindow.java:204)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2040)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2490)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:628)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:642)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:175)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:162)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Hi,
    change the user sys to system and now show that message
    "There is not a repository valid in connection specific"
    oracle.odi.core.config.NotMasterRepositorySchemaException: ODI-10147: O tipo de repositório é incompatível.   
    PreparedStatementCallback; bad SQL grammar [select REP_SHORT_ID, REP_NAME, REP_TYPE, REP_TIMESTAMP, REP_VERSION, MIN_EXE_VERSION, IND_INSTALL_OK from SNP_LOC_REP]; nested exception is java.sql.SQLSyntaxErrorException: ORA-00942: a tabela ou view não existe
        at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:102)
        at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:518)
        at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:641)
        at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:609)
        at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:548)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:764)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$4(SnpsDialogLoginDetail.java:752)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$2.performAction(SnpsDialogLoginDetail.java:297)
        at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2040)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2490)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:628)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:642)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:179)
        at java.awt.Dialog$1.run(Dialog.java:1049)
        at java.awt.Dialog$3.run(Dialog.java:1097)
        at java.awt.Dialog.show(Dialog.java:1094)
        at java.awt.Component.show(Component.java:1591)
        at java.awt.Component.setVisible(Component.java:1544)
        at java.awt.Window.setVisible(Window.java:844)
        at java.awt.Dialog.setVisible(Dialog.java:985)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:397)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
        at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
        at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
        at oracle.odi.ui.LoginFactory.createNewLogin(LoginFactory.java:259)
        at com.sunopsis.graphical.dialog.SnpsDialogLogin$4.performAction(SnpsDialogLogin.java:213)
        at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2040)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2490)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:628)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:642)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:179)
        at java.awt.Dialog$1.run(Dialog.java:1049)
        at java.awt.Dialog$3.run(Dialog.java:1097)
        at java.awt.Dialog.show(Dialog.java:1094)
        at java.awt.Component.show(Component.java:1591)
        at java.awt.Component.setVisible(Component.java:1544)
        at java.awt.Window.setVisible(Window.java:844)
        at java.awt.Dialog.setVisible(Dialog.java:985)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:397)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
        at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
        at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
        at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:127)
        at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
        at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
        at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:502)
        at oracle.odi.ui.docking.AbstractOdiDockableWindow$1.actionPerformed(AbstractOdiDockableWindow.java:204)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2040)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2490)
        at java.awt.Component.dispatchEvent(Component.java:4489)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:628)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:642)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:175)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:162)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select REP_SHORT_ID, REP_NAME, REP_TYPE, REP_TIMESTAMP, REP_VERSION, MIN_EXE_VERSION, IND_INSTALL_OK from SNP_LOC_REP]; nested exception is java.sql.SQLSyntaxErrorException: ORA-00942: a tabela ou view não existe
        at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:230)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:554)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
        at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
        at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
        at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
        at oracle.odi.core.repository.support.RepositoryUtils$RepositoryInfoSource.loadRepositoryInfo(RepositoryUtils.java:182)
        at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo(RepositoryUtils.java:376)
        at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:78)
        at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:518)
        at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:641)
        at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:609)
        at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:548)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:764)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$4(SnpsDialogLoginDetail.java:752)
        at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$2.performAction(SnpsDialogLoginDetail.java:296)
        at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2039)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2097)
        at java.awt.Component.dispatchEvent(Component.java:4488)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2489)
        at java.awt.Component.dispatchEvent(Component.java:4488)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:627)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:641)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
        at java.awt.Dialog$1.run(Dialog.java:1044)
        at java.awt.Dialog$3.run(Dialog.java:1096)
        at java.awt.Dialog.show(Dialog.java:1094)
        at java.awt.Component.show(Component.java:1591)
        at java.awt.Component.setVisible(Component.java:1543)
        at java.awt.Window.setVisible(Window.java:843)
        at java.awt.Dialog.setVisible(Dialog.java:984)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
        at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
        at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
        at oracle.odi.ui.LoginFactory.createNewLogin(LoginFactory.java:259)
        at com.sunopsis.graphical.dialog.SnpsDialogLogin$4.performAction(SnpsDialogLogin.java:213)
        at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2039)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2097)
        at java.awt.Component.dispatchEvent(Component.java:4488)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2489)
        at java.awt.Component.dispatchEvent(Component.java:4488)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:627)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:641)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
        at java.awt.Dialog$1.run(Dialog.java:1044)
        at java.awt.Dialog$3.run(Dialog.java:1096)
        at java.awt.Dialog.show(Dialog.java:1094)
        at java.awt.Component.show(Component.java:1591)
        at java.awt.Component.setVisible(Component.java:1543)
        at java.awt.Window.setVisible(Window.java:843)
        at java.awt.Dialog.setVisible(Dialog.java:984)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
        at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
        at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
        at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
        at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:127)
        at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
        at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
        at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
        at oracle.odi.ui.docking.AbstractOdiDockableWindow$1.actionPerformed(AbstractOdiDockableWindow.java:203)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6297)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
        at java.awt.Component.processEvent(Component.java:6062)
        at java.awt.Container.processEvent(Container.java:2039)
        at java.awt.Component.dispatchEventImpl(Component.java:4660)
        at java.awt.Container.dispatchEventImpl(Container.java:2097)
        at java.awt.Component.dispatchEvent(Component.java:4488)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
        at java.awt.Container.dispatchEventImpl(Container.java:2083)
        at java.awt.Window.dispatchEventImpl(Window.java:2489)
        at java.awt.Component.dispatchEvent(Component.java:4488)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:627)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:641)
        at java.awt.EventQueue$3.run(EventQueue.java:639)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        ... 1 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: a tabela ou view não existe
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
        at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
        at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
        at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
        at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
        at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
        at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:111)
        at $Proxy3.executeQuery(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$StatementInvocationHandler.invoke(RuntimeClassLoaderDataSourceCreator.java:173)
        at $Proxy4.executeQuery(Unknown Source)
        at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:595)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:538)
        ... 146 more

  • To change the JDBC driver for a single OC4J instance

    Hello,
    I implemeted an app with oracle adf (Jdeveloper 10.1.2 ) and it use Oracle Domain objects.
    I have an oas 10g (9.04.1) in windows
    and I want to change the default jdbc driver for a single oc4j instance
    in metalink i found the following information:
    1.- From OTN, download and copy the 10.1.0.x JDBC driver to a directory on the server. E.g OH/newjdbc
    2.- Opening EM-Website, navigate to the OC4J instance that should be altered.
    3.- Find the "Java-Options" and, add the -Xbootclasspath option to it, pointing to the new JDBC driver.
    E.g. -Xbootclasspath/p:$OH/newjdbc/ojdbc14.jar
    4.- Restart the OC4J instance
    my 'Java-optios' default is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true
    my new 'Java optios' now is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true -Xbootclasspath/p = D:\jdev1012\jdbc\lib\classes12.jar
    is this correct?
    now I cannot deploy my app
    Rigoberto

    Seems you missed something in step 3. From those steps the driver should be installed under C:\oracle\904\newjdbc and used in classpath, not d:\jdev1012.

  • Does the JDBC driver need to changin when moving Oracle 9i to Oracle 11g??

    Hi All,
    I have two cases
    Case 1:
    Application is deployed on WebLogic 10 (JDK 5) and connects to Oracle 9i database using the thin driver. Now the database is now moving from ORacle 9i to Oracle 11g. I have the following question:
    1. Does the driver jar file and/or driver class need to be changed on the connection pool front?
    2. If yes then, do we need to change any of the jdbc coding to ensure compatibility?
    Case 2:
    Application is deployed on WebLogic 8.1 (JDK 1.4) and connects to Oracle 10g database using the thin driver. Now the database is now moving from ORacle 10g to Oracle 11g and application is moving to WebLogic 10. I have the following question:
    1. Does the driver jar file and/or driver class need to be changed on the connection pool front?
    2. If yes then, do we need to change any of the jdbc coding to ensure compatibility?
    Additioanlly, are there any other factors that I need to consider when upgrading these applications. Does any one have checklists?
    Any help will be really helpful.
    Thank you
    Nikhil

    nikhil.gonsalves wrote:
    Case 1:
    Application is deployed on WebLogic 10 (JDK 5) and connects to Oracle 9i database using the thin driver. Now the database is now moving from ORacle 9i to Oracle 11g. I have the following question:
    1. Does the driver jar file and/or driver class need to be changed on the connection pool front?Advised to do so (bugfixes, possible performance optimisations), not required unless you want to use functionality the 9i driver doesn't support.
    2. If yes then, do we need to change any of the jdbc coding to ensure compatibility?
    Not unless you want to use things not supported by the old driver.
    It is however a very good idea to at least update the name of the driver class, as the name used for the 9i driver has been deprecated (it's still allowed, but now leads to another method call which is a waste of CPU time).
    Case 2:
    Application is deployed on WebLogic 8.1 (JDK 1.4) and connects to Oracle 10g database using the thin driver. Now the database is now moving from ORacle 10g to Oracle 11g and application is moving to WebLogic 10. I have the following question:
    1. Does the driver jar file and/or driver class need to be changed on the connection pool front?See above.
    2. If yes then, do we need to change any of the jdbc coding to ensure compatibility?
    See above (except for the driver class name which you should have used the new name already had the application been written to make use of the new name which was introduced in 10g).
    Additioanlly, are there any other factors that I need to consider when upgrading these applications. Does any one have checklists?
    You should always do a full regression test of your entire platform when attempting a migration like this.
    Worst example of what can go wrong I ever encountered was an application where an upgrade of the database server it ran on led to a bugged batch job that for 5 years had (unnoticed to anyone) never completed because it always entered a timeout causing a rollback now suddenly no longer timing out and inserting 10k records of corrupt data every time it was run (where what it should insert were maybe a few dozen records of actual data at most).
    The database engine upgrade had not been announced to the dev team, the team responsible for it didn't do regression tests (as application testing is the responsibility of the dev team), the sys admins who should make full backups at upgrade moments (so we could roll back to the previous release if something went wrong) made no backup because it was no application upgrade, and now one of the core applications for several dozen offices was fundamentally broken.
    Technical lead for the application was literally on the other side of the world on a vacation, functional lead had left the company, the entire dev team consisted of me as a contractor brought in just 2 weeks prior and a new functional lead who'd arrived at about the same time, we were both still trying to get to know the system.
    Potential financial loss: millions a week if it wasn't fixed quick.
    That's the nightmare scenario from hell of course, where everything that could go wrong did go wrong all at the same time.

  • 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.

Maybe you are looking for

  • Airport Extreme (time capsule model) internet speed EXTREMELY slow.

    Hello, first thank you for any help on this as it is a bit frustrating for me. I recently noticed my internet speed was running significantly slower on both my MacBook Pro and on my wifes MacBook. I had my ISP come and check out the problem. They hoo

  • Picture in screen painter

    Hi, How to insert a picture in screen painter.? Thanks, Suresh

  • Does Logging in to your Mac make difference?

    For the first year of owning Logic 7 on my G5 2.0GHz DP I always used the default user account and didn't 'Login' to the machine. Trouble was I could never successfully update the M-Audio driver for the Audiophile 192 card. Then I found an article su

  • We bought a prepaid phone online with a 45.00 plan and cant get the minutes?

    we bought a lg optimus zone phone on verizon website on june 19 2014 with 45.00 worth of minutes on the allset plan and they wont give us our minutes to use we have called and called them it took us over 5 hours just to get the phone activated alone.

  • PAL/NTSC ISSUES

    I produce my movies in PAL for Europe and NZ and, for the USA, convert to NTSC- not always since most modern DVD players will play both. Two questions have come up for which I would very much appreciate some advice. The first is, if I have edited the