Oracle SQL DEVELOPER ERROR
Hello everyone
Can anyone here please help me with oracle sql developer error
My problem is that i have installed oracle sql developer as a root and now when i execute the following command
[root@localhost tmp]# sqldeveloper
Oracle SQL Developer
Copyright (c) 2008, Oracle. All rights reserved.
Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
/opt/oracle/softwares/jdk1.5.0.19
Error: /opt/oracle/softwares/jdk1.5.0.19/bin/java not found
As you can see i did install java but still i keep getting that error
Thank you
From what you have shown us, we can't tell that you have installed java. What do you get from the following command?
/opt/oracle/softwares/jdk1.5.0.19/bin/java -versiontheFurryOne
Similar Messages
-
I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name> is not present in the database. Was it compiled?'
instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.Sounds like you do not have the correct privileges. What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest? If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
The role SELECT_CATALOG_ROLE
The system privilege SELECT ANY DICTIONARY
And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
The role EXECUTE_CATALOG_ROLE
The system privilege EXECUTE ANY PROCEDURE
Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
Best wishes,
Gary -
Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918
Hi,
I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
My os is win 7 x64(amd processor ).
Thank you
BaldwinA new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues. -
Oracle/sql developer error message....
Hi All,
I have this sql and get the error: Please help! Urgent! Thank you...thank you....
ORA-01722: invalid number
01722. 00000 - "invalid number"
*Cause:
*Action:
WITH
REPORTDATE AS
(SELECT MAX(MMR_DATE) AS RPT_DATE
FROM RESULTS.MMR_MONTH_DEALERS
WHERE STAGE_ID >= 12 AND STAGE_ID <= 15
ALLACTIONS AS --ACTIONS
(SELECT
AH.PART_DEALERID AS PART_DEALERID,
results.gbst.get_element(AH.action_type2gbst_elm) AS ACT_TYPE,
results.gbst.get_element(AH.action_subtype2gbst_elm) AS ACT_SUBTYPE,
results.results_tools.get_action_group_name(AH.action_summ2act_grp) AS ACT_HIST2ACT_GRP,
AH.total_solicited
-- AH.ACT_TYPE AS "ACT_TYPE",
-- AH.ACT_SUBTYPE AS "ACT_SUBTYPE",
-- AH.ACT_HIST2ACT_GRP AS "ACT_HIST2ACT_GRP"
FROM
RESULTS.TABLE_ACTION_SUMM AH --SA.TABLE_ACTION_HISTORY AH
WHERE
AH.SUMMARY_DATE >= (SELECT RPT_DATE FROM REPORTDATE)
AND AH.SUMMARY_DATE < ADD_MONTHS((SELECT RPT_DATE FROM REPORTDATE),1)
-- AH.ACTION_COMP__DATE >= (SELECT RPT_DATE FROM REPORTDATE)
-- AND AH.ACTION_COMP__DATE < ADD_MONTHS((SELECT RPT_DATE FROM REPORTDATE),1)
-- AND AH.ACT_RESULT = 'ACTION_PROCESSED'
and results.gbst.get_element(AH.action_type2gbst_elm)in ('EMAIL','LETTER','LETTEREMAIL','PHONE')
AND AH.PART_DEALERID = '00333' --(AH.PART_DEALERID = '{?Dealer}' or '{?Dealer}' = 'ALL')
ORDER BY
PART_DEALERID
GRPACT AS --ACTIONS CATEGORIZED
(SELECT
PART_DEALERID AS PART_DEALERID,
ACT_TYPE AS ACT_TYPE,
ACT_SUBTYPE AS ACT_SUBTYPE,
ACT_HIST2ACT_GRP AS ACT_HIST2ACT_GRP,
COUNT(*) AS CNT
FROM
ALLACTIONS -- RESULTS.TABLE_ACTION_SUMM
GROUP BY
PART_DEALERID,
ACT_TYPE,
ACT_SUBTYPE,
ACT_HIST2ACT_GRP
ORDER BY
PART_DEALERID
ACT_HIST AS --ACTIONS IDENTIFIED
(SELECT
GA.PART_DEALERID AS PART_DEALERID,
GA.ACT_TYPE AS ACTION_TYPE,
GA.ACT_SUBTYPE AS ACTION_SUBTYPE,
AGL.GROUP_NAME AS ACTION_GROUP,
GBST.GET_ELEMENT(ACL.MEDIA_TYPE2GBST_ELM) AS MEDIA_TYPE,
GBST.GET_ELEMENT(ACL.ACTION_STAGE2GBST_ELM) AS STAGE,
GA.CNT AS CNT_ACTION
FROM
GRPACT GA -- RESULTS.TABLE_ACTION_SUMM
INNER JOIN SA.TABLE_ACTION_GROUP_LIST AGL
ON GA.ACT_HIST2ACT_GRP = AGL.OBJID
INNER JOIN RESULTS.ACTION_CONTROL_LIST ACL
ON AGL.OBJID = ACL.ACT_CONTROL_LIST2ACT_GRP
AND GA.ACT_SUBTYPE = GBST.GET_ELEMENT(ACL.ACT_SUBTYPE2GBST_ELM)
AND GA.ACT_TYPE = GBST.GET_ELEMENT(ACL.ACT_TYPE2GBST_ELM)
ACTCNTS AS --ACTIONS SUMMED UP
(SELECT
PART_DEALERID,
SUM("H") AS "H", SUM("I") AS "I", SUM("J") AS "J", SUM("K") AS "K",
SUM("L") AS "L", SUM("M") AS "M", SUM("N") AS "N", SUM("O") AS "O",
SUM("H") + SUM("I") + SUM("J") + SUM("K") +
SUM("L") + SUM("M") + SUM("N") + SUM("O") AS "P",
SUM("Q") AS "Q", SUM("R") AS "R", SUM("S") AS "S", SUM("T") AS "T",
SUM("T2") AS "T2", SUM("U") AS "U", SUM("V") AS "V", SUM("W") AS "W",
SUM("Q") + SUM("R") + SUM("S") + SUM("T") +
SUM("T2") + SUM("U") + SUM("V") + SUM("W") AS "X",
SUM("Y") AS "Y", SUM("Z") AS "Z", SUM("AA") AS "AA",
SUM("Y") + SUM("Z") + SUM("AA") AS "AB",
SUM("AD") AS "AD", SUM("AE") AS "AE", SUM("AF") AS "AF", SUM("AG") AS "AG",
SUM("AH") AS "AH", SUM("AI") AS "AI",
SUM("AD") + SUM("AE") + SUM("AF") + SUM("AG") +
SUM("AH") + SUM("AI") AS "AJ"
FROM
(SELECT
PART_DEALERID AS "PART_DEALERID",
CASE WHEN ACTION_GROUP = 'THANKS' AND ACTION_TYPE = 'LETTER' THEN
CNT_ACTION ELSE 0 END AS "H",
CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'LETTER' THEN
CNT_ACTION ELSE 0 END AS "I",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "J",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
AND ACTION_SUBTYPE LIKE '%F/U%' AND
(STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
CNT_ACTION ELSE 0 END AS "K",
CASE WHEN (ACTION_GROUP = 'AFTER_SERVICE' OR ACTION_GROUP = 'DECL')
AND ACTION_TYPE = 'LETTER' THEN
CNT_ACTION ELSE 0 END AS "L",
CASE WHEN ACTION_GROUP = 'SEASONAL' AND ACTION_TYPE = 'LETTER' THEN
CNT_ACTION ELSE 0 END AS "M",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
AND STAGE = 'Bring-em-back' THEN CNT_ACTION ELSE 0 END AS "N",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
AND STAGE = 'Last Chance' THEN CNT_ACTION ELSE 0 END "O",
CASE WHEN ACTION_GROUP = 'THANKS' AND ACTION_TYPE = 'EMAIL' THEN
CNT_ACTION ELSE 0 END AS "Q",
CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'EMAIL' THEN
CNT_ACTION ELSE 0 END AS "R",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "S",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
AND ACTION_SUBTYPE LIKE '%F/U%' AND
(STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
CNT_ACTION ELSE 0 END AS "T",
CASE WHEN ACTION_GROUP = 'AFTER_SERVICE' AND ACTION_TYPE = 'EMAIL' THEN
CNT_ACTION ELSE 0 END AS "T2",
CASE WHEN ACTION_GROUP = 'SEASONAL' AND ACTION_TYPE = 'EMAIL' THEN
CNT_ACTION ELSE 0 END AS "U",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
AND STAGE = 'Bring-em-back' THEN CNT_ACTION ELSE 0 END AS "V",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
AND STAGE = 'Last Chance' THEN CNT_ACTION ELSE 0 END "W",
CASE WHEN ACTION_GROUP = 'MAINT' AND MEDIA_TYPE = 'Dynamic Message'
AND STAGE = 'Pre-Reminder' THEN CNT_ACTION ELSE 0 END AS "Y",
CASE WHEN ACTION_GROUP = 'THANKS' AND MEDIA_TYPE = 'Dynamic Message'
AND ACTION_TYPE = 'PHONE' THEN CNT_ACTION ELSE 0 END AS "Z",
CASE WHEN ACTION_GROUP = 'VOW' AND MEDIA_TYPE = 'Dynamic Message'
AND ACTION_TYPE = 'PHONE' THEN CNT_ACTION ELSE 0 END AS "AA",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'PHONE'
AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "AD",
CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'PHONE'
AND ACTION_SUBTYPE LIKE '%F/U%' AND
(STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
CNT_ACTION ELSE 0 END AS "AE",
CASE WHEN ACTION_GROUP = 'CSI_SALES' AND ACTION_TYPE = 'PHONE'
AND ACTION_SUBTYPE = 'NEWVEH' THEN CNT_ACTION ELSE 0 END AS "AF",
CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'PHONE'
AND ACTION_SUBTYPE = 'VOW_SVY' THEN CNT_ACTION ELSE 0 END AS "AG",
CASE WHEN ACTION_GROUP = 'CSI_SERVICE' AND ACTION_TYPE = 'PHONE'
AND ACTION_SUBTYPE = 'CP' THEN CNT_ACTION ELSE 0 END AS "AH",
CASE WHEN ACTION_GROUP = 'CSI_SERVICE' AND ACTION_TYPE = 'PHONE'
AND ACTION_SUBTYPE = 'WAR' THEN CNT_ACTION ELSE 0 END AS "AI"
FROM
ACT_HIST
GROUP BY PART_DEALERID
SELECT
BO.ORG_ID AS "E", --Dealer ID
BO.X_NGR_MFG_DLR_CODE AS "F", --Mfg ID
BO.NAME AS "G", --Dealer Name
ACTCNTS."H" AS "H", --Thank You Mailers
ACTCNTS."I" AS "I", --Visiting Owners Mailers
ACTCNTS."J" AS "J", --Reminder Mailers
ACTCNTS."K" AS "K", --Non-Responder Mailers
ACTCNTS."L" AS "L", --ASTY Mailers
ACTCNTS."M" AS "M", --Seasonal
ACTCNTS."N" AS "N", --Bring-em-Back Mailers
ACTCNTS."O" AS "O", --Chance Mailers
ACTCNTS."P" AS "P", --Total Mailers
ACTCNTS."Q" AS "Q", --Thank You Emails
ACTCNTS."R" AS "R", --Visiting Owner Emails
ACTCNTS."S" AS "S", --Reminder Emails
ACTCNTS."T" AS "T", --Non-Responder Emails
ACTCNTS."T2" AS "U", --ASTY Emails
ACTCNTS."U" AS "V", --Seasonal Emails
ACTCNTS."V" AS "W", --Bring-em Back Emails
ACTCNTS."W" AS "X", --Chance Emails
ACTCNTS."X" AS "Y", --Total Emails
ACTCNTS."Y" AS "Z", --Pre-Reminder Dynamic Msg
ACTCNTS."Z" AS "AA", --Thank You Dynamic Msg
ACTCNTS."AA" AS "AB", --Visiting Owner Dynamic Msg
ACTCNTS."AB" AS "AC", --Total Dynamic message
ACTCNTS."AD" AS "AD", --Reminder Phone Contacts
ACTCNTS."AE" AS "AE", --Non-Responder Phone Contacts
ACTCNTS."AF" AS "AF", --New Vehicle Survey
ACTCNTS."AG" AS "AG", --Visiting Owner Survey
ACTCNTS."AH" AS "AH", --After Service CP Survey
ACTCNTS."AI" AS "AI", --After Service WP Survey
ACTCNTS."AJ" AS "AJ", --Total Count of Phone Contacts
SYSDATE
FROM
SA.TABLE_BUS_ORG BO
LEFT OUTER JOIN ACTCNTS
ON BO.ORG_ID = ACTCNTS.PART_DEALERID
WHERE BO.ORG_ID = '00333'--(BO.ORG_ID = '{?Dealer}' or '{?Dealer}' = 'ALL')
ORDER BY
BO.ORG_ID;1 - This is not a free support forum (see 'Terms and conditions' at the bottom of each page)
2 - In a forum of volunteers there is no such thing as 'urgent'. If it is really urgent visit My Oracle Support (paid service) and submit a SR
3 - The code you posted is fully unreadable. You also didn't provide table definitions. The location of the ORA-1722 is unclear.
Do you really think anyone is going to look at the junk you posted? If you think so, your expectations are incorrect.
Sybrand Bakker
Senior Oracle DBA -
IO Error 17002 in Oracle SQL Developer
Hi,
I am trying to connect to the test database using the Oracle SQL developer but I am getting the below error
IO Error: The network adapter could not establish the connection vendor code 17002
I used to connect to the test server fine 2 weeks ago (the test server is on another network and i connect to it using the VPN).
I am able to connect the the Production Database through the Oracle SQL developer (without VPN) but when I try to connect to the test i am getting the error.
I have checked the service name and ports and everything is fine and. So what could be the problem?I am not able to connect through sql/plus as well
However, I am able to ping the test server -
Oracle SQL Developer and Errors (Line Number Incorrect)
First, I wanted to state that Oracle SQL Developer 2 is a standout job.
I wanted to report, though, that when Oracle SQL Developer 2 can't compile a block of code or a simple SQL statement has invalid syntax, it does not have an option to accurately go to the line of code in question. GOING TO the erroneous line of code doesn't need to be a feature, but often times the line no. REPORTED by Oracle SQL Developer is incorrect by 50+ lines.
Is this something I could fix on my end? I have five other developers griping about this.
Thank you!I don't know if this is the situation you are talking about, but line numbers for errors in SQL in a SQL Worksheet are not line numbers within the statement but rather line numbers in the worksheet. For example, with the following SQL in the worksheet:
select * from dual;
select * from dual;
select * from dual;
select from dual;Running the "select from dual;" statement (as either statement based on cursor position, selected statement or as script), the error is reported on Line 4, Column 7. As I show line numbers (Tools | Preferences | Code Editor | Line Gutter | Show Line Numbers), this makes sense. Without line numbers showing or having the option to go to the error and with more realistic examples with SQL statements scrolling off the page, I can see that the line number in the errors wouldn't be helpful.
I think -K- is talking about the PL/SQL code editors not reporting the correct line number based on the error line not counting the "create or replace" line at the start of a package (and more for triggers).
theFurryOne -
Oracle SQL Developer Data Modeler start up error
Hi All,
I just downloaded Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009] by selecting the option "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE)"
After I installed the same and tried to run it by clicking datamodeler.exe, I get the following error message
"unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
On the same machine I can successfuly run the Oracle SQL Develper with no errors. My machine is having Windows XP Professional SP3.
Any ideas? If there was a problem with Java, than the Oracle SQL Developer should also not run. But as stated it runs with out any error but the Oracle SQL Developer Data Modeler gives the above error.
Regards,
JAA1491 - The above problem has nothing to do with the memmory. I tried on a 400 MB RAM, 900 MB RAM, 1.5 MB RAM & 2 MB RAM with the same arror.
"unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
http://i30.tinypic.com/9vkwf6.jpg
2 - There are two "datamodeler.exe: files
One is at D:\datamodeler\datamodeler.exe
2nd is at D:\datamodeler\bin\datamodeler.exe
The same error occurs with both the files.
3 - The Oracle SQL Developer Data Modeler version is "Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009]" and the file I downloaded is "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE) - (57M)"
If I look in "D:\datamodeler\jdk\jre\README.txt" I find
"Java(TM) Platform, Standard Edition Runtime Environment Version 6"
If I run "D:\datamodeler\jdk\jre\bin\javacpl.exe" I get
http://i30.tinypic.com/mt8ocn.jpg
If I run "D:\datamodeler\jdk\jre\bin\jureg.exe" I get
http://i28.tinypic.com/30boiyo.jpg
If i check at the control panle add/remove program
http://i30.tinypic.com/1428tba.jpg
If I go to "http://www.java.com/en/download/manual.jsp" and download "jre-6u16-windows-i586-s.exe" and run it.
If I go to "C:\Program Files\Java\jre6" I find the same files as in "D:\datamodeler\jdk\jre"
I am able to run Oracle SQL Developer with out any kind of error let alone the above one. But with Oracle SQL Developer Data Modeler I get the above mentioned error no matter what I try.
As the error states "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll". The file "jvm.dll" is located at two places. One at "D:\datamodeler\jdk\jre\bin\client\jvm.dll" and the second at "D:\datamodeler\jdk\jre\bin\server\jvm.dll"
A similiar problem occurs with JDeveloper with the fllowing solution
http://forums.oracle.com/forums/thread.jspa?threadID=506339&start=0&tstart=0
Which states the following
"hello!
in the problem with JDeveloper i have a solution. The jdk have a file jvm.dll in the path: jdk/jre/bin/client/jvm.dll this is the problem ... now in the path:jdk/jre/bin/client/ojvm has a file with the same name if you copy and paste this file to the another path, now its works fine your Jdeveloper.
Jdeveloper use two files to jvm.dll to work one in the folder /client and other in /server copy the same file to the two locations for precaution
for me work fine thanks..."
I tried to do the same (Copy from client folder to server folder)
D:\datamodeler\jdk\jre\bin\client\jvm.dll
COPIED THIS FILE TO
D:\datamodeler\jdk\jre\bin\server\jvm.dll
Nada. So I reversed it (copied from server folder to client folder)
D:\datamodeler\jdk\jre\bin\server\jvm.dll
COPIED THIS FILE TO
D:\datamodeler\jdk\jre\bin\client\jvm.dll
Does not work. So I tried another solution stated at the same forum entry
"Well,
i solved the problem by this way :
<SQLDEVELOPER>/jdev/bin/ide.conf
In this file, change this line :
AddVMOption -Xmx512M
by
AddVMOption -Xmx256M
Now, the executable is lauching correctly. No more errors with Java Virtual Machine.
But is it a good thing to solve it like that ?"
But the ide.conf file is only at "D:\sqldeveloper\ide\bin\ide.conf" which is for the SQL Developer and not the SQl Developer Data Modeler
Correct me if I am wrong but
JRE = Java Run Time Envoirment
JDK = Java Development Kit
And Oracle SQL Developer Data Modeler needs JRE and not JDK. In any case I download JDK
jdk-6u14-javafx-1_2-windows-i586.exe (121,306 KB) and installed it but no succcess.
I tried every thing except completely re-install my whole PC.
Any help will be much appreciated.
Cordially,
Jawad -
Pl/SQL Error ORA-00904 not showing in Oracle SQL Developer
Hi,
I am new to Oracle and the various development tools available.
Whilst using Oracle SQL Developer we have come across a scenario where a PL/SQL package does not compile, but only shows warnings in the compiler log.
The same packeage when compiled using PL/SQL Navigator shows a much more detailed list of errors, and highlights the real problem.
Why does Oracle SQL Developer not show the following error?
PL/SQL: ORA-00904: "SERIAL_LINE_ID": invalid identifier
Regards
AdrianThere are various settings you can give to messages. (eg, informational, warning, severe).
Tools-PL/SQL compiler options.
Normally, just the first 20 messages are displayed.
Either change code to get rid of warning messages, or change settings to ignore informational and warning messages.
P.S. There is a dedicated sqldeveloper forum where your question should really have been posted.
Edited by: Keith Jamieson on Mar 9, 2009 1:45 PM -
Hi, omniscient all!
I have a code sample where I try to request some URL from an inactive server:
declare
l_text varchar2(32000);
begin
l_text := utl_http.request('http://inactive.url:7777');
exception
when others then
declare
l_errcode number := utl_http.get_detailed_sqlcode;
begin
dbms_output.put_line(l_errcode);
dbms_output.put_line(sqlerrm(l_errcode));
end;
end;
/When I run it in Oracle SQL Developer it shows:
anonymous block completed
-12541
ORA-12541: TNS:no listenerWhen I run it in the APEX 4.0 SQL Commands window it shows:
-29263
ORA-29263: HTTP protocol error
Statement processed.The question is: why?
In real world, I need to make a HTTP POST request (no problem) and catch some exceptions. But instead of the usual ORA-12541 error APEX throws an ORA-29261 one.Any thoughts?
-
Error after update Oracle SQL Developer Migration Tools
Hi,
I'm receiving a error after the update of Oracle SQL Developer (v.1.1.3.27.66) to work with mySQL migration tool.
This error appear when it´s restarting:
Exception Stack Trace:
java.lang.IllegalAccessError: tried to access class oracle.ide.net.IdeURLStreamHandler from class oracle.ide.net.URLFileSystem$1
at oracle.ide.net.URLFileSystem$1.createURLStreamHandler(URLFileSystem.java:87)
at oracle.ide.boot.URLStreamHandlerFactoryQueue.createURLStreamHandler(URLStreamHandlerFactoryQueue.java:119)
at java.net.URL.getURLStreamHandler(URL.java:1106)
at java.net.URL.<init>(URL.java:393)
at java.net.URL.<init>(URL.java:283)
at oracle.ide.net.URLFactory.newURL(URLFactory.java:636)
at oracle.ide.layout.URL2String.toURL(URL2String.java:104)
at oracle.ideimpl.editor.EditorUtil.getURL(EditorUtil.java:150)
at oracle.ideimpl.editor.EditorUtil.getNode(EditorUtil.java:122)
at oracle.ideimpl.editor.EditorUtil.loadContext(EditorUtil.java:91)
at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:950)
at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1751)
at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:356)
at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:1879)
at oracle.ide.layout.Layouts.activate(Layouts.java:784)
at oracle.ide.layout.Layouts.activateLayout(Layouts.java:186)
at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:734)
at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Anyone knows why that is happining?
Thanks in advance,
Felipe.
Message was edited by:
felipe.bHello,
I get the same error after updating through Help->Check for Updates. I am at version 1.1.2.25 and the update does not change the version number of Oracle SQL Developer (Help->About), it remains at 1.1.2.25 (although if I look in extensions tab, it says: oracle.sqldeveloper 1.1.3.27.66 Loaded, possible bug in displaying version number?). These are the updates applied:
Upgraded Extensions
Oracle Microsoft Access Browser version 1.1.3.27.66
Oracle SQL Developer - Snippet version 10.1.3.27.66
Oracle SQL Developer version 1.1.3.27.66
Oracle SQL Developer - Reports version 10.1.3.27.66
Oracle SQL Server Browser version 1.1.3.27.66
Oracle MySQL Browser version 1.1.3.27.66
Oracle SQL Developer - Worksheet version 10.1.3.27.66
Oracle SQL Developer - Extras version 1.1.3.27.66
Oracle SQL Developer - SearchBar version 10.1.3.27.66
Oracle SQL Developer - Object Viewer version 10.1.3.27.66
I ran the update several times and was able to reproduce the error under a specific condition. If I am connected to a database at the time of the update I get the error. If I am not conneceted at the time of the update I do not get the error.
As stated, by Donal, sql developer seems to get over the problem after restarting itself twice.
Mark -
Greetings,
I'm getting a 404 error when I try to download the Mac OS X version of Oracle SQL Developer. The download page is at
http://www.oracle.com/technology/software/products/sql/index.html
And it links to the Mac version at:
http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-2.1.0.63.73-macosx.tar.gz
Which doesn't exist.
Is this the correct forum to report this problem?
Thanks
MickI don't know what to say: I went to this link
http://www.oracle.com/technology/products/database/sql_developer/index.html
Clicked on Download in the upper right corner, re-accepted the whatever-they-wanted-me-to-accept and then the OSX download suddenly worked. Give it a spin and see if a circuit like that works for you.
Good luck! -
Oracle sql developer connection error
Hello everyone;
i have recently installed oracle sql developer on linux, i have been using oracle sql plus tool to access oracle; but when i am tryin to connect to oracle with sql developer its giving errors,
Error says:
an error was encountered performing the requested operation;
io exceprion: The network Adapter could not establish the connection
vendor code 17002
now i dont know what to do? Is there who can help me pls, i think i am close: is there any .xml file anywher in my database which i have to get connection details from? If yes pls lemme know. Thanks.This typically indicates that the connection to the database was unsuccessful (incorrect values in client tnsnames.ora). Are you able to tnsping the database successfully from the client ?
lo exception: The Network Adapter could not establish the connection
HTH
Srini -
Oracle SQL Developer Tool Error:
Hi,
i have installled Oracle 11g in Win2003 Server. When create new connection in Oracle SQL Developer its throwing following error
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor. The Connection Descriptor used by the client was localhost:1521/orcl
listener.ora:
# This is a sample listener.ora that contains the NET8 parameters that are
# needed to connect to an HS Agent
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4odbc)
(ORACLE_HOME=E:\app\XXXXX\product\11.2.0\dbhome_1)
(PROGRAM=dg4odbc)
#CONNECT_TIMEOUT_LISTENER = 0
can any one help me ASAP.
Thanks!933663 wrote:
Hi,
tnsnames.ora
%s_gtwSID% =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=%s_gtwSID%))
(HS=OK)
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start Date 13-JUL-2012 17:46:51
Uptime 0 days 0 hr. 29 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File e:\app\XXXXXXX\diag\tnslsnr\YYYYYYYY\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mysystemname)(PORT=1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.mysystemname" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.mysystemname" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Thanks!you listener port on 1522 , but on your tnsnames.ora on 1521
Check your hostname on listener and tnsnames.ora
after do this changes please reload the listener
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding -
Error opening Oracle SQL Developer 1.2.1
In my IDE, I saw extensions pane with title "Entensions - Log" which has
the following contents:
oracle.ide.db
Warning: Classpath entry \DISTAPPS$\ORACLE\v10\Oracle10g\jdbc\lib\ojdbc14.jar not found
Warning: Classpath entry \DISTAPPS$\ORACLE\v10\Oracle10g\jlib\orai18n.jar not found
oracle.jdeveloper.db.connection
Warning: Classpath entry \DISTAPPS$\ORACLE\v10\Oracle10g\jdbc\lib\ojdbc14.jar not found
Warning: Classpath entry \DISTAPPS$\ORACLE\v10\Oracle10g\jlib\orai18n.jar not found
(I am runing it on windows XP, the problem happened after I killed a running Oracle SQL Developer session. Now I cannot connect to anything even I tried to reinstall Oracle SQL Developer again) Anybody had the same issue, is there any way to fix it.
Thanks,
-caoyOracle SQL Developer 1.2.0 is working correctly at Argonne National Lab with Oracle 10g Client Version 10.2.1 and Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit. The correct UNC and java class path is:
\\Canary\DISTAPPS$\ORACLE\V10\Ora10g\jdbc\lib.
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Nov 17 16:23:58 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> exit
Successfully tested Oracle SQL Developer to this same database and retrieved data correctly.
Please see me in my office.
H. Johnstad
CIS 2-5069
[email protected] -
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?
Maybe you are looking for
-
Error: GR "Goods receipt for purch. order" is not allowed (ORD 4000048)
Hi gurus, can anyone please help me while doing service entry for the PO with account assignment F and Item Category D our client is facing the error "Goods receipt for purch. order" is not allowed (ORD 4000048) MSG no: BS007 Diagnosis The current st
-
Roles for disabeling structure changes in excel
Hello togehter, I have got a excel sheet which I can open by the "Analyzer-AddIn." If the users have to change some data, there is an embedded save-button. But if they use the normal excel save button, it could be that the excell will be destroyed. A
-
How to Access SSM PAS model database in Business Objects
Dear Gurus, My core user would like to see few reports from SSM into Business objects. How can I create a universe from SSM DB , connection type ?. Please suggest. Regards Arif
-
I'm trying to learn to use idvd 6. I want to do a slide show with music. When I go to the help menu, it tells me to go to preferences to set the 'TV safe area'. I click on IDVD, a drop down menu appears, but the first 7 choices starting with About ID
-
Will Silverlight be available in Spartan ?
Will Silverlight be available in Spartan as part of Win10 ?: http://www.zdnet.com/article/microsoft-is-building-a-new-browser-as-part-of-its-windows-10-push/ http://www.zdnet.com/article/how-the-next-version-of-ie-codenamed-spartan-might-support-exte