SQLDeveloper 1.5
Mac OSX 10.4.11
G4 2GB RAM
installed SQLDeveloper 1.5.
There is no connections tab (and no Connections under the view menu) and anything database related does not work, e.g. setting SQL database parameters under Tools/Preferences/Database - nothing can be changed and this prevents any other preference from being modified.
Tried the workaround posted to this forum, and it does not work
I am including the build info (with some paths changed for security) and the error message info.
Have reverted to 1.2 in the meantime, which works without issue.
Info from About SQL Developer
About
Oracle SQL Developer 1.5.0.53
Version 1.5.0.53
Build MAIN-53.38
Copyright © 2005,2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.35
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.53.38
Version
Component Version
========= =======
CVS Version (External) (CVS) 1.11.18 (client/server)
Java(TM) Platform 1.5.0_13
Oracle IDE 1.5.0.53.38
Versioning Support 1.5.0.53.38
Properties
Name Value
==== =====
apple.awt.graphics.UseQuartz true
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name SQL_Developer
com.apple.mrj.application.growbox.intrudes false
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
gopherProxySet false
http.agent Mozilla/5.0 (Java 1.5.0_13; Mac OS X 10.4.11 ppc; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1211302312892707000
ide.build MAIN-53.38
ide.conf /Users/username/Documents/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.config_pathname /Users/username/Documents/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir /Users/username/Library/Application Support/SQL Developer
ide.product oracle.sqldeveloper
ide.splash.screen splash.gif
ide.startingcwd "/Users/username/Documents/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
ide.user.dir /Users/username/Library/Application Support/SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir /Users/username/Documents/SQL Developer
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path ../../ide/lib/ide-boot.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar
java.class.version 49.0
java.endorsed.dirs /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext
java.home /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
java.io.tmpdir /tmp
java.library.path .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version 1.5.0_13-b05-241
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.5
java.util.logging.config.file logging.conf
java.vendor Apple Computer, Inc.
java.vendor.url http://apple.com/
java.vendor.url.bug http://developer.apple.com/java/
java.version 1.5.0_13
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor "Apple Computer, Inc."
java.vm.version 1.5.0_13-121
jdbc.library /Users/username/Documents/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc5.jar
line.separator \n
mrj.version 1040.1.5.0_13-241
oracle.home /Users/username/Documents/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /Users/username/Documents/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
os.arch ppc
os.name Mac OS X
os.version 10.4.11
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.class.path ../../rdbms/jlib/ojdi.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar
sun.boot.library.path /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries
sun.cpu.endian big
sun.cpu.isalist
sun.io.unicode.encoding UnicodeBig
sun.java.launcher SUN_STANDARD
sun.java2d.ddoffscreen false
sun.jnu.encoding MacRoman
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level unknown
user.country US
user.dir /Users/username/Documents/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
user.home /Users/username
user.language en
user.name username
user.timezone America/Montreal
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.22.49.35 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.22.49.35 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.0.22.49.35 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.0.22.49.35 Loaded
Database UI oracle.ide.db 11.1.1.0.22.49.35 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.22.49.35 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.22.49.35 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.22.49.35 Loaded
Feedback oracle.ide.feedback 11.1.1.0.22.49.35 Loaded
File Support oracle.ide.files 11.1.1.0.22.49.35 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.53.38 Loaded
Help System oracle.ide.help 11.1.1.0.22.49.35 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.22.49.35 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.22.49.35 Loaded
Log Window oracle.ide.log 11.1.1.0.22.49.35 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.22.49.35 Loaded
Navigator oracle.ide.navigator 11.1.1.0.22.49.35 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.22.49.35 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.53.38 Loaded
Oracle IDE oracle.ide 11.1.1.0.22.49.35 Loaded
Oracle Microsoft Access Browser oracle.sqldeveloper.thirdparty.access 11.1.1.53.38 Loaded
Oracle Migration Workbench oracle.sqldeveloper.migration 11.1.1.53.38 Loaded
Oracle Migration Workbench - MS Access oracle.sqldeveloper.migration.msaccess 11.1.1.53.38 Loaded
Oracle Migration Workbench - MySQL oracle.sqldeveloper.migration.mysql5 11.1.1.53.38 Loaded
Oracle Migration Workbench - SQLServer oracle.sqldeveloper.migration.sqlserver2005 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation MS Access oracle.sqldeveloper.migration.translation.msaccess 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation MS SQL Server oracle.sqldeveloper.migration.translation.sqlserver 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation MySQL oracle.sqldeveloper.migration.translation.mysql 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation Sybase oracle.sqldeveloper.migration.translation.sybase 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.53.38 Loaded
Oracle MySQL Browser oracle.sqldeveloper.thirdparty.mysql 11.1.1.53.38 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.53.38 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 1.1.1.53.38 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.53.38 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.53.38 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 1.5.0.1.1 Loaded
Oracle SQL Server Browser oracle.sqldeveloper.thirdparty.sqlserver 11.1.1.53.38 Loaded
Oracle Sybase Browser oracle.sqldeveloper.thirdparty.sybase 1.2.1.53.38 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.53.38 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.0.22.49.35 Loaded
Peek oracle.ide.peek 1.0 Loaded
Replace With oracle.ide.replace 11.1.1.0.22.49.35 Loaded
Runner oracle.ide.runner 11.1.1.0.22.49.35 Loaded
SQL Worksheet Window oracle.sqldeveloper.sqlworksheet 11.1.1.53.38 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.53.38 Loaded
Sybase 12 oracle.sqldeveloper.migration.sybase12 11.1.1.53.38 Loaded
Sybase 15 oracle.sqldeveloper.migration.sybase15 11.1.1.53.38 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.53.38 Loaded
VHV oracle.ide.vhv 11.1.1.0.22.49.35 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.22.49.35 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.22.49.35 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.22.49.35 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.22.49.35 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.22.49.35 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.22.49.35 Loaded
Error Message when starting up SQLDeveloper is as follows:
2008-05-20 11:30:12.830 java[765] LCC Scroll Enhancer loaded
Exception initializing 'oracle.dbtools.raptor.RaptorDBAddin' in extension 'Oracle SQL Developer': java.lang.NoSuchMethodError: oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;
at oracle.i18n.text.OraLinguistic.getInstance(OraLinguistic.java:321)
at oracle.i18n.text.OraCollator.getInstance(OraCollator.java:487)
at oracle.i18n.util.OraLocaleInfo.getOraCollator(OraLocaleInfo.java:1256)
at oracle.i18n.util.OraLocaleInfo.getLinguisticSort(OraLocaleInfo.java:337)
at oracle.dbtools.raptor.config.DBConfig.<clinit>(DBConfig.java:289)
at oracle.dbtools.raptor.RaptorDBAddin.initialize(RaptorDBAddin.java:111)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:405)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
at oracle.ide.Ide.startup(Ide.java:662)
at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
at oracle.ideimpl.Main.start(Main.java:110)
at oracle.ideimpl.Main.main(Main.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
Exception in thread "XML Action Loader" java.lang.NoClassDefFoundError
at oracle.dbtools.raptor.dialogs.actions.XMLBasedObjectAction$1$1.run(XMLBasedObjectAction.java:146)
java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode
at oracle.ide.model.Preferences.getDefaultWorkspace(Preferences.java:228)
at oracle.ide.Ide.getDefaultWorkspace(Ide.java:455)
at oracle.jdevimpl.runner.debug.Breakpoint.getBreakpoints(Breakpoint.java:2440)
at oracle.jdevimpl.runner.debug.JDebugger.activeProjectChanged(JDebugger.java:2915)
at oracle.jdevimpl.runner.debug.JDebugger.mainWindowOpened(JDebugger.java:1443)
at oracle.ide.IdeCore.fireIdeEvent(IdeCore.java:855)
at oracle.ide.IdeCore.mav$fireIdeEvent(IdeCore.java:124)
at oracle.ide.IdeCore$3.run(IdeCore.java:815)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
2008-05-20 11:31:21.355 java[765] tossing reply message sequence 196 on thread 0x323f60
Exception in thread "EditorLoader" java.lang.NoClassDefFoundError
at oracle.dbtools.raptor.oviewer.base.ViewerAddin.loadXMLEditors(ViewerAddin.java:233)
at oracle.dbtools.raptor.oviewer.base.ViewerAddin$1$1.run(ViewerAddin.java:140)
at java.lang.Thread.run(Thread.java:613)
Thanks for the hint.
I did not have JDBC drivers under /System/Library/Java/ but I did have them under /Library/Java/Extensions. However, I need those drivers in that location for other applications.
What did work, however, was going in to the /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib and removing the drivers from that location. SQLDeveloper then finds the correct drivers in the /Library/Java/Extensions folder.
Similar Messages
-
Install sqldeveloper on windows 7 64 Bit and Oracle 11.2
Hi,
how can I find the rigth jdk. I installed JDK on C:\Program Files\Java\jdk1.6.0_23.
I installed Oracle 11.2 including sqldeveloper. But I cannot find the correct folder to start sqldeveloper.
Where can I find this path?
When I include a path with java.exe I get the error "Unable to find a Java Virtual Machine. To point to a locacion of a Java Virtual Machine, pleaser refer to the Oracle9i Jdeveloper Install guide (jdev\install.html)" Where can I find this?
Thank you for your help
SiegwinI am on Windows 7 64 bit. I see that installing Oracle 11.2 database installs SQL Developer also but that doesn't work. I get the .bat file not found crap. What I then did was do a seperate install of SQL Developer for 64 bit, but that does NOT install the jdk.
I then did the java install from:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html
I selected: jdk-6u25-windows-x64.exe
I then point to the java.exe where this install loaded it (c:\program files\Java\jdk1.6.0_25\bin when I start up sql developer and it still gives the same error. I delete the SetJavaHome value in the sqldeveloper.conf file and try again over and over but it still gives the same error.
So, I have windows 7 - 64 bit operating system. I have Oracle 11.2 database installed. I have a seperate installation of SQL Developer 64 bit and I have the java jdk for 64 bit installed.
Nothing is working. Can anyone please steer me in the correct direction? Should I delete the second install of SQL Developer 64 bit and to an install of SQL Developer 32 bit?
Please help -
Hi, I want to create an alert message in the sqldeveloper
I am using v. 1.2.0
Is there an option to pop-up a message in a window when using sqldeveloper?
I did like a very small user-interface, I insert values to variables with :
x:=&insert_first_num
y:=&insert_second
etc'
I want to do somehow a message that will jump to the screen like &, there is an option?
I tried to be clear as much as I can.. hope someone can understand me :)thanks, I want to pop-up an alert message, like:
RAISE_APPLICATION_ERROR (-20004,'YOU SHOULD CHEACK FOR YOUR ORDER NUMBER.');
but I want the command will commit,
with raise_application_error, the commant will do the error message and won't commit.
for an example, if I am doing insert into TABLE I want to raise a message but also the values WILL enter the table.
Hope it is clear now...
Thanks -
APEX LIstener administration via SQLDeveloper 3.2.2 error
Hi,
I configured the APEX Listener 2 on my server and everything works fine.
I also configured the Restful webservices that also works fine in APEX.
Now , I would like to be able to configure the APEX Listener via SQLDeveloper 3.2.2
I changed the defaults.xml file to allow a non HTTPS connection and configured the adminlistener password.
When I try to connect to the APEX Listener via SQLDeveloper to retrieve the configuration, I get the following error :
Error occured retrieving Administration Settings from Listener.
Unexpected Content-Type:application/json; charset=UTF-8
APEX Listener is installed on Windows (french version).
Thanks
Francis.Hi Francis, I'm getting the same error.
(I do note however that SQLDev does make the connection - and even though I get the UTF8 error, I can upload/download config files. This would appear to be a warning/info message. But still annoying.)
I am using CentOS 5.8 Linux, Glassfish 3.1.2, SQLDev 3.2.20.09, ApEx 4.2. DB is 11.2.0.3, AL32UTF8. So this problem is not unique to Windows or French.
Wayne
Edited by: cawli2 on Nov 6, 2012 10:54 AM
Edited by: cawli2 on Nov 6, 2012 12:36 PM -
SqlDeveloper Query = Fast, PL/SQL = Slow
I've got a nagging problem that is driving me crazy. Database is 11.1.0.7 and SQLDeveloper is 1.5.1 with the same behavior in 3.0.03.
Often I will develop a complex query in SQLDeveloper and get it tuned to a point where performance is great. However when I take that query and put it in a PL/SQL procedure with dynamic SQL the performance takes a nose dive. This happens when taking a query to an Apex report as well. I use bind variables in my queries in SQLDeveloper as well as Apex/PLSQL.
If I run an explain plan in SQLDeveloper it is often identical to the plan for the query in the pl/sql environment (seen through tkprof), yet the sqldeveloper query window is always faster.
The difference in speed is remarkable, my current "problem" query is runs in 71 seconds inside a PL/SQL stored procedure using dynamic sql with bind variables. If I print that query out and copy paste the query in to a SQLDeveloper sql window (worksheet?), the exact same query prompts me for the bind variable values and then runs in 0.07 seconds. Just to make sure the rows aren't caching, if I run the stored procedure version again it still takes 71+ seconds.
If I hard code values in the PL/SQL query instead of using bind variables, the stored procedure runs as fast as SQLDeveloper, 0.07 seconds.
I originally posted a similar problem over in the Apex forum and there we suspected the issue might be related to the 11g optimizer using bind variable peeking. SLOW report performance with bind variable
Ultimately, the goal is to have predictable results when taking a query from SQLDeveloper to PL/SQL.
Are there any SQLDeveloper developers out there that can confirm that "bind variable" syntax in SQL Developer is not using bind variables, but is instead rewriting the query with hard coded values in query strings?mcallister wrote:
I've got a nagging problem that is driving me crazy. Database is 11.1.0.7 and SQLDeveloper is 1.5.1 with the same behavior in 3.0.03.
when I take that query and put it in a PL/SQL procedure with dynamic SQL the performance takes a nose diveThat's one of the reasons not to use dynamic SQL - tuning the resulting queries is very difficult.
Is the dynamic SQL necessary? If you are only using bind variables it probably is not necessary. If you are swapping WHERE clause predicates in and out through program logic then predicting performance will be very hard (or using different column or table names too)
When I must use dynamic SQL I find a useful technique is to create a debugging table with a CLOB into which I can insert the generated SQL code for later reference. That code can be used for both debugging (looking for syntax errors) and tuning. I also find it very, very useful to write the dynamic SQL with proper formatting and linefeeds so it is immediately readable on inspection
Are there any SQLDeveloper developers out there that can confirm that "bind variable" syntax in SQL Developer is not using bind variables, but is instead rewriting the query with hard coded values in query strings?You can see if query rewrites are taking place by using the NO_QUERY_TRANSFORMATION hint and seeing if the execution plan changes while tuning. To a lesser degree you can examine execution plans from V$SQL_PLAN to look for signs of changes like predicates you didn't code but this is also very hard -
Error while importing connections back into SQLDeveloper 1.5
I have the XML export file from version 1.2 which is erroring out while getting imported to version 1.5
The following is the error message:
"No connections are defined in c:\SqlDeveloperConnections082404.xml"
The export file contents look readable and apparently nothing is wrong with the SQLDeveloper installation.This still doesn't work, for me. I'm importing from 1.2.1 and get this error: "An expected error was encountered trying to export the connections." This message is confusing in two ways; 1) Why is the error expected? and 2) I'm not trying to export, I'm trying to import.
Here's the exception stack trace: java.lang.NullPointerException
at oracle.jdeveloper.db.DatabaseConnections.getReferenceable(DatabaseConnections.java:695)
at oracle.jdeveloper.db.DatabaseConnections.addConnection(DatabaseConnections.java:762)
at oracle.dbtools.raptor.connections.ConnectionGrinder.doImportExport(ConnectionGrinder.java:243)
at oracle.dbtools.raptor.connections.ConnectionGrinder.invoke(ConnectionGrinder.java:117)
at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:200)
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: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) -
SQLDeveloper-64bits Missing Migration-Functionality
Hi all, after years of absence from Oracle, I am back
I've installed Oracle11gR2 64bits (11.2.0) , jdk1.7.0_40 64bits and SQLDeveloper 64 bits on WIndows7, all seemingly successful. Then, I tested the installation by creating a test schema and some views.
Following that I tried to migrate the MS SQLServer database Northwind to Oracle, using these instructions:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm#t2
At the point where the instructions say to "Capture the Microsoft SQL Server Exported Files", I noticed SQLDeveloper missing the functions for Migrations.
Since my return to Oracle is mainly to study the 64bit version of 11gR2 and to migrate SQL Server databases to Oracle, it would be most helpful to know how to use the missing migration
function, else it is a show-stopper.
Where can I get the add-in for the Migration function in SQLDeveloper?
Some help please?Some doc links:
3.2.2 help doc: SQL Developer: Migrating Third-Party Databases
3rd party migrations: Database Migration Technology</title><meta name="Title" content="Database Migration Technology&q…
Of course, searching the forums can be useful if you have questions after reading through the help documentation:
Forum dedicated to migration: Database and Application Migrations
Message was edited by: GaryGraham -
Install SQLDeveloper on Windows 7 (64 bit)
Hi,
This may seem like a trivial question but I'm new to all this and want to make sure I've installed SQL Developer correctly.
I've followed the intructions for downloading sqldeveloper...
Downloaded sql developer 64 bit (no JDK) and separately downloaded JDK1.6.0_31 (started off with JDK1.7.** but then found on other post that this version isn't suitable)
Extracted the zip file to a new folder under C/Program Files/ and double clicked the sqldeveloper.exe file.
Got prompted to choose Java and navgated to JDK1.6.0_31. Apllication has opened up OK all seems fine but to open it up I have to run the .exe, it hasn't installed as part of my programs,etc. Just wanted to check that I haven't missed anything
Cheer
IanSeems like you're all set, Ian. Sqldeveloper does not create any shortcut automatically. I think of the simplicity of the zip bundle as a feature, not a limitation. No need for windows admin rights to install, nor to connect through plain JDBC. Great.
-
Hi,
SOLVED! Whit the right unarchiver (arkivverktyg.app) it was a walk in the park.
I unpacked the file sqldeveloper-3.2.20.09.87-macosx.gz and got a slightly bigger file sqldeveloper-3.2.20.09.87-macosx with no dmg file extension, and of course if I double click it as the instruction tells me it can´t find any asociated program to start it with.
I could not find anything in this forum how I should continue. Probably it is very simple if you are a Oracle type of person..
My set up: Mac OS X Lion 10.7.5
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
I will try with the latest Java 2013 update 002 if it helps.
Regards,
Göran
Edited by: 992601 on 2013-mar-07 21:44The instructions for installing SQL Developer are provided on the download page. I have a more detailed set of steps on my blog here for OS X.
http://www.thatjeffsmith.com/archive/2012/07/install-oracle-sql-developer-on-os-x-mountain-lion/ -
SQLDeveloper 4.0 hangs on Windows 7 64 Bit
Hi,
I just downloaded the brand-new SQLDeveloper 4.0 Production (4.0.0.13.80 64 Bit with jdk7). When I try to start it starts with a progress bar but hangs after about 10%
I tried to delete all old folders in d:\User Profile\MyUser\AppData\Roaming \SQL Developer and ..\sqldeveloper but the effect is the same. Also the deletion of the jdk folder in the c:\Program Files\Java folder has no effect.
When I start the sqldeveloper64.exe from the sqldeveloper\sqldeveloper\bin folder I get the following console Output:
UIDefaults.getUI() failed: no ComponentUI class for: oracle.ide.controls.StatusB
arControl$JDevStatusBar[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,f
lags=0,maximumSize=,minimumSize=,preferredSize=]
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:732)
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:130)
at javax.swing.UIDefaults.getUI(UIDefaults.java:762)
at javax.swing.UIManager.getUI(UIManager.java:1013)
at oracle.bali.ewt.statusBar.StatusBar.updateUI(StatusBar.java:480)
at oracle.bali.ewt.statusBar.StatusBar.<init>(StatusBar.java:104)
at oracle.ide.controls.StatusBarControl$JDevStatusBar.<init>(StatusBarCo
ntrol.java:264)
at oracle.ide.controls.StatusBarControl.<init>(StatusBarControl.java:48)
at com.oracle.jdeveloper.nbwindowsystem.NbMainWindow$13.<init>(NbMainWin
dow.java:1098)
at com.oracle.jdeveloper.nbwindowsystem.NbMainWindow.createStatusBar(NbM
ainWindow.java:1098)
at oracle.ide.IdeMainWindow.getStatusBar(IdeMainWindow.java:624)
at com.oracle.jdeveloper.nbwindowsystem.NbMainWindow.getStatusBarStatic(
NbMainWindow.java:228)
at com.oracle.jdeveloper.nbwindowsystem.NbStatusBar.getStatusLineElement
(NbStatusBar.java:23)
at org.netbeans.core.windows.view.ui.MainWindow$4.run(MainWindow.java:36
5)
at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(Ma
inWindow.java:377)
at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow
.java:331)
at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(Mai
nWindow.java:248)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultVi
ew.java:563)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChan
ged(DefaultView.java:542)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java
:187)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor
.java:275)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(View
Requestor.java:264)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewReq
uestor.java:201)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor
.java:121)
at org.netbeans.core.windows.Central.setVisible(Central.java:140)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerI
mpl.java:926)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java
:105)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:246)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo
main.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
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)
At this point it hangs until I kill the process ...
When I start the Early Adopter 3 (4.0.0.13.30) everything works fine ...
any idea??
Greetings from Germay
RalfHi Jeff,
Hope you had some nice and calm days during the holiday season ;-)
Today I tried again:
- deleted the folders
d:\User Profile\MyUser\AppData\Roaming \SQL Developer and
d:\User Profile\MyUser\AppData\Roaming\sqldeveloper
and also
d:\User Profile\MyUser\.sqldeveloper
(I have a German installation, the folders are named D:\Benutzer-Profile.... instead of d:User Profile.... )
unzipped again the 64 Bit sqldeveloper file (including jdk) and called sqldeveloper.exe but it still hangs ...
It created the sqldeveloper\1.0.0.0.0 folder with the same product .conf file as before and an SQL Developer\system4.0.0.13.80\ folder wit the subfolders dropins_support (empty) and system_cache
Also if I install the software on my c. drive directly in the root-folder (C:\sqldeveloper) there is no difference ...
Maybe it is a problem with my German windows installation ....??
But ... the 32/64Bit version works fine (if I delete the folders as above after each kill of the 64 Bit version)
Any idea??
Ralf -
New install of sqldeveloper 3.0.04.34 fails to connect
I exited the running sqldeveloper 3.0.03.45, and started the sqldeveloper exe for 3.0.04.34 which I have just downloaded and unzipped.
It asked to import settings.
When I try to open the imported connection to scott/tiger@//lambda/ora10 (where lambda is my local db server), I get this error text in a dialog box.
+-----------------------------------------------------------------------
|
| An error was encountered performing the requested
| operation:
|
| oracle.jdbc.driver.T2Connection.getLibraryVersionNumber()
| I
|
| Vendor code 0
|
+-----------------------------------------------------------------------
I'm sure that means something to a java developer, or perhaps even a jdbc developer, but it is meaningless, and absolutely useless to me.
My connection properties are
user: scott; password: tiger; save password: checked; connection type: TNS; role: default; connection identifier: //lambda/ora10
I am running Win7 on a AMD 64, using the 32 bit instant client and 32 bit sql developer
When I start sql plus:
..>which sqlplus.exe
E:\Oracle\x86\instantclient_11_1_0_7_0\sqlplus.exe
..>sqlplus scott/tiger@//lambda/ora10
SQL*Plus: Release 11.1.0.7.0 - Production on Mon May 9 18:36:51 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
I have never installed a thick client on this machine.
I think I have the latest JRE (as automatically updated) installed.
..>which java.exe
C:\Windows\System32\java.exe
..>java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
and
D:\Program Files (x86)\Java\jre6\bin>.\java.exe -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
I think I have a very recent version of the JDK
D:\Program Files (x86)\Java\jdk1.6.0_23\bin>.\javac.exe -version
javac 1.6.0_23
How do I make this version of sqldeveloper work? What can I try next to help diagnose this problem?I downloaded and installed a fresh copy of Instant Client 11.2.0.2.0 and added it to my path in place of the 11.1 client.
sql_developer 3.0.04.34 now works. However, sql_developer 2.1.1.64.45 now fails to connect with this error dialog:
+--------------------------------------------------------------
|
| An error was encountered performing the
| requested operation:
|
| oracle.jdbc.driver.T2Connection.t2cCreateState([BI
| [BI[BI[BI[BISI[S[B[BZ)I
|
| Vender code 0
|
+--------------------------------------------------------------
I suspect this is the reason I continued to use the 11.1 instant client. I could not easily evaluate the two versions of sql_developer when I also had to switch the instant client. My perception of the early adapter label is that it was another name for public beta. And that means: have a fall back option.
What do you mean by a regular simple connect? The scott/tiger@//lambda/ora10 connect string works when i run .\sqlplus.exe from all four of the instant clients I have here (10.2.0.4.0, 11.1.0.7.0, 11.2.0.1.0 and 11.2.0.2.0). My db server is on a linux box, but I run the client on a windows box.
Sorry about the duplicate thread. -
SQLDeveloper 3.1 on Mac OS X Lion
Hi guys,
sorry for reposting, but this is really pressing -- doesn't anyone use SQLDeveloper on Mac OS X Lion?
I have a pretty recent Mac OS X System (10.7.3, today updated from 10.7.2 -- the problem existed there as well) with Java 1.6.0_29:
localhost:~ bgd$ /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11D50b)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
I installed SQLDeveloper 3.1.0.7.42 on this system and I've encountered the following two problems:
1. the connections aren't saved. Everytime I delete the ".sqldeveloper" directory in my homedir, SQLDeveloper starts without any problems. I can add a connection, test it, connect to the database and even saving it doesn't show any errors. A "connections.xml" file is generated but empty:
localhost:~ bgd$ find .sqldeveloper/ -name connections.xml -ls
1733256 0 -rw-r--r-- 1 bgd bgd 0 Feb 9 17:43 .sqldeveloper//system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
If I start the SQLDeveloper w/o deleting the "~/.sqldeveloper" directory I always get the following errors:
oracle.jdeveloper.db.DatabaseConnections DatabaseConnections has no JNDI context so cannot list connections.
oracle.jdevimpl.db.adapter.DefaultContextWrapper Failed to create naming Context for db connections at url: file:/Users/bgd/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
oracle.jdevimpl.db.adapter.DefaultContextWrapper Failed to create naming Context for db connections at url: file:/Users/bgd/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
The connections.xml file remains empty, no matter how may connections I add and "save".
2. After I make a connection to a database, I try the "SQL Worksheet" option (either by right-clicking the DB Connection or thru the menu "Tools->SQL Worksheet"). But nothing happens (except for the dialog "Select connection" when calling thru the "Tools" menu) -- no new window, no "SQL Workshop" space on the right canvas, nothing.
I've googled the first problem (the second one is pretty hard to "formulate") and, based on the results, I also tried the following:
- Set the right Java Home in sqldeveloper.conf and sqldeveloper-Darwin.com:
SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
- tried to add the following lines to sqldeveloper.conf and sqldeveloper-Darwin.conf:
AddJavaLibFile ../../lib/java/api/jaxb-api.jar
AddJavaLibFile ../../lib/java/api/jsr173_api.jar
AddJavaLibFile ../../j2ee/home/lib/activation.jar
AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-xjc.jar
AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-impl.jar
AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb1-impl.jar
- I checked, but there is no ORACLE_HOME variable set on my system
- Right now the java process looks like:
bgd 1411 0.0 3.9 3831552 326400 ?? S 6:11PM 0:23.03 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Xmx640M -Xms128M -Xverify:none -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -XX:MaxPermSize=256M -Doracle.jdbc.mapDateToTimestamp=false -Dide.AssertTracingDisabled=true -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Djava.util.logging.config.file=logging.conf -Dsqldev.debug=false -Dcom.apple.mrj.application.apple.menu.about.name=SQL_Developer -Dcom.apple.mrj.application.growbox.intrudes=false -Dcom.apple.macos.smallTabs=true -Dapple.laf.useScreenMenuBar=true -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar -Dide.conf="/Users/bgd/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf" -Dide.startingcwd="/Users/bgd/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin" -classpath ../../ide/lib/ide-boot.jar oracle.ide.boot.Launcher
Any hints what could be wrong? I'm running out of ideas here...
Regards,
BogdanHello John, hello Brian,
thanks for the fast answer!
So, I've "cleaned up" the conf files. Now they look like this:
SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper-Darwin.conf:
AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
AddVMOption -Dcom.apple.macos.smallTabs=true
AddVMOption -Dapple.laf.useScreenMenuBar=true
SetSkipJ2SDKCheck true
SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
AddVMOption -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar
SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf:
IncludeConfFile ../../ide/bin/ide.conf
SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
AddVMOption -Dsun.java2d.ddoffscreen=false
AddVMOption -Dwindows.shell.font.languages=
AddVMOption -XX:MaxPermSize=256M
AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
IncludeConfFile sqldeveloper-nondebug.conf
The properties in "About SQL Developer":
sun.boot.class.path ../../rdbms/jlib/ojdi.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
java.ext.dirs /Users/bgd/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
It is a new Mac OS X Lion installation, but I've restored my home directory from a previous Mac OS X installation -- it is possible that some "old" files from the old installation (where I've also used SQL Developer, but deleted it) are interfering with the new one.
Greetings,
Bogdan -
[SOLVED] SQLDeveloper 2.1.x crash on launch (Mac OS 10.6)
[EDIT] SOLVED: I was using the app "The Unarchiver" to unarchive the .tar.gz file, which corrupted the .app file. Instead, untar'ing the file on the command line using the tar binary worked: tar -zxvf sqldeveloper.tar.gz See here for other post that led me to the conclusion: Re: Oracle SQL Developer 2.1 EA1 and 1.5.5 not working on MacOS X Snow Leopard
I was using 2.1.0 and tried upgrading some components via Help > Upgrade. I tried installing a third-party JDBC driver to connect to MS SQL databases. After trying to relaunch the application, it shows for a second in the dock then disappears.
I tried upgrading to 2.1.1. I also tried removing ~/Library/Application Support/SQL Developer/ directory and reinstalling the app to no avail.
My Console.app error log is below. Any ideas?
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] oracle.classloader.util.AnnotatedNoClassDefFoundError:
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] Missing class: oracle.javatools.util.Log
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] Dependent class: oracle.ide.IdeCore
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] Loader: ide-global:11.1.1.0.0
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] Code-Source: /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] Configuration: boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] The missing class is not available from any code-source or loader in the system.
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1689) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:398) [jre bootstrap, by jre.bootstrap:1.6.0_17]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.IdeCore.<clinit> (IdeCore.java:2127) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ideimpl.Main.start (Main.java:183) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ideimpl.Main.main (Main.java:146) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.PCLMain.callMain (PCLMain.java:62) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.PCLMain.main (PCLMain.java:54) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java:189) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:89) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:65) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:54) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.Launcher.invokeMain (Launcher.java:713) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.Launcher.launch (Launcher.java:68) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM [0x0-0x27b27b].com.oracle.SQLDeveloper[8455] at oracle.ide.boot.Launcher.main (Launcher.java:57) [Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@1806155537]
3/7/10 11:42:48 PM com.apple.launchd.peruser.501[188] ([0x0-0x27b27b].com.oracle.SQLDeveloper[8455]) Exited with exit code: 1
Edited by: user11089752 on Mar 7, 2010 9:53 PM
Solution foundI am having a very similar problem, with a few wrinkles.
Adobe Reader 8.1.2 works fine under the root user, and also under another non-admin user.
Other users the same problem, Adobe Reader crashes after launch.
I made a new user account with admin privileges, Reader crashes almost immediately after launch. I changed the account to a non-admin user, and it still crashed.
I have repaired permissions.
Very strange problem.
MacBook Pro, OS 10.5.2, 2.4 GHz Core 2 Duo, 2GB RAM. -
Connection Timed Out while using sqldeveloper Debugger
I am using sqsldeveloper version Version 1.5.1
I am not able to debug my procedure test_proc in sqldeveloper.
I am using sqldeveloper over a VPN network.
I also use the option Tools->Preferences->Debugger->Prompt for Debugger Host for Database Debugging
Debug Port Range: Min: 4000 Max:9000
I have also disabled the firewall .
I am getting the the error operation timed out on calling
DBMS_DEBUG_JDWP.CONNECT_TCP procedure.
I am using the correct IP address '61.17.78.93'..
Please help
Error starting at line 1 in command:
CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '61.17.78.93', '4000' )
Error report:
SQL Error: ORA-30683: failure establishing connection to debugger
ORA-12535: TNS:operation timed out
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
30683. 00000 - "failure establishing connection to debugger"
*Cause: An error was indicated when trying to establish a connection
to a debugger. Usually a TNS error will display along with
this message to further explain the problem, although this
TNS error will likely be hidden if you choose to trap the error.
*Action: Correct the indicated parameter value and try again.Here are the exact details of the error;
Connecting to the database SPTRCTE1.world_confirmation_cte1.
Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '61.17.78.93', '4000' )
ORA-30683: failure establishing connection to debugger
ORA-12535: TNS:operation timed out
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
Process exited.
Disconnecting from the database SPTRCTE1.world_confirmation_cte1. -
Unable to connect through sqldeveloper vendor error code 17002
I am using sqldeveloper on windows 7 . The sql developer version is given below
Java(TM) Platform 1.6.0_23
Oracle IDE 2.1.1.64.45
Versioning Support 2.1.1.64.45
I am getting this error while connecting to the db.
IO exception: The Network Adaptor couldnt establish the connection.
Vendor code: 17002
I am able to connect the db through the command prompt.
Listener status
C:\Users\Dev D>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-DEC-2010 12:43:52
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 19-DEC-2010 12:26:31
Uptime 0 days 0 hr. 17 min. 21 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DevD-PC)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
tnsping
C:\Users\Dev D>tnsping xe
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-DEC-2010 12:49:39
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (14000 msec)
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
Could someone help me what am i missing hereHi Deepak,
How did you find that out?
I'm havng the same problem, unable to connect via sqldev but command prompt is okay.
Checked everything I can possibly check and I really dont know what to do -
SQLDeveloper 1.5.1 (Build MAIN-5440) does not correctly export data.
At export of the data the script of the data insert is incorrectly generated. For example at export from "Tools"-->"Database Export" menu it generates following script:
Insert into "DIC_StructBlockType" (ID,"Name","Code") values ('[B@124e231' 'Center' '1');
instead of
Insert into "DIC_StructBlockType" (ID,"Name","Code") values ('30100000000111000000000000000100', 'Center', '1');
(where ID is RAW(16) or GUID)
I.e. wrong conversion of RAW(16) format and absence of commas in values section taking place
At export from data view of table i have
Insert into "DIC_StructBlockType" (ID,"Name","Code") values ('30100000000111000000000000000100' 'Center' '1');
without commas in values section instead of script above.
I know than in SQLDeveloper 1.5.0.52 (Build MAIN-52.03) insert script generation from table data view works normally (but not works in Database Export tool).
Whether there is a patch for this bug (in 1.5.1)?The first issue seems like a previously unreported bug.
The second bug is because the values are (wrongfully) separated by the Preferences - Database - NLS Settings - Group Separator. Just change that to comma, and the Decimal Separator to something else.
Regards,
K.
Maybe you are looking for
-
Please Help! Why does Zen sync automatically when I plug in to char
Everytime I charge the Zen (via USB), it copies all the music so that I have double of each song, etc. I can't find how to change a setting so that it doesn't do that. please help! Also, is there an easy way to transfer files from a Zen V to the Zen?
-
1 of 2 DVRs won't play recorded programs
I have 2 DVRs, the 'master' DVR and a secondary one. The secondary one suddenly stopped letting me play recorded show. If I try to play anything, it freezes for about 30 seconds and then goes back to live TV. I've reset the box and used the in-home a
-
Hi, I have a requirement to link fixed assets with invoices & PO's. Can anyone help with identifying the relation between tables/columns? Thanks
-
Hello, how can i blurr out my face in iMovie 11? thanks.
-
Hello Friends, May I know the use of Method Flush of class cl_gui_alv_grid ? In which situation we use this method ? Thanks & Regards Sathish Kumar 09884969963