ProC Compiler & SQL Developer

Hi,
I am new to proc and oracle. I have installed 10g Express edition, but it does not have proc compiler.
Currently I am downloading SQL Developer, does it come with a proc compiler?
Is there anywhere I can get a proc compiler?
Really appreciate the help.
OS : Ubuntu 9.10
Thanks and Regards,
Ahamed.

thanks for the reply...
So you mean SQL developer indeed has a proc compiler is it?...
Thanks for your time.
Regards,
Ahamed.

Similar Messages

  • Cannot compile SQL Developer generated pls file

    I right click on a package and choose 'Save Package Spec and Body...', then I open the file to edit it.
    When I try to compile the package I get the following error... in both version 2.1 and 3.0
    Error(93,1): PLS-00103: Encountered the symbol "/"
    Very frustrating that the tool will not compile a file it created...

    You're right.
    This save as one option was a request, but support for such file wasn't added (at least yet). Save your specs and bodies in separate files (File - Save As).
    Have fun,
    K.

  • Oracle SQL Developer Release 1.5.5 "compile for debug"

    Using Oracle SQL Developer Release 1.5.5 on Windows XP pro machine connecting to 9.2.0.4 database on AIX machine.
    Trying to debug a procedure, in the navigator window, I rt-clk the procedure and select "Compile for Debug", then nothing happens. This happens for every procedure I've tried. I've been granted both DEBUG ANY PROCEDURE and DEBUG CONNECT SESSION. Any ideas?

    This is the first I've used SQL Developer, so I'll take the blame. I had not noticed that the Messages Log does in fact tell me that the proc compiled. However, the debug icon (little red bug) was nowhere to be found.
    I see now that I need to Edit, not Open, the proc in order to debug. If I had read the Help screens a little more closely, I would have seen that I needed to be in Edit mode. My bad. Thanx to all for your responses.

  • How to open and compile a package specification and body in SQL Developer

    I'm currently evaluating a possible migration to SQL Developer.
    Our PL/SQL code base is stored in scripts files named as follows: <schema>.<package_name>_<package|package_body>.sql and managed in SVN.
    If now trying open a sql script containing the package specification or body and trying to compile it, I get no or strange error messages as if SQLDeveloper would not recognize the source as a PL/SQL code.
    If I open an already compiled package from the database it seems to work as expected.
    On the other hand I cannot find any option to write a package specification or body to a script except for the "Save package spec and body" option that only generates a single (!) script containing package specification and body in one single file and without any configuration options on how to name the generated file.
    Any help is appreciated!

    What strange error messages ? Make sure to configure your extensions as PL/SQL file type under Preferences - File Types.
    To save, just Save As under the File menu.
    Hope that helps,
    K.

  • SQL Developer compilation problems

    Hi, I'm having problems with SQL Developer.
    Basically, I can only carry out 3 compilations (3 of the same object, or one each of different objects) before SQL Developer gives me an out-of memory error:
    Source:oracle.javatools.db.AbstractSchemaObject
    Error : java.lang.OutOfMemoryError: Java heap spacebuilding KRM_UPDATE_ARCHIVE_DES
    I then can't do anything except log out and back in - very annoying!
    Setup detailed below, any help gratefully received!
    I also periodically get the following when trying to edit a stroed plsql object:
    java.io.IOException: exception loading FUNCTION PORTALS.GET_STRATUS_COMPANY_ID@Dev Portals
         at oracle.ide.model.TextNode.openImpl(TextNode.java:541)
         at oracle.ide.model.Node.open(Node.java:979)
         at oracle.ide.model.Node.open(Node.java:927)
         at oracle.ide.model.Node.ensureOpen(Node.java:2114)
         at oracle.ide.model.TextNode.acquireTextBuffer(TextNode.java:744)
         at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1912)
         at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1337)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:355)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1399)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1333)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1259)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.editObject(DatabaseNavigatorController.java:383)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:253)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.lang.OutOfMemoryError: Java heap space
         at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:870)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1047)
         at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:849)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:512)
         at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:540)
         at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:486)
         at oracle.dbtools.raptor.navigator.net.DBURLStreamHandlerFactory.fetchSource(DBURLStreamHandlerFactory.java:263)
         at oracle.dbtools.raptor.navigator.net.DBURLFileSystemHelper.createReader(DBURLFileSystemHelper.java:140)
         at oracle.ide.net.URLFileSystem.createReader(URLFileSystem.java:1593)
         at oracle.ide.model.TextNode.createReader(TextNode.java:1617)
         at oracle.ide.model.TextNode.loadTextBuffer(TextNode.java:283)
         at oracle.ide.model.TextNode.openImpl(TextNode.java:529)
         at oracle.ide.model.Node.open(Node.java:979)
         at oracle.ide.model.Node.open(Node.java:927)
         at oracle.ide.model.Node.ensureOpen(Node.java:2114)
         at oracle.ide.model.TextNode.acquireTextBuffer(TextNode.java:744)
         at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1912)
         at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1337)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:355)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1399)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1333)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1259)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.editObject(DatabaseNavigatorController.java:383)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:253)
    About
    Oracle SQL Developer 1.5.3
    Version 1.5.3
    Build MAIN-5783
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.44
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.57.83
    Version
    Component     Version
    =========     =======
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.6.0_04
    Oracle IDE     1.5.3.57.83
    Versioning Support     1.5.3.57.83
    Edited by: user624059 on 27-Feb-2009 06:31

    Hi Jim - thanks for your help.
    I'm using update 10. The output from the console is below - The issue was the preferences I imported were set to Windows look and feel, so I've resolved that, but the new version behaves exactly like the old version. Do you know if the dev team are regulars in here, or if there is an alternate route to report this (the original problem) to them?
    Cheers,
    Stuart
    oracle.javatools.util.ClosureException: java.lang.ClassCastException: oracle.ide
    impl.plaf.WindowsComboBoxUI$MarginBorderTextField cannot be cast to javax.swing.
    JComboBox
    at oracle.javatools.util.SwingClosure.run(SwingClosure.java:83)
    at oracle.ideimpl.MainWindowImpl.postInitialize(MainWindowImpl.java:701)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1515)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:110)
    at oracle.ideimpl.Main.main(Main.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Caused by: java.lang.ClassCastException: oracle.ideimpl.plaf.WindowsComboBoxUI$M
    arginBorderTextField cannot be cast to javax.swing.JComboBox
    at oracle.ideimpl.plaf.WindowsComboBoxUI$PropertyChangeHandler.propertyC
    hange(WindowsComboBoxUI.java:259)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
    port.java:339)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
    port.java:276)
    at java.awt.Component.firePropertyChange(Component.java:7961)
    at javax.swing.JComponent.addNotify(JComponent.java:4684)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at oracle.ideimpl.docking.TitledPanel.addNotify(TitledPanel.java:259)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at javax.swing.JRootPane.addNotify(JRootPane.java:735)
    at java.awt.Container.addNotify(Container.java:2560)
    at java.awt.Window.addNotify(Window.java:645)
    at java.awt.Frame.addNotify(Frame.java:470)
    at oracle.ideimpl.MainWindowImpl.addNotify(MainWindowImpl.java:613)
    at java.awt.Window.show(Window.java:841)
    at java.awt.Component.show(Component.java:1447)
    at java.awt.Component.setVisible(Component.java:1400)
    at java.awt.Window.setVisible(Window.java:824)
    at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:756)
    at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  • SQL developer not showing compiler warnings

    I'm just testing out the new compiler warning contained in 11g related to the "when others" exception handler when it does not have a subsequent raise or raise_application_error.
    in SQL plus, this works fine:
    SQL> alter session set plsql_warnings='enable:all';
    Session altered.
    SQL>
    SQL> create or replace function do_stuff
      2  return number
      3  as
      4     v_return number;
      5  begin
      6
      7     v_return := 3;
      8     return v_return;
      9
    10  exception
    11  when others then
    12     return null;
    13  end;
    14  /
    SP2-0806: Function created with compilation warnings
    SQL> show errors;
    Errors for FUNCTION DO_STUFF:
    LINE/COL ERROR
    1/1      PLW-05018: unit DO_STUFF omitted optional AUTHID clause; default
             value DEFINER used
    11/6     PLW-06009: procedure "DO_STUFF" OTHERS handler does not end in
             RAISE or RAISE_APPLICATION_ERRORbut in SQL developer the output is:
    BANNER                                                                          
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production    
    PL/SQL Release 11.2.0.3.0 - Production                                          
    CORE     11.2.0.3.0     Production                                                        
    TNS for Linux: Version 11.2.0.3.0 - Production                                  
    NLSRTL Version 11.2.0.3.0 - Production                                          
    session SET altered.
    FUNCTION do_stuff compiled
    No Errors.Anyone experience this issue? is there some setting that makes SQL developer behave differently?

    it must be something I'm doing wrong, above, I was running under windows 7 pointing at the version above.
    I just tried it under an Enterprise Linux pointing at
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production          
    PL/SQL Release 11.2.0.2.0 - Production                                          
    CORE     11.2.0.2.0     Production                                                        
    TNS for Linux: Version 11.2.0.2.0 - Production                                  
    NLSRTL Version 11.2.0.2.0 - Production                                           and I get exactly the same script output and no compiler window....
    actually...... if I go into a procedure window from the schema browser and compile it there, then I get the correct warning messages..... the problem is I mostly develop from .sql files extracted from source control rather than directly from the schema browser, I just want the sql worksheet to be able to show me the same compiler log window.....

  • Extension.xml and catching compile event in sql developer

    Hi,
    recently I've been trying to make a few plug-in/extensions for sql developer. One allows you to search through entire schema to find and procedures or functions that utilize any given procedure or function, this one works fine. The second one and the one that is giving me trouble is an extension that allows you to see if any items (procedures, functions,...) are broken, the goal with this one is for it to do this task automatically when a procedure or function is compiled to show if the compilation of the function or procedure broke anything else. I have this one working as a button in the toolbar and choice in the main menu, but I can not for the life of me figure out how to hook it on to a compile or run event. Please help!!!!
    here is my extension file so far:
    <extension id="brokenSearch" version="1.0" esdk-version="1.0" rsbundle-class="infinTech.brokensearch.Res"
    xmlns="http://jcp.org/jsr/198/extension-manifest">
    <name>Broken Search</name>
    <dependencies>
    <import>oracle.jdeveloper.db.connection</import>
    <import>oracle.ide</import>
    </dependencies>
    <trigger-hooks xmlns="http://xmlns.oracle.com/ide/extension">
    <!-- TODO Declare triggering functionality provided by extension: infinTech.schemasearch -->
    <triggers>
    </triggers>
    </trigger-hooks>
    <hooks>
    <!-- TODO Declare functionality provided by the yourcompany.showmepassword extension. -->
    <jdeveloper-hook xmlns="http://xmlns.oracle.com/jdeveloper/1013/extension">
    <actions>
    <action id="infinTech.brokenitems.BrokenItems">
    <properties>
    <property name="Name">Broken Items</property>
    <property name="SmallIcon">${OracleIcons.PLACEHOLDER}</property>
    <property name="LongDescription">Broken Items</property>
    </properties>
    <controller-class>infinTech.brokensearch.ShowMeDatabasePasswordController</controller-class>
    <command-class>infinTech.brokensearch.ShowMeDatabasePasswordCommand</command-class>
    </action>
    </actions>
         <context-menu-listeners>
    <site idref="navigator">
    <listener-class>infinTech.brokensearch.MenuContextMenuListener</listener-class>
    </site>
    <site idref="editor">
    <listener-class>infinTech.brokensearch.MenuContextMenuListener</listener-class>
    </site>
    <site idref="explorer">
    <listener-class>infinTech.brokensearch.MenuContextMenuListener</listener-class>
    </site>
    </context-menu-listeners>
    </jdeveloper-hook>
    <!-- Hook into menus and toolbars -->
    <menu-hook>
    <menus>
    <!--
    Add the action in its own separator group at the top of the File
    menu.
    -->
    <menubar id="javax.ide.view.MAIN_WINDOW_MENUBAR_ID">
    <menu id="javax.ide.VIEW_MENU_ID">
    <section id="schema.search"
    before="javax.ide.NEW_SECTION_ID">
    <item action-ref="infinTech.brokenitems.BrokenItems"/>
    </section>
    </menu>
    </menubar>
    </menus>
    <toolbars>
    <toolbar id="javax.ide.view.MAIN_WINDOW_TOOLBAR_ID">
    <section id="SCHEMA_SEARCH_SEACTION" weight="2.0">
    <item action-ref="infinTech.brokenitems.BrokenItems"/>
    </section>
    </toolbar>
    </toolbars>
    </menu-hook>
    <feature-hook>
    <description>Simple utility that finds any/all broken items.</description>
    </feature-hook>
    </hooks>
    </extension>

    Hi,
    That's not an XML-specific issue, please see the dedicated forum for SQL Developer : {forum:id=260}

  • Running/Compiling *.java file in Oracle Sql Developer

    I want to compile/run java 5.0 files in Oracle sql developer1.1.2.25 on Fedora 5 platform.
    I have added javac as an enternal tool to compile java programs. Tools-->External Tools-->New
    I have also added java: /usr/java/jre1.5.0_10/bin/java as an external tool to run the complied programs
    I am able to compile the java programs, but i am not able to run them.
    I am providing ${file.name.no.ext} as an argument to java.
    Java-Log Output is:
    /usr/java/jre1.5.0_10/bin/java Writer2
    Exception in thread "main" java.lang.NoClassDefFoundError: Writer2
    However, if i run the same program in Linux terminal, i get the correct output:
    [root@localhost java]# which java
    /usr/java/jre1.5.0_10/bin/java
    [root@localhost java]# /usr/java/jre1.5.0_10/bin/java Writer2
    12
    howdy
    folks
    How can i make Oracle Sql Developer run the java program?

    I will echo the use jdev comment..
    Regardless, you may want to check the execute in directory.. or add a -cp parameter.
    Eric

  • Oracle SQL Developer for OSX not able to compile/execute/handle packages?

    Hi,
    Have been stuck with this for quite some mins now,
    When I execute this simple -valid- create package statement in Oracle SQL Developer:
    http://www.pastebin.ca/757859
    It shows it's not compiled and has errors, when I check the Packages part in Oracle SQL Developer I see this:
    http://www.pastebin.ca/757860
    The ; after end has been removed by the application. In fact this means I can't do anything with packages in Oracle SQL Developer for OSX?
    Is this a known bug?
    Or am I doing something wrong?
    Any resolving response to this matter would be really appreciated.

    Yeah, that bug is in there since stoneage, and is really a no-brainer to fix. Until they don't, we'd be losing time recompiling.
    FWIW, everything works fine using the procedure editor for creating, editing and compiling.
    Regards,
    K.

  • Compiling a java source in pl/sql developer - problems

    Hi,
    i'm using pl/sql developer and i created a javasource like this:
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperFillManager;
    create or replace and compile java source named Test as
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.view.JasperViewer;
    import persistencia.JdbcDaoFactory;
    * @author igor.simoes
    public class ProcessoRelController {
    the problem is: when i compile the source, an error is displayed(canno't find symbol) in the first line (import net.sf.jasperreports.engine.JRException;)
    i wanna know how can i make the oracle JVM see the package(.jar) that contains net.sf.jasperreports.engine.JRException class, and the others classes in the import statement..
    thank's
    Igor Simões

    Hi,
    Refer the 'Implementing the report service' section in the following article: http://java.dzone.com/articles/java-reporting-part-2
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.HashMap;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JRExporterParameter;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.export.JRXlsExporter;
    public static Connection establishConnection()
    Connection connection = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    String oracleURL = "jdbc:oracle:thin:@localhost:1521:mySID";
    connection = DriverManager.getConnection(oracleURL,"username","password");
    connection.setAutoCommit(false);
    catch(SQLException exception)
    exception.printStackTrace();
    return connection;
    -Priyanka

  • Code runs correctly when compiled by SQL developer but not SQL Plus

    I have a rather large package body I need to deploy and compile ... It's big and complex (I inherited the project). Our it dept is huge and scripts are deployed by the dba team and they seem to only use sql plus. My code deploys and runs fine when compiled in sql developer. Once I compile it from SQL plus it stops working. It runs and using debug statements I can see the values are correct but it no longer inserts the data into the proper tables. I get ZERO errors or warnings when this is compiled in SQL Plus and no errors are generated from the code at run time. I've diffed the extracts of the code from the DB after each deployment and the only difference is the blank lines which SQL Plus strips out when you load the file. Has anyone run into anything remotely similar and if so how did you solve it? I've tried modifying the code to no avail, adding in comments to preserve the white space makes no difference. The thing that really kills me is that there is no error at all.

    Ok this is the problem area.... vReplyMessage is a clob. I've replaced it in this section of processing with a varchar2(32000). And now it works. I still would like to know why though. Nothing is changed when I load it though sqlplus or sql developer but this line " update swn_recip_response_t set SWN_RECIP_RESPONSE = vTextReply where notification_id = v_notification_id; " would never execute with the clob. Logging showed that the clob had the correct value though. I am puzzled.
    begin
    call_SWNPost('http://www.sendwordnow.com/usps/getNotificationResults',vMessageText, vReplyMessage, v_status_code, v_status_phrase, '');
    exception
    when others then
    raise eJavaException;
    end;
    vTextReply := dbms_lob.substr( vReplyMessage, 32000, 1 );
    if (vDebug) then
    update PEMS_PROD_2.SWN_POST_LOG set response = 'notif_id == '|| v_notification_id || 'status code == '|| v_status_code|| ' '||vTextReply where log_pk = vLogPK;
    commit;
    end if;
    IF v_status_code = 200 then
    v_has_error := 'N';
    ELSE
    v_has_error := 'Y';
    END IF;
    -- we handle all exceptions below in case something goes wrong here.
    -- this area can die silently.
    vTextReply := replace(vTextReply,'<getNotificationResultsResponse xmlns="http://www.sendwordnow.com/usps">', '<getNotificationResultsResponse xmlns:xyz="http://www.sendwordnow.com/usps">');
    begin
    insert into swn_recip_response_t(notification_id) values (v_notification_id);
    exception
    when others then
    if (vDebug) then
    err_num := SQLCODE;
    err_msg := SUBSTR(SQLERRM, 1, 100);
    insert into PEMS_PROD_2.SWN_POST_LOG (LOG_PK, create_date, REQUEST, notification_id) values(pems_prod_2.swn_post_log_seq.nextval,sysdate,
    'err_num - '||to_char(err_num)|| ' error_msg - '|| err_msg, v_notification_id);
    commit;
    else
    null;
    end if;
    end;
    commit;
    begin
    update swn_recip_response_t
    set SWN_RECIP_RESPONSE = vTextReply
    where notification_id = v_notification_id;
    exception
    when others then
    if (vDebug) then
    err_num := SQLCODE;
    err_msg := SUBSTR(SQLERRM, 1, 100);
    insert into PEMS_PROD_2.SWN_POST_LOG (log_pk, create_date, REQUEST, notification_id) values(pems_prod_2.swn_post_log_seq.nextval,sysdate,
    'err_num - '||to_char(err_num)|| ' error_msg - '|| err_msg, v_notification_id);
    commit;
    else
    null;
    end if;
    end;
    commit;
    -- parse through the XML document and update the notification and recipient records
    -- parse the clob into an xml dom object
    begin
    vReplyMessage := vTextReply;
    ...

  • Plsql_optimize_level = 3 and native compilation in SQL Developer?

    SQL Developer: Version 3.1.06 (Build MAIN-06.82)
    Oracle: 11gR2
    OS: Ubuntu 10.10
    Whenever I compile a PL/SQL unit in SQL Developer (using 'Compile' button) it is compiled with the following settings:
    PLSQL_OPTIMIZE_LEVEL = 2
    PLSQL_CODE_TYPE = 'INTERPRETED'
    However, if I issue the following commands in an SQL Worksheet:
    ALTER SESSION SET plsql_optimize_level = 3;
    ALTER PACKAGE PACKAGE_NAME COMPILE PLSQL_CODE_TYPE = NATIVE;
    the query SELECT PLSQL_OPTIMIZE_LEVEL, PLSQL_CODE_TYPE FROM ALL_PLSQL_OBJECT_SETTINGS WHERE NAME = 'PACKAGE_NAME'; resullts in
    PLSQL_OPTIMIZE_LEVEL     PLSQL_CODE_TYPE
    3     NATIVE
    3     NATIVE
    Is it possible to make SQL Developer to use these settings by default?
    P.S. It seems that Tools > Preferences > Database > PL/SQL Compiler menu section is missing the options I need (Optimization level drop-down menu have numbers 0-2, but not 3). Are there any plans to support these features in the future releases?
    Edited by: Ravshan Abbasov on Feb 6, 2012 6:28 AM

    Hi Ravshan,
    I thought a workaround would be to create a sql script like the following:
    alter session set plsql_code_type=native;
    alter session set plsql_optimize_level=3;  then point to it in the setting for Tools|Preferences|Database|Filename for connection startup script. That doesn't work however, as the other preference setting for plsql_optimize_level overrides the session value of 3 during compilation from the UI.
    According to Oracle documentation, level 3 was added for Oracle 11g. Prior to that, the same effect could be achieved by level 2 in conjunction with the INLINE pragma in the PL/SQL code.
    You might want to make a feature request for this on the SQL Developer Exchange so the community can vote and comment.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Feb 6, 2012 2:32 PM
    And, of course, Compile for Debug does not work with the 'native' setting.

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

  • How to compile all invalid objects in SQL Developer

    Hi
    I am used to PL\SQL Developer and currently I am testing SQL Developer (version 2.1). I have question where can I find in SQL Developer functionality (or how to invoke those functions) like:
    1 ) To list all invalid objects and then compile them.
    2) Invoke window similar to “Command window” in PL\Sql Developer
    Thanks for help
    Groxy

    Could I please revive this and ask how do I use UTL_RECOMP?
    Also, I could not find a description of the icons in SQL Developer. Some procedures are shown with a green plus sign (I am guessing here since I can't make out what it is) on them and the ones that I right-click and compile have this green go away. Can you explain?
    Thanks a lot.

  • SQL Developer EA4 - compile/open spec/body take longer then 3.2.2

    The Compile takes too long in compare to SQL Developer 3.2.2
             Sometimes the SQL Developer  freeze
             Sometimes a warning of low memory window come up  and then goes away
    The Opening of Spec/body takes too long compare to SQL Developer 3.2.2.
    Note:
    More visible on big packages (3000,5000,10000 lines)
    Environment:
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit
    Windows 7 Ultimate
    Processor Intel(R) Core(TM)i7 CPU [email protected] GHz
    RAM 8. GB
    OS 64 bit

    The package body has  around 6200 lines take a while to open.
    Below is the  info that  you requested.
            at java.util.TimerThread.mainLoop(Timer.java:552)
            - locked <0x00000000f4f45df0> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "TimedCache-Timer" daemon prio=6 tid=0x000000000b530000 nid=0x156c in Object.wai
    t() [0x000000000efdf000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f473bf50> (a java.util.TaskQueue)
            at java.lang.Object.wait(Object.java:503)
            at java.util.TimerThread.mainLoop(Timer.java:526)
            - locked <0x00000000f473bf50> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "Framework Event Dispatcher" daemon prio=6 tid=0x000000000b52d000 nid=0x1568 in
    Object.wait() [0x000000000de0f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3e64f38> (a org.eclipse.osgi.framework.eventmgr
    .EventManager$EventThread)
            at java.lang.Object.wait(Object.java:503)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
    vent(EventManager.java:400)
            - locked <0x00000000f3e64f38> (a org.eclipse.osgi.framework.eventmgr.Eve
    ntManager$EventThread)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
    tManager.java:336)
    "Framework Active Thread" prio=6 tid=0x000000000b52b800 nid=0x1194 in Object.wai
    t() [0x000000000ca5f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3daf900> (a org.eclipse.osgi.framework.internal
    .core.Framework)
            at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java
    :1863)
            - locked <0x00000000f3daf900> (a org.eclipse.osgi.framework.internal.cor
    e.Framework)
            at java.lang.Thread.run(Thread.java:722)
    "CLI Requests Server" daemon prio=6 tid=0x000000000b6c8000 nid=0x105c runnable [
    0x000000000c65f000]
       java.lang.Thread.State: RUNNABLE
            at java.net.DualStackPlainSocketImpl.accept0(Native Method)
            at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketIm
    pl.java:121)
            at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:
    398)
            at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
            - locked <0x00000000f39cb7f8> (a java.net.SocksSocketImpl)
            at java.net.ServerSocket.implAccept(ServerSocket.java:522)
            at java.net.ServerSocket.accept(ServerSocket.java:490)
            at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1100)
    "Active Reference Queue Daemon" daemon prio=2 tid=0x000000000b719800 nid=0x1308
    in Object.wait() [0x000000000c37f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3c08468> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3c08468> (a java.lang.ref.ReferenceQueue$Lock)
            at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.ja
    va:180)
            - locked <0x00000000f3c08468> (a java.lang.ref.ReferenceQueue$Lock)
    "TimerQueue" daemon prio=6 tid=0x0000000009ade800 nid=0xc6c runnable [0x00000000
    0bdcf000]
       java.lang.Thread.State: TIMED_WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x00000000f3924ba8> (a java.util.concurrent.lock
    s.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
    .awaitNanos(AbstractQueuedSynchronizer.java:2082)
            at java.util.concurrent.DelayQueue.take(DelayQueue.java:220)
            at javax.swing.TimerQueue.run(TimerQueue.java:171)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-EventQueue-0" prio=6 tid=0x0000000009a0a000 nid=0x1500 runnable [0x00000000
    0a79d000]
       java.lang.Thread.State: RUNNABLE
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:150)
            at java.net.SocketInputStream.read(SocketInputStream.java:121)
            at oracle.net.ns.Packet.receive(Packet.java:300)
            at oracle.net.ns.DataPacket.receive(DataPacket.java:106)
            at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:315)
            at oracle.net.ns.NetInputStream.read(NetInputStream.java:260)
            at oracle.net.ns.NetInputStream.read(NetInputStream.java:185)
            at oracle.net.ns.NetInputStream.read(NetInputStream.java:102)
            at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSock
    etInputStreamWrapper.java:124)
            at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStr
    eamWrapper.java:80)
            at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1137)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:290)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:204)
            at oracle.jdbc.driver.T4CCallableStatement.fetch(T4CCallableStatement.ja
    va:1116)
            at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(Oracl
    eResultSetImpl.java:373)
            - locked <0x00000000f7afea78> (a oracle.jdbc.driver.T4CConnection)
            at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:
    277)
            - locked <0x00000000f7afea78> (a oracle.jdbc.driver.T4CConnection)
            at oracle.dbtools.raptor.navigator.net.DBURLStreamHandlerFactory.fetchSo
    urce(DBURLStreamHandlerFactory.java:282)
            at oracle.dbtools.raptor.navigator.net.DBURLFileSystemHelper.createReade
    r(DBURLFileSystemHelper.java:164)
            at oracle.ideimpl.net.LazyURLFileSystemHelper.createReader(LazyURLFileSy
    stemHelper.java:365)
            at oracle.ide.net.URLFileSystem.createReader(URLFileSystem.java:1707)
            at oracle.ide.model.TextNode.createReader(TextNode.java:1099)
            at oracle.ide.model.TextNode.loadTextBuffer(TextNode.java:302)
            at oracle.ide.model.TextNode.openImpl(TextNode.java:537)
            at oracle.dbtools.raptor.navigator.plsql.PlSqlNode.openImpl(PlSqlNode.ja
    va:101)
            at oracle.ide.model.Node.open(Node.java:1045)
            at oracle.ide.model.Node.open(Node.java:992)
            at oracle.ide.model.TextNode.acquireTextBufferOrThrow(TextNode.java:812)
            at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1963)
            at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1390)
            - locked <0x00000000f97551c0> (a oracle.ide.ceditor.CodeEditor)
            at com.oracle.jdeveloper.nbwindowsystem.editor.EditorState.createEditor(
    EditorState.java:169)
            at com.oracle.jdeveloper.nbwindowsystem.editor.EditorState.getOrCreateEd
    itor(EditorState.java:103)
            at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPaneState.canSetEdit
    orStatePos(SplitPaneState.java:257)
            at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPaneState.setCurrent
    EditorStatePos(SplitPaneState.java:220)
            at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.createSplit
    PaneState(TabGroupState.java:110)
            at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.addTabGroupState
    (TabGroup.java:116)
            at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbE
    ditorManager.java:534)
            at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbE
    ditorManager.java:511)
            at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.openEditor(NbEdi
    torManager.java:379)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.openEditor(Na
    vSelectionListener.java:829)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.openEditor(Na
    vSelectionListener.java:749)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.access$1500(N
    avSelectionListener.java:82)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener$4.run(NavSele
    ctionListener.java:476)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
            at java.awt.EventQueue.access$200(EventQueue.java:103)
            at java.awt.EventQueue$3.run(EventQueue.java:688)
            at java.awt.EventQueue$3.run(EventQueue.java:686)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo
    main.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
            at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQu
    eueWrapper.java:169)
            at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQue
    ueWrapper.java:151)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:242)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:161)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:150)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    "AWT-Windows" daemon prio=6 tid=0x0000000009a09800 nid=0x1084 runnable [0x000000
    000a52f000]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.windows.WToolkit.eventLoop(Native Method)
            at sun.awt.windows.WToolkit.run(WToolkit.java:299)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-Shutdown" prio=6 tid=0x0000000009a04800 nid=0x11dc in Object.wait() [0x0000
    00000a42f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39cc0b8> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:503)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
            - locked <0x00000000f39cc0b8> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:722)
    "Java2D Disposer" daemon prio=10 tid=0x0000000009a02000 nid=0xedc in Object.wait
    () [0x000000000a32f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3c0dc20> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3c0dc20> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at sun.java2d.Disposer.run(Disposer.java:145)
            at java.lang.Thread.run(Thread.java:722)
    "Service Thread" daemon prio=6 tid=0x00000000097fa800 nid=0x14bc runnable [0x000
    0000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread1" daemon prio=10 tid=0x00000000097e8000 nid=0x15e0 waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread0" daemon prio=10 tid=0x00000000097e0800 nid=0x1494 waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x00000000097df800 nid=0x15f8 runnable [0x0
    000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x00000000097de800 nid=0x161c waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x00000000078bb800 nid=0x4cc in Object.wait() [0x0
    00000000976f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3a05b40> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3a05b40> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)
    "Reference Handler" daemon prio=10 tid=0x00000000078b3000 nid=0x14c4 in Object.w
    ait() [0x000000000966f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39d3838> (a java.lang.ref.Reference$Lock)
            at java.lang.Object.wait(Object.java:503)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
            - locked <0x00000000f39d3838> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x000000000235d000 nid=0xc8c waiting on condition [0x000000000
    0000000]
       java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x00000000077ca800 nid=0xf24 runnable
    "GC task thread#0 (ParallelGC)" prio=6 tid=0x000000000236e000 nid=0xdb0 runnable
    "GC task thread#1 (ParallelGC)" prio=6 tid=0x000000000236f800 nid=0x6a4 runnable
    "GC task thread#2 (ParallelGC)" prio=6 tid=0x0000000002371000 nid=0x131c runnabl
    e
    "GC task thread#3 (ParallelGC)" prio=6 tid=0x0000000002373000 nid=0x1508 runnabl
    e
    "GC task thread#4 (ParallelGC)" prio=6 tid=0x0000000002376800 nid=0x1608 runnabl
    e
    "GC task thread#5 (ParallelGC)" prio=6 tid=0x0000000002377800 nid=0xdf4 runnable
    "GC task thread#6 (ParallelGC)" prio=6 tid=0x0000000002379000 nid=0x1518 runnabl
    e
    "GC task thread#7 (ParallelGC)" prio=6 tid=0x000000000237a000 nid=0xf50 runnable
    "VM Periodic Task Thread" prio=10 tid=0x0000000009803800 nid=0xfa4 waiting on co
    ndition
    JNI global references: 1712
    Heap
    PSYoungGen      total 65984K, used 49680K [0x00000000fbd60000, 0x00000000fffd00
    00, 0x0000000100000000)
      eden space 63872K, 77% used [0x00000000fbd60000,0x00000000fed7b368,0x00000000f
    fbc0000)
      from space 2112K, 19% used [0x00000000ffbc0000,0x00000000ffc28fd8,0x00000000ff
    dd0000)
      to   space 1984K, 0% used [0x00000000ffde0000,0x00000000ffde0000,0x00000000fff
    d0000)
    ParOldGen       total 124928K, used 103514K [0x00000000f3800000, 0x00000000fb20
    0000, 0x00000000fbd60000)
      object space 124928K, 82% used [0x00000000f3800000,0x00000000f9d16be0,0x000000
    00fb200000)
    PSPermGen       total 116160K, used 85069K [0x00000000e3800000, 0x00000000ea970
    000, 0x00000000f3800000)
      object space 116160K, 73% used [0x00000000e3800000,0x00000000e8b137b0,0x000000
    00ea970000)
    During the compile
            at oracle.ideimpl.log.TabbedLogManager$4.run(TabbedLogManager.java:321)
            at java.lang.Thread.run(Thread.java:722)
    "JarIndex Timer" daemon prio=6 tid=0x000000000b52e800 nid=0x12a0 in Object.wait(
    ) [0x00000000113df000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f4f28660> (a java.util.TaskQueue)
            at java.util.TimerThread.mainLoop(Timer.java:552)
            - locked <0x00000000f4f28660> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "TimedCache-Timer" daemon prio=6 tid=0x000000000b530000 nid=0x156c in Object.wai
    t() [0x000000000efdf000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f472ba70> (a java.util.TaskQueue)
            at java.lang.Object.wait(Object.java:503)
            at java.util.TimerThread.mainLoop(Timer.java:526)
            - locked <0x00000000f472ba70> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "Framework Event Dispatcher" daemon prio=6 tid=0x000000000b52d000 nid=0x1568 in
    Object.wait() [0x000000000de0f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3e58220> (a org.eclipse.osgi.framework.eventmgr
    .EventManager$EventThread)
            at java.lang.Object.wait(Object.java:503)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
    vent(EventManager.java:400)
            - locked <0x00000000f3e58220> (a org.eclipse.osgi.framework.eventmgr.Eve
    ntManager$EventThread)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
    tManager.java:336)
    "Framework Active Thread" prio=6 tid=0x000000000b52b800 nid=0x1194 in Object.wai
    t() [0x000000000ca5f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3da2ee0> (a org.eclipse.osgi.framework.internal
    .core.Framework)
            at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java
    :1863)
            - locked <0x00000000f3da2ee0> (a org.eclipse.osgi.framework.internal.cor
    e.Framework)
            at java.lang.Thread.run(Thread.java:722)
    "CLI Requests Server" daemon prio=6 tid=0x000000000b6c8000 nid=0x105c runnable [
    0x000000000c65f000]
       java.lang.Thread.State: RUNNABLE
            at java.net.DualStackPlainSocketImpl.accept0(Native Method)
            at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketIm
    pl.java:121)
            at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:
    398)
            at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
            - locked <0x00000000f39c1c70> (a java.net.SocksSocketImpl)
            at java.net.ServerSocket.implAccept(ServerSocket.java:522)
            at java.net.ServerSocket.accept(ServerSocket.java:490)
            at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1100)
    "Active Reference Queue Daemon" daemon prio=2 tid=0x000000000b719800 nid=0x1308
    in Object.wait() [0x000000000c37f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3bfd160> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3bfd160> (a java.lang.ref.ReferenceQueue$Lock)
            at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.ja
    va:180)
            - locked <0x00000000f3bfd160> (a java.lang.ref.ReferenceQueue$Lock)
    "TimerQueue" daemon prio=6 tid=0x0000000009ade800 nid=0xc6c runnable [0x00000000
    0bdcf000]
       java.lang.Thread.State: RUNNABLE
            at sun.misc.Unsafe.compareAndSwapObject(Native Method)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.compareAndSetTa
    il(AbstractQueuedSynchronizer.java:2309)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.enq(AbstractQue
    uedSynchronizer.java:591)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.transferAfterCa
    ncelledWait(AbstractQueuedSynchronizer.java:1699)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
    .awaitNanos(AbstractQueuedSynchronizer.java:2079)
            at java.util.concurrent.DelayQueue.take(DelayQueue.java:220)
            at javax.swing.TimerQueue.run(TimerQueue.java:171)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-EventQueue-0" prio=6 tid=0x0000000009a0a000 nid=0x1500 runnable [0x00000000
    0a79d000]
       java.lang.Thread.State: RUNNABLE
            at org.openide.util.RequestProcessor$TickTac.schedule(RequestProcessor.j
    ava:2217)
            - locked <0x00000000f39c8ae8> (a java.lang.Class for org.openide.util.Re
    questProcessor$TickTac)
            at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java
    :1504)
            at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java
    :1473)
            at org.openide.loaders.FolderList.refresh(FolderList.java:420)
            - locked <0x00000000fe696000> (a org.openide.loaders.FolderList)
            at org.openide.loaders.FolderList.fileDataCreated(FolderList.java:530)
            at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerIm
    pl.java:458)
            at com.sun.proxy.$Proxy1.fileDataCreated(Unknown Source)
            at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent
    Impl(FCLSupport.java:139)
            at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent
    (FCLSupport.java:128)
            at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
            at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1314)
            at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.j
    ava:213)
            at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.ja
    va:188)
            at org.openide.filesystems.EventControl.runAtomicAction(EventControl.jav
    a:129)
            at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:60
    9)
            at org.openide.loaders.DataObjectPool.runAtomicActionSimple(DataObjectPo
    ol.java:229)
            at org.openide.loaders.InstanceDataObject$Creator.createInstanceDataObje
    ct(InstanceDataObject.java:1579)
            - locked <0x00000000f71735e0> (a org.openide.loaders.InstanceDataObject$
    Creator)
            at org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java
    :343)
            at org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java
    :319)
            at org.netbeans.core.windows.persistence.PersistenceManager.saveTopCompo
    nents(PersistenceManager.java:844)
            at org.netbeans.core.windows.persistence.PersistenceManager.saveWindowSy
    stem(PersistenceManager.java:1181)
            at org.netbeans.core.windows.PersistenceHandler.save(PersistenceHandler.
    java:323)
            - locked <0x00000000f56e8770> (a org.netbeans.core.windows.PersistenceHa
    ndler)
            at org.netbeans.core.windows.WindowSystemImpl.save(WindowSystemImpl.java
    :93)
            at com.oracle.jdeveloper.nbwindowsystem.NbDockStation.saveLayout(NbDockS
    tation.java:500)
            at oracle.ideimpl.cmd.SaveSystemFilesUtil.saveSystemFiles(SaveSystemFile
    sUtil.java:72)
            - locked <0x00000000f72658d0> (a java.lang.Class for oracle.ideimpl.cmd.
    SaveSystemFilesUtil)
            at oracle.ideimpl.cmd.SaveSystemFilesUtil$1.run(SaveSystemFilesUtil.java
    :25)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
            at java.awt.EventQueue.access$200(EventQueue.java:103)
            at java.awt.EventQueue$3.run(EventQueue.java:688)
            at java.awt.EventQueue$3.run(EventQueue.java:686)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo
    main.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
            at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQu
    eueWrapper.java:169)
            at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQue
    ueWrapper.java:151)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:242)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:161)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:150)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    "AWT-Windows" daemon prio=6 tid=0x0000000009a09800 nid=0x1084 runnable [0x000000
    000a52f000]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.windows.WToolkit.eventLoop(Native Method)
            at sun.awt.windows.WToolkit.run(WToolkit.java:299)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-Shutdown" prio=6 tid=0x0000000009a04800 nid=0x11dc in Object.wait() [0x0000
    00000a42f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39c2530> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:503)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
            - locked <0x00000000f39c2530> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:722)
    "Java2D Disposer" daemon prio=10 tid=0x0000000009a02000 nid=0xedc in Object.wait
    () [0x000000000a32f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3c027e8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3c027e8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at sun.java2d.Disposer.run(Disposer.java:145)
            at java.lang.Thread.run(Thread.java:722)
    "Service Thread" daemon prio=6 tid=0x00000000097fa800 nid=0x14bc runnable [0x000
    0000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread1" daemon prio=10 tid=0x00000000097e8000 nid=0x15e0 runnable [
    0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread0" daemon prio=10 tid=0x00000000097e0800 nid=0x1494 waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x00000000097df800 nid=0x15f8 runnable [0x0
    000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x00000000097de800 nid=0x161c waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x00000000078bb800 nid=0x4cc in Object.wait() [0x0
    00000000976f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39fbe28> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f39fbe28> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)
    "Reference Handler" daemon prio=10 tid=0x00000000078b3000 nid=0x14c4 runnable [0
    x000000000966f000]
       java.lang.Thread.State: RUNNABLE
            at java.lang.Object.notifyAll(Native Method)
            at java.lang.ref.ReferenceQueue.enqueue(ReferenceQueue.java:68)
            - locked <0x00000000f396b3c0> (a java.lang.ref.ReferenceQueue$Lock)
            - locked <0x00000000fe739bb0> (a java.util.WeakHashMap$Entry)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:146)
    "main" prio=6 tid=0x000000000235d000 nid=0xc8c waiting on condition [0x000000000
    0000000]
       java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x00000000077ca800 nid=0xf24 runnable
    "GC task thread#0 (ParallelGC)" prio=6 tid=0x000000000236e000 nid=0xdb0 runnable
    "GC task thread#1 (ParallelGC)" prio=6 tid=0x000000000236f800 nid=0x6a4 runnable
    "GC task thread#2 (ParallelGC)" prio=6 tid=0x0000000002371000 nid=0x131c runnabl
    e
    "GC task thread#3 (ParallelGC)" prio=6 tid=0x0000000002373000 nid=0x1508 runnabl
    e
    "GC task thread#4 (ParallelGC)" prio=6 tid=0x0000000002376800 nid=0x1608 runnabl
    e
    "GC task thread#5 (ParallelGC)" prio=6 tid=0x0000000002377800 nid=0xdf4 runnable
    "GC task thread#6 (ParallelGC)" prio=6 tid=0x0000000002379000 nid=0x1518 runnabl
    e
    "GC task thread#7 (ParallelGC)" prio=6 tid=0x000000000237a000 nid=0xf50 runnable
    "VM Periodic Task Thread" prio=10 tid=0x0000000009803800 nid=0xfa4 waiting on co
    ndition
    JNI global references: 1601
    Heap
    PSYoungGen      total 51968K, used 43392K [0x00000000fbd60000, 0x00000001000000
    00, 0x0000000100000000)
      eden space 43392K, 100% used [0x00000000fbd60000,0x00000000fe7c0000,0x00000000
    fe7c0000)
      from space 8576K, 0% used [0x00000000ff7a0000,0x00000000ff7a0000,0x00000001000
    00000)
      to   space 12416K, 0% used [0x00000000fe7c0000,0x00000000fe7c0000,0x00000000ff
    3e0000)
    ParOldGen       total 136576K, used 136570K [0x00000000f3800000, 0x00000000fbd6
    0000, 0x00000000fbd60000)
      object space 136576K, 99% used [0x00000000f3800000,0x00000000fbd5e898,0x000000
    00fbd60000)
    PSPermGen       total 86656K, used 86345K [0x00000000e3800000, 0x00000000e8ca00
    00, 0x00000000f3800000)
      object space 86656K, 99% used [0x00000000e3800000,0x00000000e8c52670,0x0000000
    0e8ca0000)
    After a while  I received the  message
    "Your database connection has been reset. Any pending transactions or session state has been lost"
    Please let me know if  you need anything else.

Maybe you are looking for