SQL Developer stopped working (screenshot)
I get this error, tried redownloading the latest version, same error. Worked perfectly fine yesterday
http://www.postimage.org/image.php?v=aVf3HFS
Thanks
OK solved, since I installed the wrong version of ODAC, a new key in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE was created. I deleted it and just kept the one for 10g and it works now
Similar Messages
-
Help getting SQL Developer to work
I'm just trying to get SQL Developer to work so I can use student databases. I have no intent of being a networker, and I definetly have no intent of failing this class because I can't do my homework.
Update.
Someone from my Java Class told me to restart the services related to Oracle. I attempted to do so, but got the following errors:
http://img220.imageshack.us/img220/5087/clipboard01hq.jpg
http://img27.imageshack.us/img27/32/clipboard02ro.jpg
I believe the TNSListener service is the main problem (seeing as when I try to open the database I get an error saying "TNSListener service is not running.") So I looked that up, and it said to check sqlnet.log:
Sat Jan 29 18:11:16 2011
Create Relation ADR_CONTROL
Create Relation INC_METER_IMPT_DEF
Create Relation INC_METER_PK_IMPTS
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_1\log] [C:\app\Davidi\product\11.1.0\db_1\log\diag\clients]
Fatal NI connect error 12541, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 29-JAN-2011 18:11:18
Tracing not turned on.
Tns error struct:
ns main err code: 12541
TNS-12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
Thu Feb 03 23:04:39 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
Fatal NI connect error 12541, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=The-Falcon)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 03-FEB-2011 23:04:41
Tracing not turned on.
Tns error struct:
ns main err code: 12541
TNS-12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
Thu Feb 03 23:08:05 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
Thu Feb 03 23:08:31 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
Thu Feb 03 23:09:36 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
And now I'm stuck again. Does anyone have any suggestions?Oh right. I did change the port in an attempt to get Scott to work.
Changed back to port 1521, but still no luck.
I think my problem has something to do with OracleDBConsoleorcl. I get Error Code 2 when I try to start that service up.
Although...my SERVERNAME_SID is 192.168.15.101_orcl (Directory: C:\app\Davidi\product\11.1.0\db_1\192.168.15.101_orcl)
Which was the IP Address ipconfig set up the day that SQL Developer was actually working. Of course, that IP Address changes every time you restart windows. My teacher suggested that I set up a static IP Address or try setting it to local host, but I really don't know how to do either of those.
Any help would be appreciated.
Thank you. -
SQL Developer Not Working "no ocijdbc11 in java.library.path"
Hi,
I have Oracle 10g with SQL Developer 3.0 on Windows XP, they worked well untill I just installed Oracle ODBC (ODAC101040.exe). I started to receive error message "no ocijdbc11 in java.library.path" and I am no longer able to use SQL Developer.
Any solution?Check on the envirnment variables on the windows. Once you installed the "Oracle ODBC" it might have replaced the Old env. variables that can found in XP "System Properties> advance tab> environment Variables". Make sure you have the right environment variables that point to right directory locations. Update us with your findings.
-
SQL Developer wont work via SSL (TCPS)
I am trying to get SQL Developer (1.5.1) to connect to our Oracle database using SSL (tcps -- port 2484) and am getting a very generic error. (I have no error connecting to the same database over the unencrypted port -- 1521).
Status: Failue - Test failed: Io exception: The Network Adapter could not establish the connection.
I personally think that the connection is timing out, but all logging/debuggig features I can find do not prove anything either way. I have successfully connected to the database via SSL using tnsping and sqlplus. I have also successfully imported the certificate from the database server into the cacerts file in sqldeveloper/jdk/jre/lib/security This error is the same whether I use my TNSNAMES file or a custom JDBC url.
Please reply if you have questions/ideas/solutions.
Thanks, Dan
block from TNSNAMES.ora
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname.fqdn)(PORT = 1521))
(CONNECT_DATA =
(SID = test)
TEST_SSL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCPS)(HOST = hostname.fqdn)(PORT = 2484))
(CONNECT_DATA =
(SID = test)
(SECURITY =
(SSL_SERVER_CERT_DN="CN=hostname.fqdn, OU=My Unit, O=My University, L=City, ST=State, C=US")
contents of sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= (BEQ, TCPS, NTS)
SSL_VERSION = 0
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SSL_CLIENT_AUTHENTICATION = FALSE
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = C:\oracle\certs)
)This has helped, but I am not 100% there.
After altering my setting to use OCI/Thick driver and upgrading to 11g client, (and verifying that I could sqlplus/tnsping/odbc as before) the following happens:
When testing the connection or trying to connect with tnsnames method, the dialog box comes up just telling me it's testing/connecting, and never stops trying (and therefore also never fails).
This also happens when I try to connect via a custom JDBC URL,
BUT
When I test the connection using the same JDBC URL, I 'succeed' -- so I must be close.
My Custom JDBC URL is
jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)
(HOST=hostname.fqdn)(PORT=2484))(CONNECT_DATA=(SERVICE_NAME=test))
(SECURITY =(SSL_SERVER_CERT_DN="CN=hostname.fqdn, OU=My Unit, O=My University, L=City, ST=State, C=US")))
What might I be missing?
Thank you. -
Sql Developer is working very slow and it's making other applications slow
I am using SQL Developer 1.5.1.54.40.
Sometimes it hangs. Sometimes the space key doesn't work in the sql sheet.It's overall performance is slow. And i have found it slows down other applications to open and close. I have 1GB RAM.
Please tell me is it the problem of SQL Developer or my PC?I have seen the "Automatically Check for Updates" option significantly slow down the start of up SQL Developer when it is switched on. You might want to see if switching that off (Tools > Preferences > Extensions) makes a difference to start up time.
SQL Developer's not insignificant memory usage may cause problems if it takes you beyond your physical memory, which typically slows down opening, closing and switching between applications. This is when you need to look at the task manager (assuming windows) as per the previous suggestion.
theFurryOne -
Sql developer not working which i got when i installed oracle 11g on win7
Hi i successfully instaled my oracle 11g on windows 7,but when iam trying to use my sql developer chich i got by default with 11g is not working ..when i open it its asking me for "select the path of java.exe file" when i browse and given the right path .iits again giving me the same pop and not throughing any error msg at least.
Could u pls help me out on this??Well, not supported does not necessarly mean does not work, but if you have problem, then your only way is to find a solution on your own or through other fellows who are doing the same.
Anyway, you could ask your question in the SQL Developer dedicated forum, but again, you could have some unexpected issues by working on non-supported config :
SQL Developer
Nicolas. -
I installed SQL developers dot rel. 3.2.20.09.87 in my windows XP machine today. The downloadable zip file is available at oracle website http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html.
Version I downloaded is :
Windows 32-bit - zip file includes the JDK1.6.0_35 Download Download 209 M
On clicking sqldeveloper.exe , the small Oracle SQL Developer window pops but it goes away in few seconds.
Any pointers to resolve this issue is highly appreciated !Hi,
To avoid losing the window before you can read what went wrong, run the sqldeveloper.exe version in directory
<SQLDev_Install_Dir>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exeinstead.
If you should need to do a more in-depth investigation, the following offers some good advice on debugging:
http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-debug-info-for-oracle-sql-developer/
Regards,
Gary
SQL Developer Team -
Profiler in SQL Developer not working
When I run the profiler in SQL developer , I get the following error.
"Directory exists; check if /tmp exists on file system, and oracle has permission to write there. "
This error sounds like an UNIX error but I am running SQL developer on Windows 7 (64) OS. Has anyone seen this or knows how to get around it.
Thanks so much..Hi,
According to the SQL Developer 3.1.04.72 documentation, the "get" command (among others) is not supported:
Help|Table of Contents|SQL Developer Concepts and Usage|Using the SQL Worksheet|SQL*Plus Statement Supported and Not Supported...
so options are limited. If sqlplus is accessible and using it as an "external tool" won't conflict entirely with local policy, these links might interest you:
Re: sqlplus vs sqldeveloper
Easy Connect and sqldev.conn issues
Otherwise you may add a feature request for this on the SQL Developer and see if such an enhancement is a priority for the community.
Regards,
Gary
SQL Developer Team -
SQL Developer not working on Ubuntu 6.10
Hi all,
I just upgraded to Ubuntu 6.10 and discovered that SQL Developer does not start. It fails with next message:
sofist@null:~/opt/sqldeveloper$ sh sqldeveloper
Oracle SQL Developer 1.0
Copyright (c) 2005 Oracle Corporation. All Rights Reserved.
.: 17: ide.conf: not found
sofist@null:~/opt/sqldeveloper$I've read the ubuntu linux 6.10 does not use bash as the default shell anymore. Most linux distributions use bash as the default shell. Ubuntu 6.10 uses a shell called dash. Not sure why ubuntu would change it. So, I don't know if it has anything or not to do with the shell.
https://launchpad.net/distros/ubuntu/+ticket/1932 -
Upgrade to 6.1 - sql SP stops working
Hi
I'm currently using weblogic 6.1, MS SQL Server 7.0,
and the weblogic sql server driver. First off this
problem does not occur on other application
servers or on Weblogic 6.0sp2!
(Apologies if the formating is messed up)
I have the following stored procedure:
create procedure spTest
@p1 varchar(200) output,
@p2 varchar(100) output
as
select @p1 = 'qwerty', @p2 = 'asdfgh'
return 1000
go
and the following jsp page:
<%@page import="java.sql.*" %>
<%
Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
Connection conn=
DriverManager.getConnection("jdbc:weblogic:mssqlserver4:db@server:1433:user=u&password=");
try
CallableStatement cstmt =
conn.prepareCall( "{?=call spTest(?,?)}" );
cstmt.registerOutParameter( 1, java.sql.Types.INTEGER );
cstmt.registerOutParameter( 2, java.sql.Types.VARCHAR );
cstmt.registerOutParameter( 3, java.sql.Types.VARCHAR );
cstmt.executeUpdate();
/* uncomment to cause sql exception
int i = cstmt.getInt(1);
out.println("success <p>");
catch ( SQLException e )
out.println("SQL exception: " + e.getMessage());
%>
As soon as I uncomment the code in the jsp page
and access the return value of the stored
procedure I get a sql exception:
"SQL exception: cannot convert 'qwerty'
to a BigDecimal"
Again this is only a problem with Weblogic 6.1.
Everything worked fine under Weblogic 6.0sp2.
Nothing else has changed between during the
"upgrade" from 6.0sp2 to 6.1Hi Sree,
I used your code in a new page and it still fails on my machine. My setup is as
follows:
MS SQL Server 7.0 sp2
Weblogic 6.1 (running on Windows 2000 professional - same problem running on Solaris
2.8)
The latest weblogic jdbc mssqlserver driver from the download site. Older weblogic
jdbc drivers also fail.
The problem is defintely related to getting the first output paramter i.e. the
REUTRN value of the stored procedure.
What database are you using, os etc? Is yours a clean install of wls 6.1? Are
you using different drivers.
Any help would be greatly appreciated.
Regards,
Richard
"Sree Bodapati" <[email protected]> wrote:
Hi Richard,
I used your code on my install of WLS6.1 and it worked fine without any
error after I uncommented the section you have marked.
here the jsp I used,
<%@page import="java.sql.*" %>
<%
Driver myDrv = (Driver)
Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
Properties props = new Properties();
props.put("db","wls");
props.put("server","server1");
props.put("user","sree");
props.put("password","****");
props.put("port","####");
Connection conn=myDrv.connect("jdbc:weblogic:mssqlserver4", props);
try
CallableStatement cstmt =
conn.prepareCall( "{?=call spTest(?,?)}" );
cstmt.registerOutParameter( 1, java.sql.Types.INTEGER );
cstmt.registerOutParameter( 2, java.sql.Types.VARCHAR );
cstmt.registerOutParameter( 3, java.sql.Types.VARCHAR );
cstmt.executeUpdate();
/* uncomment to cause sql exception */
int i = cstmt.getInt(1);
out.println("The value of i is : "+i);
out.println("success <p>");
catch ( SQLException e )
out.println("SQL exception: " + e.getMessage());
%>
sree
"Richard Human" <[email protected]> wrote in message
news:[email protected]...
Hi
I'm currently using weblogic 6.1, MS SQL Server 7.0,
and the weblogic sql server driver. First off this
problem does not occur on other application
servers or on Weblogic 6.0sp2!
(Apologies if the formating is messed up)
I have the following stored procedure:
create procedure spTest
@p1 varchar(200) output,
@p2 varchar(100) output
as
select @p1 = 'qwerty', @p2 = 'asdfgh'
return 1000
go
and the following jsp page:
<%@page import="java.sql.*" %>
<%
Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
Connection conn=
DriverManager.getConnection("jdbc:weblogic:mssqlserver4:db@server:1433:user=
u&password=");
try
CallableStatement cstmt =
conn.prepareCall( "{?=call spTest(?,?)}" );
cstmt.registerOutParameter( 1, java.sql.Types.INTEGER );
cstmt.registerOutParameter( 2, java.sql.Types.VARCHAR );
cstmt.registerOutParameter( 3, java.sql.Types.VARCHAR );
cstmt.executeUpdate();
/* uncomment to cause sql exception
int i = cstmt.getInt(1);
out.println("success <p>");
catch ( SQLException e )
out.println("SQL exception: " + e.getMessage());
%>
As soon as I uncomment the code in the jsp page
and access the return value of the stored
procedure I get a sql exception:
"SQL exception: cannot convert 'qwerty'
to a BigDecimal"
Again this is only a problem with Weblogic 6.1.
Everything worked fine under Weblogic 6.0sp2.
Nothing else has changed between during the
"upgrade" from 6.0sp2 to 6.1 -
CSS Live development stopped working?
Hello all, I just updated to the lated release of Edge code and while I love that live development for HTML is a nice added feature, it seems that the live development for my CSS is now not working properly.
What happens is the changes I make to the css dont automatically update of the preview browser unless I refresh the browser now. The way I set up my files currently is I create a separate css file and link to it from my html file. Any help would be appreciated as this is kind of slowing down my whole process.
ThanksIs the file extension for your external css file ".css"? Live Preview does not yet support preprocessors like LESS or SASS.
Be sure to use File > Open Folder... to select a folder that contains all of you project files.
Hope this helps,
Randy -
Oracle 9iR2 developer stopped working on 10.2.7+
Hi all,
Ive read the other posts about the next full version of Oracle being available on Mac OS X - which is great, cant wait for a date, but for now I have been testing Oracle a lot with the following results;
1. G4 10.2.2 - Oracle 9iR2 runs fine.
2. G4 10.2.6 - Oracle 91R2 runs fine.
3. G4 10.2.8 - Oracle crashes on startup - coredump
4. G5 10.2.7 (minimum for G5) - Oracle crashes - coredump
5. G5 10.2.8 - Oracle crashes - coredump
Weve got some Xserve's too but now theyre already ugpraded to 10.2.8 so weve not even bothered to try Oracle on them as im sure it wont work. There seems to be major library changes from 10.2.7 and up which cause Oracle to coredump on startup (even straight from a clean install). This is disappointing as weve got these new G5's running 1.8Ghz or twin 2Ghz and we cant even get Oracle to run at all. I tried Metalink but of course the Beta developer version is not supported at all so they said to post a message here.
Can anyone help ? how can we get oracle fixed for 10.2.7+ or a new beta version for a G5 ? were dying to test it on our G5's and Xserves.
The error on 10.2.7+ is;
ORA-07445: exception encountered: core dump [0xffff832c] [SIGFPE] [Invalid floating point operation] [0x53BE2BE4] [] []
Thanks,
Stefan
IPC Media
AOL/Time Warner
[email protected]Stefan
for what it's worth I am running Oracle 9iR2 under 10.2.8 on a G4 Powerbook. It seems stable. JDeveloper works fine and I can access the database from Java programs via JDBC which seems to work well. However, some of the packages such as dbms_java won't load which means some of the XML functionality does not work.
Paul. -
SQL Developer 3.0.04 and 3.1 wont open
I upgraded to OS X Lion today and SQL Developer stopped working.
I think I've narrowed it down to missing Java installation even tho I have installed the JDK from apple from connect.apple.com?
Contents of 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 false
SetJavaHome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
AddVMOption -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar
Contents of /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
rcoleman$ cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
-bash: cd: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/: No such file or directory
So I looked in Versions:
rcoleman$ ls -lh
total 32
lrwxr-xr-x 1 root wheel 10B Apr 12 16:05 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10B Apr 12 16:05 1.6.0 -> CurrentJDK
drwxr-xr-x 8 root wheel 272B Apr 12 16:06 A
lrwxr-xr-x 1 root wheel 1B Apr 12 16:05 Current -> A
lrwxr-xr-x 1 root wheel 59B Apr 12 16:05 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
So I looked in /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
rcoleman$ cd /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
-bash: cd: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents: No such file or directory
In fact:
rcoleman$ cd /System/Library/Java/JavaVirtualMachines
-bash: cd: /System/Library/Java/JavaVirtualMachines: No such file or directory
I have installed the JDK from apple from connect.apple.com
Is there something else i need to do?? I can't find anything that I seem to need with respect to Java and SQLDeveloper.I found an answer that worked here:
Re: SQL Developer on Mac OS X Lion (10.7)?
Essentially I had to install Java?? From here: http://support.apple.com/kb/DL1421
The really strange part is that I did the Lion upgrade on my laptop and SQLDeveloper worked without a hitch there.
At any rate. Hope this helps the next person with this same issue. -
Sql Developer 1.5.5 bug with large sequence start values.
We have a small table in our sql server 2005 schema (~700) rows. Its primary key is a bigint. We randomly generate ids for this table (don't ask). We have ids for this table which are larger than 2147483647. (java.lang.Integer.MAX_VALUE). I'm using a Windows 10g instance as the repository:
SQL> select * from v$version
2 ;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Capturing this model works fine.
Converting this model works fine.
When the converted model is "Generated", Sql Developer stops generating the script before the worksheet window is opened with the generated sql. If run from sqldeveloper/bin, this exception is output to the console:
java.lang.Exception: java.util.NoSuchElementException
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
at oracle.dbtools.migration.workbench.core.GenerateInitiator.launch(GenerateInitiator.java:42)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:149)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.Component.processMouseEvent(Component.java:6134)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5899)
at java.awt.Container.processEvent(Container.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
at java.awt.Container.dispatchEventImpl(Container.java:2067)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.util.NoSuchElementException
at oracle.dbtools.metadata.persistence.PersistableObjectIterator.next(PersistableObjectIterator.java:131)
at oracle.dbtools.migration.generate.GenerateWorker.generateSequences(GenerateWorker.java:862)
at oracle.dbtools.migration.generate.GenerateWorker.generateIndividualSchema(GenerateWorker.java:456)
at oracle.dbtools.migration.generate.GenerateWorker.generateSchema(GenerateWorker.java:365)
at oracle.dbtools.migration.generate.GenerateWorker.runGenerate(GenerateWorker.java:220)
at oracle.dbtools.migration.workbench.core.ui.GenerateRunner.doWork(GenerateRunner.java:71)
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.run(AbstractMigrationProgressRunnable.java:161)
at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(MigrationProgressBar.java:569)
at java.lang.Thread.run(Thread.java:619)
A problem row can be viewed by issuing this query against the repository:
select * from md_sequences where seq_start > 2147483647;
We have one row returned. The oracle.dbtools.metadata.persistence.MdSequence class uses a java.lang.Integer value to store the start value for the sequence. The value stored in the repository's MD_SEQUENCE table overflows the Integer type.
Updating the SEQ_START column in the MD_SEQUENCE table fixed our problem. (Well, I can now generate the schema. I may have other problems with the sequence being off).
I've written this post to save someone else the day it took me to diagnose this problem with Sql Developer 1.5.5. At the very least Sql Developer should inform the user that it could not generate the script because of the large sequence start value. It basically swallows any error and terminates script generation without any type of feedback.Update: I was able to recreate the problem!
1. Create a new table (I used TEST).
2. Mark first column af primary key.
3. Save the table.
Notice the name of the primary key index created: (TEST_PK in my case)
4. Edit the table.
5. Under constraints change the name of the primary key constraint.
6. Save the table.
Notice that the index still has its original name.
7. Edit the table.
8. Change something.
9. Attempt to save changes (Fails).
Conclusion:
Either SQL Developer should be aware of indexes with different name than a constraint,
or when SQL Developer changes the name of a constraint with an index, both the constraint and the index should be renamed. -
SQL Developer High Memory Consumption 3.2.20.09.87
Hello,
I have been using SQL developer for quite some time and had initially had problems in the past with high memory consuption when I use this tool.
I have received and applied advice from this forum and while it had helped a little, the majority of the high memory consuption remained an issue.
I finally got more time to dig around and try to specifically isolate where the problem seems to be coming from and here is what I found.
*1)* I have removed the Check for Updates feature
*2)* I have turned off many of the extensions except for DBA Navigator, Real Time SQL Monitoring, SearchBar and Snippet.
*3)* When I start a fresh SQL Developer Session and initiate a Oracle Connection the application consumes roughly 148 meg fo RAM
*4)* When I open my Windows Task Manager and watch the memory allocated to SQL Developer I notice it goes up when I move my mouse over the SQL Developer tool and When I run through menus at roughly 5k a second or so and the memory is never released back to the system.
*5)* When I run a Large SQL to the grid the memory jumps by about 100 meg or so and will continue to do so every time I repeat the SQL until SQL Developer consumes roughly 748 meg of RAM.
*6)* 748 Meg of RAM seems to be the number when SQL Developer (with one Oracle connection) no longer continues to consume more and then not return the memory to the system.
Is there a way to have SQL Developer automatically clear up it's active memory usage without closing it down and restarting it?
Why does SQL Developer continue to consume more and more memory just from moving your mouse over it and/or by navigating menus?
Here is my About Detail;
Oracle SQL Developer 3.2.20.09
Version 3.2.20.09
Build MAIN-09.87
Copyright © 2005, 2012 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.09.87
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_35
Oracle IDE 3.2.20.09.87
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 109707460930968
ide.build MAIN-09.87
ide.conf C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\app\twilliams\product\11.2.0\client_3\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 3276
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\twilliams\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\twilliams\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
ide.startingcwd C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
ide.user.dir C:\Users\twilliams\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\twilliams\Documents\SQL Developer
ide.work.dir.base C:\Users\twilliams\Documents
ilog.propagatesPropertyEditors false
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:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\endorsed
java.ext.dirs C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre
java.io.tmpdir c:\Temp\
java.library.path C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\app\twilliams\product\11.2.0\client_3\bin;C:\app\twilliams\product\11.2.0\client_3;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Lenovo\Access Connections\;C:\Program Files\WinMerge;C:\Program Files\ThinkPad\Bluetooth Software\;.
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_35-b10
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_35
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 20.10-b01
jdbc.driver.home /C:/app/twilliams/product/11.2.0/client_3/
jdbc.library /C:/app/twilliams/product/11.2.0/client_3/jdbc/lib/ojdbc6.jar
line.separator \r\n
oracle.home C:\app\twilliams\product\11.2.0\client_3\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
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:/app/twilliams/product/11.2.0/client_3/jlib/orai18n.jar
os.arch x86
os.name Windows 7
os.version 6.1
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:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\resources.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\rt.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jsse.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jce.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\charsets.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\modules\jdk.boot.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\classes
sun.boot.library.path C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 1
user.country US
user.dir C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
user.home C:\Users\twilliams
user.language en
user.name twilliams
user.timezone America/Los_Angeles
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.48 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.48 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.48 Loaded
Data Miner oracle.dmt.dataminer 11.2.1.1.09.87 Disabled by user
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.48 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.48 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.48 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.48 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.48 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.48 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.48 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.48 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.48 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.48 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.48 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.48 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.48 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.48 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.48 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.48 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.48 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.48 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.48 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.48 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.48 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.2.0.09.87 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.2.0.09.87 Loaded
Oracle SQL Developer - APEX Listener Administration oracle.sqldeveloper.listener 11.2.0.09.87 Loaded
Oracle SQL Developer - Change Mangement oracle.sqldeveloper.em_cm 11.2.0.09.87 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Database Cart oracle.sqldeveloper.dbcart 11.2.0.09.87 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 11.2.0.09.87 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core_antlr3
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Teradata SQL Translator oracle.sqldeveloper.migration.translation.teradata_translator 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.2.0.09.87 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.2.0.09.87 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.2.0.09.87 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.2.0.09.87 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.2.0.09.87 Loaded
Oracle SQL Developer - Security oracle.sqldeveloper.security 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.2.0.09.87 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.2.0.09.87 Disabled by user
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.2.0.09.87 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.2.0.09.87 Disabled by user
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.2.0.09.87 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.2.0.09.87 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.2.0.09.87 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.1.4.710 Disabled by user
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.2.0.09.87 Disabled by user
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.48 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.48 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.48 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.48 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.48 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.48 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.48 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.48 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.48 Disabled by user
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.48 Missing dependencies: oracle.jdeveloper.vcs
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.48 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.48 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.48 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.48 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.48 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.48 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.48 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.48 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.48 Loaded
status oracle.ide.status 11.1.1.4.37.59.48 Loaded
Thanks in advance...
Tom
Edited by: ERPDude on Feb 28, 2013 2:46 PMAces!!! You nailed it Gary...
Thank you.
I applied fixed noted in Re: Reduce SQLDeveloper memory footprint with JDK 1.7
For others, to summarize my changes.
product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
AddVMOption -XX:+UnlockExperimentalVMOptions
AddVMOption -XX:+UseG1GC
AddVMOption -XX:MaxGCPauseMillis=50
AddVMOption -XX:GCPauseIntervalMillis=200
AddVMOption -XX:MaxPermSize=128M
AddVMOption -Xms50M
AddVMOption -Xmx384M
AddVMOption -XX:MinHeapFreeRatio=10
AddVMOption -XX:MaxHeapFreeRatio=10
product\11.2.0\client_3\sqldeveloper\ide\bin\ide.conf
comment the following two lines as shown below
#AddVMOption -Xmx640M
#AddVMOption -Xms128M
Now SQL Developer runs at roughly 500 meg.
I guess the only thing I have left to ask others reviewing this would be if there is a way to get these memory values down without having much adverse impacts on SQL Developer based on newer JVM switches/functionalities.
The posts that drove these changes are old from a technologoical perspective :) 2010.
Tom
Maybe you are looking for
-
Never ending restore cycle.
Today, my iPod touch would not sync to iTunes, and it told me I must restore. So I restored my iPod, when it finished it said "Please leave iPod connected etc..." and had the 'Connect to iTunes' display on the iPod. iTunes just says it has detected a
-
Sending rejection back to vendor
Hi, In case of rejection, after usage decision (mvt 122) material is to be send back to vendor. Which T-code is to be used to print delivery challen / hard copy to send with rejected material ?
-
About one month ago when opening skype it says: Skype suddenly stopped. Reinstalling did not help and the skype app on my iphone does work normally. Before that Skype did work on my macbook pro. Does anybody know the solution to this problem?
-
Photoshop Elements 12 Editor will not open from Organizer
My Photoshop Elements 12 Editor will not open from the Organizer - after I enter my password to login, I just get a small spinning circle on the screen but the editor never loads
-
Strange thing after upgrade to LR 5 last evening....
Purchased a full version LR 5 last night and installed. Directly below the Histogram for EVERY Image in my Catalogue it states: "! Photo is missing" however it ISN'T missing, all the previous adjustments are still there and any of them will open up i