Generic jdbc connection to hive missing tables

hi i created the generic jdbc connection to hive .. i was able to establish the connection but for some reason i don't see the tables, any ideas why?
ps.
attaching screen shot with drivers list

Intead of
Class.forName("jdbc.odbc.JdbcOdbcDriver");
do this
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Manu

Similar Messages

  • Generic JDBC connection not setting up.

    Hey ..
    I am trying to make a Generic JDBC connection in DB adapter. For the steps I am refering to this blog: https://blogs.oracle.com/middleware/entry/configuring_mssql_with_soa_suite
    so I went as follows: step 3 of 4 of adapter configuration > create new connection > Driver class: new > Library: Browse
    chose the driver source .jar, put the correct URL & tested the connection.
    The Error that came said:
    "Test failed: Driver class not found.
    Verify the Driver location"
    I tried same thing with sqljdbc.jar - the file used in the blog ... Same error was there.
    What's the mistake? What should I try to do?

    The problem got solved ..
    Actually the path was correct but the driver class name was wrong ..
    Perhaps it tries to find the driver class with the specific name in specified .jar
    I thought we are CREATING new thing ..
    Thanks anyways for your help

  • Jdbc connection to MS Access tables

    I am trying to connect to a set of Microsoft Access database tables using the code below. This code was based on coding in the book I am learning Java from and seems to match all other JDBC information I have found yet I still recieve the following error message:
    jdbc.odbc.JdbcOdbcDriver
    No suitable driver
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class QADDCon extends Applet implements ActionListener{
         Button btnUpdate;
         Button btnNextRec;
         protected TextField txtID;
         protected TextField txtExType;
         Label lblHeading;
         Label lblID;
         Label lblType;
         Panel pnlTop, pnlBottom, pnlBLeft, pnlBRight;
         ResultSet rsType;
         public void init(){
              lblHeading = new Label("Examination Types");
              add(lblHeading);
              lblID = new Label("Exam ID:");
              txtID = new TextField(5);
              pnlTop = new Panel();
              pnlTop.add(lblID);
              pnlTop.add(txtID);
              add(pnlTop);
              lblType = new Label("Exam Type");
              txtExType = new TextField(20);
              pnlBottom = new Panel();
              pnlBottom.add(lblType);
              pnlBottom.add(txtExType);
              add(pnlBottom);
              btnUpdate = new Button("Update");
              btnUpdate.addActionListener(this);
              pnlBLeft = new Panel();
              pnlBLeft.add(btnUpdate);
              add(pnlBLeft);
              btnNextRec = new Button("Next Record");
              btnNextRec.addActionListener(this);
              pnlBRight = new Panel();
              pnlBRight.add(btnNextRec);
              add(pnlBRight);
              try{
              ConnTable();
         //     txtID.setText(rsType.getString(1));
         //     txtExType.setText(rsType.getString(2));
         }catch(SQLException e){
              System.out.println(e.getMessage());
         public void paint(Graphics g){
         //     try{
         //     txtID.setText(rsType.getString(1));
         //     txtExType.setText(rsType.getString(2));
    //     }catch(SQLException e){
    //          System.out.println(e.getMessage());
         public void actionPerformed(ActionEvent evt){
         //     String arg = evt.getActionCommand();
    //          if (arg == "Next Record"){
    //               try{
                   //     rsType.next();
    //     }catch(SQLException e){
         //     System.out.println(e.getMessage());
    //               repaint();
    //          else if(arg == "Update"){
    //                    try{
                   //     UpdateType(txtID.getText(), txtExType.getText());
    //     }catch(SQLException e){
         //     System.out.println(e.getMessage());
    //          else{
              //     System.out.println("Unknown Action Event");
         public static void main(String[] args){
              QADDCon clsTest = new QADDCon();
              clsTest.init();
              clsTest.start();
         public void ConnTable() throws SQLException{
              try{
              Class.forName("jdbc.odbc.JdbcOdbcDriver");
         catch(java.lang.ClassNotFoundException e){
              System.out.println("Cannot Load Driver: "+e.getMessage());
              Connection conType = DriverManager.getConnection("jdbc:odbc:Tables;uid='pjh8hendl';pw='pjh78uiop'");
         //     Statement stmtType = conType.createStatement();
         //     rsType = stmtType.executeQuery("SELECT EXAMNAMEID, EXAMNAME FROM EXAMNAME");
         public void UpdateType(String strID, String strType) throws SQLException{
              int RetVal;
         //     Connection conUp = DriverManager.getConnection("jdbc:odbc:Tables1;uid='pjh8hendl';pw='pjh78uiop'");
         //     Statement stmtUp = conUp.createStatement();
         //     String SQLBuffer = "UPDATE EXAMNAME SET EXAMNAMEID ="+txtID.getText()+", EXAMNAME ="+txtExType.getText()+" WHERE EXAMNAMEID = "+txtID.getText();
         //     RetVal = stmtUp.executeUpdate(SQLBuffer);
    The Jdbc-Odbc bridge driver I am using is supposed to be supplied with my JDK (1.3.1) can anyone pointout what is going wrong? (I have remmed out the result set coding to debug the application in steps)
         

    Intead of
    Class.forName("jdbc.odbc.JdbcOdbcDriver");
    do this
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Manu

  • Generic JDBC connections?

    Hi!
    The help for SQL Developer indicates that there should be a JDBC tab along with Oracle, Access, etc. in the new connections box - how do I get that tab to appear?
    The "Create/Edit/Select Database Connection" topic in the help center lists the following types of connections as being available:
    Oracle, TimesTen, Access, DB2, JDBC_, MySQL, SQL Server / Sybase, Terradata
    I am only seeing the Oracle, Access, SQL Server tabs.
    Thanks in advance for any help or suggestions!
    Dave Venus
    Edited by: dvenus on Sep 24, 2010 9:58 AM

    I've never tried using JDBC into other databases...have you tried adding a 3rd party JDBC driver and see if that adds a new tab for connections?
    Tools -> Prefs -> Database -> Third Party JDBC Drivers

  • TP3 - Generic JDBC Seems Not Working - Connection Worked in TP2 but Not TP3

    I had a connection working in TP2 to a PosgreSQL database. I have done in TP3 exactly what I did in TP2 to set up the connection but the connection test fails listing the name of the driver.
    I put the JAR in jdev\lib, I added a class/library to the default project properties with the classpath listing the location of the JAR including the filename, then I created a new connection with the same driver name, user/password, and JDBC URL I used in TP2. None of this worked though. I even tried restarting JDeveloper.
    Any ideas on what I could be doing wrong or if something new needs to be done in TP3?
    On a side note, although I got the connection working to the PostgreSQL db working in TP2, JDeveloper was never able to find its tables like when creating an entity from a table for example. I know this is not an issue with the driver JAR because this works flawlessly in Netbeans 6.
    Thanks in advance for any help.
    KurzHome

    Hi CM and Chris,
    I have the exact same problem when I tried to create a connection to SQL Server 2005 using Generic JDBC. It worked well for TP2 but does not work for TP3. Further more if you create it anyway, you will get following message in testing:
    An error was encountered performing the requested operation:
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    Vendor code 0.
    I tried to export the working connection from JDeveloper 10.1.2. and import it to TP3. I could not solved the problem.
    Then I export the SQL server connection from TP3. The connection is expressed as
    <Reference credentialStoreKey="yuwyuw" className="oracle.jdeveloper.db.adapter.DatabaseProvider" name="yuwyuw">
    <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="subtype">
    <Contents>thirdParty</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="user">
    <Contents>yuw</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="password"/>
    <StringRefAddr addrType="driver">
    <Contents>com.microsoft.sqlserver.jdbc.SQLServerDriver</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="DeployPassword">
    <Contents>false</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="customUrl">
    <Contents>jdbc:sqlserver://host:1433</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    It seems DatabaseProviderFactory could not create connection other than Oracle. BBut JDev10.1.2 does not use Factory class. I tested Driver and URL by a small program that created a connection using connection string. No problem at all.
    Now I have 2 questions:
    1)How can we access the source code to see what happens when we submit connection creation request?
    2)You mentioned that we can swap JVM version. But this can only be done on project level. Can we do it on IDE level, because IDE connection is not associated with any project.
    Thanks,
    wyuwyu

  • Remote JDBC connect error; missing SecStore.properties

    Hi
    After creating the intial context for a remote JDBC connection, using a Java client, to the J2EE engine, when calling createConnection(), I get the following error on ver 6.4:
    com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection:
    com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "SecStore.properties" does not exist although it should..
    I can not find the file on the server, although what limited doco I can find suggests SecStore should be created at install time. Am I missing something here?
    Thanks, Leonard

    Tried, but no success. Am definitely connecting to jndi, getting the context etc. The issue seems to be here;
    Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "SecStore.properties" does not exist although it should.
            at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
            at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
            at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:803)
            at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:784)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:206)
    Why is StorageHandler.openExistingStore trying to open SecStore.properties from the remote java client and not on the j2ee server? This makes no sense.
    Thanks

  • Can't see tables after a JDBC connection

    Hi,
    I made a JDBC connection with Progress9.1d database. In the Connections Navigator, I expand the nodes for my database connection and see the following nodes: Synonyms, Tables, Views.
    However, when I try to expand the "Tables" node, I can't see the tables in the Connections Navigator. A window whose title is "Retrieving Objects" appears for a moment, retrieves the objects as shown by a status bar and disappears immediately.
    Can anyone help me?
    Thank you,
    Meltem

    For those of you having similar problems,
    Here is the answer I received from Oracle Support:
    "We use DatabaseMetaData.getTables() to retrive the information from the database, however, I found on a Progress discussion forum that there is a bug in the Progress implementation of getTables().
    The problem is with their implementation of DatabaseMetaData.getTables(). You have to pass a null into the catalog parameter or it will not work. Under 9.1C if you pass in a blank string ("") you get a "Optional feature not implemented" exception, if you pass in a non-blank string you get "The qualifier 'catalog' was larger than SQL_MAX_QUALIFIER_LEN from SQLGetInfo (0)". My understanding is the issue still exists in 9.1D
    Since we don't pass null here, the problem occurs. So, the problem isn't with JDeveloper, but with the Progress Driver."
    Now, I am talking with Progress Support. I will post another message if anything changes.
    Meltem YILDIRIM

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • JDBC and creation of external tables with positions

    Hello,
    this might be a trick question or I am probably running around in circles with this one. I know that it is not possible to call pl/sql command ("set define off") using a jdbc connection. Correct me on this one if I am wrong ;)
    So the point why I want to that is because I want to execute the following stmt using a CallableStatement:
    prompt
    prompt: CREATE TABLE "TEST_IN"."TEST_RECEIPT_EXTERNAL" ...
    prompt
    CREATE TABLE "TEST"."TEST_RECEIPT_EXTERNAL"
    ("APPLE" VARCHAR2(8 CHAR)
    ,"PIE" VARCHAR2(1 CHAR)
    ,"RECEIPT" VARCHAR2(58 CHAR)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY "TEST_IN"
    ACCESS PARAMETERS
    (records delimited by newline
    fields (
    APPLE position(1: 8) CHAR(8),
    PIE position(9: 9) CHAR(1),
    RECEIPT position(10: 67) CHAR(58), )
    LOCATION
    ("TEST_IN":'FLIP.FLOP.19760104170600'))
    REJECT LIMIT UNLIMITED
    PARALLEL 1
    which gives me back the expected error:
    Missing IN or OUT parameter at index:: 1
    Any thoughts on this one would be very helpful - thanks in advance,
    Sascha

    Perfect - did not thought that the behavior of Statement, CallableStatement and PreparedStatement is different. In retrospect and thinking about the use cases of the implementations I probably should have thought about that my self.
    Thanks a lot - problem solved :)

  • The Connection Navigator is missing

    JAVA_HOME = C:\Program Files\Java\jdk1.6.0_10
    path = %path%;%JAVA_HOME%\bin
    I hava a Java SDK 6 Update 10 and the latest SQL developer.
    When i start the developer, there is no Connection Navigator docked on the left also it also disappear under the View menu.
    I tried to create new connection from File>New, i can find the database connection (i think it comes from the TNS_ADMIN i have set).
    I clikc OK, then there is no connection dialog box appears, nothing happen.
    I search this forum and find somebody said deleting the "windowinglayout.xml" would help the problem.
    I tried it but no difference.
    this the console when i start sqldeveloper and try to make new database connection
    e SQL Developer': java.lang.ExceptionInInitializerError
    at oracle.dbtools.raptor.RaptorDBAddin.initialize(RaptorDBAddin.java:111
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:110)
    at oracle.ideimpl.Main.main(Main.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Caused by: java.lang.NullPointerException
    at oracle.i18n.text.OraTerritory.getInstance(OraTerritory.java:101)
    at oracle.dbtools.raptor.config.DBConfig.<clinit>(DBConfig.java:286)
    ... 33 more
    Exception initializing 'oracle.dbtools.raptor.standalone.RaptorStandaloneAddin'
    in extension 'Oracle SQL Developer Extras': java.lang.NoClassDefFoundError: Coul
    d not initialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.utils.URLChooserShortcuts.<clinit>(URLChooserSh
    ortcuts.java:38)
    at oracle.dbtools.raptor.standalone.RaptorStandaloneAddin.initialize(Rap
    torStandaloneAddin.java:87)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:110)
    at oracle.ideimpl.Main.main(Main.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception in thread "XML Action Loader" java.lang.NoClassDefFoundError: Could no
    t initialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.dialogs.actions.XMLBasedObjectAction$1$1.run(XM
    LBasedObjectAction.java:146)
    Failed to load a window
    java.lang.NoClassDefFoundError: Could not initialize class oracle.dbtools.raptor
    .utils.URLChooserShortcuts
    at oracle.dbtools.raptor.filenav.ProjectRootFilter.loadChildren(ProjectR
    ootFilter.java:87)
    at oracle.dbtools.raptor.filenav.ProjectRootFilter.getChildren(ProjectRo
    otFilter.java:61)
    at oracle.ideimpl.explorer.BaseTreeExplorer.addChildren(BaseTreeExplorer
    .java:358)
    at oracle.ideimpl.explorer.BaseTreeExplorer.setRoot(BaseTreeExplorer.jav
    a:1489)
    at oracle.ideimpl.explorer.BaseTreeExplorer.getTree(BaseTreeExplorer.jav
    a:1458)
    at oracle.ideimpl.explorer.BaseTreeExplorer.setContext(BaseTreeExplorer.
    java:619)
    at oracle.ideri.navigator.DefaultNavigatorWindow.createTree(DefaultNavig
    atorWindow.java:1112)
    at oracle.ideri.navigator.DefaultNavigatorWindow.getGUI(DefaultNavigator
    Window.java:361)
    at oracle.ide.docking.DockableWindow.getHostedComponent(DockableWindow.j
    ava:231)
    at oracle.ideimpl.docking.TitledPanelHolder.getOrCreateComponent(TitledP
    anelHolder.java:47)
    at oracle.ideimpl.docking.TitledPanel.setPageVisible(TitledPanel.java:88
    1)
    at oracle.ideimpl.docking.TitledPanel.showClient(TitledPanel.java:858)
    at oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:
    841)
    at oracle.ideimpl.docking.TitledPanel.setDockableVisible(TitledPanel.jav
    a:1933)
    at oracle.ideimpl.docking.DockPanel.setDockableVisible(DockPanel.java:31
    1)
    at oracle.ideimpl.docking.AbstractDockPanelHost.setDockableVisible(Abstr
    actDockPanelHost.java:71)
    at oracle.ideimpl.docking.DockStationImpl.setDockableVisible(DockStation
    Impl.java:477)
    at oracle.ideimpl.docking.DockStationImpl.setDockableVisible(DockStation
    Impl.java:444)
    at oracle.ideimpl.docking.DockStationImpl.setDefaultState(DockStationImp
    l.java:1299)
    at oracle.ideimpl.docking.DockStationImpl.onFreshInstall(DockStationImpl
    .java:1194)
    at oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.jav
    a:1176)
    at oracle.ideimpl.docking.DockStationListener.init(DockStationListener.j
    ava:36)
    at oracle.ide.layout.Layouts.activate(Layouts.java:805)
    at oracle.ide.layout.Layouts.activateLayout(Layouts.java:185)
    at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:726)
    at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Failed to load a window
    java.lang.NoClassDefFoundError: Could not initialize class oracle.dbtools.raptor
    .config.DBConfig
    at oracle.dbtools.sqlworksheet.sqlview.SqlHistoryPanel$7.getText(SqlHist
    oryPanel.java:366)
    at javax.swing.plaf.basic.BasicLabelUI.installComponents(BasicLabelUI.ja
    va:345)
    at javax.swing.plaf.basic.BasicLabelUI.installUI(BasicLabelUI.java:322)
    at javax.swing.JComponent.setUI(JComponent.java:673)
    at javax.swing.JLabel.setUI(JLabel.java:242)
    at javax.swing.JLabel.updateUI(JLabel.java:256)
    at javax.swing.table.DefaultTableCellRenderer.updateUI(DefaultTableCellR
    enderer.java:144)
    at javax.swing.JLabel.<init>(JLabel.java:145)
    at javax.swing.JLabel.<init>(JLabel.java:216)
    at javax.swing.table.DefaultTableCellRenderer.<init>(DefaultTableCellRen
    derer.java:94)
    at oracle.dbtools.sqlworksheet.sqlview.SqlHistoryPanel$7.<init>(SqlHisto
    ryPanel.java:362)
    at oracle.dbtools.sqlworksheet.sqlview.SqlHistoryPanel.createTable(SqlHi
    storyPanel.java:360)
    at oracle.dbtools.sqlworksheet.sqlview.SqlHistoryPanel.createGUI(SqlHist
    oryPanel.java:149)
    at oracle.dbtools.sqlworksheet.sqlview.SqlHistoryPanel.<init>(SqlHistory
    Panel.java:143)
    at oracle.dbtools.sqlworksheet.sqlview.SqlEditorHistory.getHistoryPanel(
    SqlEditorHistory.java:234)
    at oracle.dbtools.sqlworksheet.sqlview.SqlHistoryDockable.getGUI(SqlHist
    oryDockable.java:35)
    at oracle.ide.docking.DockableWindow.getHostedComponent(DockableWindow.j
    ava:231)
    at oracle.ideimpl.docking.TitledPanelHolder.getOrCreateComponent(TitledP
    anelHolder.java:47)
    at oracle.ideimpl.docking.TitledPanel.setPageVisible(TitledPanel.java:88
    1)
    at oracle.ideimpl.docking.TitledPanel.showClient(TitledPanel.java:858)
    at oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:
    841)
    at oracle.ideimpl.docking.TitledPanel.setDockableVisible(TitledPanel.jav
    a:1933)
    at oracle.ideimpl.docking.DockPanel.setDockableVisible(DockPanel.java:31
    1)
    at oracle.ideimpl.docking.AbstractDockPanelHost.setDockableVisible(Abstr
    actDockPanelHost.java:71)
    at oracle.ideimpl.docking.DockStationImpl.setDockableVisible(DockStation
    Impl.java:477)
    at oracle.ideimpl.docking.DockStationImpl.setDockableVisible(DockStation
    Impl.java:444)
    at oracle.ideimpl.docking.DockStationImpl.setDefaultState(DockStationImp
    l.java:1299)
    at oracle.ideimpl.docking.DockStationImpl.onFreshInstall(DockStationImpl
    .java:1194)
    at oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.jav
    a:1176)
    at oracle.ideimpl.docking.DockStationListener.init(DockStationListener.j
    ava:36)
    at oracle.ide.layout.Layouts.activate(Layouts.java:805)
    at oracle.ide.layout.Layouts.activateLayout(Layouts.java:185)
    at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:726)
    at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Exception in thread "EditorLoader" java.lang.NoClassDefFoundError: Could not ini
    tialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.oviewer.base.ViewerAddin.loadXMLEditors(ViewerA
    ddin.java:233)
    at oracle.dbtools.raptor.oviewer.base.ViewerAddin$1$1.run(ViewerAddin.ja
    va:140)
    at java.lang.Thread.run(Thread.java:619)
    Exception while performing action New Database Connection...
    java.lang.NoClassDefFoundError: Could not initialize class oracle.dbtools.raptor
    .config.DBConfig
    at oracle.dbtools.raptor.navigator.xml.NavigatorHook.initDescriptors(Nav
    igatorHook.java:194)
    at oracle.dbtools.raptor.navigator.xml.NavigatorHook.getNavigatorDescrip
    tors(NavigatorHook.java:88)
    at oracle.dbtools.raptor.navigator.xml.NavigatorHook.fetchConnectionType
    s(NavigatorHook.java:146)
    at oracle.dbtools.raptor.navigator.xml.NavigatorHook.getConnectionTypes(
    NavigatorHook.java:104)
    at oracle.dbtools.raptor.connections.ConnectionTypeRegistry.init(Connect
    ionTypeRegistry.java:54)
    at oracle.dbtools.raptor.connections.ConnectionTypeRegistry.getTabNames(
    ConnectionTypeRegistry.java:36)
    at oracle.dbtools.raptor.connections.ConnectionDialog.<init>(ConnectionD
    ialog.java:224)
    at oracle.dbtools.raptor.connections.ConnectionDialog.launch(ConnectionD
    ialog.java:708)
    at oracle.dbtools.raptor.explorer.jdev.ConnectionEditorImpl.launchEditor
    (ConnectionEditorImpl.java:24)
    at oracle.jdeveloper.db.DatabaseConnectionEditor.editConnection(Database
    ConnectionEditor.java:110)
    at oracle.jdeveloper.db.DatabaseActions.handleConnectionEditor(DatabaseA
    ctions.java:199)
    at oracle.jdeveloper.db.DatabaseActions.handleEvent(DatabaseActions.java
    :151)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:501)
    at oracle.jdevimpl.db.DBConnWizard.invoke(DBConnWizard.java:42)
    at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:317)
    at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:365)
    at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
    at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:5
    20)
    at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
    at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:373)
    at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    i open the "windowinglayout.xml" and find that there is no message about the connection navigator
    is it possible that the problem come from the resolution?
    my resoultion is 1280 x 800 (8:5)

    Having the same problem, SQL Dev was just working great until ones I started it the connection panel was missing. Unable to open saved sql files and a real strange behaviour of the app.
    I have tried the suggested above with no luck.
    Running:
    - WinXP - with the latest updates.
    - java sdk 1.6.0_11
    - oracle ide: 1.5.3.5.7.83 see About bellow for more details
    Getting this errormessage when pressing icon sql with a green arrow infront.
    java.lang.NullPointerException
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.listConnections(ConnectionPanelUI.java:426)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.resetConnections(ConnectionPanelUI.java:440)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.<init>(ConnectionPanelUI.java:120)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.<init>(ConnectionPanelUI.java:101)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.<init>(ConnectionSelectorUI.java:36)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.getConnection(ConnectionSelectorUI.java:59)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.getConnection(ConnectionSelectorUI.java:42)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorWizard.invoke(SqlEditorWizard.java:108)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:317)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorController.toolbarAction(SqlEditorController.java:1291)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorController.handleEvent(SqlEditorController.java:628)
         at oracle.ideimpl.controller.IdeActionHook$MetaClassController.handleEvent(IdeActionHook.java:407)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at oracle.ide.controls.ActionMenuToolButton.mav$fireActionPerformed(ActionMenuToolButton.java:77)
         at oracle.ide.controls.ActionMenuToolButton$FilterActionEvents.actionPerformed(ActionMenuToolButton.java:373)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
         at oracle.ide.controls.ActionMenuToolButton$2.setPressed(ActionMenuToolButton.java:210)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
         at java.awt.Component.processMouseEvent(Component.java:6134)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5899)
         at java.awt.Container.processEvent(Container.java:2023)
         at java.awt.Component.dispatchEventImpl(Component.java:4501)
         at java.awt.Container.dispatchEventImpl(Container.java:2081)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
         at java.awt.Container.dispatchEventImpl(Container.java:2067)
         at java.awt.Window.dispatchEventImpl(Window.java:2458)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         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)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    About
    Oracle SQL Developer 1.5.3
    Version 1.5.3
    Build MAIN-5783
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.44
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.57.83
    Version
    Component     Version
    =========     =======
    CVS Version (External)     (CVSNT) 2.0.51d (client/server)
    Java(TM) Platform     1.6.0_11
    Oracle IDE     1.5.3.57.83
    Versioning Support     1.5.3.57.83
    Properties
    Name     Value
    ====     =====
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    http.agent     Mozilla/5.0 (Java 1.6.0_11; Windows XP 5.1 x86; sv_SE) ICEbrowser/v6_1_3
    http.nonProxyHosts     
    http.proxyHost     10.11.11.7
    http.proxyPort     8080
    https.nonProxyHosts     
    https.proxyHost     10.11.11.7
    https.proxyPort     8080
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     2103139118239
    ide.build     MAIN-5783
    ide.conf     C:\Program Files\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\Program Files\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.5.0
    ide.launcherProcessId     2648
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Documents and Settings\jobu\Application Data\SQL Developer
    ide.pref.dir.base     C:\Documents and Settings\jobu\Application Data
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\Program Files\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\Program Files\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\Program Files\sqldeveloper\sqldeveloper\bin
    ide.user.dir     C:\Documents and Settings\jobu\Application Data\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     Z:\#JOBU My Documents\SQL Developer
    ide.work.dir.base     Z:\#JOBU My Documents
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Java\jdk1.6.0_11\jre\lib\endorsed
    java.ext.dirs     C:\Java\jdk1.6.0_11\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
    java.home     C:\Java\jdk1.6.0_11\jre
    java.io.tmpdir     C:\DOCUME~1\jobu\LOCALS~1\Temp\
    java.library.path     C:\Program Files\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\Program Files\Borland\BDS\4.0\Bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\jdk1.5.0_17\bin;C:\Java\apache-ant-1.5.4\bin;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\ATI Technologies\Fire GL 3D Studio Max;C:\Program Files\cvsnt;\\tntdsx01\oracle\product\9.2.0\bin;\\10.112.65.51\oracle\product\10.2.0\client_1\BIN;C:\Program Files\Attachmate\Reflection\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common Files\GTK\2.0\bin;C:\cygwin;C:\cygwin\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Borland\CaliberRM SDK 2005 R2\lib;Z:\#JOBU My Documents\Borland Studio Projects\Bpl;C:\cygwin;C:\cygwin\bin
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_11-b03
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_11
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     11.0-b16
    jdbc.driver.home     //10.112.65.51/c$/oracle/product/10.2.0/client_1/
    jdbc.library     //10.112.65.51/c$/oracle/product/10.2.0/client_1/jdbc/lib/ojdbc14.jar
    line.separator     \r\n
    oracle.home     C:\Program Files\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     //10.112.65.51/c$/oracle/product/10.2.0/client_1/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows XP
    os.version     5.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sun.arch.data.model     32
    sun.boot.class.path     C:\Java\jdk1.6.0_11\jre\lib\resources.jar;C:\Java\jdk1.6.0_11\jre\lib\rt.jar;C:\Java\jdk1.6.0_11\jre\lib\sunrsasign.jar;C:\Java\jdk1.6.0_11\jre\lib\jsse.jar;C:\Java\jdk1.6.0_11\jre\lib\jce.jar;C:\Java\jdk1.6.0_11\jre\lib\charsets.jar;C:\Java\jdk1.6.0_11\jre\classes
    sun.boot.library.path     C:\Java\jdk1.6.0_11\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 3
    user.country     SE
    user.dir     C:\Program Files\sqldeveloper\sqldeveloper\bin
    user.home     C:\Documents and Settings\jobu
    user.language     sv
    user.name     jobu
    user.timezone     Europe/Berlin
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.0.22.49.44     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.0.22.49.44     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.0.22.49.44     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.0.22.49.44     Loaded
    Database UI     oracle.ide.db     11.1.1.0.22.49.44     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.0.22.49.44     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.0.22.49.44     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.0.22.49.44     Loaded
    Feedback     oracle.ide.feedback     11.1.1.0.22.49.44     Loaded
    File Support     oracle.ide.files     11.1.1.0.22.49.44     Loaded
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.57.83     Loaded
    Help System     oracle.ide.help     11.1.1.0.22.49.44     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.0.22.49.44     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.0.22.49.44     Loaded
    Log Window     oracle.ide.log     11.1.1.0.22.49.44     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.0.22.49.44     Loaded
    Navigator     oracle.ide.navigator     11.1.1.0.22.49.44     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.0.22.49.44     Loaded
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.57.83     Loaded
    Oracle IDE     oracle.ide     11.1.1.0.22.49.44     Loaded
    Oracle Microsoft Access Browser     oracle.sqldeveloper.thirdparty.access     11.1.1.57.83     Loaded
    Oracle Migration Workbench     oracle.sqldeveloper.migration     11.1.1.57.83     Loaded
    Oracle Migration Workbench - MS Access     oracle.sqldeveloper.migration.msaccess     11.1.1.57.83     Loaded
    Oracle Migration Workbench - MySQL     oracle.sqldeveloper.migration.mysql5     11.1.1.57.83     Loaded
    Oracle Migration Workbench - SQLServer     oracle.sqldeveloper.migration.sqlserver2005     11.1.1.57.83     Loaded
    Oracle Migration Workbench - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.57.83     Loaded
    Oracle Migration Workbench - Translation MS Access     oracle.sqldeveloper.migration.translation.msaccess     11.1.1.57.83     Loaded
    Oracle Migration Workbench - Translation MS SQL Server     oracle.sqldeveloper.migration.translation.sqlserver     11.1.1.57.83     Loaded
    Oracle Migration Workbench - Translation MySQL     oracle.sqldeveloper.migration.translation.mysql     11.1.1.57.83     Loaded
    Oracle Migration Workbench - Translation Sybase     oracle.sqldeveloper.migration.translation.sybase     11.1.1.57.83     Loaded
    Oracle Migration Workbench - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.57.83     Loaded
    Oracle MySQL Browser     oracle.sqldeveloper.thirdparty.mysql     11.1.1.57.83     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.57.83     Loaded
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     11.1.1.57.83     Loaded
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.57.83     Loaded
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.57.83     Loaded
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     1.5.3.1.3     Loaded
    Oracle SQL Server Browser     oracle.sqldeveloper.thirdparty.sqlserver     11.1.1.57.83     Loaded
    Oracle Sybase Browser     oracle.sqldeveloper.thirdparty.sybase     1.5.3.57.83     Loaded
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.57.83     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.0.22.49.44     Loaded
    Peek     oracle.ide.peek     1.0     Loaded
    Replace With     oracle.ide.replace     11.1.1.0.22.49.44     Loaded
    Runner     oracle.ide.runner     11.1.1.0.22.49.44     Loaded
    SQL Worksheet Window     oracle.sqldeveloper.sqlworksheet     11.1.1.57.83     Loaded
    Search Bar     oracle.ide.searchbar     11.1.1.0.0     Loaded
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.57.83     Loaded
    Sql Monitoring Project     oracle.sqldeveloper.sqlmonitor     11.1.1.57.83     Loaded
    Sybase 12     oracle.sqldeveloper.migration.sybase12     11.1.1.57.83     Loaded
    Sybase 15     oracle.sqldeveloper.migration.sybase15     11.1.1.57.83     Loaded
    Tuning     oracle.sqldeveloper.tuning     11.1.1.57.83     Loaded
    VHV     oracle.ide.vhv     11.1.1.0.22.49.44     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.0.22.49.44     Loaded
    Versioning Support for CVS     oracle.jdeveloper.cvs     11.1.1.0.22.49.44     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.0.22.49.44     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.0.22.49.44     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.0.22.49.44     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.0.22.49.44     Loaded
    //jb

  • 2 jdbc connections from a java application works ok to 9i but not to 10g

    Hi,
    I hava java swing application which opens one jdbc connection. Tha application has 10 classes all of which are in one package say app.someapp.pkg1. This works ok.
    I am trying to integrate a second java component which provides a drilldown JTree interface to the user. The second component has 6 classes and has its own package app.someotherapp.pkgA. The second java component also opens a JDBC connection.
    If both the jdbc connections point to a common 9i database it works fine.
    If both the jdbc connections point to a common 10g 10.0.2.0.0 database the second component fails to open the conection.
    Some static variables in the two packages may be getting overloaded i.e connection. Should this matter even though the packages are different.
    Are there any issues in opening a 2nd connection to 10.0.2.0.0 using JDBC.
    What might I be doing wrong can anyone suggest a line of attack
    Saugato

    Dear All
    IT WORKS FINE . Pls disregards this thread
    I misinterpreted the ORA-02019 error message. The 10g instance was missing a database link to a 3rd remote database . The 9i instance had this database link hence was not complaining.
    The following error was thrown when a select was performed on a table refred to using the database link.
    java.sql.SQLException: ORA-02019: connection description for remote database not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)

  • JDBC Connection Jobs Continue to Run After Network Issues

    We've got 7.0 SP13 installed in our DEV and QAS environments.  We connect to iSeries DB2 tables using a JDBC connection.  We recently experienced a network issue that shutdown PI.  Problem is that the system jobs used to connect to the iSeries are still running and still requiring more and more temporary storage.  We've rebooted our PI boxes but still these connection jobs continue to run and gobble up more memory.
    Are we missing something in our configuration of these communication channels that will force these jobs to end???
    Thanks in advance,
    Chad

    iSeries is on a separate server altogether.  JDBC connection to the iSeries is setup through the communication channel.
    Problem is that the network issue that disconnected PI from the iSeries left these communication jobs running on the iSeries. 
    Rebooting PI only created MORE of these communication jobs.
    Thanks for the reply VJ, but I don't believe the poll interval would help me in this case.
    Chad

  • HELP:Problem in creating a temporary CLOB using JDBC connection pooling

    Hi All,
    i am inserting a large xml document in an xml type column by creating a temporary clob of this document
    tempClob = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);
    I am not having any success getting the following statement working using a JDBC connection pool rather than a hard coded URL connection
    it works with:
    "jdbc:oracle:thin:@server:port:dbname" connection
    Does NOT work with:
    datasource.getConnection()
    Does any one know how to successfully get this to work?
    urgently plz........

    Hi Dharmi
    Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
    CE7.1.1 will be released at September 2008 for ramp-up customers.
    There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
    The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
    Many layout & modeling improvements
    Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
    Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
    Regards,
       Shai

  • Turn Autocommit off for JDBC Connection

    I'd like to control the commit for DBMS_XMLSave operations on my own instead of auto commit. The documentation says to "Turn Autocommit off for JDBC Connection", but I haven't found how to do that yet, any clues?

    My apologies for how complicated this is, it was written to be a
    generic xml processor for multiple tables. I narrowed it to one
    table. It converts a long to clob, parses it, walks the dom to
    find rows and processes each row. One InsertXML per row in the
    XML.
    CREATE OR REPLACE package whl_rtl_xml_pkg as
    --Context definitions by table
    HUDLINE_CTX_IND char(1) := 'N';
    HUDLINE_Ctx DBMS_XMLSave.ctxType := null;
    procedure accept_xml (in_long in long, out_sts out char, out_msg
    out varchar2);
    procedure updt_hudline(in_row_node in xmldom.DOMNode, in_clob
    clob, out_sts out char, out_msg out varchar2);
    procedure set_context(in_table_name in varchar2, out_sts out
    char, out_msg out varchar2);
    end whl_rtl_xml_pkg;
    CREATE OR REPLACE package body whl_rtl_xml_pkg as
    procedure accept_xml (in_long in long, out_sts out char, out_msg
    out varchar2) is
    begin
    declare
    -- Long to CLOB and Parse XML variables
    v_in_clob clob; -- Entire long converted to clob
    v_clob clob; -- One row written to clob from DOM
    doc xmldom.domdocument; -- Parsed XML Document
    v_long_lnth NUMBER;
    v_nbr INTEGER := 500;
    bbuf varchar2(500);
    p xmlparser.parser;
    retval xmldom.domdocument;
    --LOANLOCK information
    lock_list xmldom.DOMNodeList;
    lock_node xmldom.DOMNODE;
    lock_loan_nbr WHL_LOAN_TB.LOAN_NBR%TYPE;
    lock_rcd_updt_ts WHL_LOAN_TB.RCD_UPDT_TS%TYPE;
    lock_rcd_updt_user_id WHL_LOAN_TB.RCD_UPDT_USER_ID%TYPE;
    V_RETURN char(2);
    -- Rowset Info
    rowset_nl xmldom.DOMNodeList;
    rowset_len number;
    rowset_node xmldom.DOMNode;
    rowset_table varchar2(30);
    -- Row Info
    row_nl xmldom.DOMNodeList;
    row_len number;
    row_node xmldom.DOMNode;
    -- General
    v_table_name char(30);
    v_time char(10);
    v_ret_sts char(2);
    v_ret_msg VARCHAR2(200);
    function selected_nodes (in_xpath varchar2)
         return xmldom.domnodelist is
         retval xmldom.domnodelist;
    begin
    retval := xslprocessor.selectnodes (xmldom.makenode
    (doc),in_xpath);
         RETURN retval;
    end selected_nodes;
    begin
    --Connection.setAutoCommit(false);
    v_long_lnth := length(in_long); -- Determine length of XML Input
    -- Create Clob and convert long to CLOB
    dbms_lob.createtemporary(v_in_clob,TRUE);
    dbms_lob.createtemporary(v_clob,TRUE);
    dbms_lob.write(v_in_clob,v_long_lnth,1,in_long);
    -- Parse Clob, create DOM
    p := xmlparser.newParser;
    xmlparser.parseCLOB(p,v_in_clob);
    doc := xmlparser.getDocument(p);
    -- Loop through ROWSETS
    rowset_nl := selected_nodes('/ROOT/ROWSET'); -- Find rowset
    nodes
    rowset_len := xmldom.getLength(rowset_nl);
    for rs in 0..rowset_len-1 loop
    rowset_node := xmldom.item(rowset_nl,rs);
    rowset_table := xslprocessor.valueof
    (rowset_node,'TABLE_NAME'); -- Determine which table the rowset
    is for
    -- set up context for this table
    set_context(rtrim(rowset_table), v_ret_sts, v_ret_msg);
    IF V_RET_STS != '00' THEN -- Update failed for row
         OUT_STS := '01';
         OUT_MSG:= 'WHL_RTL_TEMPLATE_SP ERROR from:'||rtrim
    (v_ret_msg);
         RETURN;
    END IF;
    -- Loop through Row Nodes to process individual rows
    row_nl := xslprocessor.selectnodes (rowset_node,'ROW');
    row_len := xmldom.getLength(row_nl);
    for i in 0..row_len-1 loop
    row_node := xmldom.item(row_nl,i);
    xmldom.writeToClob(row_node, v_clob);
    -- DBMS_LOB.READ (v_clob, v_nbr, 1, Bbuf);
    -- dbms_output.put_line(substr(bbuf,1,200));
    -- Find elements of "ROW" -->Column Names needed for key
    processing
         -- call function to process row for the table
         -- pulls column names needed and update row in database
    as required
    if rowset_table = 'WHL_HUDLINE_TB' then
         updt_hudline(row_node, v_clob, v_ret_sts, v_ret_msg);
              IF V_RET_STS != '00' THEN -- Update failed for
    row
         OUT_STS := '01';
         OUT_MSG:= 'WHL_RTL_TEMPLATE_SP ERROR from:'||rtrim
    (v_ret_msg);
              RETURN;
              END IF;
         end if;
    end loop;
    end loop;
    -- Clean up
    dbms_lob.FREETEMPORARY (v_in_clob);
    dbms_lob.FREETEMPORARY (v_clob);
    out_sts := '00';
    out_msg := 'WHL_RTL_XML_PKG.ACCEPT_XML Finished without errors';
    exception
    when others then
    out_sts := '99';
         out_msg := 'WHL_RTL_XML_PKG uncaught error:'|| SQLERRM;
    end;
    end accept_xml;
    procedure updt_hudline(in_row_node in xmldom.DOMNode, in_clob
    clob, out_sts out char, out_msg out varchar2) is
    begin
    declare
    V_LOAN_NBR WHL_LOAN_TB.LOAN_NBR%TYPE;
    V_HUDLINE_NBR WHL_HUDLINE_TB.HUDLINE_NBR%TYPE;
    V_KEY_EXISTS NUMBER;
    v_rows_updt number;
    v_nbr number;
    v_msg varchar2(200);
    begin
    v_loan_nbr := xslprocessor.valueof(in_row_node,'LOAN_NBR');
    v_hudline_nbr := xslprocessor.valueof
    (in_row_node,'HUDLINE_NBR');
    select count(*) into v_key_exists from whl_hudline_tb
    where loan_nbr = v_loan_nbr
    and hudline_nbr = v_hudline_nbr;
    if v_key_exists > 0 then
    v_rows_updt := DBMS_XMLSave.updateXML
    (hudline_Ctx,in_clob);
    else
         v_rows_updt := DBMS_XMLSave.insertXML
    (hudline_Ctx,in_clob);
         END IF;
         if v_rows_updt = 0 then -- Error no rows were inserted
    or updated
    out_sts := '01';
         out_msg := 'UPDT_HUDLINE - insert/update did not
    update any rows for:'||V_LOAN_NBR||':'||
    V_HUDLINE_NBR||':'||V_KEY_EXISTS;
    else
    out_sts := '00';
    end if;
    exception
    when others then
    -- get the original exception
    DBMS_XMLQuery.getExceptionContent(HUDLINE_Ctx,v_nbr,
    v_msg);
    dbms_output.put_line('updt_hudline Exception caught ' ||
    TO_CHAR(v_nbr)
    || out_msg );
    out_sts := '99';
         out_msg := 'updt_hudline:'||v_msg;
    end;
    end updt_hudline;
    procedure set_context(in_table_name in varchar2, out_sts out
    char, out_msg out varchar2) is
    begin
    declare
    v_nbr number;
    v_msg varchar2(200);
    begin
    if in_table_name = 'WHL_HUDLINE_TB' then
    if HUDLINE_CTX_IND = 'N' THEN -- Context has not been created
    for the table
    HUDLINE_Ctx := DBMS_XMLSave.newContext('WHL_HUDLINE_TB');
         DBMS_XMLSave.clearUpdateColumnList(HUDLINE_Ctx); -- To
    test
         DBMS_XMLSave.clearKeyColumnList(HUDLINE_Ctx);
         DBMS_XMLSave.setKeyColumn(HUDLINE_Ctx,'LOAN_NBR');
         DBMS_XMLSave.setKeyColumn(HUDLINE_Ctx,'HUDLINE_NBR');
         DBMS_XMLSave.setCommitBatch(HUDLINE_Ctx, 0);
         HUDLINE_CTX_IND := 'Y';
    END IF;
    END IF;
    out_sts := '00';
    exception
    when others then
    -- get the original exception
    DBMS_XMLQuery.getExceptionContent(HUDLINE_Ctx,v_nbr,
    v_msg);
    dbms_output.put_line('set_context Exception caught ' ||
    TO_CHAR(v_nbr)
    || out_msg );
    out_sts := '99';
         out_msg := 'set_context error:'||v_msg;
    end;
    end set_context;
    end whl_rtl_xml_pkg;
    procedure kim_test as
    begin
    declare
    in_long long := '<ROOT>
    <ROWSET>
    <TABLE_NAME>WHL_HUDLINE_TB</TABLE_NAME>
         <ROW num="3">
              <LOAN_NBR>6000012</LOAN_NBR>
              <HUDLINE_NBR>104.3</HUDLINE_NBR>
              <HUDLINE_AMT>700</HUDLINE_AMT>
              <HUDLINE_PYMNT_MTHD_CD>A</HUDLINE_PYMNT_MTHD_CD>
              <HUDLINE_COMMENT_TXT>THIS IS A
    COMMENT</HUDLINE_COMMENT_TXT>
         </ROW>
    <ROW num="4">
              <LOAN_NBR>6000012</LOAN_NBR>
              <HUDLINE_NBR>104.4</HUDLINE_NBR>
              <HUDLINE_AMT>700</HUDLINE_AMT>
              <HUDLINE_PYMNT_MTHD_CD>A</HUDLINE_PYMNT_MTHD_CD>
              <HUDLINE_COMMENT_TXT>THIS IS A
    COMMENT</HUDLINE_COMMENT_TXT>
    </ROWSET>
    </ROOT>';
    out_err_sts char(2);
    out_err_msg varchar2(200);
    begin
    WHL_rtl_xml_pkg.accept_xml (in_long, out_err_sts, out_err_msg);
    dbms_output.put_line(out_err_msg);
    end;
    end;
    Output from running it
    SQL> edit
    Wrote file afiedt.buf
    1 delete from whl_hudline_tb
    2* where loan_nbr = '6606665'
    SQL> /
    2 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> set serveroutput on
    SQL> execute kim_test
    WHL_RTL_XML_PKG.ACCEPT_XML Finished without errors
    PL/SQL procedure successfully completed.
    SQL> select loan_nbr, hudline_nbr, hudline_amt
    2 from whl_hudline_tb
    3 where loan_nbr = '6606665';
    LOAN_NB HUDLIN HUDLINE_AMT
    6606665 104.3 700
    6606665 104.4 700
    SQL> rollback;
    Rollback complete.
    SQL> select loan_nbr, hudline_nbr, hudline_amt
    2 from whl_hudline_tb
    3 where loan_nbr = '6606665';
    LOAN_NB HUDLIN HUDLINE_AMT
    6606665 104.3 700
    6606665 104.4 700

  • JDBC connection pool failures when used by JMS stores

              We are using WebLogic 6.1 sp2. We defined a separate connection pool for use by
              a JMS Store.
              <JDBCConnectionPool Name="sybaseJMSPool"
              Targets="cluster00"
              InitialCapacity="2"
              MaxCapacity="10"
              DriverName="com.sybase.jdbc2.jdbc.SybDriver"
              Properties="[email protected]@;[email protected]@;charset=utf8"
              URL="jdbc:sybase:Tds:@jms.db.host@/@jms.db.name@"/>
              (note that the @xxx@ string are replaced by actual values).
              We are using Sybase Jconnect 5.5 to a Sybase ASE 12.5 database.
              We deployed this configuration on a number of environments (testing, staging,
              ..). The actual hardware and network configuration is different for the different
              system, but the WebLogic domain stays the same regarding this issue.
              On the test system we frequently get the following exceptions:
              <Aug 13, 2002 1:56:04 PM CEST> <Alert> <JMS> <www00-test> <node00>
              <ExecuteThread: '6' for queue: 'JMS.TimerClientPool'> <> <> <040048>
              <JMSServer "JMSServer00", store failure while writing message for topic
              OrderChangeTopic, java.io.IOException: JMS JDBC store, connection pool =
              <sybaseJMSPool>, prefix = <JMS00>: write failed
              java.sql.SQLException: JZ006: Caught IOException:
              com.sybase.jdbc2.jdbc.SybConnectionDeadException: JZ0C0: Connection is already
              closed.
              at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead
              (ErrorMessage.java:715)
              at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3124)
              at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1412)
              at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1341)
              at com.sybase.jdbc2.jdbc.SybStatement.doCancel(SybStatement.java:564)
              at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java:1672)
              at com.sybase.jdbc2.jdbc.SybStatement.executeUpdate
              (SybStatement.java:1625)
              at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate
              (SybPreparedStatement.java:91)
              at com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate
              (P6LogPreparedStatement.java:179)
              at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:293)
              at weblogic.jms.store.JDBCIOStream.write(JDBCIOStream.java:1246)
              at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:250)
              at weblogic.jms.store.JMSStore.execute(JMSStore.java:182)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              .>
              java.io.IOException: JMS JDBC store, connection pool = <sybaseJMSPool>, prefix
              = <JMS00>: write failed
              java.sql.SQLException: JZ006: Caught IOException:
              com.sybase.jdbc2.jdbc.SybConnectionDeadException: JZ0C0: Connection is already
              closed.
              at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead
              (ErrorMessage.java:715)
              at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3124)
              at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1412)
              at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1341)
              at com.sybase.jdbc2.jdbc.SybStatement.doCancel(SybStatement.java:564)
              at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java:1672)
              at com.sybase.jdbc2.jdbc.SybStatement.executeUpdate
              (SybStatement.java:1625)
              at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate
              (SybPreparedStatement.java:91)
              at com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate
              (P6LogPreparedStatement.java:179)
              at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:293)
              at weblogic.jms.store.JDBCIOStream.write(JDBCIOStream.java:1246)
              at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:250)
              at weblogic.jms.store.JMSStore.execute(JMSStore.java:182)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              at weblogic.jms.store.JDBCIOStream.throwIOException
              (JDBCIOStream.java:1213)
              at weblogic.jms.store.JDBCIOStream.write(JDBCIOStream.java:1256)
              at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:250)
              at weblogic.jms.store.JMSStore.execute(JMSStore.java:182)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Before that this message appeared:
              <Aug 13, 2002 11:31:16 AM CEST> <Error> <ConnectionManager> <www00-test>
              <node00> <ExecuteThread: '26' for queue: 'default'> <> <> <000000>
              <Closing: 'weblogic.rjvm.t3.T3JVMConnection@795af6' because of: 'Server
              received a message over an uninitialized connection: 'JVMMessage from: 'null'
              to: '-4555218188801970213S:192.168.13.1:[7001,7001,7002,7002,7001,7002,-
              1]:ADIS:node00' cmd: 'CMD_REQUEST', QOS: '101', responseId: '1',
              invokableId: '287', flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev
              offset: '34'''>
              This problem did not occur on another system which was used during a 2 day stress
              testing session.
              It seems that the problem occurs after a period in which no user request where
              made. The user requests trigger EJB's that start sending JMS messages.
              When the problem occurs, the JMS messaging systems seems to lock up as no messages
              are received anymore by the different listeners (MDBs).
              Undeploying and redeploying the JBDC connection pool solves the problem. This
              solution is unacceptable in case of a production system.
              A similarly defined connection pool, which is used by the EJBs to make database
              connection, does not manifest this problem.
              <JDBCConnectionPool Name="sybasePool"
              Targets="cluster00"
              InitialCapacity="10"
              CapacityIncrement="5"
              MaxCapacity="50"
              PreparedStatementCacheSize="150"
              DriverName="com.sybase.jdbc2.jdbc.SybDriver"
              Properties="[email protected]@;[email protected]@;JCONNECT_VERSION=6;charset=utf8"
              URL="jdbc:sybase:Tds:@db.host@/@db.name@"/>
              The JDBC connection pool is used as follows by the JDBC store
              <JMSJDBCStore ConnectionPool="sybaseJMSPool" Name="JDBCStore00" PrefixName="JMS00"/>
              <JMSServer Name="JMSServer00" Store="JDBCStore00" Targets="node00">
              <JMSTopic JNDIName="ADIS.JMSError" JNDINameReplicated="false" Name="ErrorTopic"/>
              <JMSTopic JNDIName="ADIS.Status"
              Name="StatusTopic" RedeliveryDelayOverride="300000"/>
              <JMSTopic JNDIName="ADIS.OrderChange" JNDINameReplicated="false"
              Name="OrderChangeTopic" RedeliveryLimit="3"/>
              </JMSServer>
              Turning on the "Test Reserved Connection" with a appropriate test table does not
              help.
              Some sources on the internet tell us that JZ0C0 errors in the Jconnect driver
              can be related to network problems. Nevertheless the connection pool should be
              able to cope with this.
              Can you provide any solution for this ? Or give us hints what can cause the problem
              

    Zhenhao Qi wrote:
    thanks! Joe.
    The SQL statement itself can no longer be simplified, the long excuation time is due to the database size and complicated Select criteria. I can easily reproduce the problem by using this SQL. I tried "BEA's Oracle driver (Type 4): Version 8.1.7,9.0.1,9.2.0". the question can be dissect into 2 pieces:
    1) why the jdbc connection (using oracle.jdbc.OracleDriver) won't return anything if the SQL execution time > 5min, that is probably the Oracle's problem
    2) why the occupied connection pool won't release even I set "Statementtimeout=600", this is Weblogic's problem.
    ZhenhaoHi. Yes, (1) is oracle's problem. (2) may also be. The JDBC spec has very few
    allowances for one thread to interrupt a second thread's JDBC call. If we
    transmit your timeout request by calling setQueryTimeout() on the oracle
    statement, and if you have a weblogic-controlled transaction we call
    Statement.cancel() on any ongoing statement, we end up relying on whether
    the Oracle driver implements and responds to those calls.
    Are you doing weblogic-controlled transactions? Are you/can you
    call Statement.setQueryTimeout() on your statements, or are these
    generated JDBC queries?
    If you can duplicate the problem using the weblogic.jdbc.oracle.OracleDriver
    we have some other debug avenues. This would be good even if you really
    want to use the thin driver, because we will do the same JDBC calls to
    either driver, and the debug would prove (if) we set up a query timeout
    and if we call cancel(). If we do, then we can know that it is the Oracle
    driver failing in these regards.
    Joe

Maybe you are looking for

  • How do I associate PayPal with my apple account

    Hi, I used to be able to use Paypal to pay for iPhone apps in the app store.  Recently, when I try to buy or download a free app, I get an error message that says Paypal is not supported on my iPhone. I also have the Paypal app downloaded on my phone

  • Zen XTRA is completely dead after installing the latest firmware 2.10

    Hello,?I have tried to install the latest firmware 2.0.03 to my Zen Xtra 60GB mp3 player. The installation process completed about 70%. As I understand, at that point the?new firmware was finally uploaded after a couple of player reboots. The?firmwar

  • Opening a bounded taskflow in a new browser window.

    Hello, I have links in my application that open the application in a new browser window. window.open(/MFRAME/faces/adf.task-flow?adf.tfId=moduleDataMan&adf.tfDoc=/WEB-INF/flows/moduleDataMan/moduleDataMan.xml, "w"+new Date().getTime()); When I open t

  • To improve data load performance

    Hi, The data is getting loaded into the cube. Here there are no routines in update rules and transfer rules. Direct mapping is done to the infoobjects. But there is an ABAP routine written for 0CALDAY in the infopackage . Other than the below code ,

  • Keyboard problems in PE 13

    Installed in OS X Yosemite, Elements is refusing keyboard input in a couple of places.  When I click "Add a caption," I can do it when I get to it by right clicking a photo in Grid view, but if the photo is open by itself, clicking the "Click here to