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.
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 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 -
Data Miner Extension in SQL Developer 4.0 EA3 Release: EA3 Repository Migration Failure
The Data Miner extension in the SQL Developer 4.0 EA3 release fails when attempting to migrate the repository to EA3. This posting contains instructions on how to recover from this failure as well as to successful migrate the repository from EA2 to EA3. There are no problems when just installing a fresh Data Miner repository.
Sorry about the difficulty if this has caused you any problems.
Mark
Failure message displayed in log when migrating to EA3:
Error report -
ORA-06550: line 96, column 40:
PLS-00382: expression is of wrong type
ORA-06550: line 96, column 7:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Instructions on how to recover from failure and continue using original version of SQL Developer:
1) Execute the following sql as SYS in order to allow the Data Miner repository to be open for use again:
UPDATE ODMRSYS.ODMR$REPOSITORY_PROPERTIES
SET PROPERTY_STR_VALUE = 'LOADED'
WHERE PROPERTY_NAME = 'REPOSITORY_STATUS';
COMMIT;
2) During attempted migrationto EA3 failed, access priviliges to the Data Miner repository are revoked from users. In order to use Data Miner again, these grants must be reapplied. You can either use the UI guided process to accomplish this, which requires the SYS password, or you can run the usergrants.sql script, again as the SYS user. For instructions on how to run the usergrants.sql script, or any adminstrative script, review the instructions contained in the install_scripts_readme.html file. You can find this file in the SQL Developer directories created when you unzipped SQL Developer. It is located in the following relative directory: \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts.
Instructions on how to successfully migrate to EA3.
If you have already attempted to migrate to EA3 and failed, then you need to perform the recovery instructions noted above, after which you can continue with the instructions below.
If you have not yet attempted to migrate to EA3, then just following the instructions below.
1) Replace all contents the script file createxmlworkflowsbackup.sql with specification contained at the end of this posting. The file to edit can be found in the \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts directory.
2) After completing the edit to createxmlworkflowsbackup.sql, you can proceed with the UI guided migration or perform the migration using the appropriate migration script. Review the install_scripts_readme.html file in the /dataminer/scripts directory for instructions on how to perform the migration using the script. For the UI migration, simply open any user connection in your Data Miner navigator, and you will be prompted to perform the migration.
WHENEVER SQLERROR EXIT SQL.SQLCODE;
DEFINE MAX_VERSIONS = 30
EXECUTE dbms_output.put_line('Start Backup Data Miner Workflows ' || systimestamp);
DECLARE
table_cnt NUMBER;
BEGIN
SELECT count(*) INTO table_cnt FROM all_tables WHERE owner='ODMRSYS' AND table_name='ODMR$WORKFLOWS_BACKUP';
IF (table_cnt = 0) THEN
EXECUTE IMMEDIATE '
CREATE TABLE ODMRSYS.ODMR$WORKFLOWS_BACKUP
USER_NAME VARCHAR2(30 CHAR) NOT NULL
, PROJECT_ID NUMBER NOT NULL
, PROJECT_NAME VARCHAR2(30 CHAR) NOT NULL
, PJ_CREATION_TIME TIMESTAMP(6) NOT NULL
, PJ_LAST_UPDATED_TIME TIMESTAMP(6)
, PJ_COMMENTS VARCHAR2(4000 CHAR)
, WORKFLOW_ID NUMBER NOT NULL
, WORKFLOW_NAME VARCHAR2(30 CHAR) NOT NULL
, WORKFLOW_DATA SYS.XMLTYPE
, CHAIN_NAME VARCHAR2(30 CHAR)
, RUN_MODE VARCHAR2(30 CHAR)
, STATUS VARCHAR2(30 CHAR) NOT NULL
, WF_CREATION_TIME TIMESTAMP(6) NOT NULL
, WF_LAST_UPDATED_TIME TIMESTAMP(6)
, BACKUP_TIME TIMESTAMP(6) NOT NULL
, VERSION NUMBER NOT NULL
, WF_COMMENTS VARCHAR2(4000 CHAR)
, CONSTRAINT ODMR$WORKFLOWS_BACKUP_PK PRIMARY KEY
PROJECT_ID
, WORKFLOW_ID
, VERSION
ENABLE
LOGGING
PCTFREE 10
INITRANS 1
XMLTYPE COLUMN "WORKFLOW_DATA" STORE AS BASICFILE CLOB';
END IF;
END;
DECLARE
schema_old_ver VARCHAR2(30);
schema_ver VARCHAR2(30);
patch VARCHAR2(30);
db_ver VARCHAR2(30);
v_storage VARCHAR2(30);
schema_data CLOB;
v_db_11_2_0_2 NUMBER; -- db is <= 11.2.0.2?
row_cnt NUMBER;
ver_num NUMBER := 1;
maintaindom NUMBER;
workflow_rec ODMRSYS.ODMR$WORKFLOWS_BACKUP%ROWTYPE;
BEGIN
SELECT STORAGE_TYPE INTO v_storage FROM ALL_XML_TAB_COLS WHERE OWNER='ODMRSYS' AND TABLE_NAME='ODMR$WORKFLOWS' AND COLUMN_NAME='WORKFLOW_DATA';
if (db is >= 11.2.0.3 AND SQL Dev > 3.0) OR (db is <= 11.2.0.2 AND MAINTAIN_DOM_PATCH_INSTALLED)
back up all workflows
end if
IF (v_storage != 'BINARY') THEN
-- determine xml schema version
SELECT XMLSerialize(CONTENT SCHEMA AS CLOB) INTO schema_data
FROM DBA_XML_SCHEMAS WHERE schema_url = 'http://xmlns.oracle.com/odmr11/odmr.xsd' AND owner = 'ODMRSYS';
maintaindom := INSTR(schema_data, 'xdb:maintainDOM="false"', 1, 1);
-- determine database version
SELECT version INTO db_ver FROM product_component_version WHERE product LIKE 'Oracle Database%';
--- Check schema compatibility
schema_old_ver := '11.2.0.1.9'; -- default value
BEGIN
SELECT property_str_value INTO schema_ver
FROM "ODMRSYS"."ODMR$REPOSITORY_PROPERTIES" WHERE property_name = 'WF_VERSION';
IF schema_old_ver = schema_ver THEN
IF NOT (db_ver = '11.2.0.1' OR db_ver = '11.2.0.2') THEN
dbms_output.put_line('WARNING: The backup process can not be done, The workflows need to be migrated first');
RETURN;
END IF;
END IF;
EXCEPTION WHEN NO_DATA_FOUND THEN
schema_ver := schema_old_ver;
dbms_output.put_line('No WF_VERSION found. Defaults to: ' || schema_old_ver);
END;
-- determine if MAINTAIN_DOM_PATCH_INSTALLED
IF (INSTR(db_ver, '11.2.0.2') > 0 OR INSTR(db_ver, '11.2.0.1') > 0 OR INSTR(db_ver, '11.2.0.0') > 0) THEN
v_db_11_2_0_2 := 1;
BEGIN
SELECT PROPERTY_STR_VALUE INTO patch FROM ODMRSYS.ODMR$REPOSITORY_PROPERTIES WHERE PROPERTY_NAME = 'MAINTAIN_DOM_PATCH_INSTALLED';
patch := UPPER(patch);
EXCEPTION WHEN NO_DATA_FOUND THEN
patch := 'FALSE';
END;
ELSE
v_db_11_2_0_2 := 0;
END IF;
END IF;
IF ( v_storage = 'BINARY'
OR (v_db_11_2_0_2 = 0) -- db is >= 11.2.0.3
OR ((v_db_11_2_0_2 > 0) AND ((patch = 'TRUE') OR (maintaindom = 0))) ) THEN -- db is <= 11.2.0.2 AND (MAINTAIN_DOM_PATCH_INSTALLED OR maintaindom="true")
SELECT count(*) INTO row_cnt FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
IF (row_cnt > 0) THEN
SELECT NVL(MAX(VERSION)+1,1) INTO ver_num FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
END IF;
FOR wf IN (
SELECT
p.USER_NAME "USER_NAME",
p.PROJECT_ID "PROJECT_ID",
p.PROJECT_NAME "PROJECT_NAME",
p.CREATION_TIME "PJ_CREATION_TIME",
p.LAST_UPDATED_TIME "PJ_LAST_UPDATED_TIME",
p.COMMENTS "PJ_COMMENTS",
x.WORKFLOW_ID "WORKFLOW_ID",
x.WORKFLOW_NAME "WORKFLOW_NAME",
xmlserialize(DOCUMENT x.WORKFLOW_DATA as CLOB indent size = 2) "WORKFLOW_DATA",
x.CHAIN_NAME "CHAIN_NAME",
x.RUN_MODE "RUN_MODE",
x.STATUS "STATUS",
x.CREATION_TIME "WF_CREATION_TIME",
x.LAST_UPDATED_TIME "WF_LAST_UPDATED_TIME",
x.COMMENTS "WF_COMMENTS"
FROM ODMRSYS.ODMR$PROJECTS p, ODMRSYS.ODMR$WORKFLOWS x
WHERE p.PROJECT_ID = x.PROJECT_ID
LOOP
workflow_rec.USER_NAME := wf.USER_NAME;
workflow_rec.PROJECT_ID := wf.PROJECT_ID;
workflow_rec.PROJECT_NAME := wf.PROJECT_NAME;
workflow_rec.PJ_CREATION_TIME := wf.PJ_CREATION_TIME;
workflow_rec.PJ_LAST_UPDATED_TIME := wf.PJ_LAST_UPDATED_TIME;
workflow_rec.PJ_COMMENTS := wf.PJ_COMMENTS;
workflow_rec.WORKFLOW_ID := wf.WORKFLOW_ID;
workflow_rec.WORKFLOW_NAME := wf.WORKFLOW_NAME;
workflow_rec.WORKFLOW_DATA := SYS.XMLTYPE(wf.WORKFLOW_DATA);
workflow_rec.CHAIN_NAME := wf.CHAIN_NAME;
workflow_rec.RUN_MODE := wf.RUN_MODE;
workflow_rec.STATUS := wf.STATUS;
workflow_rec.WF_CREATION_TIME := wf.WF_CREATION_TIME;
workflow_rec.WF_LAST_UPDATED_TIME := wf.WF_LAST_UPDATED_TIME;
workflow_rec.BACKUP_TIME := SYSTIMESTAMP;
workflow_rec.VERSION := ver_num;
workflow_rec.WF_COMMENTS := wf.WF_COMMENTS;
BEGIN
-- Output the ids (proj name, workflow name, proj id, workflow id)
dbms_output.put_line('Backup workflow: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
INSERT INTO ODMRSYS.ODMR$WORKFLOWS_BACKUP VALUES workflow_rec;
COMMIT;
EXCEPTION WHEN OTHERS THEN
dbms_output.put_line('Backup workflow failed: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
END;
END LOOP;
END IF;
-- keep the latest 30 versions
EXECUTE IMMEDIATE 'DELETE FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP WHERE VERSION <= :1' USING (ver_num - &MAX_VERSIONS);
COMMIT;
EXCEPTION WHEN OTHERS THEN
ROLLBACK;
RAISE_APPLICATION_ERROR(-20000, 'Workflow backup failed. Review install log.');
END;
EXECUTE dbms_output.put_line('End Backup Data Miner Workflows. ' || systimestamp);823006 wrote:
5.a. XLS export of big number columns looses precision, for example a number(38) column with all digits used.
I believe excel only holds 15 digits of precision.
Edited by: 823006 on Jan 18, 2011 8:14 AMThen it would be nice if you can define the "excel type" of each column. So you can make this number a "string" in the XLS.
Edited by: user9361780 on Jan 18, 2011 9:12 AM -
Bug report: sql developer/application express application import
I noticed some bugs on deploying an application using sql developer 1.5.1-5440.
Using a single file deployment generated by apex including install/upgrade/remove scripts: Here's what happens:
# I tried installing version 1.1 of my application already existing. Connected to the parsing schema of the version 1.0 I can clearly see my app "dashboard(101)"
# using sql dev I tried an application import. Using the following import options buildstatus =runonly, autoassign app_id and checked run install scripts
# The install runs, but instead of using the upgrade script it simply runs the install script causing a lot of errors of course since the objects already exist in the schema
# After this installation the application is visible in the workspace using a browser dashboard(102), however it remains invisible in sql developer where i can still only see dashboard(101)
After this failure I decided to go ahead and try once more doing the same thing but now just not check run install scripts.
To my amazement it still runs the install scripts???
Now I have 3 application showing in the browser and still only 1 in sql developer
Final problem with sql developer is that I choose to drop dashboard(101) it only deinstalls the application. It does not run the deinstall script for supporting objects included in dashboard(101).
All this makes an easy deployment a real hassle, since the browser interface can't handle a run only apllication with supporting object as all (it simply doesn't run the install script) I need to use sql developer, which is then fine for the first install, but then doen't upgrade properly. Finaly deinstalling a run only application again is impossible from a workspace and does work from sql developer, but then you still have to do the deinstall of the db objects manually.
I know as an apex admin I can work arround al this by switching the build status etc etc, but then again I can do anything if I'm apex admin and db sys.Point in having a single file deployment is allowing a novice user to easily install.
GeertHi Scott
Thanks for the reply
sspadafo wrote:
Run Only applications don't show up in the application list because they should not be editable. But perhaps it could display an icon indicating that.In my opinion they should and they do. The single app that is appearing in the list in sql developer is run only. Having it here allows me to select drop amongst other functionality the browser interface currently still lacks. Even when I drop all apps and than reinstall them again it seems like I can only see 1 version of an app with the same name.
sspadafo wrote:
The problem you described where you can't use the Application Install wizard to install supporting objects if the application is set to Run Only should be fixed in the upcoming 3.1.2 release/patch.I've installed the patch and I'm afraid the patch is no good either. Indeed is has improved. After the app installs it shows the supporting object dialogue. But if you then select yes and press Next it does absolutely nothing and redirects tot the application showing Application not available for edit.
So if you would be so kind to reopen bug 7286162
So while I'm on this section in my opinion the following bugs exist/features are missing
SQL Developer interface
# Not all application for parsing schema are shown in connection explorer. It seems like it can multiple show apps with different names only not when you install the same app twice with different app_id's. Then it only show the lowest app_id.
# Installing runonly app with supporting objects installs supporting object regardless of option selected
# Installing runonly app with upgrade scripts ignores update scripts and runs install scripts regardless of "install supporting objects" checkbox's state
# De installing app shows unpredictable behaviour for running deinstall scripts. It seemingly prompts random. Sometimes it does, sometimes it doesn't. When it does show I get behaviour like initially prompting for running deinstall script, failing to run deinstall script, causing neither app or objects to be dropped, on retry not showing prompt anymore and only dropping app.
Browser interface
# Installing a runonly app always finishes with a white page showing only Application not available for edit instead of showing a proper installation summary
# Installing a runonly app still prevents installation of supporting objects
# De installing a runonly application is not possible. Possible a button for de install could be included on page 4000:733
# Unable to perform important application level task from workspace like changing status, alias, global notification, proxy \\ (which are all available in the sql developer interface and imho could all be added to page 400:733 of the browser interface)
Hope this helps,
Geert -
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. -
SQL Developer cannot execute multiple queries in one connection
Hi,
Using : SQL Developer 1.2.29.98, Oracle Database 9i on Windows XP.
Currently I have TOAD and PL/SQL Developer to handle things related to Oracle Database.
I found this SQL Developer tools as an interesting tool which might replace PL/SQL Developer (I assume).
I opened two SQL Worksheets and tried to execute 2 queries (time consuming one) simultanously, suddenly it freezes (the window become grayed). Just like TOAD, we cannot smoothly execute multiple queries on single connection on SQL Developer
I can monitor the query process using TOAD (Session Browser) and found both queries are running while SQL Developer window become grayed and seems not functioning. After the queries have been finished, I mean both of them, the SQL Developer window become normal and "alive" again showing the expected results.
Well, however PL/SQL Developer could handle this. Executing multiple queries in single application is just its unbeatable features.
We can view the query result once its finished instead of until the others being processed, by just only switch the SQL Windows.
Is it true that SQL Developer doesn't support executing multiple queries?
Or is it a feature which we should request?
Or we have to activate this feature by doing some changes on configuration / preferences?
(Do we need to open two SQL Developer instances? what a memory consuming solution).
Regards,
BuntoroSQLDeveloper connections are single threaded and also rather single minded (in that you can't do much else while a long query is running.)
There is an existing feature request http://apex.oracle.com/pls/otn/f?p=42626:39:3685254426061901::NO::P39_ID:4202 for which you can vote.
The workaround is to have multiple connections. Not brilliant but it works. -
Export Option of Oracle SQL Developer isn't working .
Hi ,
I use SQL Developer for querying Database .
The problem is that after getting data as a result of a Search operation inside Oracle SQL Developer tool , i can't able
to export those Data using export Option of Oracle SQL Developer .
Could anybody please help me on this.Did Richard answer your question? I'm not clear if Unload isn't working for you
I cant say whether he has answered my question or not , the problem is that , i am using different version of Oracle SQL Developer , that is Oracle SQL Developer 1.5.3 , and there is no such option in that . -
Favorites icon gone from Oracle SQL Developer Help screen
Favorites icon gone from Oracle SQL Developer 3.0 Help Center screen
How do I get it back?
In Oracle SQL Developer 3.0 I clicked
Help->Table of Contents
to bring ut the Help Center window.
It the Help Center window I used to have a Favorites tab next
to the Contents TAB on the left side of the window.
I did an unpin some how and now I can't get the Favorites
TAB back.
On the right side there is a Star + icon that does
Add to Favorites.
I can add links to favorites but I have no way to go to these
saved favorites anymore.
How do I get the Favorites TAB/Icon back?
ThanksHi John,
SQL Developer depends on JDeveloper code for the Help. After closing the Favorites tab I see no way to re-open it in the UI, so I imagine there may be a bug on the JDev side. Fortunately, there is a manual fix:
In file product-preferences.xml
In directory C:\Documents and Settings\<userid>\Application Data\SQL Developer\system3.0.04.34\o.sqldeveloper.11.1.2.4.34
use Notepad to look for the lines like:
<value n="helpDynamicLinksNavigatorLocation" v="3"/>
<value n="helpFavoritesNavigatorLocation" v="0"/>
Just change the value "0" to "2"Regards,
Gary
SQL Developer Team -
SQL Developer connection to TimesTen
Hi,
I am new to SQL Developer and TimesTen DB.
I am trying to connect to a TimesTen DB running on a Solaris x86 box using a SQL Developer running on a WinXP PC. Is this possible?
The TimesTen Release I am using is 7.0.5.0.0. The SQL Developer version I am using is 1.5.4
After installing the TimesTen Client libraries on the WinXP, I was able to get the TimesTen tab in SQL Developer.
On the server I can connect using "ttIsql" as follows:
./ttIsql -connStr dsn=cas
I am not sure what I need to enter into "New/Select Database Connection" pop-up menu. I entered a "Connection Name". I set the "DSN" to "User Specified" and the "Connection string" to "dsn=cas" but I cannot get the connection setup.
Any help would be greatly appreciated.
Thanks
PaulHi Paul,
In order to connect to a remote TimesTen database, you need to first create a client DSN. The client DSN should map to the DSN "cas" on your Solaris server. To create a client DSN on Windows, follow the step by step instructions listed in the section "Creating and configuring Client DSNs on Windows" of the [TimesTen In-Memory Database Operations Guide|http://www.oracle.com/technology/documentation/timesten_doc.html]. Use ttIsql on Windows to verify that your client DSN is working, and can connect to your TimesTen database. In SQL Developer, you just need to select the same client DSN in the DSN drop down list.
Regards
Simon -
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.
Maybe you are looking for
-
I shot some footage and improted it to Final Cut, it looks fine, but when I export to compressor, it does not preserve the aspect ratio. I tried the geomotry settings, no dice. What am I doing wrong?
-
How can I style individual levels of a list separately?
Hi- I'm trying to define a list style in a slide master in Keynote 6.2.2 where each level is not only indented differently, but also formatted differently. Like this: Level 1, 14pt bold Level 2, indented, 12pt regularLevel 3, indented again, 10pt it
-
Is it possible Encrypt files in document library after uploading OOB
Is it possible Encrypt files in document library after uploading using OOB? if so please share how the above can be achieved. V Jean
-
Define a Multi Language Roadmpa in Solution Manager
Hi gurus. How can I define a multi language roadmap in Solution Manager? I'm defining a roadmap using the RMAUTH transaction, but I've just defined the roadmap in English. I need to have the roadmap in two more languages... What is the procedure t
-
Mac Bridge itunes problem/error
Hi, First I'm going to start by saying how disapointed I am in Sony technology for makng it so hard to transfer music from itunes to their smartphones. I sync my compact with my macbook pro, and some albums can't be sync'ed, others are on the memory