Oracle sql developer downlaod problem
hi
i put my oracle sql in C drive,but when i open it ,it gives me error like :"unable to find main class.Class specified is :oracle/ide/boot/Launcher
can anybody has solution
thanks a lot in advance
I have the same issue...
I've just downloaded
Oracle SQL Developer 2.1 Patch 1 (2.1.1.64.45) Oracle SQL Developer for 32-bit Windows (This zip file includes the JDK1.6._11)
I extract it straight to the c:\ drive making sure I select "Keep folder structure", double click the sqldeveloper.exe executable and I get
"unable to find main class.Class specified is :oracle/ide/boot/Launcher"
I noticed I have a directory and an entry in my environment path of :-
C:\jdk\bin
which holds a JDK v5.0 in it (don't know why it's there, I didn't build the machine).
Could this be a reason for my issues?
Gus..
Similar Messages
-
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 -
Oracle/ SQL Developer connection problem.
I have installed Oracle 11 g and SQL Developer, When I open SQL Developer and try to make a new connection ( I name the connection, put a user name in, put my password in), I click on "Test" and I get this error:
Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor The connection descroptor used by the client was:localhost:1521:ex
Can anyone explain this to me and help me resolve this issue I am having?
Thank you in advance for your help
-steve
p.s. I have also tried the user name: Scott and Password: TigerWindows 7 Home ... will have challenges at some point, as Oracle may not be completely compatible with Windows 7.
Aside from that, you may find firewall issues even if you are on the same machine, since the default connection from SQLDeveloper is to use the network (even loopback).
First step is to verify that the database and listener are running and that the database is registered to the listener. TO do that, drop into command line and issue:
1) Listener
lsnrctl statuswhich will give one of two results, if properly installed. First - listener is down
C:\temp>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:48
:13
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=FCC003L)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown errorIf the above is displayed, check the Service applet (Control Panel -> Admin Tools > Service) to ensure serivce is up, or enter "lsnrctl start", in which case the status shoud show
C:\temp>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:46
:40
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 05-FEB-2010 14:42:10
Uptime 2 days 6 hr. 4 min. 30 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oracle\app\oracle\product\10.2.0\server\network\adm
in\listener.ora
Listener Log File C:\oracle\app\oracle\product\10.2.0\server\network\log
\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=FCC003L)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\temp>2) After the service is verified up, make sure the database is up
sqlplus / as sysdbawhich should respond with something like
C:\temp>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:43:12 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL>if it gives something like
C:\temp>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:44:49 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter errorthe pull up the Control Panel, Admnistration Tools, Services and start the database. Then recheck the listener and it shoudl show some additional services such as
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "TEST" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfullyIn the above, remember the "xe" from 'Service "xe" has 1 instance(s).'. I expect to see something about that in the TNSNAMES.ORA file in your ORACLE_HOME\network\admin directory. That file should have an entry like
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = FCC003L)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)and you will note the XE on the left side of the equal sign (which is a network alias), and one XE in the (SERVICE_NAME = XE) line. On YOUR system, the XE should be replaced by whatever you called your database (often 'orcl'). REMEMBER THIS ALIAS;-) and also make note of the host that your entry uses. If your host name changes because of DHCP, you're hooped (for a while).
If the database is registered (shows up in the list), the next step is to make sure a userid is available. You could use 'system' (try to avoid using SYS since it is the master userid and if you mess that up, you mess up all your homework. In a production encvironment, every access to SYS will be audited.
So, let's create a userid called me with (in 11g case sensitive) password 'myself'. Make sure that user is allow to log in (create session) and create a table.
C:\temp>sqlplus system/oracle
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:54:38 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> create user me identified by myself;
User created.
SQL> rem to show you how to change password ...
SQL> alter user me identified by myself account unlock;
User altered.
SQL> grant create session, create table to me;
Grant succeeded.
SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productionand now see whether we can log in using the same 'network' technique we will later use with SQLDeveloper.
Do you remember the XE discussion above? Replace XE with the one on the left of the equal sign - the system looks that up to find which service it wants to access.
C:\temp>sqlplus me/myself@XE
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:58:26 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select * from dual;
D
X
SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - ProductionIf the above worked, you should have no problem accessing the system using SQLDeveloper. You simply use the HOST, the PORT and the SID (alias) or service from the "lsnrctl status" output in the SQLDeveloper fields.
If it did not work, try dropping the "@XE" to see whether you can get in (using the bequeath connection) which is useful for troubleshooting but will not help with the traditional SQLDeveloper connection. If you get in without the @XE (or whatever your alias is) but not with it, most likely either your listener is not up or your firewall is blocking the access to the listener. -
I'm new to Oracle. I have installed Oracle SQL Developer 3.0.04 and Java 1.7. When I run Oracle SQL Developer, I will get the window Running this product is supported with minimum Java version of 1.6.0_04 and a maximum version less than 1.7. This product will not be supported....
Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?
I have already downloaded Java 1.6 but don't know whether I need to uninstall Java 1.7 first. If don't need to uninstall Java 1.7, how can I set Oracle SQL Developer to run with Java 1.6?
Thanks for any help.
Edited by: 881656 on Aug 25, 2011 11:22 AMHi,
One prior post discussing the use of Java 7 is:
SQL Developer 3.0 and Java SE 7?
There is no need to uninstall any Java version (except if you have disk space constraints) and no problem switching between Java versions. This may be controlled in the sqldeveloper.conf file in your ...\sqldeveloper\sqldeveloper\bin directory via the SetJavaHome line. For example:
#SetJavaHome ../../jdk
SetJavaHome C:/Program Files/Java/jdk1.6.0_26
#SetJavaHome C:/Program Files/Java/jdk1.7.0Regards,
Gary Graham
SQL Developer Team -
Oracle SQL developer 3.2.20.09 connection problem
hello everyone. I just installed oracle SQL developer on mavericks. active JDK is 1.6.0_65. host name : som3a... now the problem is , whenever i try to make a new connection using the previous info and specifiying the default port 1433 i always get the following error
Status : Failure -Test failed: Cannot connect to Microsoft SQL Server on som3a
- can these fields ( connection name , username ,password ) take any values or do they need to be something special like ? i mean the host name must be som3a right so do the same constraint apply on these fields ?
-i tried telnet som3a 1433 , it gets stuck at "trying..."I think you have the wrong forum, as this forum is dedicated to the Oracle Database Cloud Service.
- Rick Greenwald -
Oracle SQL Developer Screen Flickers - Problem Fixed - JDK 1.6
Hi,
I'm using the latest version of Oracle SQL Developer (sqldeveloper-1.1.2.2579) on a Windows XP SP2 system and the application screen constantly flickers. Has anyone else experience this behavior? It's really annoying.
Message was edited by:
bitmapI'm using the default (non modified) ide.conf.
# Oracle IDE Configuration File
# Copyright 2000-2006 Oracle Corporation.
# All Rights Reserved.
IncludeConfFile jdk.conf
AddJavaLibFile ../../ide/lib/ide-boot.jar
SetMainClass oracle.ide.boot.Launcher
AddVMOption -Xmx512M
# Turn off verifications since the included classes are already verified
# by the compiler. This will reduce startup time significantly. On
# some Linux Systems, using -Xverify:none will cause a SIGABRT, if you
# get this, try removing this option.
AddVMOption -Xverify:none
# JavaThread options are required to run JDeveloper with Sun Microsystems virtual
# machine (-client and -server) because of a bug that was causing the VM to run
# full GCs with realtime thread priorities. The bug is fixed in J2SE 1.5.0_06.
# See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101898 and
# Oracle bug 4759180 for more info.
AddVMOption -XX:JavaPriority10_To_OSPriority=10
AddVMOption -XX:JavaPriority9_To_OSPriority=9
# On some Windows Terminal Server installations, relocation errors of
# system DLLs can sometimes occur when using OJVM. Use this option to
# specify a heap base address for OJVM to resolve this problem. This
# option only works with OJVM and cannot be used with any HotSpot JVM.
# AddVMOption -Xheapbase100000000 -
Problems when starting with oracle SQL developer
Hello,
I am very much new with oracle SQL developer. I use oracle 10g and have a database named 'pallabDB' with username: xxxxxx and paswd:yyyyyy. I have installed oracle SQL developer.But i am unable to start up.What i should do? If any body replies it will be a great help.Thanks in advance.But i am unable to
start up.How to understand this sentence without confusion?
Can you explain exactly what is your problem at start up of SQL Developer? -
Problem in deploying Java Extension to ORacle SQL Developer
Hi all,
I have developed a simple Java extension using Oracle Jdeveloper. This extension creates a preference in Tools->Preferences.
I have deployed it on Jdeveloper and it works fine. But when I deploy it on Oracle SQL Developer its functionality does not work
I am using JDeveloper 11.1.1.4
and Oracle SQL Developer 3.2.20.09 (Latest Version).Hello,
You are giving few informations. Is the extension listed in the extensions tab in the 'About' tab? Are you able to deploy any extension to SQLD?
Joop -
Problems using SQL*Loader with Oracle SQL Developer
I have been using TOAD and able to import large (milllions of rows of data) in various file formats into a table in an Oracle database. My company recently decided not to renew any more TOAD licenses and go with Oracle SQL Developer. The Oracle database is on a corporate server and I access the database via Oracle client locally on my machine. Oracle SQL Developer and TOAD are local on my desktop and connected through TNSnames using the Windows XP platform. I have no issues with using SQL*Loader via the import wizard in TOAD to import the data in these large files into an Oracle table and producing a log file. Loading the same files via SQL*Loader in SQL Developer, freezes up my machine and I cannot get it to produce a log file. Please help!
I am using SQL Developer version 3.0.04. Yes, I have tried it with a smaller file with no success. What is odd is that the log file is not even created. What is created is a .bat file a control file and a .sh file but no log file. The steps that I take:
1.Right click on the table I want to import to or go to actions
2. Import Data
3. Find file to import
4. Data Preview - All fields entered according to file
5. Import Method - SQL Loader utility
6. Column Definitions - Mapped
7. Options - Directory of files set
8. Finish
With the above steps I was not able to import 255 rows of data. No log file was produced so I don't know why it is failing.
thanks.
Edited by: user3261987 on Apr 16, 2012 1:23 PM -
Hi,
I just got a new computer with Windows 7 Professional (32bit) and i tried to copy my Oracle SQL Developer from an old one (v. 2.1.1.64.45) and I just couldn't find Connection menu. I tried different solutions that I find on the internet and nothing worked (also tried installing new version 3.0 EA2) and still nothing). Could you please help me because I need this app badly?
thanks in advanceYeah, I get this:
Exception initializing 'oracle.dbtools.raptor.RaptorDBAddin' in extension 'Oracl
e SQL Developer': java.lang.ExceptionInInitializerError
at oracle.dbtools.raptor.RaptorDBAddin.initialize(RaptorDBAddin.java:126
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
rImpl.java:407)
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:1949)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
at oracle.ide.Ide.startup(Ide.java:703)
at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
at oracle.ideimpl.Main.start(Main.java:184)
at oracle.ideimpl.Main.main(Main.java:146)
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:597)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
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:597)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
189)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
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:597)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
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)
Caused by: java.lang.NullPointerException
at oracle.i18n.text.OraTerritory.getInstance(OraTerritory.java:101)
at oracle.dbtools.raptor.config.DBConfig.<clinit>(DBConfig.java:325)
... 33 more
Exception initializing 'oracle.dbtools.raptor.standalone.RaptorStandaloneAddin'
in extension 'Oracle SQL Developer Extras': java.lang.NoClassDefFoundError: Coul
d not initialize class oracle.dbtools.raptor.config.DBConfig
at oracle.dbtools.raptor.utils.URLChooserShortcuts.<clinit>(URLChooserSh
ortcuts.java:35)
at oracle.dbtools.raptor.standalone.RaptorStandaloneAddin.initialize(Rap
torStandaloneAddin.java:178)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
rImpl.java:407)
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:1949)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
at oracle.ide.Ide.startup(Ide.java:703)
at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
at oracle.ideimpl.Main.start(Main.java:184)
at oracle.ideimpl.Main.main(Main.java:146)
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:597)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
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:597)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
189)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
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:597)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
Exception in thread "EditorLoader" java.lang.NoClassDefFoundError: Could not ini
tialize class oracle.dbtools.raptor.config.DBConfig
at oracle.dbtools.raptor.oviewer.base.ViewerAddin.loadXMLEditors(ViewerA
ddin.java:221)
at oracle.dbtools.raptor.oviewer.base.ViewerAddin$1$1.run(ViewerAddin.ja
va:130)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not
initialize class oracle.dbtools.raptor.config.DBConfig
at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.viewSelection
Changed(NavSelectionListener.java:176)
at oracle.ide.view.View.fireViewSelectionChangedImpl(View.java:495)
at oracle.ide.view.ViewDecorator.fireViewSelectionChangedImpl(ViewDecora
tor.java:59)
at oracle.ide.view.View.fireViewSelectionChanged(View.java:485)
at oracle.ide.view.View.updateSelectionImpl0(View.java:444)
at oracle.ide.view.View.updateSelectionImpl(View.java:429)
at oracle.ide.view.View.updateSelection(View.java:306)
at oracle.ideri.navigator.DefaultNavigatorWindow$4.viewSelectionChanged(
DefaultNavigatorWindow.java:1108)
at oracle.ide.view.View.fireViewSelectionChangedImpl(View.java:495)
at oracle.ide.view.View.fireViewSelectionChanged(View.java:485)
at oracle.ide.view.View$2.actionPerformed(View.java:349)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -
Problem in connection to Oracle SQL Developer
Hi All,
I am trying to connect to remote machine database through Oracle SQL Developer, it is giving me teh following error.
Status: Faliure -Test failed :io connection :The Network Adapter could not establish the connection .
I had given the hostname as the name which is assigned to that server, it didnt work.
Later i tried with the IP address of the Server, it worked.
Can anybody tell me how can i connect by giving hostname instead of the IP address.
Thanks in advance,
VinayHi Vinay,
One way would be to add an entry in your hosts file. On windoze you can find this in
%SystemRoot%\system32\drivers\etc
Regards
Peter -
Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64
Hi Everyone,
I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
An error was encountered performing the required operation Got a minus one from read call .Vendor code 0
However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
My TNSNAMES .ora file is as follows:
ORACLE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORACLE)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
My Listener.ora file is as follows:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME = Oracle)
(ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
(SID_NAME = Oracle)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
ADR_BASE_LISTENER = D:\app
My Sqlnet.ora file is as follows:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
ORA 12537 : TNS Connection closed
Thanks for your patience and help in advance.
---PrashantHello Irian and Sue,
I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
Used parameter files:
D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
*)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
TNS-12537: TNS:connection closed
Thanks for your response to my initial post.Do u have any other methods to resolve this? -
How to get all tables in oracle sql developer with MS SQLServer
Hi All,
I am using microsoft SQL server 2000. For displaying the tables and other stuff i am using oracle SQL developer tool. The problem is when i connect to sql developer with oracle database i can see all the tables in that database. But when i connect to MS SQL server database it is not showing all the tables in that database. I don't know why?.
i tried doing the samething using another tool called Aqua Data Studio , there i can able to see all the tables in microsoft SQL server 2000.
do you have any knowledge regarding this, why i am not getting all the tables in oracle sql developer when i connect to microsoft SQL server 2000.Same issue here. Haven't found the answer yet..
-
How to create a counter using Oracle SQL Developer?
Is there any way to create a counter using Oracle SQL Developer to create the below scenario. Meaning it will recorded down the name of user and ID and time and the date they login.
Library portal home statistics shows how many users (outside and within the campus) visit the library portal.
Page Access statistics is recorded on an hourly basis. Users may select the statistics by
yearly (statistics displayed by all months in the selected year)
monthly (statistics displayed by all days in the selected month)
daily (statistics displayed by all hours in the selected day)I'm giving here one basic post - hope this will solve your problem --
SQL>
SQL>
SQL> create table audit_info
2 (
3 usr varchar2(50),
4 log_time timestamp(6)
5 );
Table created.
SQL>
SQL>
SQL> create table err_log
2 (
3 log_cd varchar2(20),
4 log_desc varchar2(500)
5 );
Table created.
SQL>
SQL>
SQL> create or replace procedure ins_err(errcd in varchar2,
2 errnm in varchar2)
3 is
4 pragma autonomous_transaction;
5 begin
6 insert into err_log values(errcd,errnm);
7 commit;
8 end;
9 /
Procedure created.
SQL>
SQL>
SQL> create or replace procedure ins_aud(ud in varchar2,
2 unm in varchar2)
3 is
4 pragma autonomous_transaction;
5 begin
6 insert into audit_info values(ud,unm);
7 commit;
8 exception
9 when others then
10 ins_err(sqlcode,sqlerrm);
11 end;
12 /
Procedure created.
SQL>
SQL>
SQL>
SQL> create or replace trigger log_odsuser1
2 after logon on odsuser1.schema
3 begin
4 ins_aud('ODSUSER1',sysdate);
5 exception
6 when others then
7 ins_err(sqlcode,sqlerrm);
8 end;
9 /
Trigger created.
SQL>
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 12 12:21:09 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
SQL>
SQL>
SQL>
SQL> set serveroutput on
SQL>
SQL>
SQL> select * from audit_info;
USR
LOG_TIME
ODSUSER1
12-JUN-07 12.00.00.00000000 AMHope this will solve your purpose.
Regards.
Satyaki De. -
Oracle SQL Developer freezes and locks up computer randomly
I attempted to find a solution to this before posting. I looked through the first 40 pages of this forum and on Google, through the Developer documentation, etc. with no luck.
The problem: while using Oracle SQL Developer, the computer randomly freezes. Things work, but it hangs too often and for too long to use. This is random - it can happen every 10 seconds or every 2 minutes. The mouse will lock up, and the keyboard buffer will get all messed up. For instance, if it happens to freeze while I'm hitting "backspace", it will delete many lines of text (I've lost a bit of work because of this in the past). The freezing will last about 2 to 20 seconds, and the only way out of it is to ctrl+alt+delete and kill SQL Developer.
If SQL Developer is running, and I'm in a different window - it will freeze the other windows as well. Again, it's impossible to use unfortunately. My coworker doesn't have the same problem, and he's connecting to the same database with the same version using Windows Vista. It must be something on this computer. I reformatted about 1 month ago, so it's a pretty fresh install and I haven't installed much of anything yet.
I'm using Windows Vista Enterprise 32-bit w/SP1.
This was occurring with older versions of SQL Developer (1.2). I'm using the newest install that included the Java JDK. I've completely removed Java, my Oracle installs, and a host of other attempts to fix this, and nothing changes. I've tried running the .exe in the bin directory as administrator as well.
Currently using Oracle Developer 1.5.1.54.40.
Any ideas?I tried dumping the contents, but the java dump wasn't showing anything at all, and it would never freeze while I had the console window in focus, so it wasn't very helpful unfortunately.
I fixed this issue by uninstalling the Java runtime on this machine and installing the Java JDK 6 Update 7 from java.sun.com/javase/downloads . I then downloaded the SQL Developer 1.5.1 version without the Java runtime included, and pointed it to the Update 7 .exe file upon first load.
I was using JDK 6 Update 6 previously, and it must have been behind the errors. Note that the Update 7 has to be downloaded from that website as it's a new version that hasn't been posted on the regular java.com site yet.
Message was edited by:
user645599
Maybe you are looking for
-
How do I use Sun Web Server 7.0u1 reverse proxy to change public URLs?
Some of our installations use the Sun Web Server 7.0 (update 1, usually) for hosting some of the public resource and reverse-proxying other parts of the URI namespace from other backend servers (content, application and other types of servers). So fa
-
Receiver Determination Step in process (not in directory)
I get a little confused about the receiver determination step when i doing the process design i have looked through the example: http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm 1.does it mean that when i get
-
Size available on mailbox disk
Hi all, Im running this command : Get-MailboxDatabase -Status | Sort-Object DatabaseSize -Descending | Format-Table Name, DatabaseSize, AvailableNewMailboxSpace Then i get info about database size and Available New mailbox Space (white Space). What i
-
Is there any depenancy to upgrade EBO to 4.0?
Currently we are using BOXI 3.1 SP 2 FP 2.2. and we are planning for upgrade to 4.0. Our BW system is 7 with enhance pack 1 SP06. We are also planning to upgrade BW to 7.3 as well. Is there any dependnacy between BO or BW? Regards, Sen.
-
How to add event listener?
i want to add event listener when i click on a button in mxml, the event listener should be added in the action script file, how to do this? can anyone help? urgent!!!