Sql developer 1.2.1 failed sys user login
Setting up a connection with the sys user in sql developer connections return invalid username/pw.
I have the role set to sysdba.
I can connect as non sys users with sql developer.
I can connect via sqlplus with the sys user and pw.
What would cause me not to be able to connect with the sys user with sql developer?
Thanks
This is the Oracle Designer forum. Not the SQL Developer forum.
Please repost in the proper forum.
Similar Messages
-
SQL Developer and Blocking View of Other Users' Objects
I am using SQL Developer in a classroom environment. My student users can “see” Other Users objects. They cannot modify, but none the less can see the structure and data.
I only want the users to be able to see their own objects. Is there a privilege that needs to be revoked? (In using SQL Plus command line, this was not a problem.)
Thanks.
-KarenKaren,
From sysdba account (sys/system). Run following and verify for that particular user grant is revoked. May be exit from sql developer and log back in or refresh view.
YOu can also potenially revoke all the privs from all non admin uses i.e.r even connect/resource roles and grant them back.
revoke select any table from yourschemaname;
revoke connect from schemaname;
revoke create session from schemaname;
revoke resource from schemaname;
Then just grant privs as need basis
grant connect to schemanme;
grant resource to schemaname;
grant create session to schemaname;
..Regards
Edited by: OrionNet on Jan 23, 2009 2:01 PM -
After applying patchset 11.1.0.7 to Oracle 11g (11.1.0.6) running on Windows 2003, when starting SQL Developer 1.5.1 I got an error:
"Unable to find main class. Class specified is: oracle/ide/boot/Launcher".
Any idea? Thanks.It is possible that the patch has replaced you shortcut with one pointing to the version within the 11g home. Try running sqldeveloper directly from the executable in the 151 directory.
-
SQL Developer 1.5.4 failed to migrate MS Access 2002 database
Hello,
I tried to migrate a MS Access 2002 Database to Oracle.
Migration of tables failed in both ways:
Exporter for MS Access Rel. 3.2.0.00.13 displayed the following error:
Error #5 - XMLExporter - Ungültiger Prozeduraufruf oder ungültiges Argument c:\Access\Stammdaten_Beton_test.mdb Database Schema Export did not complete successfully.
(translated German parts: "Invalid procedure call or invalid argument")
When using quick migration wizard also an error "Ungültiger Prozeduraufruf oder ungültiges Argument" is raised after Access starts.
AutoExec, "ShowSplashScreen("_OracleSplashScreen",3)".
Any ideas?
Access version is MS Access 2002 SP3 (German) on a German Windows XP SP3 system.
Thank you and best regards
Volker RickeThere was a similar issue logged here
Migrating MS Access database error
They downgraded the mdb file to 2000 and they where able to capture it then.
We will be looking at this issue for a future release.
Regards,
Dermot. -
SQL Developer 3.1 not migrating Sybase Users to Oracle 11g R2
I have tried both online and offline capture and the Sybase users are not being captured (Tables, Views, Procedures Worked). I searched this forum and saw another post about this issue but the Oracle representative never came back with a final finding/answer. We have 1000+ users to migrate so all help is appreciated.
Hello.
sorry for the delay (if you need quicker response I suggest that you open a Service Request in My Oracle Support).
In your first post you said that you tried online and offline migration. So for an offline migration you have created the scripts using the Create Database Capture Scripts menu button. Then you have run that scripts against Sybase. Has there been created a file SYB15_SYSUSERS.dat (or SYB12_SYSUSERS.dat if your Sybase version is 12)? If that file has been created, does it contain anything or is it empty?
Regards
Wolfgang -
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') -
How to connect as different user in SQL Plus Worksheet in SQL Developer
This is driving me nuts! I have a script with different "CONNECT" commands to different schemas. What is the right synatx when using SQL Worksheet in SQL Developer when connecting to a different user? Greatly appreciate help on this. Thanks!
Which version of SQL Developer are you using? What syntax are you using?
Using SQL Developer 2.1.0.63.73, running selected statements as a script, I could get connect to work fine with the following examples:
connect
select user, global_name from global_name;
connect;
select user, global_name from global_name;
connect user/password@tnsalias
select user, global_name from global_name;
connect user/password@tnsalias;
select user, global_name from global_name;Unfortunately, even though the connect on it's own prompts for user, password and tns alias (and says a blank tns alias is the current connection), the following don't work:
connect user/password
select user, global_name from global_name;
connect user/password;
select user, global_name from global_name;Also note that the connection performed by this only exists while the script is being executed - only the script stops/ends the connection is disconnected.
theFurryOne -
Two user profiles in SQL Developer
Hello,
is it possible to start 2 instances of SQL Developer on Windows with 2 different user profiles at the same time? I like to have one instance with a set of connections and one instance with another set of connections. Maybe it is also possible to color the connections with a different color (like TOAD) at this possibility I don't need 2 different profiles. I need for better overview which project I'm working on. Ok, I can name my connection with prefixes for example, but when many SQL windows are opened, the differences are not so clear.
I'm also happy for different solutions.
Best regards
CarstenMmm, yes, but you could mix up a batch file for using one file or the other.
And this is really just a Java parameter, so you should be able to just pass it as command line parameter to the executable, like:
sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"Hope that helps,
K.
Edited by: -K- on 07/11/2011 14:27 -
How create new user in sql developer?
so i tried creating a new user in SQL developer, under the worksheet section, for a 12c database
create user Hares1
identified by book;
but I get this error
SQL Error: ORA-65096: invalid common user or role name
Sorry I know this is a generalized question. I only learned how to actually connect today - any help of a next step would be appreciated.so i tried creating a new user in SQL developer, under the worksheet section, for a 12c database
create user Hares1
identified by book;
but I get this error
SQL Error: ORA-65096: invalid common user or role name
The 'next step' is RTFM. Sorry but for 12c multitenant you simply MUST read the documentation about the new multitenant architecture.
Your 'problem' is not creating a user with sql developer - it is how to create users in 12c.
See my extended comments and reply in this thread (and several other threads I reference there) which addresses your exact problem
12c: ORA-65049: creation of local user or role is not allowed in CDB$ROOT
http://www.oracle.com/pls/db121/homepage
I suggest you first read chapters 17 and 18 of the Concepts doc about the new multitenant architecture of 12c.
http://docs.oracle.com/cd/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
The 'Common Users in a CDB section answers your question
>
The name of every user-created common user must begin with the characters c## or C##. (Oracle-supplied common user names do not have this restriction.)
>
There are two types of users in 12c: common and local. You need to understand the difference between them.
Until you read those doc chapters you won't understand these terms: common user, local user, CDB, PDB, root container, and many others.
As I said in that other thread:
You will NOT be successful working with 12c unless you have read and understand the new multitenant architecture that it uses. There are very simple things (connecting, startup/shutdown, creation of users, grants to users, etc) that just don't work the same old way anymore.
If you try to just 'plow through it' without reading about it you will likely get an exception that you won't understand and it will likely use a term (CDB$ROOT) that you won't understand. Then you will hunt all over (or worse, ask in the forums) to find out about that term.
Yes - I know how adverse some people are to RTFM replies. But for 12c multitenant it is mandatory to read the docs no matter how expert you may be in previous Oracle versions. -
Publish to APEX in SQL Developer
Hello:
I wrote a query in SQL Developer and I want to utilize the Publish to APEX feature.
In SQL Developer, I right-click and select Publish to APEX.
I select the workspace, enter an application, select a theme, and enter a page.
I receive a message stating that it was successful.
I then go to APEX and login in as myself into my workspace which is the same workspace I designated in SQL Developer for this publish.
At the login, I enter my username and password.
I go to Application Builder, select the new application that was published, click Run.
I'm prompted for a login, so I enter my username and password and I receive Invalid Login Credentials.
Does anyone know what is causing this issue? I am the developer. I am an administrator. I'm using the same logins I always do when working with APEX. I'm not sure why I'm receiving this message.
Can someone help me?
Thanks.I don't think Apex is set up to accept this, but as the previous post says once you have the username/password of the underlying Oracle schema you should be able to do this. My particular case was jDeveloper and offline database objects, but the principle is the same. If you have admin access to the database go in as sys and change the password of the underlying Oracle user.
-
Connection login/password in SQL Developer
I had install the Database App Development VM Appliance but i can not create a connection in SQL Developer.
I tried the following user/password :
sys/oracle
sys/sys
hr/oracle
oracle/oracle
With hr/oracle i could connect in Oracle Enterprise Manager (not as SYSDBA), but could not create a connection in SQL Developer.
The only instructions I found about it was in the terminal message:
"All passwords are oracle or noted if otherwise."
How can I connect to database as SYSDBA?
Thanksi used...
sys/oracle
connection type: basic
role: sysdba
hostname: localhost.localdomain
port: 1521
sid: orcl
wouldn't it have made sense if the VM had these settings saved in it when it was loaded? -
Hi All.
I hope someone can help.
I have recently installed Oracle XE on my Vista Ultimate laptop and it is up and running with no apparent problems. I then connected to the HR schema on XE with no problems using SQL Developer 1.2.1.3213 (OLD Version). I noticed that SQL Developer 1.5.4.59.40 (NEW version) was available and downloaded it (the offering without JDK included) and renamed the "C:\Program Files\SQLDeveloper" folder holding the older version to "C:\Program Files\SQLDeveloper_Orig" and placed the new version of SQL Developer in the Prog Files directory to give "C:\Program Files\SQLDeveloper".
I then ran SQLDeveloper.exe (NEW) and when requested gave the JDK path as "C:\Program Files\Java\JDK_1.6.0_11\bin\java.exe" ('Java -version' gives 1.6.0_11-b03) and migrated over the settings from the previous version of SQLDeveloper (OLD).
The Application loads fine but when i attempt to connect to XE's HR schema i get the following error:
"IO Exception: Undefined Error
VENDOR CODE 17002"
I have searched to try and find out what is going on but cannot find any solutions that work. The previous 17002 error solutions on this forumn have all failed.
These included changing the JDK.conf file to hold route to JDK directory and also creating a 'bat' file.
My system does not have the directory for the JDK in it's PATH environment setting (either USER or SYSTEM) but does include a directory path under SYSTEM environment vars to another version fo JDK on my machine under "C:\Program Files\Sun\JDK\". I thought this may be causing a conflict but it is version 1.6.0.05_b13 and is also compatible-is it not? I also have Java JRE6 (1.6.0_12-b04) on my machine - this does not have a PATH variable and was not referenced when loading SQL Developer when loading the first time.
Can anyone help me resolve this, why can the previous version still connect OK to XE and not new version? is there something i am missing? Do i require the Java JDK Directory to be placed under a PATH environment SYSTEM variable?
Thanks in advance,
M
Edited by: user592047 on 16-Mar-2009 10:08Taken from about SQL Developer:
Version:
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_11
Oracle IDE 1.5.4.59.40
Versioning Support 1.5.4.59.40
Properties:
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_11; Windows Vista 6.0 x86; en_GB) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 10390897243225
ide.build MAIN-5940
ide.conf C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 2672
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\M\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\M\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.startingcwd C:\Program Files\sqldeveloper_new
ide.user.dir C:\Users\M\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\M\Documents\SQL Developer
ide.work.dir.base C:\Users\M\Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files\Java\jdk1.6.0_11\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.6.0_11\jre
java.io.tmpdir C:\Users\M\AppData\Local\Temp\
java.library.path C:\Program Files\sqldeveloper_new;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oracle\xe\app\oracle\product\10.2.0\server\bin;C:\Program Files\CodeGear\RAD Studio\5.0\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft Network Monitor 3\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_11;C:\Program Files\Sun\SDK\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Nmap
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_11-b03
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_11
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 11.0-b16
jdbc.library /C:/Program Files/sqldeveloper_new/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\Program Files\sqldeveloper_new
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/Program Files/sqldeveloper_new/jlib/orai18n.jar
os.arch x86
os.name Windows Vista
os.version 6.0
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jdk1.6.0_11\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_11\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.6.0_11\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 GB
user.dir C:\Program Files\sqldeveloper_new\sqldeveloper\bin
user.home C:\Users\M
user.language en
user.name M
user.timezone Europe/London
user.variant
windows.shell.font.languages -
How to solve Oracle SQL Developer connection problem ?
Folks,
Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
My OS is Linux and connects to internet successfully.
In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
Connection Name: DB1 (this is my database name as well)
Username: SYS (this is the user name I used to login to the Console)
Password: SYS (this the password used to login to the Console)
Connection Type: Basic
Host Name: localhost
Port: 1158
SID: DB1 (this is created during installing the Database)
But the error message comes up: "Status: Failure - IO exception Connection Reset."
Can any folk tell me how to solve Oracle SQL Developer connection problem ?user8860348 wrote:
Folks,
Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
My OS is Linux and connects to internet successfully.
In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
Connection Name: DB1 (this is my database name as well)
Username: SYS (this is the user name I used to login to the Console)
Password: SYS (this the password used to login to the Console)
Connection Type: Basic
Host Name: localhost
Port: 1158
SID: DB1 (this is created during installing the Database)
But the error message comes up: "Status: Failure - IO exception Connection Reset."
Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
password: enter_your_correct_password given at the time of oracle installation
role: select sysdba if you would connect as sysdba else select normal for users other than sys
hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
to find the hostname open terminal/command prompt in oracle installed machine
type ---> hostname
type ---->ping hostname
you can find the ipaddress of the server
port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
SID: DB1
try it
Good Luck -
SQL Developer and TOAD connection.
Hi,
I am able to see the DDL script for tables using TOAD, but NOT using SQL Developer (2.1.1). Same user, pass, and tnsname file.
They use same tnsname.ora file on my computer. I set basic and TNS connection for SQL Developer.
The connection is from my computer to the server (Oracle 11.1.0.7 EE).
ORA-31603: object "ALARM_DEFINITION" of type TABLE not found in schema "AIRCOM"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA", line 3241
ORA-06512: at "SYS.DBMS_METADATA", line 4812
ORA-06512: at line 1
It is same with packages. I cannot see package body.
What is the different and which additional privileges I need to see the DDL script?
Thanks in advance for your help!
KonstantinI don't think it's a connection issue. There seem to be differences in how Oracle and Toad access system views to show objects. If you search the boards you see it has effected a couple of people. Sometimes they post what permissions they changed to get things to work for them.
ie... Re: Issue with viewing Package Body in SQL Developer 2.1 RC1
I don't think I've seen any official documentation to indicate what privileges need to be granted in order to see them thought. And I think there is a bug that prevents generating DDL for tables owned by other users. I don't know if that extends to generating stored procedure code. -
How could I unlock the account HR in Oracle SQL Developer?!
Hi Everybody! I am new with using ORACLE SQL Developer! and I just wanted ask how could I solve this problem: "ORA-28000 The account is Locked!" Please anyone can help me?? As I know, When you just need to make a new connection, you have to type "hr" as your username, and password! I hove done that many times, but it didn't work :(( I have also installed Oracle XE g11 and it seems that there is no problem with it, BUT my problem with the first program "Oracle SQL Developer!" PLEASE anyone can reply???
Edited by: 894546 on 02-Nov-2011 14:09Hi,
Apparently you have both SQL Developer and Oracle 11g XE installed, but is not entirely clear if you know how to create a connection. If not, you should first read the SQL Developer tool's Help|Table of Contents|SQL Developer Concepts and Usage|Getting Started... help.
Or use the Documentation tab at http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
Anyway, since you installed 11g XE, you should remember the password you picked for the SYS user. Launch SQL Developer, create a connection for SYS (whose role must be set to SYSDBA) using host=localhost, port=1521, sid=xe (these are all defaults and I doubt you overrode any of them). Once that connection exists, just follow Timo's instructions from his initial post. Let me repeat them, hopefully without typos, and in a bit more detail:
1) Open your SYS connection in the Connections view
2) Expand it, scroll down to the Other Users node in the tree
3) Right-click on the HR node, click on Edit User... from the context menu
4) Uncheck the Account is Locked checkbox in the Create/Edit User dialog
5) Click on the Apply button at the bottom of the dialog
or
1) Open your SYS connection in the Connections view
2) From the Worksheet, execute ALTER USER HR ACCOUNT UNLOCK
Now your HR connection should no longer display an account locked message when you try to open it.
Have fun,
Gary
SQL Developer Team
Maybe you are looking for
-
how do I edit a PDF using Pro
-
Hi All, I want to view the list of employees for 3 different company codes who entered the working hours from Sept-1st to till date or who didnt enter the working hours. Any t-code is there to get the details or anyother way? Thank you.
-
Recording off when exported to Quicktime
I created a presentation in Keynote, then recorded the slideshow to add voiceover. I then exported to QuickTime, with the recorded timing feature checked off. All seemed good, until about 3 slides into the presentation and the voiceover was off a s
-
hi experts, i would like to knw wether ther is a tcode wherin if i given the order no: i will get the invoice status/invoice details..
-
How to configure sudo for particular command with arugment
Hi All, I need to configure sudo for a below activity, Its working fine User_Alias NOC_L1_USER = baj33, edg246 Host_Alias NOC_L1_HST = ch02520 Cmnd_Alias NOC_L1_CMD = /bin/su - root -c /usr/bin/dsmc q backup "*" NOC_L1_USER NOC_L1_HST = NOPASSWD: NOC