SQL Developer 1.5.4.59.40 - IO Exception: Undefined Error VENDOR CODE 17002

Hi All.
I hope someone can help.
I have recently installed Oracle XE on my Vista Ultimate laptop and it is up and running with no apparent problems. I then connected to the HR schema on XE with no problems using SQL Developer 1.2.1.3213 (OLD Version). I noticed that SQL Developer 1.5.4.59.40 (NEW version) was available and downloaded it (the offering without JDK included) and renamed the "C:\Program Files\SQLDeveloper" folder holding the older version to "C:\Program Files\SQLDeveloper_Orig" and placed the new version of SQL Developer in the Prog Files directory to give "C:\Program Files\SQLDeveloper".
I then ran SQLDeveloper.exe (NEW) and when requested gave the JDK path as "C:\Program Files\Java\JDK_1.6.0_11\bin\java.exe" ('Java -version' gives 1.6.0_11-b03) and migrated over the settings from the previous version of SQLDeveloper (OLD).
The Application loads fine but when i attempt to connect to XE's HR schema i get the following error:
"IO Exception: Undefined Error
VENDOR CODE 17002"
I have searched to try and find out what is going on but cannot find any solutions that work. The previous 17002 error solutions on this forumn have all failed.
These included changing the JDK.conf file to hold route to JDK directory and also creating a 'bat' file.
My system does not have the directory for the JDK in it's PATH environment setting (either USER or SYSTEM) but does include a directory path under SYSTEM environment vars to another version fo JDK on my machine under "C:\Program Files\Sun\JDK\". I thought this may be causing a conflict but it is version 1.6.0.05_b13 and is also compatible-is it not? I also have Java JRE6 (1.6.0_12-b04) on my machine - this does not have a PATH variable and was not referenced when loading SQL Developer when loading the first time.
Can anyone help me resolve this, why can the previous version still connect OK to XE and not new version? is there something i am missing? Do i require the Java JDK Directory to be placed under a PATH environment SYSTEM variable?
Thanks in advance,
M
Edited by: user592047 on 16-Mar-2009 10:08

Taken from about SQL Developer:
Version:
CVS Version          Internal to Oracle SQL Developer (client-only)
Java(TM) Platform     1.6.0_11
Oracle IDE          1.5.4.59.40
Versioning Support     1.5.4.59.40
Properties:
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 Vista 6.0 x86; en_GB) ICEbrowser/v6_1_3
ice.browser.forcegc          false
ice.pilots.html4.ignoreNonGenericFonts     true
ice.pilots.html4.tileOptThreshold     0
ide.AssertTracingDisabled     true
ide.bootstrap.start          10390897243225
ide.build                    MAIN-5940
ide.conf                    C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname          C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild               false
ide.devbuild               false
ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun                    false
ide.java.minversion          1.5.0
ide.launcherProcessId          2672
ide.main.class               oracle.ide.boot.IdeLauncher
ide.patches.dir               ide/lib/patches
ide.pref.dir                    C:\Users\M\AppData\Roaming\SQL Developer
ide.pref.dir.base               C:\Users\M\AppData\Roaming
ide.product                    oracle.sqldeveloper
ide.shell.enableFileTypeAssociation     C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.splash.screen               splash.gif
ide.startingArg0               C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.startingcwd               C:\Program Files\sqldeveloper_new
ide.user.dir                    C:\Users\M\AppData\Roaming\SQL Developer
ide.user.dir.var               IDE_USER_DIR
ide.work.dir               C:\Users\M\Documents\SQL Developer
ide.work.dir.base               C:\Users\M\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:\Program Files\Java\jdk1.6.0_11\jre\lib\endorsed
java.ext.dirs               C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home                    C:\Program Files\Java\jdk1.6.0_11\jre
java.io.tmpdir               C:\Users\M\AppData\Local\Temp\
java.library.path               C:\Program Files\sqldeveloper_new;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oracle\xe\app\oracle\product\10.2.0\server\bin;C:\Program Files\CodeGear\RAD Studio\5.0\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft Network Monitor 3\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_11;C:\Program Files\Sun\SDK\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Nmap
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.library                    /C:/Program Files/sqldeveloper_new/jdbc/lib/ojdbc5.jar
line.separator               \r\n
oracle.home               C:\Program Files\sqldeveloper_new
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               /C:/Program Files/sqldeveloper_new/jlib/orai18n.jar
os.arch                    x86
os.name                    Windows Vista
os.version                    6.0
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:\Program Files\Java\jdk1.6.0_11\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_11\jre\classes
sun.boot.library.path          C:\Program Files\Java\jdk1.6.0_11\jre\bin
sun.cpu.endian               little
sun.cpu.isalist               pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
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 1
user.country               GB
user.dir                    C:\Program Files\sqldeveloper_new\sqldeveloper\bin
user.home                    C:\Users\M
user.language               en
user.name                    M
user.timezone               Europe/London
user.variant     
windows.shell.font.languages

Similar Messages

  • Import bug (fatal error): SQL Developer 4.1EA2 drops destination table upon rollback after error

    I created a table in the worksheet and then I tried to import data into is using SQL Developer EA2. After error is raised, I was presented with the error on the screenshot below. (Note: Rightmost button stands for "Cancel") By choosing cancel (i.e. Click cancel to cancel and rollback.) my destination table is dropped to recycle bin. Rollback should not undo any DDL even when the table was created using the import wizard. But purging a table that was not created by the import wizard is a fatal error.
    Steps to reproduce:
    create the destination table from worksheet and check if it was created:
    column table_name format a21
    create table test_imp_rollback_bug(dummy number(2));
    insert into test_imp_rollback_bug values (-1);
    commit;
    select table_name from user_tables where table_name='TEST_IMP_ROLLBACK_BUG';
    --Result:
    TABLE_NAME
    TEST_IMP_ROLLBACK_BUG
    import CSV using the import settings attached, To achieve this, utilize the new Restore state of the SQL Developer's import wizard. Note: you might need to adjust schema of the destination table.
    test_imp_rollback_bug_numbers.csv
    test_imp_rollback_bug-import_settings.sdimp
    Upon "Insert failed for rows  1  through  50 " message presented, click Cancel.
    The table does not exists any more:
    select table_name from user_tables where table_name='TEST_IMP_ROLLBACK_BUG';
    --Result:
    no rows selected
    Edit (jmarton, 2015-04-26):
    Software versions used:
    SQL Developer version: 4.1.0.18.37
    Oracle JDK: 1.8.0_31, 64bit, Linux
    Instant client: linux.x64-12.1.0.2.0
    Database: 12cR1 12.1.0.2.0 64bit, Linux, EE, CDB-install

    select table_name from user_tables where table_name='TEST_IMP_ROLLBACK_BUG'; 
    --Result: 
    no rows selected
    >>Note: you might need to adjust schema of the destination table.
    A rollback won't drop a table. Are you sure the tale isn't there? select from dba_tables or all_tables, assuming you had to change the destination schema as indicated in your test notes.

  • SQL Developer 3.2.2 on Windows XP exception

    Have seeen the below a couple of times.
    java.lang.NullPointerException
    at oracle.jdevimpl.vcs.svn.SVNProfile.canActivate(SVNProfile.java:162)
    at oracle.jdevimpl.vcs.generic.GenericClient.fireCanActivate(GenericClient.java:1629)
    at oracle.jdevimpl.vcs.generic.GenericClient.canActivate(GenericClient.java:237)
    at oracle.jdevimpl.vcs.VCSManagerImpl$6.addinsLoaded(VCSManagerImpl.java:391)
    at oracle.ide.IdeCore.fireIdeEvent(IdeCore.java:864)
    at oracle.ide.IdeCore.access$100(IdeCore.java:136)
    at oracle.ide.IdeCore$3.run(IdeCore.java:836)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
    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.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
    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)

    Hi,
    Disabling the Subversion plug-in in SQL Developer should resolve this issue. Here are a few prior posts on similar issues:
    Error while starting SQL Developer (3.1.07)
    Re: SqlDeveloper View/Files menuItem freezes the View window
    Re: java.lang.NullPointerException
    Regards,
    Gary
    SQL Developer Team

  • SQL Developer EA 3.1 -Java Null pointer exception when loading model viewer

    a) I have a simple 3 node flow -- 1) DataSource selects CLOB and VARCHAR column; 2) BuildText node transforms CLOB into NESTED COLUMN; 3) ClustBuild node build K-Means cluster
    b) The "run" step succeeds for all three nodes, however when I try to launch the viewer for the cluster model, it fails with the stack trace below after 5 mins or so. I have a custom stoplist for the BuildText node that extends the "English" stoplist. If I replace the custom stoplist with the "default" (the English stoplist I believe), then the viewer loads without the exception.
    NB) Database version is 11.2.0.1.0, Sql Dev build is 3.1.06 Build MAIN-06-44
    java.lang.NullPointerException
         at oracle.dmt.dataminer.mviewer.clustering.tree.model.ClusterTreeSDMModel.load(ClusterTreeSDMModel.java:57)
         at oracle.dmt.dataminer.mviewer.clustering.tree.ClusteringTreeEditor.load(ClusteringTreeEditor.java:412)
         at oracle.dmt.dataminer.mviewer.clustering.tree.ClusteringTreeEditor.open(ClusteringTreeEditor.java:251)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:283)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:184)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:95)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:232)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:195)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:102)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:379)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1403)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1337)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1263)
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame(EditorUtil.java:164)
         at oracle.dmt.dataminer.workflow.WorkflowContextMenu$2.actionPerformed(WorkflowContextMenu.java:746)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
         at java.awt.Component.processMouseEvent(Component.java:6504)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
         at java.awt.Component.processEvent(Component.java:6269)
         at java.awt.Container.processEvent(Container.java:2229)
         at java.awt.Component.dispatchEventImpl(Component.java:4860)
         at java.awt.Container.dispatchEventImpl(Container.java:2287)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
         at java.awt.Container.dispatchEventImpl(Container.java:2273)
         at java.awt.Window.dispatchEventImpl(Window.java:2713)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
         at java.awt.EventQueue.access$000(EventQueue.java:101)
         at java.awt.EventQueue$3.run(EventQueue.java:666)
         at java.awt.EventQueue$3.run(EventQueue.java:664)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
         at java.awt.EventQueue$4.run(EventQueue.java:680)
         at java.awt.EventQueue$4.run(EventQueue.java:678)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    Edited by: user809775 on Dec 19, 2011 11:31 AM

    Hi,
    We have been working on some performance issues tied to viewing large cluster models.
    Maybe... this is tied to that.
    1) Can you run the following query in sql worksheet to see how many distinct attributes are in the root cluster node. Just replace the 'CLUS_KM_1_16' value with your model name.
    SELECT count(distinct(h.attribute_name || h.attribute_subname))
    FROM TABLE(DBMS_DATA_MINING.GET_MODEL_DETAILS_KM('CLUS_KM_1_16',1,NULL, 0, 1, 0)) t,
    TABLE(t.histogram) h
    2) Can you launch the client with the console window to see if there is an earlier exception that is being eaten that is leading to the final exception.
    You can do this by using the finding the following executable and using it to launch sql dev:
    C:\<SQL DEV INSTALL FOLDER>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
    3) Of course, recreating the problem on our side is necessary. This might be difficult without opening a support ticket, but if you are able to post a script that creates a table using some demo data that ships with the db, we should be able to determine the problem pretty quickly.
    Thanks, Mark

  • Top 10 Obstacles to Sql Developer Becoming a World-class Tool

    I've been working with Sql Developer day and night for the last 6 months.
    On a positive note, the SqlDeveloper team has been the most responsive Oracle product team I've worked with in the 19 years I've been working with Oracle tools. They pay attention to their customers. It's noticed and much appreciated!
    I thought I would share the biggest problems that I face with the tool on a daily basis, the kind of problems that make me want to work with a different tool each and every day.
    My intent isn't to gripe, it's to focus attention on the biggest productivity drains I face using the tool. Others may have a different list, based on their needs. Without further ado, here is my top 10 problems list:
    1) Quality Control.
    I cannot count on critical portions of the tool working correctly. This includes an oracle database development tool that is incapable of extracting oracle ddl correctly and which is incapable of correctly displaying information about SQL Server data and database objects. It also includes destroying connection files and losing keyboard settings. When the product was installed, it was incapable of properly displaying code in a worksheet when I scrolled thru the code. The details are listed in other postings of mine.
    2) Quality Control.
    See #1.
    3) Quality Control.
    See #1.
    4) Very badly done threading.
    The tool locks up on a constant basis when it does a many tasks. Rather than let me work on some other task, I have to wait for it to complete. My current work-around is to have two or three sql developer windows open. That sucks life out of my RAM supply, but at least I can get some work done. And, of course, it will often completely lock up and never return, which means I lose all unsaved worksheets. This forum is full of postings about these issues.
    5) Memory Leaks / Internal memory corruption.
    If I've had the tool open for a few days, or really worked it hard for a day, I will get bizarre compilation errors that make no sense. If I exit the tool, re-enter the tool, and compile the exact same code all will be well.
    6) Awkward and slow data entry interface for frequently performed tasks.
    Example: I create a new table and want to start defining columns for it. I remove my hands from the keyboard to press the + button, then I have to set focus on the column name field (it should do that for me!). Now that my hands are back on the keyboard, I have to backspace the dummy "column name" value in the column name field (it should ditch that dummy value for me). Only after all that can I actually enter a column name. When I want to add a new column, it's back to the mouse again, for the same drill. The down arrow key should take me to a new column record, as should pressing return at the end of the last field in the column row.
    7) Destroys code
    Changing a column datatype from varchar2 to nvarchar2 destroys the length of the column. Changing a field on a view destroys the instead of triggers. This is bad. There is no warning that this this is about to happen, which would at least give us a chance to avoid the problem. Better still, of course, would be not destroying that data.
    8) Inaccurate checking for record locking.
    When I try to edit records in a data grid for a table, I often get an error message telling me the data was modified in another session. It is simply not true. A hand-written update statement in a sql worksheet will work just fine. I've seen posts in the forum discussing this issue. An Oracle database development tool unable to reliably update oracle data tables is embarrassing. See Obstacle #1.
    9) Unicode support
    Sql Developer is heads above all the other tools I've tried out on this topic.
    However, the configuration of the tool to provide unicode support needs to be simplified.
    The tool needs to recognize the encoding of the files that are being opened up. On Windows Vista, Notepad seems to infallibly pick the right encoding for the file when I open it. Sql Developer should do the same. Files have specific encodings, the tool should have a default encoding (that I can override). Right now, the tool has a specific encoding and expects all files to match it. Extracting ddl to a worksheet does not respect the encoding choices of the tool, either. It only works with a limited set of tool encoding choices.
    10) Resources
    Does the sql developer team have the resources they need to compete with vendors like Microsoft? One really big reason for picking sqlserver over oracle is the ease of use of the Microsoft front-end tools. It's not until later that they may realize that Oracle has more capability, but that's still a lost sale.

    We are acutely aware of quality and with each release work at improving this. Providing a polished, professional and ultimately user friendly and useful tool is our constant goal.
    The broader our customer base grows, the more demands we have. This is a good and exciting position to be in, although it might mean that we need to slow down on our release cycles.
    Release 2.0 should address more of the threading and memory leaks displayed as the team have rewritten some of the sections. As for resources, it's true we're a small team and we get on with the work that we do.It might be a little slower than some would like, but I'm not convinced that having large team is necessarily always the answer.
    As ever, some of the points mentioned could be added to the Exchange. We'll be reviewing and updating the Exchange again in the New Year.
    I think there is another point to add to your list. A lot of what the tool is and will become is from a positive customer interaction we have had to date. While we continue to grow this, I think the product will grow and improve. The forum and all the positive interactions that happen here are key to taking the product forward.
    Regards
    Sue

  • Can SQL Developer be used for Oracle Support "HTML Output" Diag Scripts ?

    Hi All,
    Oracle Support has asked me to run a diagnostic script (OTL_Diag.sql for anyone familar with the script) that produces output in HTML format using SQL*Plus to help troubleshoot an OTL problem we are having. Unfortunately I don't have SQL*Plus installed and my company is not on board with me installing it because of the SQL*NET connection required. Instead I have access to SQL Developer 3.1.0.7. While this works fine for most situations I'm having problems generating the required .html output file that Support needs.
    I've tried runing the OTL_Diag.sql a couple of ways using SQL Developer. First, I opened the file from SQL Developer and using the Run Script functionality (F5) I executed the code that way. This method did give me an opportunity to input the necessary parms and it did create the 'start' of the HTML file on my (Windows) file system, but the script seemed to abort with a java error that indicated some sort of format error (sorry, I'm not a java person so I can't provide any more info, but I'll be glad to get the exact error message if anyone thinks that will help solve my issue).
    My second approach was to open a SQL Window where I typed in @C:\OTL_Diag.sql without quotes. This approach also gave me the opportunity to enter the necessary input parms and it seemed to end normally. It also created the 'start' of the diaganostic output file on my Windows file system, but it 'completed' before any of the 'real' diaganostic output was written to the .html file.
    The Metalink note clearly specifies that the OTL_Diag.sql script is to be run with SQL*Plus 10.2 or above so I don't think I can complain too loudly to Oracle about this...but given that I don't have access to this product (and it is useless for me to again ask to install it) I am hoping someone out there has some ideas or insight as to how I can use SQL Developer to execute this diag script in a manner that will produce the required .html output file.
    Thanks in advance to anyone taking time to read my post !!
    Jeff
    Edited by: user13111861 on Jul 10, 2012 6:43 PM
    Edited by: user13111861 on Jul 10, 2012 7:51 PM

    >
    As a result, at this point in time my only available tool to run the OTL_Diag.sql script (provided by Oracle Support) is SQL Developer
    >
    Then you will have to edit the script, break it into pieces, execute each piece manually and save the output to feed into the next piece as required based on what the script is actually doing. Don't post the script or contents as that will likely violate your support agreement.
    As I already mentioned the script may be using syntax and/or commands that are simply not supported by sql*developer. One likely area is the script may be producing intermediate output scripts that are then processed by a later portion of the script. If that is the case then my suggestion to execute the pieces manually should work but you will need to do some trial-and-error to see.
    Even if you appear to be successful you will still have an issue when you communicate the results of your 'test' to Oracle support and they determine you didn't follow their instructions to use the proper tool.
    Sounds like your management is either ignorant or incompetent so I suggest you cover yourself by documentating the instructions from Oracle support and the direct orders you were given to disregard those instructions. No need to discuss that issue further but clearly there are resources available somewhere in the org that has the proper privileges or they wouldn't be able to maintain and support the database. If they want to pay for support they should heed their advice. Nuff said.

  • Question about creating a cloud connection to SQL Developer

    Hi all!
    I want to create a cloud connection on SQL Developer to Oracle cloud, but keep getting the following error (NOTE: I have the trial version. Also, I have replace the identity domain name with asterisks for the post) :
    Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
    Additional Details:
    oracle.dbtools.raptor.cloud.auth.AuthenticationFailedException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:228)
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.authenticate(BasicAuthenticationEngine.java:73)
      at oracle.dbtools.raptor.cloud.connection.ConnectionCreator.createConnection(ConnectionCreator.java:24)
      at oracle.dbtools.raptor.cloud.connection.CConnections$C.getConnection(CConnections.java:39)
      at oracle.dbtools.raptor.cloud.connection.CConnections.getConnection(CConnections.java:176)
      at oracle.dbtools.raptor.cloud.navigator.CloudConnection.openConnectionImpl(CloudConnection.java:127)
      at oracle.dbtools.raptor.cloud.navigator.CloudConnection.getConnection(CloudConnection.java:89)
      at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:74)
      at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:38)
      at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
    Caused by: org.apache.http.conn.HttpHostConnectException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:941)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
      at oracle.dbtools.raptor.cloud.connection.DefaultClient.executeRequest(DefaultClient.java:90)
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:219)
      ... 16 more
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:579)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:375)
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
      ... 26 more
    I have followed the steps to the last letter using: Data Loading and the Oracle Database Cloud Service
    What I have done on the dashboard and APEX:
    I changed the password of the SFTP user.
    I have created a new user on APEX that belongs to the SQL Developer Group and changed the 'Require change on Password on First Use' to NO before creating the user
    SQL Developer:
    I set the database username to the new user I created in APEX
    I set the database URL to the URL I used to reach the APEX page...https://databasetrial1875-******.db.us1.oraclecloudapps.com/apex/  
    I set the SFTP username to the username listed next to 'Service SFTP User Name' on the dashboard
    I set the SFTP hostname to: sftp.us1.cloud.oracle.com
    I left the port set to 22
    When I login on SQL Developer to database, I use the password for the user I created in APEX
    Thanks in advance to all who help!

    Hi,
    You have to use the admin account to add the admin role to the developer account. Can you please try this and let me know of your feedback.
    The settings you added look good, and the you have the latest version of Sql DEVELOPER     , ...so this should be an issue.
    Maybe you have some firewall setting on your computer, that are blocking the connection?
    If , after checking all of the above you still have an issue, please contact oracle support via the chat on the cloud.oracle.com and ask the engineer to open a Service Request under your name.
    Thanks,
    Flori

  • SQL*Developer 2.1 - Not Generating DDL for Different Users

    Using SQL*Developer Version 2.1.0.63 I get an error trying to generate DDL from another user, that has access to many other schemas. It looks to me like Sql Developer is calling the DBMS_METADATA package from within other PL/SQL.
    I am receiving the following error:
    ORA-31603: object "ACCOUNT_TYPE_LKP" of type TABLE not found in schema "POR_OWN"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 3241
    ORA-06512: at "SYS.DBMS_METADATA", line 4812
    ORA-06512: at line 1
    I would receive these same errors in SQL Developer 1.5, but the DDL would still generated. It was picking something up, even though it had an error.
    Our DBA has not been able to provided a work around. He says you have to login directly as the owner of the objects to use dbms_metdata in this fashion.
    Is there any work around for this? I really need to be able to get DDL and I do not want to go back to 1.5 (I like the other new features of 2.1).
    Thanks,
    Tom

    We have several users currently using SQL Navigator and/or TOAD. We would like them to switch to SQL developer, but part of their job is to view the source of views in another schema. They have select privileges on the underlying tables and are able to see the source using other tools. Using SQL Developer, they receive on ORA-31603 because it's calling dbms_meta. Note ID 1185443.1 describes the issue and suggests granting the users the SELECT_CATALOG_ROLE.
    We are hesitant about granting this role to these users which allows access to ever 1,700 objects, plus execute privileges to 4 objects.
    Support indicated that Enhancement Request 8498115 addresses this issue.
    Is this something that may be addressed in the next release?
    Thanks,
    Paul

  • PL/SQL Bug in SQL Developer?

    SQL Developer v 1.1.1.25 running on Windows XP.
    I have a PL/SQL procedure that does not compile with debug in SQL Developer. Compiling it with debug produces the following error:
    an Error(1): PLS-00801: internal error [79110].The only way I was able to get the procedure to compile in SQL Developer was to add the 4th line. If I uncomment the 4th line it compiles with debug. Why??
    Here is the procedure:
    CREATE OR REPLACE
    PROCEDURE BOGUS AS
      CURSOR c1 IS
        SELECT dummy FROM DUAL;
    --  x c1%ROWTYPE;
      PROCEDURE test ( rec IN OUT c1%ROWTYPE) IS
      begin
        null;
      end;
    BEGIN
      NULL;
    END BOGUS;Message was edited by:
    marife
    I played around some more with the procedure and discovered the problem. The key is the compiling with debug. I believe that compile with debug cannot build the debug information for a %ROWTYPE as a parameter. But if I define a local variable of that %ROWTYPE, then the compile with debug knows what debug information to track for the %ROWTYPE.
    I discovered that in SQL*Plus it compiles, but when you issue the ALTER PROCEDURE bogus COMPILE DEBUG, it does not compile. This is a problem with the debug option for compiling and not a problem with SQL Developer.
    Sorry for the posting. Hopefully this information will save other times and fustration.
    Mike

    Just for anyone else searching on this bug - I get the same error with certain procedures in TOAD when compiling with DEBUG.
    Fortunately nobody here has the first clue how to use TOAD debug so it's only ever switched on by accident or after a reinstall (it's the default) - so turning debug off fixes the problem.

  • Can't see package body in SQL Developer version 3.1

    Hello,
    Have been scouring the boards and google for this issue for quite some time now. I think I have discovered the issue, but would like to see if a work around exists.
    Problem:
    I am unable to view packages, procs, VIEW DDl, etc. of other users. When a colleague of mine uses Toad, with the EXACT same connection ID and setting, they are in fact able to see all the source code...
    What I've found:
    Looking around, apparently Toad and SQL Dev work in different ways. Toad apparently uses DBA_SOURCE and DBA_OBJECTS to generate everything.
    SQL Dev uses the META_DATA package to retrieve everything. Further, in order to use the meta_data package, I need the grant catalog role, or something like that.
    Is there a way to set up SQL Developer to use the same method as Toad to retrieve the code? It's a fact that I WILL NOT receive the catalog permission per the DBAs... I can write out the
    select text from DBA_SOURCE where OWNER = 'OWNER' and NAME = 'OBJECT NAME';
    But, I would prefer to just be able to use the tree nodes and click on objects to generate all this. Anyone know of any setting for this?

    Hi,
    No doubt SQL Developer wants to be competitive with Toad but, in terms of raising red flags over inconsistencies in basic functionality, any difference versus SQL*Plus would be more surprising than versus Toad.
    DBA_SOURCE and DBA_OBJECTS are public synonyms available in any standard Oracle installation, but you also need the SELECT ANY DICTIONARY privilege to get maximum benefit from them. That lets you view code in another user's schema without having an explicit privilege (like EXECUTE) on a package/procedure/function.
    If you already do have such privileges (either SELECT ANY DICTIONARY, or EXECUTE or DEBUG on specific executable objects), and the Code tab is empty, then you will need to provide a test case, as Vadim indicates.
    In terms of any case where SQL Developer utilizes DBMS_METADATA, my understanding is the API relies on the SELECT_CATALOG_ROLE privilege if a user does not own or otherwise have an explicitly granted privilege on an object. Developers like to use this API wherever possible in place of writing a script that might break or need maintenance to deal with future versions of the Oracle database.
    I have no idea how Toad works, and I probably shouldn't speculate, but here is one scenario that could explain the case you mention without the connection user having any of the privileges noted above. Let's say the Toad client software calls a PL/SQL package that selects from DBA_SOURCE and is installed in a schema that has the SELECT ANY DICTIONARY privilege. All Toad users are granted EXECUTE on this package and therefore inherit SELECT ANY DICTIONARY in the context of running the package. This will work, but at the price of complicating installation of Toad. Also, it doesn't afford an administrator fine-grained control over metadata security.
    Regards,
    Gary
    SQL Developer Team

  • Issue connecting via proxy client in SQL Developer 4.0

    Hi SQL Developers,
    I should have posted this earlier, as I have been using SQL Developer 4.0 for several months and noticed the issue some time ago. The environment I am connecting to uses a Windows ISA Proxy desktop client to allow traffic to some databases. I generally use the Oracle Client and OCI connections in SQL Developer. At some point during the SQL Developer releases, connectivity stopped working for certain databases behind the proxy.
    The following clients connect to the database behind the proxy without issue:
    SQL*Plus 11.2.0.1 64-bit
    SQL Developer 4.0.0.12.84 using the SQL*Plus client and OCI
    Connectivity to the database behind the proxy does not work with these versions:
    SQL Developer 4.0.0.13.80 (tested with Oracle client, thin, etc.)
    SQL Developer 4.0.0.13.30 (tested with Oracle client, thin, etc.)
    Error Message:
    An error was encountered performing the requested operation:
    IO Error: The Network Adapter could not establish the connection
    Vendor code 17002
    Connectivity to other non-proxied databases works for all clients above. I've tried re-creating the connections, re-installing, etc. Nothing works except going back to the earlier version of SQL Developer.
    Has anyone else experienced this behavior? I am trying to determine whether the proxy is stopping the client based on a signature or if the client is not routing the connection correctly.
    Thanks,
    Shad

    I think I have found a solution.
    Run the command prompt (CMD) in windows and type in the following:
    setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
    I got this from a java developer and now I'm able to connect

  • IO Error 17002 in Oracle SQL Developer

    Hi,
    I am trying to connect to the test database using the Oracle SQL developer but I am getting the below error
    IO Error: The network adapter could not establish the connection vendor code 17002
    I used to connect to the test server fine 2 weeks ago (the test server is on another network and i connect to it using the VPN).
    I am able to connect the the Production Database through the Oracle SQL developer (without VPN) but when I try to connect to the test i am getting the error.
    I have checked the service name and ports and everything is fine and. So what could be the problem?

    I am not able to connect through sql/plus as well
    However, I am able to ping the test server

  • SQL Developer 1.5 having problems with JDK 6 Update 7

    I tried to open a table using SQL Developer 1.5 but connection timed out. when using SQL developer 1.2 i don't get any problems opening it.
    i have JDK 6 update 7 installed.
    the only problem with SQL Developer 1.2 is that i get a jdbc in the error log
    how do i get to fix the SQL Developer 1.5?

    --The sql developer is connected using tnsnames.ora, with read only access
    --i'm using windows XP SP3
    --I have jdk 6 update 7 installed
    --The tables that I can't View is listed under Other Users.
    --I thought it was just because i have no permission to view it, but when i used the old sql developer 1.2, it displayed it properly.
    --The reason i want to use SQL developer 1.5 is because i don't want to see any JDBC error on log messages, which happens on the sql developer 1.2
    --i dont get to see any errors, sql developer suddenly can't view and lost the connection. it says connection is currently busy. and suddenly stops responding, the only way i can get it working again is by using the taskbar, when it close the program it gets java is not responding..
    --also when i try running sqlcli.bat i get error with it.. is it because of my java?
    --What more details do you need?
    Edited by: user10285639 on Oct 15, 2008 4:47 PM
    Edited by: user10285639 on Oct 15, 2008 4:53 PM

  • Error connecting oracle 11g through SQL Developer

    i am using SQL Developer to connect to oracle 11g which is installed to another machine in same network
    means i am using a client machine to get connected to oracle installed to host machine through SQL Developer
    iam getting this error
    network adapter could not establish the connection
    vendor code 170002
    my listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-zoheb.PCSTECH.COM)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    my tnsnames.ora
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = his-ansari.pcstech.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    iam not understanding what is problem
    please somebody help

    I would say it's vendor code 17002 (not 170002). And such a message is thrown by SQL Developer , unfortunately very generic for any kind of connection problems.
    Start sqlplus and try to connect, very likely you get a better error message.
    Recently I had such a connection problem and the reason was - No Listener.
    Werner

  • SOLVED: SQL Developer Code Compilation with warnings

    Hi, I think I found one bug in sql developer.
    I have one pl/sql package, that contains a lot of code. In the previous SQL Developer releases (prior to 1.2) when you compile the code, first appears the errors and then the warnings. Because of some type conversion in my sql statements i have more than 20 warnings, and now i cannot see the errors (i think that they will appear if i'm able to increase this "20 messages" limit). I was searching for some option in SQL Developer to increase the number of displayed warnings or errors (or turn off the warnings) but i cannot find such parameter.
    Is this a bug, or i'm missing something ?
    PS: because of this, i'm not able to compile my package with sql developer, and i'm compiling via sqlplus.
    null

    Yes, you're missing something: the forum's search feature.
    See:
    compile with many warnings causes compiler dont show errors correctly
    Compiling an invalid packagebody without errormessage
    SQL Developer says Compile sucessful but it is not
    K.

Maybe you are looking for

  • IPhone 5S cannot make purchase with App Store (login issue)

    Ok - I am rather irritated.  I tried to purchase a 99 cent app, and upon tapping the purchase button, the App Store insisted that I enter my Apple ID password (what happened to using your fingerprint, which worked when I bought the phone?).  Ok - so

  • Running a Dynpro-based Report as a Job/in Background mode

    Hello, i've got a report which hasn't got a selection-screen as its startscreen, but a complex dynpro and is based on different start-buttons and not only the "basic" F8/Run-Button. the users still would like to be able to run the report in backgroun

  • Slideshow music from iPhoto

    I just got a 60G iPod Photo and it's great but when I select Slideshow Settings>Music>From iPhoto I get silence from the iPod when I play a slideshow. It works fine if I select anything other than "From iPhoto". I have made sure the song is on the co

  • Numeric keyboard problems

    can anyone help with advice regarding my keyboard problem. Basically, I have tried two different apple keyboards and neither of them will work on the numeric keypad. Does anyone know what is wrong?

  • Pls reply........

    While I am creating a customer in ship to party account group you have shipping and billing partner function tab pages, client wants to shift all important fields in billing like payment terms, incoterms , and tax classification into shipping tab pag