SQL developer 4.0 is not starting
C:\Dev Software\sqldeveloper\sqldeveloper\bin>sqldeveloper.bat
C:\Dev Software\sqldeveloper\sqldeveloper\bin>java -Xmx640M -Xms128M -Xverify:none -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.sh
ell.font.languages= -XX:MaxPermSize=128M -Dide.AssertTracingDisabled=true -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Djava.util.logging.config.file=logging.conf -Dsqlde
v.debug=false -Dide.conf="./sqldeveloper.conf" -Dide.startingcwd="." -classpath ../../ide/lib/ide-boot.jar oracle.ide.boot.Launcher
ERROR: You're trying to run the product with the legacy launcher oracle.ide.boot.Launcher . Check your <product>.conf file and be sure to include:
AddJavaLibFile ../../ide/lib/fcpboot.jar
SetMainClass oracle.ide.osgi.boot.OracleIdeLauncher
Use C:\Dev Software\sqldeveloper\sqldeveloper.exe instead.
Similar Messages
-
New "SQL Developer Team Announcements" sticky note
In the new SQL Developer Team Announcements sticky note posted a couple of days ago:
<li>Is "SQL Developer Team Announcements" the right title? It appears to be hard enough to get people to read these things anyway, and this suggests that it's either targetted at the SQL Developer Team, or contains information about them.
<li>The SQL Developer Exchange link for Enhancement Requests links to the sticky note, not the Exchange Feature Requests page.
<li>Suggest using "Forum Tips" or some other alternative instead of "Forum Etiquette": "etiquette" too obscure a term?
<li>"When asking a question, provide all the details that someone would need to answer it.": Can these be spelled out? e.g. SQL Developer version, DB version, Java version, OS etc.Sue, thanks for the prompt attention.
3 sounds good: News, Posting Guidelines, and a FAQ for the rest? (sorry, I'd lump "collateral" in with "etiquette" as clarity goes).
A FAQ with Qs like:
<li>How do I report bugs?
<li>Where do I request enhancements?
<li>Where can I find extensions?
may be the best way to handle the "collateral" as it can retain the same (easily understood title) whilst being extendable to cover virtually anything.
As an example, I think Mark Drake has handled this well on the {forum:id=34} forum. -
SQL Developer Blocked and is not allowed to connect to database ORA-200001
SQL Developer Blocked and is not allowed to connect to database gives ORA-200001.
i found on net that DBA can write triggers which can deny connection to database from certain appplication.
so i want a way to change application name so that when it connects to database
the V$SESSION will have different value (other than SQL Developer) in column PROGRAM and/or MODULE (which i think is used by dba to restrict the connection).
one more way is
i am using jdbc url to connect to database
in java we can change properties of connection to change the PROGRAM in V$SESSION.
but i am not java expert so dont know how and where to make the changes
either way my aim is to connect to database such that V$SESSION will have different value (other than "SQL Developer") in column PROGRAM and/or MODULEThis is not system configration or credential issue.
This is a check which is put DBA using logon trigger
to check certain user loging in using certain application.
only some users using particular username are getting this error when they try to logon using oracle sql developer
the same users when uses different username(some generic user names created to access database) to access the same database then they are able to login.
similarly if they login using SQL navigator they are able to login with both their own and the generic user name
more over of all the database instances this is only happening on some of the instances and all of them are development instances.
following will help you understand
USER | DBUSERNAME | DATABASE | APPLICATION | ACTION
X | X | DB1 | Oracle Sql Developer | Blocked
X | G(Genric) | DB1 | Oracle Sql Developer | Login Success
X | X | DB1 | Sql Navigator/SqlPLus | Login Success
X | G(Genric) | DB1 | Sql Navigator/SqlPLus | Login Success
X | X | DB2 | Oracle Sql Developer | Login Success
X | G(Genric) | DB2 | Oracle Sql Developer | Login Success
X | X | DB2 | Sql Navigator/SqlPLus | Login Success
X | G(Genric) | DB2 | Sql Navigator/SqlPLus | Login Success
I just want to bypass this check which i think uses V$SESSION and columns PROGRAM and/or MODULE to check the application used by particular user.
if i can override these values some where in oracle sql developer before loging in the DB then i can clearly pass this check and login to database.
Edited by: user13430736 on Jun 21, 2011 4:05 AM
Edited by: user13430736 on Jun 21, 2011 4:12 AM -
Query on SQL Developer Connections Tree Does Not Display Objects
Hi Gurus, Could you please clarify on the below. As per the note ID 1458753.1, SQL Developer Connections Tree Does Not Display Objects to user in order to access database objects outside the owned schema/account. ------------------------- By default, and without granting wide privileges such as DBA, a user will only see his or her own objects in the first level object nodes under their connection. Objects in other schemas must be accessed via the Other Users node under the connection. This is the intended functionality/display in SQL Developer. ------------------------- Is there any other way we can achieve this? Requirement is very common - user A owns all objects and user B granted read/read-write privileges on user A objects. Now user B wants to Display user A objects in the corresponding objects node of SQL developer. Could any one shed some light here? Thanks Venu
First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
Justin -
SQL Express 2008 R2 will not start on Windows 7 Home
Ok, This used to work, and then over night my system rebooted and now I cannot start SQL Express 2008 R2 after I have unistalled, and re-installed. Cleared out the folders and the certificates, changed the Named Pipes configuration and all to
no avail. Here is my log file.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2014-06-14 08:45:18.18 Server Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
Jun 17 2011 00:54:03
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
2014-06-14 08:45:18.18 Server (c) Microsoft Corporation.
2014-06-14 08:45:18.18 Server All rights reserved.
2014-06-14 08:45:18.18 Server Server process ID is 8924.
2014-06-14 08:45:18.18 Server System Manufacturer: 'SAMSUNG ELECTRONICS CO., LTD.', System Model: '700Z3A/700Z4A/700Z5A/700Z5B'.
2014-06-14 08:45:18.18 Server Authentication mode is MIXED.
2014-06-14 08:45:18.18 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\Log\ERRORLOG'.
2014-06-14 08:45:18.18 Server This instance of SQL Server last reported using a process ID of 2820 at 6/14/2014 8:32:55 AM (local) 6/14/2014 1:32:55 PM (UTC). This is an informational message only; no user action is required.
2014-06-14 08:45:18.18 Server Registry startup parameters:
-d C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\DATA\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\Log\ERRORLOG
-l C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\DATA\mastlog.ldf
2014-06-14 08:45:18.18 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2014-06-14 08:45:18.18 Server Detected 8 CPUs. This is an informational message; no user action is required.
2014-06-14 08:45:18.21 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2014-06-14 08:45:18.23 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational
message only. No user action is required.
2014-06-14 08:45:18.25 spid7s Starting up database 'master'.
2014-06-14 08:45:18.28 spid7s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'ACT7'.
2014-06-14 08:45:18.29 spid7s SQL Trace ID 1 was started by login "sa".
2014-06-14 08:45:18.29 spid7s Starting up database 'mssqlsystemresource'.
2014-06-14 08:45:18.30 spid7s The resource database build version is 10.50.2500. This is an informational message only. No user action is required.
2014-06-14 08:45:18.32 spid7s Server name is 'MARTINDAHL-PC\ACT7'. This is an informational message only. No user action is required.
2014-06-14 08:45:18.32 spid10s Starting up database 'model'.
2014-06-14 08:45:18.32 spid7s Informational: No full-text supported languages found.
2014-06-14 08:45:18.32 spid7s Starting up database 'msdb'.
2014-06-14 08:45:18.33 Server Error: 17190, Severity: 16, State: 1.
2014-06-14 08:45:18.33 Server Initializing the FallBack certificate failed with error code: 1, state: 1, error number: -2146893802.
2014-06-14 08:45:18.33 Server Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2014-06-14 08:45:18.33 Server Error: 17182, Severity: 16, State: 1.
2014-06-14 08:45:18.33 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
2014-06-14 08:45:18.33 Server Error: 17182, Severity: 16, State: 1.
2014-06-14 08:45:18.33 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
2014-06-14 08:45:18.33 Server Error: 17826, Severity: 18, State: 3.
2014-06-14 08:45:18.33 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2014-06-14 08:45:18.33 Server Error: 17120, Severity: 16, State: 1.
2014-06-14 08:45:18.33 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
-=-=-=-=-=-=-=-=-=-=
I am logged into either the Administrator Account or my Account in which I am in the Adminstrator Group or an Admin. My OS is Windows 7 Home Premium Edition, so I cannot clear out the MSSQL groups and things I have seen online. Since this
is Express, there is limited capabilities with the config tool.
I have tried to change the log in as in the SQL Configuration tool and every item I check, Local Service, Local System, Network Service all give the same error,
"Cannot Find Object or Property. [0x80042004]
SInce I have Home Premium, MMC will not load the snap in for Local Users and groups to check out these items.
A check of the net user shows only the Administrator, Guest and my local login in Admin Account. net localgroups show these items.
*Administrators
*Distributed COM Users
*Event Log Readers
*Guests
*HomeUsers
*IIS_IUSRS
*IIS_WPG
*Performance Log Users
*Performance Monitor Users
*SQLServer2005SQLBrowserUser$MARTINDAHL-PC
*SQLServerFDHostUser$MartinDahl-PC$ACT7
*SQLServerMSSQLServerADHelperUser$MARTINDAHL-PC
*SQLServerMSSQLUser$MartinDahl-PC$ACT7
*SQLServerSQLAgentUser$MARTINDAHL-PC$ACT7
*Users
The command completed successfully.
I checked the SSL and Force Encryption is set to no and the certificates have been cleared.
I am not sure how to solve this problem. Please help. Thanks, in advance.I created a new Administrator account on the machine, mdahl. I then started the SQL Configuration Tool and changed the log on to this new account. Same problem. Here is the SQL Log.
2014-06-14 11:24:15.83 Server Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
Jun 17 2011 00:54:03
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
2014-06-14 11:24:15.83 Server (c) Microsoft Corporation.
2014-06-14 11:24:15.83 Server All rights reserved.
2014-06-14 11:24:15.83 Server Server process ID is 11448.
2014-06-14 11:24:15.83 Server System Manufacturer: 'SAMSUNG ELECTRONICS CO., LTD.', System Model: '700Z3A/700Z4A/700Z5A/700Z5B'.
2014-06-14 11:24:15.83 Server Authentication mode is MIXED.
2014-06-14 11:24:15.83 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\Log\ERRORLOG'.
2014-06-14 11:24:15.83 Server This instance of SQL Server last reported using a process ID of 5952 at 6/14/2014 11:21:35 AM (local) 6/14/2014 4:21:35 PM (UTC). This is an informational message only; no user action is required.
2014-06-14 11:24:15.83 Server Registry startup parameters:
-d C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\DATA\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\Log\ERRORLOG
-l C:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\DATA\mastlog.ldf
2014-06-14 11:24:15.83 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2014-06-14 11:24:15.83 Server Detected 8 CPUs. This is an informational message; no user action is required.
2014-06-14 11:24:15.87 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2014-06-14 11:24:15.88 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational
message only. No user action is required.
2014-06-14 11:24:15.90 spid7s Starting up database 'master'.
2014-06-14 11:24:15.91 spid7s 1 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required.
2014-06-14 11:24:15.91 spid7s 0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required.
2014-06-14 11:24:15.91 spid7s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2014-06-14 11:24:15.92 spid7s FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'ACT7'.
2014-06-14 11:24:15.93 spid7s SQL Trace ID 1 was started by login "sa".
2014-06-14 11:24:15.93 spid7s Starting up database 'mssqlsystemresource'.
2014-06-14 11:24:15.93 spid7s The resource database build version is 10.50.2500. This is an informational message only. No user action is required.
2014-06-14 11:24:16.03 spid7s Server name is 'MARTINDAHL-PC\ACT7'. This is an informational message only. No user action is required.
2014-06-14 11:24:16.03 spid10s Starting up database 'model'.
2014-06-14 11:24:16.03 spid7s Informational: No full-text supported languages found.
2014-06-14 11:24:16.03 spid7s Starting up database 'msdb'.
2014-06-14 11:24:16.03 Server Error: 17190, Severity: 16, State: 1.
2014-06-14 11:24:16.03 Server Initializing the FallBack certificate failed with error code: 1, state: 1, error number: -2146893802.
2014-06-14 11:24:16.03 Server Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2014-06-14 11:24:16.03 Server Error: 17182, Severity: 16, State: 1.
2014-06-14 11:24:16.03 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
2014-06-14 11:24:16.03 Server Error: 17182, Severity: 16, State: 1.
2014-06-14 11:24:16.03 Server TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
2014-06-14 11:24:16.03 Server Error: 17826, Severity: 18, State: 3.
2014-06-14 11:24:16.03 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2014-06-14 11:24:16.03 Server Error: 17120, Severity: 16, State: 1.
2014-06-14 11:24:16.03 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
Also, the link you provided is to Windows Vista, not Windows 7 Home Premium. However, I did look at the registry setting they said to look at in the link.
Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Under the ProfileList subkey, delete the subkey that is named <var>SID</var>.bak.
Note <var>SID</var> is a placeholder for the security identifier (SID) of the user account that is experiencing the problem. The <var>SID</var>.bak subkey should contain a ProfileImagePath registry entry that points to the original profile
folder of the user account that is experiencing the problem.
Exit Registry Editor.
Looking into my registry for my ProfilesList as mentioned. I have these items.
S-1-5-19 Folder with Default (Value not set), Flags (REG_DWORD) 0x0000000, ProfileImagePath (REG_EXPANDS_SZ) C:Windows\ServiceProfiles\LocalService, State (REG_DWORD) 0x0000000
S-1-5-20 Folder with Default (Value not set), Flags (REG_DWORD) 0x0000000, ProfileImagePath (REG_EXPANDS_SZ) C:Windows\ServiceProfiles\NetworkService, State (REG_DWORD) 0x0000000
Then I have an item for each of my three accounts, Administrator, Martin Dahl, and mdahl, All admin Accounts, which has no sid.bak, but a Sid, so not sure how this link helps me either. Still looking for assistance. Still not starting. -
Oracle SQL Developer 1.2 has not Third Party Connection Options?
I downloaded SQL Developer 1.2 and i try to create a sql server connection, but have problems with jdbc drivers. The documentation refer to :
1. In SQL Developer choose Tools -> Preferences...
2. Expand the "Database" option in the left hand tree
3. Click on "Third Party JDBC Drivers"
4. Click on "Add Entry..."
5. Navigate to your third party driver jar file and choose OK
This option is not.
I need help...
Thank you.Only if try to access <PL/SQL Compiler Options> and <PL/SQL Debugger>.
See in the following blocks.
PL/SQL Compiler Options
Error Details
[java.lang.NullPointerException
at oracle.dbtools.raptor.config.PlSqlCompilerOptionsPanel.onEntry(PlSqlCompilerOptionsPanel.java:35)
at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:921)
at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:894)
at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java:104)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1343)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1211)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1205)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:795)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:580)
at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:47)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:265)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:571)
at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)]
PL/SQL Debugger
Error Details
[java.lang.NullPointerException
at oracle.dbtools.raptor.config.PlSqlCompilerOptionsPanel.onExit(PlSqlCompilerOptionsPanel.java:41)
at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:972)
at oracle.ide.panels.MDDPanel.mav$exitTraversable(MDDPanel.java:104)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1267)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1211)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1205)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:795)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:580)
at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:47)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:265)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:571)
at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)] -
Hi, I upgraded SQL developer yesterday to the latest version. Now I don't see anything any more in the datagrid, columns, constraints, etc ...
Connection is OK, in the explorer (to the left) I see tables and columns, in the datagrid (table properties) I don't see anything.
Here is the contents of the about box
Many thanks
About
Oracle SQL Developer 2.1.1.64
Version 2.1.1.64
Build MAIN-64.45
Copyright © 2005,2009 Oracle. All Rights Reserved.
IDE Version: 11.1.1.2.36.55.30
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.64.45
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_20
Oracle IDE 2.1.1.64.45
Versioning Support 2.1.1.64.45
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 8627304444140
ide.build MAIN-64.45
ide.conf C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 5928
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\johkene\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\johkene\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\sqldeveloper
ide.user.dir C:\Users\johkene\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\johkene\Documents\SQL Developer
ide.work.dir.base C:\Users\johkene\Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files\Java\jdk1.6.0_20\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.6.0_20\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.6.0_20\jre
java.io.tmpdir C:\Users\johkene\AppData\Local\Temp\
java.library.path C:\sqldeveloper;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\Gemplus\GemSafe Libraries\BIN;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Sybase\DLL;C:\Sybase\BIN;C:\Program Files\Sybase\Shared\PowerBuilder\;C:\Program Files\Java\jdk1.6.0_12\bin;C:\apache-maven-2.0.10\bin;C:\Program Files\Liquid Technologies\Liquid XML Studio 2009\XmlDataBinder7\Redist7\cpp\win32\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Belgium Identity Card;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Research In Motion\BlackBerry Theme Studio 5.0\bin;C:\Program Files\CVSNT\
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_20-b02
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_20
java.vm.info mixed mode, sharing
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 16.3-b01
jdbc.library /C:/sqldeveloper/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.Trace true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows Vista
os.version 6.0
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jdk1.6.0_20\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_20\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.6.0_20\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 2
svnkit.sax.useDefault true
user.country BE
user.dir C:\sqldeveloper\sqldeveloper\bin
user.home C:\Users\johkene
user.language nl
user.name JOHKENE
user.timezone Europe/Paris
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.2.36.55.30 Loaded
Code Editor oracle.ide.ceditor 11.1.1.2.36.55.30 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.2.36.55.30 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.2.36.55.30 Loaded
Database UI oracle.ide.db 11.1.1.2.36.55.30 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.2.36.55.30 Loaded
Extended IDE Platform oracle.javacore 11.1.1.2.36.55.30 Loaded
External Tools oracle.ide.externaltools 11.1.1.2.36.55.30 Loaded
File Support oracle.ide.files 11.1.1.2.36.55.30 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.64.45 Loaded
Help System oracle.ide.help 11.1.1.2.36.55.30 Loaded
History Support oracle.jdeveloper.history 11.1.1.2.36.55.30 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.2.36.55.30 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.2.36.55.30 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.2.36.55.30 Loaded
Log Window oracle.ide.log 11.1.1.2.36.55.30 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.2.36.55.30 Loaded
Navigator oracle.ide.navigator 11.1.1.2.36.55.30 Loaded
Object Gallery oracle.ide.gallery 11.1.1.2.36.55.30 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.64.45 Loaded
Oracle Data Modeler Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.64.45 Loaded
Oracle Database Browser oracle.sqldeveloper.thirdparty.browsers 11.1.1.64.45 Loaded
Oracle IDE oracle.ide 11.1.1.2.36.55.30 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.64.45 Loaded
Oracle SQL Developer Data Modeler Viewer oracle.datamodeler 2.0.0.584 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 1.1.1.64.45 Loaded
Oracle SQL Developer Migrations oracle.sqldeveloper.migration 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Antlr3 Translation Core oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - DB2 oracle.sqldeveloper.migration.db2 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - MySQL oracle.sqldeveloper.migration.mysql 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - SQLServer oracle.sqldeveloper.migration.sqlserver 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Sybase oracle.sqldeveloper.migration.sybase 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Teradata oracle.sqldeveloper.migration.teradata 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Translation Db2 oracle.sqldeveloper.migration.translation.db2 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.64.45 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.64.45 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.64.45 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 2.0.0.64.45 Loaded
Oracle SQL Developer Unit Test oracle.sqldeveloper.unit_test 11.1.1.64.45 Loaded
Oracle SQL Developer Worksheet oracle.sqldeveloper.worksheet 11.1.1.64.45 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.64.45 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.2.36.55.30 Loaded
Peek oracle.ide.peek 11.1.1.2.36.55.30 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.2.36.55.30 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.2.36.55.30 Loaded
Replace With oracle.ide.replace 11.1.1.2.36.55.30 Loaded
Runner oracle.ide.runner 11.1.1.2.36.55.30 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.64.45 Loaded
Sql Monitoring Project oracle.sqldeveloper.sqlmonitor 11.1.1.64.45 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.64.45 Loaded
User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.64.45 Loaded
VHV oracle.ide.vhv 11.1.1.2.36.55.30 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.2.36.55.30 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.2.36.55.30 Loaded
Virtual File System oracle.ide.vfs 11.1.1.2.36.55.30 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.2.36.55.30 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.2.36.55.30 LoadedYes this was clean directory (I reinstalled twice already). I'm using Oracle Database 10g express edition and also Oracle 10g Standard Edition (same problem for both databases).
In the messages log I get:
oracle.dbtools.raptor.oviewer.table.GridDataEditor java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
... and then each time I switch table:
oracle.ide.model.IdeSubject Exception while updating observer[8]: Editor5 -
SQL Developer 3.0 hanging on start up in XWindows
I hate this kind of post but I'm going to have to do it because I've tried everything I can think of... installed SQL Developer last week, and all worked fine. Then today, when I logged into my Linux host, it does not work.
Upon launching sqldeveloper, I get a splash screen, that only advances two ticks on the progress bar, then hangs up, never to continue or return control back.
I am using jdk1.7.0_02 with SQL Developer v3.0.04.34 on Oracle Enterprise Linux Server 5.6
Any ideas or things to check or try?
When I finally get tired of waiting and hit ctrl-C in the terminal window, I will get a message like this:
Error: SQL Developer can't recognize the JDK version
Edited by: joebednarz on Jan 17, 2012 12:38 PMThank you for your response Alfonso...
No, the JDK was not updated. I neglected to mention that this was not part of an Oracle client install, just SQLDeveloper rpm, therefore, no default JDK came with program. -
JDK with SQL Developer 3.2.20 Not Latest Version 6 Update
SQL Developer Team,
Why doesn't the new version 3.2.20.09 have the latest JDK 6 Update 37. It still has Update 35 which has security vulnerabilities.
Also, the download web page here
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
says it is Update 11 "Windows 32-bit - zip file includes the JDK1.6.0_11"
Bob SWhy doesn't the new version 3.2.20.09 have the latest JDK 6 Update 37Timing. Update 37 was not available until 10/16. Update 35 (08/30) had only recently been included due to Oracle Cloud requirements.
As a convenience, one of the 32-bit Windows downloads includes a JDK. There is no commitment to provide the most recent update.
Regards,
Gary
SQL Developer Team -
SQL Developer: "network adapter could not establish the connection"
Can some one help. I dont seem to know wat the problem is.
PL/SQL connection is ok.
I use userneme; scott
password: tiger
but my SQL Developer will not coonect
showing above messageHi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Oracle Discussion Forums » Application Development in PL/SQL » SQL Developer (Not for general SQL/PLSQL questions) which is seeded dedicated forum site.
Regard
Helios -
SQL Developer and External Procedures not in tree.
Does sql Dveloper add external procedures to the object browser tree? I have SQL Developer 1.5 and if you have external procedures/functions before your regular PLSQL objects they will not display in the tree. I can make the tree work but the tree still doesn't capture the externals. Am I doing something wrong or should this be a feature request?
VSAMPLE1 shows the problem.
VSAMPLE2 is a try to resolve...
/* the problem.. */
CREATE OR REPLACE package VSAMPLE_1 IS
PROCEDURE foobar(feedname IN VARCHAR2);
END VSAMPLE_1;
CREATE OR REPLACE PACKAGE BODY VSAMPLE_1
IS
* Function Name:- canread
* Description :-This function checks the file will give any error or not while reading
FUNCTION canread (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.canRead (java.lang.String) return int';
* Function Name:- is_exist
* Description :-This function checks the existance of the filein the required folder
FUNCTION is_exist (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.exists (java.lang.String) return int';
* Function Name:- isDirectory
* Description :-This function checks the name provided by the user is a directory or not
FUNCTION isDirectory (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isDirectory (java.lang.String) return int';
* Function Name:- isFile
* Description :-This function checks the name provided by the user is a file or not
FUNCTION isFile (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isFile (java.lang.String) return int';
* Function Name:- isExist
* Description :-This function checks the existance of file,correctness of the directory provided by the user.
* @Param file_name :- File Name in directory
* @return retcode :- Error checking while uploading the feed.
FUNCTION isExist(file_name IN VARCHAR2,
is_dir BOOLEAN)
RETURN PLS_INTEGER
IS
retcode PLS_INTEGER := -1;
v_errcode PLS_INTEGER;
v_errtext VARCHAR2(1000);
l_section_name VARCHAR2(32) := 'isExist ' ;
BEGIN
IF VTMLOG.isDebugEnabled THEN
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Checking existense of '||file_name);
END IF;
retcode := is_exist(file_name);
IF retcode = 1 THEN
IF is_dir THEN
retcode := isDirectory(file_name);
ELSE
retcode := isFile(file_name);
END IF;
IF retcode = 1 THEN
retcode := canread(file_name);
IF retcode != 1 THEN
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Can not read ' || file_name);
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Unable to check if ' || file_name || ' is directory or file ');
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, file_name || ' does not exist ');
END IF;
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Leaving ' );
RETURN retcode;
EXCEPTION
WHEN OTHERS THEN
VTMLOG.SHOW_ERROR_MESSAGE(l_section_name,$$PLSQL_LINE);
RAISE;
END isExist;
PROCEDURE foobar(feedname VARCHAR2)
IS
retval PLS_INTEGER;
BEGIN
/* implementation omitted */
retval := isExist('feed.txt',false);
EXCEPTION
WHEN OTHERS THEN
RAISE;
END foobar;
END VSAMPLE_1;
/* This version at least shows the tree. But I can't reach the external by clicking in the navigation tree just the placeholders */
PROCEDURE foobar(feedname IN VARCHAR2);
END VSAMPLE_2;
CREATE OR REPLACE PACKAGE BODY VSAMPLE_2
IS
FUNCTION canread (FILE IN VARCHAR2) RETURN NUMBER;
FUNCTION is_exist (FILE IN VARCHAR2) RETURN NUMBER;
FUNCTION isDirectory (FILE IN VARCHAR2) RETURN NUMBER;
FUNCTION isFile (FILE IN VARCHAR2) RETURN NUMBER;
* Function Name:- isExist
* Description :-This function checks the existance of file,correctness of the directory provided by the user.
* @Param file_name :- File Name in directory
* @return retcode :- Error checking while uploading the feed.
FUNCTION isExist(file_name IN VARCHAR2,
is_dir BOOLEAN)
RETURN PLS_INTEGER
IS
retcode PLS_INTEGER := -1;
v_errcode PLS_INTEGER;
v_errtext VARCHAR2(1000);
l_section_name VARCHAR2(32) := 'isExist ' ;
BEGIN
IF VTMLOG.isDebugEnabled THEN
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Checking existense of '||file_name);
END IF;
retcode := is_exist(file_name);
IF retcode = 1 THEN
IF is_dir THEN
retcode := isDirectory(file_name);
ELSE
retcode := isFile(file_name);
END IF;
IF retcode = 1 THEN
retcode := canread(file_name);
IF retcode != 1 THEN
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Can not read ' || file_name);
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Unable to check if ' || file_name || ' is directory or file ');
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, file_name || ' does not exist ');
END IF;
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Leaving ' );
RETURN retcode;
EXCEPTION
WHEN OTHERS THEN
VTMLOG.SHOW_ERROR_MESSAGE(l_section_name,$$PLSQL_LINE);
RAISE;
END isExist;
PROCEDURE foobar(feedname VARCHAR2)
IS
retval PLS_INTEGER;
BEGIN
/* implementation omitted */
retval := isExist('feed.txt',false);
EXCEPTION
WHEN OTHERS THEN
RAISE;
END foobar;
* Function Name:- canread
* Description :-This function checks the file will give any error or not while reading
FUNCTION canread (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.canRead (java.lang.String) return int';
* Function Name:- is_exist
* Description :-This function checks the existance of the filein the required folder
FUNCTION is_exist (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.exists (java.lang.String) return int';
* Function Name:- isDirectory
* Description :-This function checks the name provided by the user is a directory or not
FUNCTION isDirectory (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isDirectory (java.lang.String) return int';
* Function Name:- isFile
* Description :-This function checks the name provided by the user is a file or not
FUNCTION isFile (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isFile (java.lang.String) return int';
END VSAMPLE_2;
/Hi,
I am afraid that according to the error message, it seems that this issue is mainly related to third-party, since issues using oracle database are not supported here, you could consider posting this issue in its website to get supports.
In addition, you could mark any reply as answer if it is helpful.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Links for SQL Developer and Data Modeler not working?
Hi folks,
I tried to access the new SQL Developer and Data Modeler links posted in the April 1 message (and on the Oracle site) from a couple of machines with no luck (empty zip files) - is there an update to the links?
Thanks!
TomoIn Firefox zero length zip. In IE loses connection to downloads.oracle.com.
-
SQL Developer tool sometimes does not display data with date type
run the following query using the sql developer tool -
select effective_date from table1 where id = 123;
(the effective_date is stored in the database as date.)
one record is returned with no date in the filed.
However, if I change the query to
select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
one record is returned with effective date.
Why?
Thanks for your help.First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
Justin -
SQL Developer 3.2 does not show warnings
In SQL developer 3.2, I am trying to compilie package. After compilation it shows following message in script output
PACKAGE BODY package_name_pkg compiled
Warning: execution completed with warning
Everytime I need to use 'SHOW ERRORS' command to see all above warnings.
Is there any other way to see these warnings without using show errors ?
--SwarupYes, you need to use the Procedure Editor.
http://www.thatjeffsmith.com/archive/2012/01/viewing-plsql-compilation-errors-in-oracle-sql-developer/ -
SQL Developer - Database Export - Constraints not included in DDL
I have used the Database Export function available in the Tools menu but have been unsuccessful in getting the referential integrety and check contraints to export. These are the steps I take:
Environment: Windows XP Professional.
SQL Developer 1.5.1
Tools>Database Export
In Source/Destination I select the filename and the database source and check:
Show Schema
Terminator
Pretty Print
Add Force to Views
Include Grants
In Types to Export I check all except Data.
In Specify Objects I select the Schema I want to export.
None of the foreign_key or check constraints are shown but I select all of the objects.
Export Summary
File:C:\Documents and Settings\richardk.asbury\My Documents\EER\eer3.sql
Connection:ENVD
DDL Options
Show Schema
Terminator
Pretty Print
Add Force to Views
Necessary object dependencies will be included in export.
Tables
A_EMIS_TOXIC_DTL
A_EMIS_TOXIC_HDR
DSK_BLOB
PORTAL_AI_PROFILE
PORTAL_AI_XREF
PORTAL_USER
SUBJECT_ITEM_PARENT
SUBJ_ITEM_ATTRIBUTE
SUBJ_ITEM_COMMENTS
SUBJ_ITEM_QUANTITIES
SUBJ_ITEM_RELATED
Views
ACTIVITY_TASK_LIST_VW
AGENCY_INTEREST_ORG_XREF_VW
AGENCY_INTEREST_VW
A_EMIS_TOXIC_DTL_VW
A_EMIS_TOXIC_HDR_VW
DSK_CENTRAL_VW
MTB_ATTRIBUTE_DESC_VW
MTB_ATTRIB_ATTR_DESC_XREF_VW
MTB_MUNICIPALITY_VW
MTB_PARAMETER_VW
MTB_PERSON_TITLE_VW
MTB_PORTAL_SUBMITTAL_STATUS_VW
MTB_QUANTITY_TYPE_VW
MTB_QUANT_METHOD_VW
MTB_STATE_VW
MTB_SUBJECT_ITEM_ATTRIBUTE_VW
MTB_SUBJECT_ITEM_TYPE_VW
MTB_UNITS_VW
ORGANIZATION_VW
PERSON_VW
PORTAL_AI_PROFILE_VW
PORTAL_AI_XREF_VW
PORTAL_EMAIL_QUEUE_VW
PORTAL_USER_VW
SUBJECT_ITEM_VW
SUBJ_ITEM_COMMENTS_VW
SUBJ_ITEM_GENERAL_VW
SUBJ_ITEM_LOC_LAT_LONG_VW
Indexes
INDX_DSK_BLOB_BLOB_TITLE
PK_A_EMIS_TOXIC_DTL_ID
PK_A_EMIS_TOXIC_HDR_ID
PK_DSK_BLOB
PK_PORTAL_USER_ID
PK_SUBJECT_ITEM_PARENT
PK_SUBJECT_ITEM_RELATED
PK_SUBJ_ITEM_ATTRIB_ID
PK_SUBJ_ITEM_COMMENTS_ID
PK_SUBJ_ITEM_QUANT_ID
SYS_C0017821
Package Spec
MNG_DATA
MNG_USER
Package Body
MNG_DATA
MNG_USER
Procedures
All procedures will be exported.
Functions
All functions will be exported.
Triggers
A_EMIS_TOXIC_DTL_BEFINSUPD
A_EMIS_TOXIC_HDR_BEFINSUPD
PORTAL_AI_PROFILE_BEFINS
PORTAL_AI_XREF_BEFINS
PORTAL_USER_BEFINS
SUBJECT_ITEM_PARENT_BEFINSUPD
SUBJ_ITEM_ATTRIBUTE_BEFINSUPD
SUBJ_ITEM_COMMENTS_BEFINSUPD
SUBJ_ITEM_QUANTITIES_BEFINSUPD
SUBJ_ITEM_RELATED_BEFINSUPD
Types
All types will be exported.
Sequences
A_EMIS_TOXIC_DTL_SEQ
A_EMIS_TOXIC_HDR_SEQ
DSK_BLOB_SEQ
PORTAL_AI_PROFILE_SEQ
PORTAL_AI_XREF_SEQ
PORTAL_USER_SEQ
SUBJECT_ITEM_PARENT_SEQ
SUBJ_ITEM_ATTRIBUTE_SEQ
SUBJ_ITEM_COMMENTS_SEQ
SUBJ_ITEM_QUANTITIES_SEQ
SUBJ_ITEM_RELATED_SEQ
Materialized Views
All materialized views will be exported.
Materialized View Logs
All materialized view logs will be exported.
Synonymns
All synonyms will be exported.
Queues
All queues will be exported.
Queue Tables
All queue tables will be exported.
Database Links
All data base links will be exported.
There are numerous Check and Foreign_key constraints missing in created DDL.
Im I missing a step?
rasberryActually all tables were included and the Automatically Include Dependent Objects option was checked.
For an example, the first table exported A_EMIS_TOXIC_DTL had the following constraints:
FK_A_EMIS_TOXIC_DTL2HDR Foreign_Key
NN_A_EMIS_TOXIC_DTL_ID Check
PK_A_EMIS_TOXIC_DTL_ID Primary_Key
The primary key constraint was included in the DDL but none of the others.
Maybe you are looking for
-
Move Component To Front ?
Hey, I have a panel, with some images on it, and I wanted to add a table on it, but the images always hide the table (it happens that the images are on top of the table, when I want the images to be sort of a background). Is there any way to set the
-
Dear guru's, GR was wrongly prepared for excise entries,mean while material was consumed, so i thought posting the remaining duties manually thru j1ih.But miro was also done with reference to the wrong GR. wats the process now,can i post the excise v
-
i am at home on my network and youtube, wifi store and sometimes safari arent working they say that they cant connect. i dont know what is going on as they worked before. also my text messages arent showing what i send. only what they reply with
-
how can i read a large size text file in multiple parts without lossin any data ? Ben
-
Windows, Design Premium, & Design Standard CS4 Re-install
I need to re-install my Windows software. I have a serial number for CS4 Design Premium & CS4 Design Standard. Will I be able to re-install all of these CS4 programs iwthout any "hiccups" once I wipe my slate clean with a new Windows install?