Profiler in SQL Developer not working
When I run the profiler in SQL developer , I get the following error.
"Directory exists; check if /tmp exists on file system, and oracle has permission to write there. "
This error sounds like an UNIX error but I am running SQL developer on Windows 7 (64) OS. Has anyone seen this or knows how to get around it.
Thanks so much..
Hi,
According to the SQL Developer 3.1.04.72 documentation, the "get" command (among others) is not supported:
Help|Table of Contents|SQL Developer Concepts and Usage|Using the SQL Worksheet|SQL*Plus Statement Supported and Not Supported...
so options are limited. If sqlplus is accessible and using it as an "external tool" won't conflict entirely with local policy, these links might interest you:
Re: sqlplus vs sqldeveloper
Easy Connect and sqldev.conn issues
Otherwise you may add a feature request for this on the SQL Developer and see if such an enhancement is a priority for the community.
Regards,
Gary
SQL Developer Team
Similar Messages
-
Sql developer not working which i got when i installed oracle 11g on win7
Hi i successfully instaled my oracle 11g on windows 7,but when iam trying to use my sql developer chich i got by default with 11g is not working ..when i open it its asking me for "select the path of java.exe file" when i browse and given the right path .iits again giving me the same pop and not throughing any error msg at least.
Could u pls help me out on this??Well, not supported does not necessarly mean does not work, but if you have problem, then your only way is to find a solution on your own or through other fellows who are doing the same.
Anyway, you could ask your question in the SQL Developer dedicated forum, but again, you could have some unexpected issues by working on non-supported config :
SQL Developer
Nicolas. -
SQL Developer Not Working "no ocijdbc11 in java.library.path"
Hi,
I have Oracle 10g with SQL Developer 3.0 on Windows XP, they worked well untill I just installed Oracle ODBC (ODAC101040.exe). I started to receive error message "no ocijdbc11 in java.library.path" and I am no longer able to use SQL Developer.
Any solution?Check on the envirnment variables on the windows. Once you installed the "Oracle ODBC" it might have replaced the Old env. variables that can found in XP "System Properties> advance tab> environment Variables". Make sure you have the right environment variables that point to right directory locations. Update us with your findings.
-
SQL Developer not working on Ubuntu 6.10
Hi all,
I just upgraded to Ubuntu 6.10 and discovered that SQL Developer does not start. It fails with next message:
sofist@null:~/opt/sqldeveloper$ sh sqldeveloper
Oracle SQL Developer 1.0
Copyright (c) 2005 Oracle Corporation. All Rights Reserved.
.: 17: ide.conf: not found
sofist@null:~/opt/sqldeveloper$I've read the ubuntu linux 6.10 does not use bash as the default shell anymore. Most linux distributions use bash as the default shell. Ubuntu 6.10 uses a shell called dash. Not sure why ubuntu would change it. So, I don't know if it has anything or not to do with the shell.
https://launchpad.net/distros/ubuntu/+ticket/1932 -
I installed SQL developers dot rel. 3.2.20.09.87 in my windows XP machine today. The downloadable zip file is available at oracle website http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html.
Version I downloaded is :
Windows 32-bit - zip file includes the JDK1.6.0_35 Download Download 209 M
On clicking sqldeveloper.exe , the small Oracle SQL Developer window pops but it goes away in few seconds.
Any pointers to resolve this issue is highly appreciated !Hi,
To avoid losing the window before you can read what went wrong, run the sqldeveloper.exe version in directory
<SQLDev_Install_Dir>\sqldeveloper\sqldeveloper\bin\sqldeveloper.exeinstead.
If you should need to do a more in-depth investigation, the following offers some good advice on debugging:
http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-debug-info-for-oracle-sql-developer/
Regards,
Gary
SQL Developer Team -
Help getting SQL Developer to work
I'm just trying to get SQL Developer to work so I can use student databases. I have no intent of being a networker, and I definetly have no intent of failing this class because I can't do my homework.
Update.
Someone from my Java Class told me to restart the services related to Oracle. I attempted to do so, but got the following errors:
http://img220.imageshack.us/img220/5087/clipboard01hq.jpg
http://img27.imageshack.us/img27/32/clipboard02ro.jpg
I believe the TNSListener service is the main problem (seeing as when I try to open the database I get an error saying "TNSListener service is not running.") So I looked that up, and it said to check sqlnet.log:
Sat Jan 29 18:11:16 2011
Create Relation ADR_CONTROL
Create Relation INC_METER_IMPT_DEF
Create Relation INC_METER_PK_IMPTS
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_1\log] [C:\app\Davidi\product\11.1.0\db_1\log\diag\clients]
Fatal NI connect error 12541, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 29-JAN-2011 18:11:18
Tracing not turned on.
Tns error struct:
ns main err code: 12541
TNS-12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
Thu Feb 03 23:04:39 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
Fatal NI connect error 12541, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=The-Falcon)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
Time: 03-FEB-2011 23:04:41
Tracing not turned on.
Tns error struct:
ns main err code: 12541
TNS-12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
Thu Feb 03 23:08:05 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
Thu Feb 03 23:08:31 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
Thu Feb 03 23:09:36 2011
Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
And now I'm stuck again. Does anyone have any suggestions?Oh right. I did change the port in an attempt to get Scott to work.
Changed back to port 1521, but still no luck.
I think my problem has something to do with OracleDBConsoleorcl. I get Error Code 2 when I try to start that service up.
Although...my SERVERNAME_SID is 192.168.15.101_orcl (Directory: C:\app\Davidi\product\11.1.0\db_1\192.168.15.101_orcl)
Which was the IP Address ipconfig set up the day that SQL Developer was actually working. Of course, that IP Address changes every time you restart windows. My teacher suggested that I set up a static IP Address or try setting it to local host, but I really don't know how to do either of those.
Any help would be appreciated.
Thank you. -
What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2
928714 wrote:
yes sir.If you help me in answering my questions i wll be very thankful to you sir.
tnx,I haven't a clue.
As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
For me to answer your questions, I would need to go get that documentation.
Then I would need to read that documentation.
Then I would need to write a forum post that interprets what I think I learned from that documentation.
It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself. -
How to do profiling in sql developer?
how to do profiling in sql developer?
also-can somebody plz suggest a gud site for information on pl/sql code profiling.You might want to ask your SQL Developer-related question in the SQL Developer forum: SQL Developer
gud site for information on pl/sql code profiling.Online Oracle Documentation:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/tuning.htm#LNPLS01214
and/or
http://www.oracle-base.com/articles/9i/DBMS_PROFILER.php
Edited by: hoek on May 19, 2010 12:55 PM -
Force encryption on SQL Server not working?
Hello Everyone,
I'm running SQL Server 2008 64-bit. I've installed a self-signed cert on the box and set "Force Encryption" and restarted SQL server.
I setup a client machine to trust the authority of the cert installed on the server. When I connect to that SQL server from SSMS from a client machine and select the "encrypt connection" option in the client Connection properties, SSMS correctly complains
that the cert on the server does not match the computer name I asked to log into . This is because, although the cert is trusted, the dns name dos not match the CN in the cert <- Perfect, exactly what I am expecting.
When I connect to the same SQL server from the same client but UNCHECK "encrypt connection" on the client, I'm able to login. Considering I've checked the "Force Encryption" on the server, the server should have rejected the connection. Why not?
Ameer DeenHi all,
We are implementing a Merge Synchronization solution which involves three SQL Servers located on three Azure locations worldwide and one on-premises location. We need to secure communications between all servers. We are evaluating the encryption of all server
communications through SSL:
http://technet.microsoft.com/en-us/library/ms191192.aspx
When we configure one server (let’s call it server A) to accept only encrypted connections (with Force Encryption=Yes) we still can connect from other server (let’s call it server B) that do not have the certificate installed. We would expect the server
B to fail in the attempt of connect as server A should only accept encrypted communications and those should need the certificated to encrypt/decrypt everything (commands and data).
We have also review the following forum post that is very similar to this one:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working
In all cases the Microsoft answer is:
“When the
Force Encryption option for the Database Engine is set to YES, all communications between client and server is encrypted no matter whether the “Encrypt
connection” option (such as from SSMS) is checked or not. You can check it using the following DMV statement”
When we run the provided DMV statement to check if encryption is enabled:
-- To check whether connections are encrypted between server and clients
SELECT encrypt_option
FROM sys.dm_exec_connections
We get “TRUE”. So theoretically encryption is enabled.
Then:
Why can we run SQL statements against server A from server B (with SSMS) without any certificate?
Are we wrong when we expect server A to refuse any client that do not have the right certificate?
How can server B, without any certificate, decrypt the data encrypted by server A?
Our intention is to encrypt all server in the same way so all of them will accept only encrypted communications. We are assuming that the Merge Agent will be able to communicate with the Publisher and the Subscriber through this encrypted environment. May
anyone please confirm ti?
Thanks for your help.
Best Regards
Benjamin Moles -
Sql is not working after changing from MsAccess into sql server
Following Sql is not working after changing from MsAccess into sql server.
sum(trn.sales) as sales,
sum(trn.cost) as cost,
sales - cost as profit // Here is not working . can we not use sales a column. Please advise
from trn
Kind Regards
pol
polachanIt will not work if use two different column from the table or column from two different table
Example
sum(trn.sales * trn.rate) as salesAmount,
sum(trn.cost) as cost,
sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
from trn
Regards
polachan -
SQL Code not working in Forms Developer?
Hi all,
I'm using Oracle 10g and I have th following code running on iSQL+ but not working on Forms and I got the following erro
The SQL code:
select returningreason
from (
select returningreason,
dense_rank() over (partition by 1 order by count(*) desc) as drnk
from returned_goods
group by returningreason)
where drnk = 1;And the error happens near the word over to the right and the error statement is:
Error 103 at line 18, column 19
Encountered the symbol "(" when expecting one of the following:
, formThanks in advance :)Triggers are compiled in forms so need to use only the features available to forms, which doesn't include all the new stuff in the database.
select over partition
NVL2They don't work in forms and reports too.
Also if you use them in record Group
Forms/SQL Compiler was not lined up to the database(10G).
Meanwhile,for example. Pipelined TABLE and relative Select work in Reports AND Forms. -
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 -
SQL developer not showing compiler warnings
I'm just testing out the new compiler warning contained in 11g related to the "when others" exception handler when it does not have a subsequent raise or raise_application_error.
in SQL plus, this works fine:
SQL> alter session set plsql_warnings='enable:all';
Session altered.
SQL>
SQL> create or replace function do_stuff
2 return number
3 as
4 v_return number;
5 begin
6
7 v_return := 3;
8 return v_return;
9
10 exception
11 when others then
12 return null;
13 end;
14 /
SP2-0806: Function created with compilation warnings
SQL> show errors;
Errors for FUNCTION DO_STUFF:
LINE/COL ERROR
1/1 PLW-05018: unit DO_STUFF omitted optional AUTHID clause; default
value DEFINER used
11/6 PLW-06009: procedure "DO_STUFF" OTHERS handler does not end in
RAISE or RAISE_APPLICATION_ERRORbut in SQL developer the output is:
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
session SET altered.
FUNCTION do_stuff compiled
No Errors.Anyone experience this issue? is there some setting that makes SQL developer behave differently?it must be something I'm doing wrong, above, I was running under windows 7 pointing at the version above.
I just tried it under an Enterprise Linux pointing at
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production and I get exactly the same script output and no compiler window....
actually...... if I go into a procedure window from the schema browser and compile it there, then I get the correct warning messages..... the problem is I mostly develop from .sql files extracted from source control rather than directly from the schema browser, I just want the sql worksheet to be able to show me the same compiler log window..... -
SQL Developer not accepting certain characters from the keyboard
Hello,
I have been using SQL Developer for 5 or 6 months now, with minor issues and great satisfaction.
A few days ago, just out of the blue, in the middle of the day, SQL developer started not accepting the following characters:
Ctrlv, Ctrl + c, F5, F9 (I Think all function keys), BackSpace, Delete, Enter and arrow keys.+*
T*his is only happening in the text editor part*. I am able to use this keys in the results, whether they were a script output or an execute query output.
SQL developer also functions properly (if i paste using the mouse, paste works.. and all the other keys)
I checked the pc for viruses, using AVG, no viruses were found (my avg is updated daily and runs daily virus checks on a schedule, and this issue has been here for the past 1 or 2 weeks, so it was a virus, i think it should have been discoverd, besides, the keys are still working in sql developer, only not in the text editor part)
Needless to say, but if i run notepad and type, keys work properly.
I also reinstalled it in another folder with no luck
Tried so many restarts .. no luck
Tried it in safe mode .. no luck
I am using SQL developer Version 1.5.4, Build MAIN-5940.. on Windows Xp
I am suspecting there's some option in it that I disabled without paying attention..
HELP!!!
Regards,
CharlesAll that time trying possible solutions is understandable, but then typing them in your post... when searching the forum would have given you the solution under 1 minute:
Preferences - Accelerators - Load Preset - Default
Hope that helps,
K. -
SQL Developer: Not able to view tables
I am new to sqldeveloper and oracle products. I've recently installed sqldeveloper onto my pc, i am able to connect to the database but when i try and expand the tables item in the treeview i dont get the tables displayed and the error Warning, unhandled exception:Closed connection is shown in the logging page at the bottom. I have uninstalled the oracle client, jdk but still i keep getting this problem.
Current versions are
Operating System= Windows 7 32bit
SQLDeveloper=3.0.03
JDK=1.6.0_21
Oracle Client=11gIt looks like it may be a privilege issue.
I ran SQL Developer with 'IncludeConfFile sqldeveloper-debug.conf' in the 'sqldeveloper.conf' file. I got the following log output when I connected to XXAPI (which hangs) and XX (which works)
For XXAPI, 'oracle.dbtools.db.DBUtil' generates
Prepared:SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
FROM user_objects
WHERE object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
union all
SELECT object_type type, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') owner, object_name, null column_name, null column_id, null data_type
FROM user_objects
WHERE object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
and the following log message
oracle.dbtools.raptor.controls.grid.RaptorGridPersistedSettings - Persisted settings for this table could not be loaded
For XX, 'oracle.dbtools.db.DBUtil' generates
Prepared:
select * from (
SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, NULL partitioned,
NULL iot_type,
o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
FROM SYS.ALL_OBJECTS O
WHERE O.OWNER = :SCHEMA
AND O.OBJECT_TYPE = 'TABLE'
union all
SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME, NULL partitioned,
NULL iot_type,
SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME, O.GENERATED, O.TEMPORARY, NULL EXTERNAL
FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn
WHERE syn.table_owner = o.owner
and syn.TABLE_NAME = o.object_NAME
and o.object_type = 'TABLE'
and :INCLUDE_SYNS = 1
WHERE /**/OBJECT_NAME NOT IN (SELECT OBJECT_NAME FROM RECYCLEBIN)
AND not object_name like 'BIN$%'
which works
-----
Maybe you are looking for
-
Remote Access VPN - add new internal IP
Hi I have a existing Cisco VPN client configuration into ASA 5510 for remote access. Group name : ISETANLOT10 Group password : xxxx IP pool : lot10ippool, 172.27.17.240 - 172.27.17.245 enycrption : 3DES authentication : SHA the connection was succe
-
My itunes will not open on my laptop I have windows 7
-
IPod touch 4g is not recognized in my computer as a portable device, help?
I have an iPod Touch 4th generation (4.2.1) and the computer it was initially synced with (a Dell Inspiron laptop) is no longer working. I would like to update the iPod software via iTunes, and I have already transferred purchases and backed up my i
-
How to read product characteristics of a line item in Billing document?
Hi Friends, I need to read the product characteristics of a line item in Billing document. Can you please help me with which tables or function modules I should use? Thanks in advance. Regards Jaker.
-
List of my xorg.conf: Section "Device" Identifier "AMD LX800 onboard video card" Driver "geode" BusID "PCI:0:1:1" Option "FlatPanel" Option "NoCrtEnable" Option "Accel" Option "ShadowFB" EndSection Section "Screen" Identifier "Default Screen" Device