SQL Developer from JDev

I am doing the « Database Development with JDeveloper » tutorial. In the tutorial we create two SQL scripts that we can run with SQL*PLUS from inside JDEV. The tutorial asks us to use sqlplusw.exe. However I don’t have sqlplusw, I only have sqlplus.exe, the command line version.
When I saw SQL Developer was claiming “Oracle SQL Developer is a graphical version of SQL*Plus” (First sentence of Online Help), I naively thought that I could use sqldeveloper.exe instead of sqlplusw.exe.
When I try to run the SQL script from JDEV, it seems to open an empty SQL Developer window in JDEV, with no possibilities of running scripts.
I know that in the next version of JDev SQL Developer should be integrated but, in the mean time does anyone know a way to open and run a SQL script from JDEV using SQL Developer as the tutorial requires it?
I'm not sure if this makes sense.
Message was edited by:
dfullum

You can use the sqlplus.exe instead of the sqlplusw.exe the results should be the same.

Similar Messages

  • Error while running SQL Developer from a network drive.

    I get following error when I start SQL Developer from an un-mapped network drive
    java.lang.NoClassDefFoundError: oracle/classloader/util/AnnotatedNoClassDefFoundError
         at oracle.dmt.dataminer.mviewer.dtree.DecisionTreeEditorAddin.getEditorWeight(Unknown Source)
         at oracle.ideimpl.editor.EditorAddinRegistry.getAddinsImpl(EditorAddinRegistry.java:182)
         at oracle.ideimpl.editor.EditorAddinRegistry.getAddins(EditorAddinRegistry.java:154)
         at oracle.ideimpl.editor.EditorManagerImpl.getAddins(EditorManagerImpl.java:828)
         at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:958)
         at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1959)
         at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
         at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
         at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
         at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:406)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:430)
         at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:2022)
         at oracle.ide.layout.Layouts.activate(Layouts.java:814)
         at oracle.ide.layout.Layouts.activateLayout(Layouts.java:195)
         at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:728)
         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(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)
    Below I am also attaching the long console log if I run
    \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\bin\sqldeveloper.exe
    One thing I noticed in that log is the file path
    file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar
    that is wrong it should be file://///mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar
    ie, 5 "/" after "file:" instead of 4 "/"
    If I run SQL developer after Mapping the network drive to "S" I get following.
    S:\SQLDeveloper\sqldeveloper\bin>sqldeveloper
    Registered TimesTen
    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: S:\SQLDeveloper\sqldeveloper\extensions\oracle.datamodeler\log\datamodeler.log (Access is denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
    at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
    at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
    at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
    at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
    at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
    at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
    at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
    at oracle.dbtools.crest.util.logging.Logger.init(Unknown Source)
    at oracle.dbtools.crest.util.logging.Logger.<init>(Unknown Source)
    at oracle.dbtools.crest.fcp.DataModelerAddin.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at oracle.ideimpl.extension.AddinManagerImpl.createAddin(AddinManagerImpl.java:433)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:212)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    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)
    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: S:\SQLDeveloper\sqldeveloper\extensions\oracle.datamodeler\log\datamodeler.log (Access is denied)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
    at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
    at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
    at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
    at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
    at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
    at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
    at oracle.dbtools.crest.util.logging.Logger.init(Unknown Source)
    at oracle.dbtools.crest.util.logging.Logger.<init>(Unknown Source)
    at oracle.dbtools.crest.fcp.DataModelerAddin.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at oracle.ideimpl.extension.AddinManagerImpl.createAddin(AddinManagerImpl.java:433)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:212)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    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)
    ===================================================================
    Console Log if I run
    \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\bin\sqldeveloper.exe
    ========================================================================
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:22: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:23: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:26: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:26: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:43: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:46: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:37 PM javax.ide.extension.spi.DefaultElementContext getMacroValue
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/ide/extensions/oracle.ide.db.jar!/META-INF/extension.xml:50: Unable to find resource bundle class: oracle.ideimpl.db.resource.UIBundle
    Mar 30, 2011 4:36:38 PM javax.ide.extension.spi.SAXManifestParser$Handler endElement
    SEVERE: jar:/file:////mt000xvrpt91/tools/SQLDeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar!/META-INF/extension.xml:316: Exception processing manifest: oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.dbtools.raptor.controls.grid.IRaptorGridModel
    Dependent class: oracle.dbtools.raptor.controls.grid.IResultSetTableModel
    Loader: ide-global:11.1.1.0.0
    Code-Source: //mt000xvrpt91/tools/SQLDeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar
    Configuration: extension jar in \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\extensions
    The missing class is not available from any code-source or loader in the system.
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.dbtools.raptor.controls.grid.IRaptorGridModel
    Dependent class: oracle.dbtools.raptor.controls.grid.IResultSetTableModel
    Loader: ide-global:11.1.1.0.0
    Code-Source: //mt000xvrpt91/tools/SQLDeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar
    Configuration: extension jar in \\mt000xvrpt91\tools\SQLDeveloper\sqldeveloper\extensions
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2387)
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2364)
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2364)
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at oracle.dbtools.raptor.controls.grid.RSTModelHook$ProviderChildVisitor.end(RSTModelHook.java:64)
    at javax.ide.extension.spi.SAXManifestParser$Handler.endElement(SAXManifestParser.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    at javax.ide.extension.spi.SAXManifestParser.parse(SAXManifestParser.java:87)
    at javax.ide.extension.spi.SAXManifestParser.parse(SAXManifestParser.java:57)
    at javax.ide.extension.ExtensionRegistry.loadExtension(ExtensionRegistry.java:295)
    at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtension(ExtensionManagerImpl.java:701)
    at javax.ide.extension.ExtensionRegistry.loadExtensions(ExtensionRegistry.java:275)
    at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtensions(ExtensionManagerImpl.java:612)
    at javax.ide.extension.ExtensionRegistry.loadExtensions(ExtensionRegistry.java:171)
    at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtensions(ExtensionManagerImpl.java:510)
    at javax.ide.extension.ExtensionRegistry.initialize(ExtensionRegistry.java:381)
    at oracle.ideimpl.extension.ExtensionManagerImpl.initialize(ExtensionManagerImpl.java:954)
    at javax.ide.Service.getService(Service.java:68)
    at javax.ide.extension.ExtensionRegistry.getExtensionRegistry(ExtensionRegistry.java:400)
    at oracle.ide.ExtensionRegistry.getExtensionRegistry(ExtensionRegistry.java:191)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1384)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    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)
    And more........... I exceeded 30000 character limit at this form

    I am OK to ignore the error. But better option will be SQL Developer take care of this situation.
    My intention is to keep SQL Developer on a readonly share folder and send the path to end users.
    Ideally I wish I could use UNC path so that I dont have to worry about the drive mapping.

  • Trouble creating PL/SQL connection from JDEV to 10g XE

    Hi,
    I am wanting to run PL/SQL from JDev against the hr table in the 10g XE database.
    <br><br>
    In doing so I first need to create <em>my first</em> connection from inside JDev 10.1.3.2.0 to an Oracle Lite (10g) database. Both are installed on my personal PC.
    <br><br>
    So far I have been unable to create the connection; here is where I am so far in my attempts:<br><br>
    Enter the Create Database Connection Wizard<br>
    1) Entered a connection name and choose "Oracle Lite" as the connection type<br>
    2) Entered the User Name and Password for the System user of the 10g XE database<br>
    3) Entered Type 4 Driver; Host Name: localhost, JDBC Port 100, SID XE<br>
    4) I created my own library called "Oracle_Lite" with a class path that points to an olite40.jar file. I did not set the Source path or the Doc path when creating the library. Is this the correct library? <br>
    5) When clicking "Test Connection" it comes back pretty quickly with "Internal Error:Invalid Connect String"<br><br>
    After talking with a work mate I changed the JDBC Port to 1521 and now when I test the connection it starts testing and doesn't stop. The testing indicator bar continues going back and forth indefinitely. Can I assume I am at least now using the correct port?<br><br>
    Any advice or general tips on creating the connection to allow PL/SQL against the 10g XE database from JDEV would be great.

    Oracle 10g XE is not Oracle Lite. Just leave the connection type as the default - Oracle(JDBC), later use the thin JDBC driver, it should work. Continue to use port 1521 and SID as XE.

  • Migration issue in SQL Developer (from SQL Server to Oracle)

    Dear All,
    I am using SQL Developer 3.0 to migrate data from SQL Server 2008 to Oracle 11gR2. I used Quick Migration Wizard for migrating and everything was Ok but when it was running migration process, I got this message: “Migration actions have failed. Check the migration reports for details. : null”
    But there was not any report to check. Does anyone know how I can do it without any problem?
    Thanks in advance.

    I am working on a project to migrate from SQL Server 2008 to Oracle 11gR2. It includes some tables, views, indexes, triggers and store procedures. At first I worked on SQL Developer 2.1.1.64 but it doesn’t support SQL Server 2008 (I had to use SQL Server 2005 in its offline options). I got a lot of error when I used the offline options. I know that I may be having some problem in table or view definition in my SQL Server but if I don’t have any log file I can’t solve them.
    Unfortunately, in SQL Developer 3.0 there isn’t any option to generate a SQL comments from objects (convert to Oracle) because I need to rewrite comments if they have problem. For example I have a filed named USER that it’s a reserved word in Oracle so I have to change this field name.
    I also can’t use “Translation Scratch Editor” because it has some error to convert. For example when I use it for the following code:
    CREATE TABLE [dbo].[Table1](
         [ID1] [int] IDENTITY(1,1) NOT NULL,
         [Name1] [varchar](50) NULL,
         CONSTRAINT [PK_Table1] PRIMARY KEY CLUSTERED
         [ID1] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    CREATE TABLE [dbo].[Table2](
         [ID2] [int] IDENTITY(1,1) NOT NULL,
    [Name1] [varchar](50) NULL,
         CONSTRAINT [PK_Table2] PRIMARY KEY CLUSTERED
         [ID2] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    I receive a wrong code like this:
    CREATE SEQUENCE Table1_ID1
    START WITH 1
    INCREMENT BY 1;
    CREATE TABLE Table1
    ID1 NUMBER(10,0) NOT NULL,
    Name1 VARCHAR2(50) ,
    CONSTRAINT PK_Table1 PRIMARY KEY( ID1 )
    CREATE OR REPLACE TRIGGER Table1_ID1_TRG
    BEFORE INSERT
    ON Table1
    FOR EACH ROW
    BEGIN
    SELECT Table1_ID1.NEXTVAL INTO :NEW.ID1
    FROM DUAL;
    END;
    CREATE SEQUENCE Table1_ID1
    START WITH 1
    INCREMENT BY 1;
    CREATE SEQUENCE Table2_ID2
    START WITH 1
    INCREMENT BY 1;
    CREATE TABLE Table2
    ID2 NUMBER(10,0) NOT NULL,
    Name1 VARCHAR2(50) ,
    CONSTRAINT PK_Table2 PRIMARY KEY( ID2 )
    CREATE OR REPLACE TRIGGER Table1_ID1_TRG
    BEFORE INSERT
    ON Table1
    FOR EACH ROW
    BEGIN
    SELECT Table1_ID1.NEXTVAL INTO :NEW.ID1
    FROM DUAL;
    ENDCREATE OR REPLACE TRIGGER Table2_ID2_TRG
    BEFORE INSERT
    ON Table2
    FOR EACH ROW
    BEGIN
    SELECT Table2_ID2.NEXTVAL INTO :NEW.ID2
    FROM DUAL;
    END;

  • Is it possible to return a data grid in sql developer from package?

    Hi, I am in need of some help in returning a datagrid rather than just a list from a package. This is my package:
    CREATE OR REPLACE PACKAGE BODY C_1
    as
    PROCEDURE COUNTING1 (C_YEARFROM IN NUMBER, C_TABLE_NAME IN VARCHAR2) is
    yearCount NUMBER;
    c_sql long;
    BEGIN
    execute immediate 'SELECT COUNT(DISTINCT SPECIES) FROM '||C_TABLE_NAME ||' WHERE year >2007' into yearCount;
    dbms_output.put_line('Distinct species count: ' ||yearCount);
    end counting1;
    end c_1;
    Is it possible to get the results of these in a table or data grid in sql developer, e.g. I would like to sort results etc rather than just a flat list? Something a bit more elegant then dbms_output.put_line?
    Thanks

    yes, I copied the wrong code into the example - what I actually want to display in a grid is the following:
    CREATE OR REPLACE PACKAGE RSET_CURSOR IS
    cursor rs_cursor is select species, location from ot;
    r_c rs_cursor%rowtype;
    end;
    create or replace package rset_cursor2
    is
    procedure printSpecies;
    end rset_cursor2;
    create or replace package body rset_cursor2
    is
    procedure printSpecies is
    begin
    open rset_cursor.rs_cursor;
    loop
    fetch rset_cursor.rs_cursor into rset_cursor.r_c;
    exit when rset_cursor.rs_cursor%notfound;
    dbms_output.put_line(rset_cursor.r_c.species);
    end loop;
    close rset_cursor.rs_cursor;
    end;
    end;
    I have also just noticed the list I am getting is only including one column of data where it should include 2, have I omitted something?
    Thanks

  • HOW TO CONNECT  SQL DEVELOPER FROM REMOTE DATADASE 11g SEREVER

    HI
    WE ARE USEING ORACLE 11g AS PRODUCTION DATA BASE SERVER ON (O.S -WINDOWS SERVER 2008 WITH JAVA 1.5)
    I WANT TO CONNECT ORACLE 11g(PRODUCTION DATA BASE) FROM THE SQL DEVELOPER(VERSION -sqldeveloper-3.0.03.45)--- installed on (WINDOWS XP PROFESSIONAL VERSION 2002 SP 3) but iam connect ing iam getting error like THIS
    AFTER ENTERING USERNAME,PASSWORD,HOSTNAME,PORT,SID
    THEN
    I CLICK TEST
    I FOUND THIS STATUS :FAILURE -TEST FAILED:IO EXCEPTION:BREAK PACKET WAS RECEIVED.
    CAN ANY ONE PLEASE PROVIDE SOLUTION FOR THIS PROBLEM
    THANK AND REGARDS.
    ANJANEYULU.n
    DBA-UEPL.
    Edited by: 794752 on May 16, 2011 11:06 PM

    Hi 794752,
    -Does remote sqlplus work from the same XP machine?
    -Have you tried thin (default) or thick (with 11.2 instant client) in SQLDeveloper?
    -Have you other Oracle software on the XP machine? If so you may have to set ORACLE_HOME in your cmd session to the SQLdeveloper software such that %ORACLE_HOME%\jdbc\lib exists, (so SQLDeveloper does not try your existing ORACLE_HOME).
    Please do not use all CAPITALS.
    -Turloch
    SQLDeveloper Team

  • How to upgrade SQL Developer from 1.1. to 1.5?

    Hello,
    I downloaded 1.5 and tried starting it in order to upgrade from 1.1 which came with the Oracle 11g package.
    It shows the splash screen briefly then it disappears.
    How can I install/upgrade it?
    Thanks,
    Gabor

    Hello Jim,
    Thanks for the response.
    I did what you suggested. Yes, it does open the console window and tons of messages scroll through it while the splash screen is shown. The both the console window and the splash screen disappear and that's it.
    The OS is XP SP2.
    The exact version of SQL Developer is 1.5.1.54.40.
    Regards,
    Gabor

  • How to uninstall SQL Developer from XP

    I tried using "Add/Remove Programs" from the Control Panel, but SQL Developer does not show up.

    Thank you ANUP_SLIM, both of your suggestions were helpful and accurate. I performed a search on "sqldeveloper.exe" and the executable is in the obscure directory that I unzipped it in, and was nowhere near my OracleHome. There was also a similarly named file in "C:\Windows\Prefetch". Not sure why that one is there, but my plan is to remove it. However; I will wait and see if anyone provides reasons not to.
    Not sure how to be clearer SOMEONEELSE, that in my situation the default behavior WAS NOT to create and ICON or shortcut. Are you suggesting that any and every time a person simply unzips a file, that the default behavior is for some "Magic Thingy" to create ICON's on your desktop?
    I apologize if my response seems negative, but there is a generation that seems to feel that it is OK to respond disrespecfully to a sincere question, even when the offendin party doesn't know what they are talking about. I am merely combating these types of occurences as neither SHOBLOCK's nor ANUP_SLIM's advise was applicable or accurate in this specific situation.

  • HOW TO: Open SQL Developer from a batch file with specific tables opened

    I use SQL Developer daily as I develop database intensive programs.
    ** Question **
    How can I define a specific configuration of tabs (i.e. tables, procedures, etc) to be opened upon startup of SQL Developer?
    For example, creating a .BAT file to open SQL Developer with a specific set of table tabs already opened. This will save me the time every morning I use to open SQL Developer and configure all the tables I need opened.
    NOTE: I have tried various options of appending a table name to a command line starting sqldeveloper.exe. For example: ..\sqldeveloper.exe mydatabase.mytable. However, this only opens a worksheet tab with the name "mydatabase.mytable" but does not open my actual table.
    Any help will be appreciated.
    - Gary Davis

    what version are you using? Sql Dev 1.5?
    Not an exact answer, but you could try using Table FILTER
    click on your connection
    right button on TABLES
    click apply filter
    as for your question, check out:
    Re: EA1 - Automatically open connection list at startup?
    or
    SQL Developer

  • Prevent SQL Developer from writing to c:\documents and settings\

    Hello,
    does anybody know how I can change the directory where sql developer is writing to under windows?
    Currently it is writing to c:\document and settings\... (my %APPDATA% path in windows).
    I have quotas on my profile and the quotas are exceeded by SQLDeveloper.
    Kind regards,
    Marcus
    Edited by: user12019413 on Feb 3, 2010 6:33 AM

    If you want to change the directory where the SQLDeveloper configuration files are stored you can add:
    AddVMOption -Dide.user.dir=DIRECTORY_YOU_LIKEto SQL_DEV_INSTALL_DIR/sqldeveloper/bin/sqldeveloper.conf

  • Weblogic server is not responding when executing pl/sql procedure from jdev

    Dear Sir,
    i am using jdeveloper11g and oracle database with oracle spatial and i wrote procedure in database and executed perfect from sql plus
    but same procedure when i am trying to execute from jdeveloper its like hanging and giving following error here i am posting my jdeveloper code
    and error
    public String cb1_action() {
    // Add event code here...
    String tbName = (String)FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.tb}").getValue(FacesContext.getCurrentInstance());
    String colName = (String)FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.col}").getValue(FacesContext.getCurrentInstance());
    try {
    Context cnx = new InitialContext();
    Class.forName("oracle.jdbc.OracleDriver");
    RmiDataSource rds =
    (RmiDataSource)cnx.lookup("java:comp/env/jdbc/db1DS");
    //(RmiDataSource)cnx.lookup("env/jdbc/db1DS");
    Connection cn = rds.getConnection();
    System.out.println("table name " + tbName);
    System.out.println("column name " + colName);
    PreparedStatement delStmt = cn.prepareStatement("delete from geometry_errors");
    delStmt.execute();
    System.out.println("delStmt = " + delStmt);
    cn.commit();
    delStmt.close();
    CallableStatement ps = cn.prepareCall("{call validate_geom(?,?)}");
    ps.setString(1, tbName);
    ps.setString(2, colName);
    ps.execute();
    ps.close();
    cn.close();
    cnx.close();
    System.out.println("Done validating geom ....");
    } catch (Exception sqle) {
    sqle.printStackTrace();
    BindingContainer bc = getBindings();
    OperationBinding oper = bc.getOperationBinding("Execute");
    oper.execute();
    System.out.println("done.....");
    return null;
    Target URL -- http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp
    table name JEDDAH_SECTORS_8307
    column name GEOM
    <Jul 29, 2010 1:22:49 PM AST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
    POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
    Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 247
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         view.backing.Test1.cb1_action(Test1.java:132)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    <Jul 29, 2010 1:22:49 PM AST> <Notice> <Diagnostics> <BEA-320068> <Watch 'StuckThread' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 29, 2010 1:22:49 PM AST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND (MSGID = 'BEA-000337')
    WatchData: DATE = Jul 29, 2010 1:22:49 PM AST SERVER = DefaultServer MESSAGE = [STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
    POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
    Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 247
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         view.backing.Test1.cb1_action(Test1.java:132)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = WebLogicServer USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000337 MACHINE = lpt09-mkabeer TXID = CONTEXTID = TIMESTAMP = 1280398969203
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 600000
    >
    <JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
    oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
    Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\mkabeer\\Application] at column [65]
    DIA-48447: The input path [C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
         at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
         at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
         at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
         at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
         at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
         at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
         at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
         at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
         at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
         at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
         at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base=C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
    set base C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
    set homepath diag\ofm\defaultdomain\defaultserver
    create incident problem_key="BEA-337 [WebLogicServer]" error_facility="BEA" error_number=337 error_message="null" create_time="2010-07-29 13:22:49.219 +03:00" ecid="0000IcTiSfuEKQWzLwbQ8A1CKL6r00000V"
    Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\mkabeer\\Application] at column [65]
    DIA-48447: The input path [C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
         at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
         ... 19 more
    <Jul 29, 2010 1:23:49 PM AST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "681" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
    POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
    Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 247
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         view.backing.Test1.cb1_action(Test1.java:132)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    please some one help me to solve this problem either this problem from java code or weblogic server... because i am sure about oracle database is
    not having any problem because the same procedure i executed through the sql plus and its give me results just in time
    Thanks
    Kabeer

    Hi, Nodex,
    Avoid implicit conversions.
    For example:
    TO_CHAR(TRUNC(NEXT_DAY(ADD_MONTHS(substr(partition_name, -8, length(partition_name)), -3), 'MONDAY')-7), 'YYYYMMDD')ADD_MONTHS expects a DATE as its first argument.
    SUBSTR returns a VARCHAR2, so you're calling ADD_MONTHS with a VARCHAR2 where it expects a DATE.
    For good or ill, the system tries to avoid raising an error in this case by implicitly converting the VARCHAR2 to a DATE. Exactly how it does that depends on
    (a) the tool you are using (SQL*Plus or Toad, for example),
    (b) the version (Oracle 10 behaved quite different form Oracle 9),
    (c) environmental settings (such as NLS_DATE_FORMAT), which in turn may depend on initialization parameneters, and
    (d) who knows what else.
    When you have to convert, do so explicitly.
    You can convert a VARCHAR2 to a DATE using TO_DATE, like this:
    TO_CHAR ( TRUNC ( NEXT_DAY ( ADD_MONTHS ( TO_DATE ( SUBSTR ( partition_name
                                                       , -8
                                          , LENGTH (partition_name)
                                     , 'YYYYMMDD'     -- or whatever
                             , -3
                      , 'MONDAY'
              - 7
         , 'YYYYMMDD'
         )

  • DB Link not working from SQL Developer

    Hi All,
    I Have two databases say A and B. My DBA has created a DB link and when he logs in to sqlplus directly on the server and he can get the values from the other database. When I'm to get the values from the other database through SQL Developer from my client machine, it is giving me ORA-12154: TNS :could not resolve the connection identifier specified.
    I can access both the databases without any problem and i have the entries for bath in my TNSNAMES.ORA file.
    Thanks in advance.
    SK

    Check the dblink ddl. your tnsnames.ora should have exact same word as dblink_authentication as below.
    create public dblink dblink_name connect to username identified by password dblink_authentication;

  • SQL Developer Error Creating User Home

    SQL Developer was running fine on my Windows 7 64-bit machine until Monday morning. Now when I kick it off (from my Desktop shortcut), I get a small box saying: "Error creating user home in directory C:\Users\<username>\AppData\Roaming\SQL Developer".
    There is no error number, and I have been unable to find this error in the SQL Developer documentation. What does it mean? It's possible that updates were pushed to my machine over the weekend (unknown -- network sysadmins are elsewhere), but I would have thought I would have gotten a different message if there were compatibility problems. Have I accidentally deleted a necessary file from my local SQL Developer folder? My connection databases are Oracle 11g.
    Thanks for any suggestions.

    Hi,
    Here is a thread on the same issue, but so old that the advice it gives is no longer accurate:
    Re: Error creating user home in directory D:\Program Files\raptor\jdev.
    So let's assume you no longer have write access to your own Windows user directory. To workaround that just add the following to one of the conf files in the SQL Developer installation folder. For example, to run SQL Developer from a flash drive, I modified my E:\sqldeveloper\ide\jdk.conf to include
    AddVMOption -Dide.user.dir=../../.sqldeveloperSo that the user home is E:\.sqldeveloper
    Regards,
    Gary
    SQL Developer Team

  • Setting up OID/LDAP with SQL Developer?

    I have over 100 databases to add to SQL Developer. I use OID and would like to allowd SQL Developer use that. How do I set it up? Parameter file somewhere?

    I have installed SQL Developer on my laptop (windows XP pro), and we have LDAP server and other database servers on unix. I have done following and is working for me using OID/LDAP 9.2.0.7.
    TO use OID based name resolution,
    copy ojdbc14.jar from ORACLE_HOME(10.x) /jdbc/lib (windows client)
    to /<SQL Developer home>/jdev/lib/patches
    Hope this helps.

  • SQL Developer on Linux hangs when disconnecting after VPN reconnect

    Hello,
    I have a problem with using connections after general link failure (Cisco VPN disconnect in my case, lost of route to Oracle DB).
    When I reconnect to a VPN and I'll try to disconnect from a previously opened (before general link failure) connection, I need
    to wait more than 10 minutes to complete this process. SQL Developer is completely unusable during this time.
    Steps to reproduce:
    1. Connect to VPN
    2. Open connection in SQL Developer to host accessible only by this VPN
    3. Restart VPN
    4. Try to do anything with this connection (disconnect, execute sql in opened SQL Worksheet, view tables, etc.)
    This bug is not new in recent versions, I'm using SQL Developer from over 2 years and this bug was always with me. But if I remember correctly in earlier versions (<3.0) I couldn't reuse the connection to execute sql (hanging SQL Developer for more than 10 minutes) but disconnecting would succeed without a problem.
    Maybe SQL Developer should move connection management to separate thread to resolve this issue... or is there another solution?
    I'm using SQL Developer 3.1.07.42 @ Linux 3.0.4
    For VPN connectivity I use vpnc
    When I restart VPN connection I'm loosing TUN interface and all routes.
    I have tested this issue on a few versions of SQL Developer on Windows XP, including 3.1.07. There is no problem with disconnecting after vpn failure on Windows.
    Maybe I should fill some bug report? When I can do such thing? Metalink?
    Best regards,
    Irek Slonina

    Hi Irek,
    Possibly you can resolve this issue by altering the type of the connection that becomes non-responsive upon a VPN reconnect. What type are you currently using: Basic, TNS, etc?
    In this forum thread (for Windows, unfortunately, not Linux), although different from your case, the solution used Thick/OCI driver, not Thin/Basic:
    Windows 7 VPN
    I have no VPN client on Linux (much less vpnc), only Cisco AnyConnect on Win XP, so I cannot test your scenario.
    Regards,
    Gary
    SQL Developer Team

Maybe you are looking for