SQL Developer 1.5.0.53.38 Fails to save preferences
Options set under Tools->Preferences are not persisted between sessions. Assuming that the persistence of options is a part of the normal Exit processing, this is probably related to the Failure to Exit problem that I posted.
Hi, Sue.
Thanks for the reply. So far, it's been every setting I've tried to change. Also, I did receive errors when opening from sqldeveloper/bin They are below:
Jun 9, 2008 9:11:56 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.sqlworksheet.jar!/META-INF/extension.xml:12: Duplicate declaration of
addin oracle.dbtools.sqlworksheet.sqlview.SqlEditorAddin. Previously defined in
extension oracle.sqldeveloper.sqlworksheet
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.migration.jar!/META-INF/extension.xml:15: Duplicate declaration of add
in oracle.dbtools.migration.workbench.core.MigrationAddin. Previously defined in
extension oracle.sqldeveloper.migration
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.sqldeveloper.thirdparty.access.jar!/META-INF/extension.xml:13: Duplicate decla
ration of addin oracle.dbtools.thirdparty.access.AccessBrowserAddin. Previously
defined in extension oracle.dbtools.thirdparty.access
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.sqldeveloper.snippet.jar!/META-INF/extension.xml:15: Duplicate declaration of
addin oracle.dbtools.raptor.snippet.SnippetAddin. Previously defined in extensio
n oracle.dbdev.snippet
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.sqldeveloper.snippet.jar!/META-INF/extension.xml:16: Duplicate declaration of
addin oracle.dbtools.raptor.snippet.SaveSnippetAddin. Previously defined in exte
nsion oracle.dbdev.snippet
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.thirdparty.mysql.jar!/META-INF/extension.xml:12: Duplicate declaration
of addin oracle.dbtools.thirdparty.mysql.MySQLBrowserAddin. Previously defined
in extension oracle.sqldeveloper.thirdparty.mysql
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.migration.mysql5.jar!/META-INF/extension.xml:13: Duplicate declaration
of addin oracle.dbtools.migration.workbench.plugin.MySQLPlugin. Previously defi
ned in extension oracle.sqldeveloper.migration.mysql5
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.migration.mysql5.jar!/META-INF/extension.xml:14: Duplicate declaration
of addin oracle.dbtools.migration.workbench.plugin.MySQL4Plugin. Previously def
ined in extension oracle.sqldeveloper.migration.mysql5
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.migration.mysql5.jar!/META-INF/extension.xml:15: Duplicate declaration
of addin oracle.dbtools.migration.workbench.plugin.MySQL5Plugin. Previously def
ined in extension oracle.sqldeveloper.migration.mysql5
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.migration.sqlserver2005.jar!/META-INF/extension.xml:13: Duplicate decl
aration of addin oracle.dbtools.migration.workbench.plugin.SQLServer7Plugin. Pre
viously defined in extension oracle.sqldeveloper.migration.sqlserver2005
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.migration.sqlserver2005.jar!/META-INF/extension.xml:14: Duplicate decl
aration of addin oracle.dbtools.migration.workbench.plugin.SQLServer2000Plugin.
Previously defined in extension oracle.sqldeveloper.migration.sqlserver2005
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.migration.sqlserver2005.jar!/META-INF/extension.xml:15: Duplicate decl
aration of addin oracle.dbtools.migration.workbench.plugin.SQLServer2005Plugin.
Previously defined in extension oracle.sqldeveloper.migration.sqlserver2005
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.dbtools.thirdparty.sqlserver.jar!/META-INF/extension.xml:13: Duplicate declara
tion of addin oracle.dbtools.thirdparty.sqlserver.SQLServerBrowserAddin. Previou
sly defined in extension oracle.sqldeveloper.thirdparty.sqlserver
Jun 9, 2008 9:11:57 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/sqldeveloper/extensions/oracl
e.sqldeveloper.migration.msaccess.jar!/META-INF/extension.xml:11: Duplicate decl
aration of addin oracle.dbtools.migration.workbench.plugin.MSAccessPlugin. Previ
ously defined in extension oracle.dbtools.migration.msaccess
Jun 9, 2008 9:11:58 AM oracle.ideimpl.extension.WarnAboutDisabledExtensionsAddin
logDisabledExtensions
SEVERE: jar:/file:/C:/Program%20Files/sqldeveloper/jdev/extensions/oracle.ide.xm
lef.jar!/META-INF/extension.xml:0: Not loaded: Missing dependencies: oracle.ide.
daf, oracle.ide.palette2
Addin: Translator PlSql is trying to register a input type (.plsql) which confli
cts with translator PlSql who already using this input type
Exception initializing 'oracle.jdevimpl.runner.profile.ProfilerShell' in extensi
on 'Database Developer': java.lang.NumberFormatException: For input string: "f1_
prfdprojsetmemory_html"
at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.valueOf(Integer.java:553)
at oracle.ide.util.ArrayResourceBundle.getIntegerImpl(ArrayResourceBundl
e.java:182)
at oracle.jdevimpl.runner.profile.ProfArb.getInteger(ProfArb.java:66)
at oracle.jdevimpl.runner.profile.ProfilerShell.createRunMenuItem(Profil
erShell.java:193)
at oracle.jdevimpl.runner.profile.ProfilerShell.createMenus(ProfilerShel
l.java:175)
at oracle.jdevimpl.runner.profile.ProfilerShell.initialize(ProfilerShell
.java:166)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
rImpl.java:405)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
erImpl.java:214)
at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
dinManagerImpl.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(DelegatingMethodAcces
sorImpl.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(DelegatingMethodAcces
sorImpl.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(DelegatingMethodAcces
sorImpl.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 initializing 'oracle.dbtools.migration.workbench.plugin.MSAccessPlugin
' in extension 'Oracle Migration Workbench - MS Access': java.lang.NullPointerEx
ception
at oracle.dbtools.migration.workbench.plugin.MSAccessPlugin.addToMigrati
onMenu(MSAccessPlugin.java:188)
at oracle.dbtools.migration.workbench.plugin.MSAccessPlugin.initialize(M
SAccessPlugin.java:166)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
rImpl.java:405)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
erImpl.java:214)
at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
dinManagerImpl.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(DelegatingMethodAcces
sorImpl.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(DelegatingMethodAcces
sorImpl.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(DelegatingMethodAcces
sorImpl.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)
oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidati
ngParser.java:345)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
arser.java:307)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:298)
at oracle.dbtools.raptor.utils.AbstractFolderedXml.processXML(AbstractFo
lderedXml.java:70)
at oracle.dbdev.oviewer.base.ViewerAddin.loadXMLEditors(ViewerAddin.java
:198)
at oracle.dbdev.oviewer.base.ViewerAddin$1.addinsLoaded(ViewerAddin.java
:117)
at oracle.ide.IdeCore.fireIdeEvent(IdeCore.java:843)
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(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
Could not load:oracle.dbtools.thirdparty.access
Thanks for the help.
Dan
Similar Messages
-
Hi, I'm running the following setup:
Mac OS X 10.8.4
Virtual Box 4.2.16 r86992
Oracle Developer Days (don't know the version, just downloaded it)
SQL Developer 3.2.20.09
Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
$ ping 192.168.56.101
PING 192.168.56.101 (192.168.56.101): 56 data bytes
64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
^C
--- 192.168.56.101 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
$ telnet 192.168.56.101 1521
Trying 192.168.56.101...
Connected to 192.168.56.101.
Escape character is '^]'.
asdf
asdf
Connection closed by foreign host.
When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760dHi Ali,
This may be of varoius reasons..
Is the database that you are connecting on the same PC?
You have specified Hostname: localhost.
If not please replace it with the IP of that server.
Else please check whether the database listener is started or not. if not please start the listener.
Check the SID by tnsping command.
Hope this will help you..
Thanks
Ashok -
SQL Developer on Windows 2003 x64 Edition "failed to initialize..."
I am trying to run sqldeveloper on Windows server 2003 x64 and I get the following error:
The application failed to initialize properly (0xc0000018). Click on OK to terminate the application.
I get this error with the version with jre, and with the version without the jre.
I have Java 1.6 installed on that server (applet shows up under x86 control panels)
I can reproduce this on two different win 2003 x64 servers, but it works fine on a windows 2003 standard (32 bit)
Any idea how to fix this?
thanks.This might not be the right place to post this question, but will give it a shot . . .
I've installed JDK 1.5 and downloaded/unzipped SQL Developer on my Windows 2003 x64 server, then launched sqldevelper.bat from the advice given above -- but I get an error saying:
'java' is not recognized as an internal or external command,operable program or batch file.
I made sure I have java installed:
C:\Program Files (x86)\Java>dir
Volume in drive C has no label.
Volume Serial Number is A86A-1831
Directory of C:\Program Files (x86)\Java
03/29/2007 07:29 PM <DIR> .
03/29/2007 07:29 PM <DIR> ..
03/26/2007 06:01 PM <DIR> j2re1.4.2_12
03/29/2007 07:24 PM <DIR> jdk1.5.0_05
03/29/2007 07:25 PM <DIR> jre1.5.0_05
03/29/2007 07:29 PM <DIR> jre1.5.0_11
What am I doing wrong, that would cause 'java' is not recognized as an internal or external command,operable program or batch file? -
SQL Developer 1.5.0.53.38 Fails to die after exit
Under Windows XP, choosing the File->Exit option causes SQLDeveloper to appear to exit, but examination of the Task Manager shows the process still running. I noticed this when the system memory consumption was much higher than it should be causing me to examine the running processes. Then I discovered 6 instances of SQLDeveloper still active in Task Manager, all from sessions which I had exited normally.
Interesting. I don't have ( C:\ ) sqldeveloper\bin\sqldeveloper.exe. I DO have ( C:\ ) sqldeveloper\sqldeveloper\bin\sqldeveloper.exe.
I solved my problem by reinstalling, having foolishly installed the latest version into the same directory as the previous 1.2.XX release. -
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 -
SQL Developer Version 64 bit....
Is SQL Developer is avaialble for Windows 64 ?
thank you,
SmithPlease review the next thread.
SQL Developer on Windows 2003 x64 Edition "failed to initialize..."
Regards. -
Set indention / tab size in Oracle SQL Developer
I've been poking around for an hour. Can't figure this out.
Where, either on the app's UI or in the "product-preferences.xml" file, can I change SQL Developer's indention (tab) size to 3? My organization uses PowerBuilder, and when I copy+paste our PB SQL (which uses leading tabs) into Oracle SQL Developer, it looks like crap. It would really help if I could change the code editor to a tab size equivalent to three spaces.
And no, we can’t use spaces. :-)
Thanks!
(maybe SQL Developer 2 could have a tab size field in “Preferences”)In 1.5.x, it's under Preferences - Database - SQL Formatter - Alignment and Indentation .
However, at least in the current 1.5.3, a bug ignores the tab preferences completely, so you're stuck with the 2 spaces. If you can't wait until this gets fixed (with luck in the upcoming 1.5.4 or else maybe by 2.0), revert to an earlier version.
Regards,
K. -
Notes on Sql Developer - Importing - XLS
This isn't really a question, but I thought I should get the record of my tribulations posted so someone else won't have to work as hard as I did.
Please note when using import in sql dev - first, the file MUST be a xls formated BINARY file. I received a file with the extension xls, but it was actually a tab delimited csv, and the only message import gave me was : 'an error has occurred' , and then a stack trace with :
java.io.IOException: Invalid header signature; read 664572811392150337, expected -2226271756974174256
at org.apache.poi.poifs.storage.HeaderBlockReader
A ascii csv would cause this since it doesn't have the binary header. Incidentally, poi is a java (apache) library for reading microsoft file formats.You can try changing the column in the excel to general datatype before you attempt to load using sql developer.
alternate way...
You can save the excel file as .csv file. Once saved you should be able to use the sql*loader to load the data.
the sqlldr command for online
sqlldr userid control=test.ctl log=test.log bad=test.bad data=test.csv discard=test.txt
the test.ctl should be as follows
load data
infile 'test.csv'
into table constraint_chk
fields terminated by ','
(column1 char(10),
column2 date,
column3 number) ;
please let me know, if you need more info... -
Import or Convert Visio database diagram for SQL Developer Data Modeling
Hi,
Would you please advise on how it would be possible to convert an existing Visio 2007 ERD diagram for import into SQL Developer Data Modeling?
I have tried to save the model as XML Stencil, Template and Drawing, but could not successfully import it into SQL Developer Data Modeling.
Appreciate your input on this!
Cheers!Those are just drawing formats and don't contain any useful information about the datamodel. If you can generate ddl from the diagram you can import that, but visio is really just a drawing tool with partial data modeling addins.
-
Is Sql Developer "sensitive" on objects?
Hi,
in the company I work in I use Pl/Sql Developer for developing in pl-sql (it's the product of Allround Automations http://www.allroundautomations.com/plsqldev.html), bacause we work on Oracle vers. 8.1.7.
Recently I've tried to install on my PC Sql Developer of Oracle vers. 1.1.2 that seems to work well (the higher versions are for Oracle 9 -->)
I've noticed that, rispect to the product I use, in Sql Developer if I write a statement like:
select a.field1, a.field2
from mytable a
where a.
after the a. the tool doesn't present to me the list of mytable's columns and this would be very usefull.
Is it due to the fact that it's not a Sql Developer possibility or I need to do something in preferences or the vers. 1.1.2 doesn't support this function?
Thanks!
Edited by: Mark1970 on 17-feb-2010 5.29I think it's better to use an official tool for my professional skill, isn't it?Not necessarily. Toad, PLSQL Developer and others are mature tools to work with Oracle DBs while SQL Developer still has many bugs, even in version 2.1, and you need to know what you can do and where not to trust it, e.g. lines missing when exporting large datasets.
Regards
Marcus
P.S.: I have Toad installed on my PC but use SQL Developer almost exclusively. But I'm an early adopter, tested every version and I think I know when not to trust SQL Developer and use other tools instead. -
Password change fails in SQL Developer with verify function...
A couple of months ago I enforced a password verify function on our 11.2.0.3 databases and also one legacy 10.2.0.4 database.
At the time I tested on my account (which had elevated privileges...doh!). Now some users are hitting expiry, they can't change it via SQL Developer.
If I create a user with 'create session' privilege and set their profile to one that uses the verify function (see both below), I then log in to SQL Developer (we have tried with versions 3.1 (Windows) and 3.2 (Linux) with same failure results.
BTW,.. the password verify function enforces the following:
password must be minimum of 8 characters
password must not be the same as the user name, or user name (1-100)
password must contain at least a single digit
password must contain at least a single character
1. Works = I log into the local server and run command line SQLPlus, type 'password' and update. I can successfully change my password.
2. Fails = I log into the local server and run command line SQLPlus, type 'alter user <me> identified by <newpwd>;' I get:
TEST: SUTEMP > alter user sutemp identified by carport9999;
alter user sutemp identified by carport9999
ERROR at line 1:
ORA-28221: REPLACE not specified
This error is because the account does not have the 'alter user' privilege. I'm okay with this, as I don't want our users having this privilege.
3. I start SQL Developer 3.2, type 'alter user <me> identified by <newpwd>;' I get the same ORA-28221 error as above. That is fine, and as expected.
4. Now in SQL Developer, I type 'password', set a valid password, but I get 'Failed to change password' in the Script Output tab.
I have a database 'after servererror on database' trigger set, and querying the database table it is logging into, I see a record with a date stamp matching my failure with a server_error=28221 (the same as above).
So I'm wondering if I'm doing something wrong here, or if this is a bug in SQL Developer. I don't want standard users having 'alter user' privileges, but I do want to enforce password verification.
I get the same result on three 11.2.0.3 databases (haven't tried any more but suspect same results for others) and one legacy 10.2.0.4 database, and using SQL Developer 3.1 and 3.2.
DBA_PROFILE used:
PROFILE
RESOURCE_NAME
RESOURCE LIMIT
CTRU
COMPOSITE_LIMIT
KERNEL DEFAULT
CTRU
SESSIONS_PER_USER
KERNEL 10
CTRU
CPU_PER_SESSION
KERNEL DEFAULT
CTRU
CPU_PER_CALL
KERNEL DEFAULT
CTRU
LOGICAL_READS_PER_SESSION KERNEL DEFAULT
CTRU
LOGICAL_READS_PER_CALL
KERNEL DEFAULT
CTRU
IDLE_TIME
KERNEL DEFAULT
CTRU
CONNECT_TIME
KERNEL DEFAULT
CTRU
PRIVATE_SGA
KERNEL DEFAULT
CTRU
FAILED_LOGIN_ATTEMPTS
PASSWORD 10
CTRU
PASSWORD_LIFE_TIME
PASSWORD 180
CTRU
PASSWORD_REUSE_TIME
PASSWORD DEFAULT
CTRU
PASSWORD_REUSE_MAX
PASSWORD 5
CTRU
PASSWORD_VERIFY_FUNCTION PASSWORD VERIFY_FUNCTION_11G
CTRU
PASSWORD_LOCK_TIME
PASSWORD .002
CTRU
PASSWORD_GRACE_TIME
PASSWORD 21
16 rows selected.
Verify Function used:
$ cat utlpwdmg.sql
Rem
Rem $Header: utlpwdmg.sql 02-aug-2006.08:18:05 asurpur Exp $
Rem
Rem utlpwdmg.sql
Rem
Rem Copyright (c) 2006, Oracle. All rights reserved.
Rem
Rem NAME
Rem utlpwdmg.sql - script for Default Password Resource Limits
Rem
Rem DESCRIPTION
Rem This is a script for enabling the password management features
Rem by setting the default password resource limits.
Rem
Rem NOTES
Rem This file contains a function for minimum checking of password
Rem complexity. This is more of a sample function that the customer
Rem can use to develop the function for actual complexity checks that the
Rem customer wants to make on the new password.
Rem
Rem MODIFIED (MM/DD/YY)
Rem suren 05/09/13 - customise for NIHI use
Rem asurpur 05/30/06 - fix - 5246666 beef up password complexity check
Rem nireland 08/31/00 - Improve check for username=password. #1390553
Rem nireland 06/28/00 - Fix null old password test. #1341892
Rem asurpur 04/17/97 - Fix for bug479763
Rem asurpur 12/12/96 - Changing the name of password_verify_function
Rem asurpur 05/30/96 - New script for default password management
Rem asurpur 05/30/96 - Created
Rem
-- This script sets the default password resource parameters
-- This script needs to be run to enable the password features.
-- However the default resource parameters can be changed based
-- on the need.
-- A default password complexity function is also provided.
-- This function makes the minimum complexity checks like
-- the minimum length of the password, password not same as the
-- username, etc. The user may enhance this function according to
-- the need.
-- This function must be created in SYS schema.
-- connect sys/<password> as sysdba before running the script
CREATE OR REPLACE FUNCTION verify_function_11G
(username varchar2,
password varchar2,
old_password varchar2)
RETURN boolean IS
n boolean;
m integer;
differ integer;
isdigit boolean;
ischar boolean;
ispunct boolean;
db_name varchar2(40);
digitarray varchar2(20);
punctarray varchar2(25);
chararray varchar2(52);
i_char varchar2(10);
simple_password varchar2(10);
reverse_user varchar2(32);
BEGIN
digitarray:= '0123456789';
chararray:= 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
-- Check for the minimum length of the password
IF length(password) < 8 THEN
raise_application_error(-20001, 'Password length less than 8');
END IF;
-- Check if the password is same as the username or username(1-100)
IF NLS_LOWER(password) = NLS_LOWER(username) THEN
raise_application_error(-20002, 'Password same as or similar to user');
END IF;
FOR i IN 1..100 LOOP
i_char := to_char(i);
if NLS_LOWER(username)|| i_char = NLS_LOWER(password) THEN
raise_application_error(-20005, 'Password same as or similar to user name ');
END IF;
END LOOP;
-- Check if the password contains at least one letter, one digit
-- 1. Check for the digit
isdigit:=FALSE;
m := length(password);
FOR i IN 1..10 LOOP
FOR j IN 1..m LOOP
IF substr(password,j,1) = substr(digitarray,i,1) THEN
isdigit:=TRUE;
GOTO findchar;
END IF;
END LOOP;
END LOOP;
IF isdigit = FALSE THEN
raise_application_error(-20008, 'Password must contain at least one digit, one character');
END IF;
-- 2. Check for the character
<<findchar>>
ischar:=FALSE;
FOR i IN 1..length(chararray) LOOP
FOR j IN 1..m LOOP
IF substr(password,j,1) = substr(chararray,i,1) THEN
ischar:=TRUE;
GOTO endsearch;
END IF;
END LOOP;
END LOOP;
IF ischar = FALSE THEN
raise_application_error(-20009, 'Password must contain at least one digit, and one character');
END IF;
<<endsearch>>
-- Check if the password differs from the previous password by at least
-- 3 letters
IF old_password IS NOT NULL THEN
differ := length(old_password) - length(password);
differ := abs(differ);
IF differ < 3 THEN
IF length(password) < length(old_password) THEN
m := length(password);
ELSE
m := length(old_password);
END IF;
FOR i IN 1..m LOOP
IF substr(password,i,1) != substr(old_password,i,1) THEN
differ := differ + 1;
END IF;
END LOOP;
IF differ < 3 THEN
raise_application_error(-20011, 'Password should differ from the old password by at least 3 characters');
END IF;
END IF;
END IF;
-- Everything is fine; return TRUE ;
RETURN(TRUE);
END;
alter profile ctru limit password_verify_function verify_function_11g;
alter profile default limit password_verify_function verify_function_11g;
alter profile web_and_it limit password_verify_function verify_function_11g;okay,... I just saw another website which shows I should put in the 'replace <oldpwd>' clause in.
This works in SQL Developer: alter user sutemp identified by carport999 replace garage999;
So why does the 'password' command fail? (Developers: it would also be helpful to have the ORA- error displayed as opposed to 'Failed to change password') -
EUS password authentication in sql developer failing with username/password
We have recently changed to use Enterprise User Security (EUS) for our client authentication (password global authentication).
This is working fine but we are encountering an issue with SQL Developer whereby we can't logon using our EUS details, it simply returns the following on the logon screen:
Status : Failure - Test failed: ORA-01017: invalid username/password; logon denied
Logging on via sql plus client and server software and other 3rd party tools like pl/sql developer works correctly.
It appears to be an issue with sql developer itself.
We are using the latest Production release of sql developer 2.1
Does anyone have any ideas?
This is an issue for
Edited by: david butler on Jan 14, 2010 10:45 AMFurther to this, I have now found a suitable resolution to this that doesn't require an external client.
There is a jdbc setting that will allow you to use EUS password authentication.
Add the jdbc line option (below) in the sqldeveloper.conf file (backup the sqldeveloper.conf file first).
AddVMOption -Doracle.jdbc.thinLogonCapability=o3
The sqldeveloper.conf file can be found wherever you have installed sqldeveloper, under <INSTALL_HOME>\sqldeveloper\bin\sqldeveloper.conf.
After you add this option, restart SQL Developer and you should be able to use your EUS username / password to authenticate via SQL Developer. -
Database copy of a SDO_GEOMETRY column fails in SQL Developer 3.2.20.09
I'm trying to copy a table that has a SDO_GEOMETRY column and it just fails:
Moving Data for object LOCATION
Unable to perform batch insert.
LOCATION ORA-00932: inconsistent datatypes: expected MDSYS.SDO_GEOMETRY got CHAR
What's the workaround for this or SQL Developer doesn't support this?
Edited by: user10768987 on Apr 11, 2013 11:05 AMWelcome to the forum!
Whenever you post provide your full version number for Sql Developer and, if a database is involved the name and full version of the DB.
>
I'm trying to copy a table that has a SDO_GEOMETRY column and it just fails:
Moving Data for object LOCATION
Unable to perform batch insert.
LOCATION ORA-00932: inconsistent datatypes: expected MDSYS.SDO_GEOMETRY got CHAR
What's the workaround for this or SQL Developer doesn't support this?
>
Since you haven't posted your version and provided the exact steps you are using we have no idea what you are doing to try to copy a table. -
Connection to SQL Developer Data Modeler Fails
All,
I am using Oracle SQL Developer Data Modeler version 3.0.0.665 in an Oracle 10g database environment. When I try to import DDLs, I get the following error message:
NoSuchMethodError:
oracle.i18.ntext.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;I use the same connection profile in Oracle SQL Developer version 1.5.0.53, and my connection works fine there, but the same credentials in SQL Developer Data Modeler fails with the above error message. Any thoughts what causes this connection problem?
Thank you,
SeyedHi Philip,
Thank you so much for the information. Your suggested solution resolved my problem. For some reason when I first installed the Data Modeler, it worked fine and I was able to save the result into PDF files. Then my connection went bad and I posted this question on this forum.
Again thank you very much,
Seyed -
SQL Developer: Failure -Test failed: IO Error: Got minus one from a read ca
SQL Developer: Failure -Test failed: IO Error: Got minus one from a read call
Hi,
I am sorry I know this is probably most frequently asked question, but I have no idea what I should be searching for.
I looked up the error above to see if i could find a solution, but unfortunately I did not.
Right Let me start of with I am a Total Noob.. well it terms of having to install Oracle 11g myself.
In my University they hosted a database, and assigned us a User & pass thats how I have been using SQL Developer,
but since I am not longer a university student. I need to use Oracle Database.
So I downloaded Oracle 11g Enterprise Installed it on my laptop that i don't use much.
Name the Database: Rudu
It did all the installation, and seemed to have succeeded, I went on to the https://localhost:1158/em (Though am not sure why em? whats the deal with that? I thought it would be https://localhost:1158/Rudu) anyways....
Logged in using the System user.
Went to Users and created a user called: RUDUHR
Thought yeah its working... went on to my other laptop opened up SQL Developer.
Created Connection with the following Settings
Con Name: RK
User: RUDUHR
Pass: TEST
Con Type: Basic
Role: Default
Hostname: 192.168.0.8
Port: 1158
SID: Rudu
It don't work though Why is that??????
192.168.0.8 is laptop that has oracle 11g installed and running.
I even tried using SYSTEM user to connect, but same error
also tried changing SID to em, it made no difference I keep getting the error Status: Failure -Test failed: IO Error: Got minus one from a read call
So ya am clueless... LOL I only know how to create tables and stuff not how to configure a Database.
and just so you know I did forward the port on me router to correct laptop.It don't work though Why is that??????
192.168.0.8 is laptop that has oracle 11g installed and running.
It is because you don't read documentation.
1158 is the default port for Enterprise Manager
1521 is the default port for Sqlnet.
Your port number is incorrect.
Needless to say, you can create your tables in EM too.
As per the Forums Etiquette post (first link when you get to this page) it is recommended you read documentation before asking Yet Another Doc Question.
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
Document is not getting attached to PO
hi experts, I have create a z docu type and oject link as EKPO and additional link as matcomp.when i create a new document and make the status as released.Its not getting displayed in me22n.Do i need to do any furthur coustamizations f
-
HT201210 Where is the startup disk? How do I correct it?
When rying to backup my 4S iphone to icloud I get the message "start up disk is full" How do I correct the problem?
-
How do i get music on me iPhone?
I haven't got iTunes on my laptop because for some reason it wont load. It's not a great problem because I have an iPad and I have a load of tunes in the music folder. Here is my question, how can i get my music, from the music folder, on to my iPhon
-
Hi, Does SQL server 2012,no more prefer MSDB and File system deployments? If not migrated what are implications in future?? is it really necessary to upgrade now?? when I use Smo, why does my package executed using SSISDB resources rather than using
-
Application that handles multiple jdbc drivers. How to load driver classes?
Hi all, I have a question that arised now while I am developing an application that handles different jdbc drivers. Do I have to reload the driver class when I want to use a different jdbc driver? Does DriverMAnager return connection of the last load