Monitoring sessions invoked by a user SQL Developer

Hello Everyone ,
I am a DBA and lot of developers use SQL Developer for their tasks. Off late we have been facing few issues with SQL Developer.
Developers close the working session by "alt+f4" and strangely their sessions are active in the DB's. What is the cause for this ?
Rollback of DML statements takes hours for statements submitted by SQL Developer.
Does OCI driver help in any way ?
Is there any way that I can allow individual users to monitor their sessions in SQL Developer?
Suppose a user connects with a generic application username "xyz" , can I allow the user "xyz"  to monitor sessions invoked by him and also provide him privileges to kill his/her own session.
We are facing lot of performance issues , so help in this regard would be highly appreciated.
Even pointing me towards appropriate documentation would do.
Thanks in anticipation.

1006957 wrote:
I am a DBA and lot of developers use SQL Developer for their tasks. Off late we have been facing few issues with SQL Developer.
Developers close the working session by "alt+f4" and strangely their sessions are active in the DB's. What is the cause for this ?
Rollback of DML statements takes hours for statements submitted by SQL Developer.
Does OCI driver help in any way ?
Is there any way that I can allow individual users to monitor their sessions in SQL Developer?
Suppose a user connects with a generic application username "xyz" , can I allow the user "xyz"  to monitor sessions invoked by him and also provide him privileges to kill his/her own session.
We are facing lot of performance issues , so help in this regard would be highly appreciated.
Even pointing me towards appropriate documentation would do.
Once the DB begins work on a task it will continue that work until: 1) the work is complete, 2) an exception occurs or 3) it discovers that the client is no longer there.
If you begin a transaction (complex query, sorts, etc) that is lengthy it may be a while before the DB even tries to communicate with the client. Then all of that work must be rolled back and the rollback (e.g. for an update or delete) can take much longer than the query took to begin with. That is just the way Oracle works.
If a user connects as "xyz" then the only 'sessions invoked by him' are that ONE session. Any other user might also create a session by connecting as "xyz"; Oracle has no way of knowing if ALL sessions connecting as "xyz" belong to the same person or not.
The ALTER SYSTEM privilege must be granted to allow someone to 'kill his/her own session' but that privilege would allow them to kill any other session, including system sessions.
You could write a procedure to try to control the privilige, as in the following thread, but that also has risks:
https://forums.oracle.com/thread/256935
It is a DBA responsibility to control sessions, not the developers. You should NOT give this ability to the developers IMHO. If your developers are abusing your system it indicates that they need more training in how to prevent runaway queries. A common cause of the problem you describe is when a developer submits a query and then thinks they can just cancel it and start over and they DO NOT UNDERSTAND the first statement I made above: Oracle will keep working.
The proper solution to your problem is to begin logging your developer's requests for session termination so that you can properly monitor the problem and detect developers that need additional instruction or mentoring to keep the problem from happening. Although anyone, even experts, can accidentally let a query get out of control, your problem doesn't occur very frequently for experienced developers.
The DISCONNECT option only politely requests Oracle to terminate the session so it make take considerable time to clean everything up.
If you really need to terminate the session you need to use DISCONNECT IMMEDIATE. See the disconnect session clause of alter system in the sql language doc
http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_2013.htm#sthref4725
{quote}
DISCONNECT SESSION Clause
Use the DISCONNECT SESSION clause to disconnect the current session by destroying the dedicated server process (or virtual circuit if the connection was made by way of a Shared Sever). To use this clause, your instance must have the database open. You must identify the session with both of the following values from the V$SESSION view:
  For integer1, specify the value of the SID column.
  For integer2, specify the value of the SERIAL# column.
If system parameters are appropriately configured, then application failover will take effect.
  The POST_TRANSACTION setting allows ongoing transactions to complete before the session is disconnected. If the session has no ongoing transactions, then this clause has the same effect described for as KILL SESSION.
  The IMMEDIATE setting disconnects the session and recovers the entire session state immediately, without waiting for ongoing transactions to complete.  If you also specify POST_TRANSACTION and the session has ongoing transactions, then the IMMEDIATE keyword is ignored.
  If you do not specify POST_TRANSACTION, or you specify POST_TRANSACTION but the session has no ongoing transactions, then this clause has the same effect as described for KILL SESSION IMMEDIATE.
{quote}

Similar Messages

  • Using Proxy User Authentication in Sql Developer

    Hi!
    Is it possible to use proxy user authentication in SQL Developer? I'm thinking that if I'm clever enough, I can craft a custom jdbc URL that will allow my users to proxy authenticate into my Oracle 10gR2 database while using SQL Developer.
    Unfortunately, I'm not feeling all that clever. ;)
    Can anybody help me out here? Is it even in the realm of possibility?
    Thanks!
    Kevin Ferlazzo
    DBA
    VA Department of Juvenile Justice

    I found the possibility that proxy authentication of both accounts can be enforced:
    SQL> alter user appuser grant connect through personaluser AUTHENTICATION REQUIRED;
    I guess that this is the motivation for implementing the 2-session proxy connection method in SQL Developer.
    Regards,
    Martin

  • Proxy User Authentication with SQL Developer

    Hello,
    I realized that there are 2 methods for configuring SQL Developer to user Proxy User Authentication.
    1) one-session method with Syntax:
    personaluser[appuser]
    2) two session-method with dialog "Proxy Connection"
    For me it is unclear, why anybody would want to use the two-session-method.
    a. you need username/password for both user acocunts (personaluser and appuser)
    b. it is unclear which operations in SQL Developer are using the personaluser account. It seems that the SQL Window is only using appuser account.
    What was the motivation to implement Two Session Method?
    Best regards,
    Martin

    I found the possibility that proxy authentication of both accounts can be enforced:
    SQL> alter user appuser grant connect through personaluser AUTHENTICATION REQUIRED;
    I guess that this is the motivation for implementing the 2-session proxy connection method in SQL Developer.
    Regards,
    Martin

  • SQLPLUS commands in SQL Developer

    We are using 11g with Sql Developer. We have some script such as healthcheck etc provided by oracle support, which has SQLPLUS commands in it.
    We are not able to run those in SQL Developer. We are getting errors.
    Are there any way, we could invoke SQLPLUS shell within SQL Developer?
    Thanks in helping.

    Hi qwe16235
    SQLPLUS command failed - not enough arguments
    line 36: SQLPLUS Command Skipped: set lines 300
    line 37: SQLPLUS Command Skipped: set pages 999
    These are formatting commands we do not do yet.
    The other command seems like an error in the middle of a PL/SQL block which we should have covered, just the start of it is not enough to know what the error is.
    An example of bad pl/sql error reporting:
    input:
    show parameter error <-------------- Dummy command so the plsql block does not begin at 1
    begin <----------------starting at line 3
    broken plsql; <------------- bad plsql at line (start)3+(from ora error)2 = 5 (should be 4 - must be one off)
    end;
    output:
    NAME TYPE VALUE
    sec_protocol_error_further_action string CONTINUE
    sec_protocol_error_trace_action string TRACE
    Error starting at line 3 in command:
    begin
    broken plsql;
    end;
    Error report:
    ORA-06550: line 2, column 8:
    PLS-00103: Encountered the symbol "PLSQL" when expecting one of the following:
    := . ( @ % ;
    The symbol ":=" was substituted for "PLSQL" to continue.
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    -Turloch
    SQLDeveloper team

  • Question about creating a cloud connection to SQL Developer

    Hi all!
    I want to create a cloud connection on SQL Developer to Oracle cloud, but keep getting the following error (NOTE: I have the trial version. Also, I have replace the identity domain name with asterisks for the post) :
    Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
    Additional Details:
    oracle.dbtools.raptor.cloud.auth.AuthenticationFailedException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:228)
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.authenticate(BasicAuthenticationEngine.java:73)
      at oracle.dbtools.raptor.cloud.connection.ConnectionCreator.createConnection(ConnectionCreator.java:24)
      at oracle.dbtools.raptor.cloud.connection.CConnections$C.getConnection(CConnections.java:39)
      at oracle.dbtools.raptor.cloud.connection.CConnections.getConnection(CConnections.java:176)
      at oracle.dbtools.raptor.cloud.navigator.CloudConnection.openConnectionImpl(CloudConnection.java:127)
      at oracle.dbtools.raptor.cloud.navigator.CloudConnection.getConnection(CloudConnection.java:89)
      at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:74)
      at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:38)
      at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
    Caused by: org.apache.http.conn.HttpHostConnectException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:941)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
      at oracle.dbtools.raptor.cloud.connection.DefaultClient.executeRequest(DefaultClient.java:90)
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:219)
      ... 16 more
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:579)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:375)
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
      ... 26 more
    I have followed the steps to the last letter using: Data Loading and the Oracle Database Cloud Service
    What I have done on the dashboard and APEX:
    I changed the password of the SFTP user.
    I have created a new user on APEX that belongs to the SQL Developer Group and changed the 'Require change on Password on First Use' to NO before creating the user
    SQL Developer:
    I set the database username to the new user I created in APEX
    I set the database URL to the URL I used to reach the APEX page...https://databasetrial1875-******.db.us1.oraclecloudapps.com/apex/  
    I set the SFTP username to the username listed next to 'Service SFTP User Name' on the dashboard
    I set the SFTP hostname to: sftp.us1.cloud.oracle.com
    I left the port set to 22
    When I login on SQL Developer to database, I use the password for the user I created in APEX
    Thanks in advance to all who help!

    Hi,
    You have to use the admin account to add the admin role to the developer account. Can you please try this and let me know of your feedback.
    The settings you added look good, and the you have the latest version of Sql DEVELOPER     , ...so this should be an issue.
    Maybe you have some firewall setting on your computer, that are blocking the connection?
    If , after checking all of the above you still have an issue, please contact oracle support via the chat on the cloud.oracle.com and ask the engineer to open a Service Request under your name.
    Thanks,
    Flori

  • 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.
    -Karen

    Karen,
    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

  • Querying uncommitted session data in SQL Developer debugger

    I'm trying to analyze a large PL/SQL program that performs table creation, data insertion, and conditional updates to temporary tables. Is there a way to query the uncommitted data in the session in which the PL/SQL is running while stopped at a breakpoint? I see that watches make variables available for inspection, but I'd like to query data in the temp tables using a select statement to see what is there while the debugger is stopped at a breakpoint.
    This is using SQL Developer 1.2 on MS Windows XP against an Oracle 10g database.

    Well, no. You'd have to change your code to include these calls and fill variables you can monitor with the debugger. A lot of work in development, impossible for production...
    This would make a great request for the SQL Developer Exchange though: like the VB/Access Immediate window, a worksheet linked to the debugger session. You'll have my vote if you add it.
    K.

  • SQL Developer user defined reports (appropriate utilization)

    I have used SQL developer on a limited basis but I have never created a user defined report. Can someone compare and contrast the
    types of user defined reports that can be created via SQL developer versus the types of user defined reports that can be created via
    a tool such as Crystal Reports or similar tool.

    Hi user7753875 -
    I agree with reidelme that it won't match the capabilities for fancy organisation/output of tools like Crystal Reports, but you can do interrelated parent/multiple child reports.
    Check out the Reports tab on the SQL Developer Exchange for some examples of what other users have done with this.
    Brian Jeffries
    SQL Developer Team
    Edited by: bjeffrie on Jun 3, 2011 5:01 PM
    Turns out no one has used that in a long time. You will have to do some interpretive cut/past from xml given by web site & report editor in SQL Developer. Here is the "Who" report (master+2 child reports) from the exchange in a format you can use the import function from "User Defined Reports" on.
    <?xml version="1.0" encoding="UTF-8" ?>
    <displays>
    <display id="57507b3a-0130-1000-8008-a9fec67b8254" type="" style="table" enable="true">
         <name><![CDATA[Who]]></name>
         <description><![CDATA[
    A Report to show active seesion and some details about there activities. Includes 2 Child-reports for Active SQL and PID for the process supporting the session.
    ]]></description>
         <tooltip><![CDATA[Who is logged in and what is he doing]]></tooltip>
         <drillclass><![CDATA[null]]></drillclass>
         <CustomValues>
         </CustomValues>
         <query>
              <sql><![CDATA[SELECT sid, serial#, username, status, server, machine, program FROM v$session order by sid]]></sql>
         </query>
         <display id="null" type="Child" style="Table" enable="true">
              <name><![CDATA[ActiveSQL]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
                   <TYPE>null</TYPE>
              </CustomValues>
              <query>
                   <sql><![CDATA[select c.spid b1, b.osuser c1, b.username c2, b.sid b2, b.serial# b3, a.sql_text,b.status,to_char(b.logon_time, 'DD-MON-YYYY HH24:MI:SS') from v$sqltext a, v$session b, v$process c where a.address = b.sql_address and b.paddr = c.addr and a.hash_value = b.sql_hash_value and b.sid = :SID order by c.spid,a.hash_value,a.piece]]></sql>
                   <binds>
                        <bind id="SID">
                             <prompt><![CDATA[SID]]></prompt>
                             <tooltip><![CDATA[SID]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Child" style="Table" enable="true">
              <name><![CDATA[Process]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
                   <TYPE>null</TYPE>
              </CustomValues>
              <query>
                   <sql><![CDATA[select p.spid,p.addr,s.sid,s.server,p.username,s.osuser,p.program,t.value/1024/1024 PGA_Mb from v$process p,v$session s,v$sesstat t where p.addr=s.paddr and s.sid=t.sid and s.sid = :SID and t.statistic#=20]]></sql>
                   <binds>
                        <bind id="SID">
                             <prompt><![CDATA[SID]]></prompt>
                             <tooltip><![CDATA[SID]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
    </display>
    </displays>
    Edited by: bjeffrie on Jun 3, 2011 5:01 PM

  • SQL*Developer 2.1 - Not Generating DDL for Different Users

    Using SQL*Developer Version 2.1.0.63 I get an error trying to generate DDL from another user, that has access to many other schemas. It looks to me like Sql Developer is calling the DBMS_METADATA package from within other PL/SQL.
    I am receiving the following error:
    ORA-31603: object "ACCOUNT_TYPE_LKP" of type TABLE not found in schema "POR_OWN"
    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
    I would receive these same errors in SQL Developer 1.5, but the DDL would still generated. It was picking something up, even though it had an error.
    Our DBA has not been able to provided a work around. He says you have to login directly as the owner of the objects to use dbms_metdata in this fashion.
    Is there any work around for this? I really need to be able to get DDL and I do not want to go back to 1.5 (I like the other new features of 2.1).
    Thanks,
    Tom

    We have several users currently using SQL Navigator and/or TOAD. We would like them to switch to SQL developer, but part of their job is to view the source of views in another schema. They have select privileges on the underlying tables and are able to see the source using other tools. Using SQL Developer, they receive on ORA-31603 because it's calling dbms_meta. Note ID 1185443.1 describes the issue and suggests granting the users the SELECT_CATALOG_ROLE.
    We are hesitant about granting this role to these users which allows access to ever 1,700 objects, plus execute privileges to 4 objects.
    Support indicated that Enhancement Request 8498115 addresses this issue.
    Is this something that may be addressed in the next release?
    Thanks,
    Paul

  • User Name limitations in SQL Developer

    I am using SQL Developer from past 1 year. I am facing some issues with some of my connections which are with Numaric User Names ( Ex. User Name : 12312). In older versions it was giving error ' Invalid User name / Passoword' And in Version3 its giving *' Un Supported Verifier Type , Vendor Code: 17451'*.
    Am able to connect with same user from TOAD and Command Prompt. And with alpha numaric name i able to connect from SQL Developer also.
    Is it a limitation in SQL Developer to have user as alphanumaric only ( Starting with Charectar) ? Can somebody help me if i need to change any setting to use *'Numaric User name'*
    Thanks,
    Ram
    [email protected]

    Thanks Jim for the reply. i tried using double quotes but still the same issue. And i am able to connect from commadprompt, SQL + and from Toad. Only issue with SQL developer.

  • Problem accessing SQL Developer with user sys

    Hi Experts;
    I'm working with Oracle 10G, in Solaris 10, The DB apparently is working properly, but I can not access the DB thru SQL Developer. When I try to acccess with user sys, and I enter de password, in oracle role I select sysdba, when I choose connect I get this error message:
    ORA-01017: invalid username/password; logon denied
    However, I can connect with other user without any problem.
    I was connecting directly in the server, with sqlplus /as sysdba and I changed the password for user sys, but still the problem continues.
    What is wrong with this. I got the same problem if try to connect thru OEM.
    Thanks and regards
    Al
    Edited by: user12048358 on Jul 8, 2011 12:02 PM

    Hi Buntoro;
    Thank you for answer.
    First, I'm completely sure I'm using the correct password, to be sure I changed the password thru sqlplus.
    I'm using tns connection, btw, with the same connection, I can connect, but with other user.
    I was trying again, however, with the same results previous explained.
    But also I have the same problen when I tried to connect to OEM, and I was trying to stop the dbconsole, and found this:
    export ORACLE_SID=YAWIDBLAB
    emctl status dbconsole
    OC4J Configuration issue. /opt/oracle/102/oc4j/j2ee/OC4J_DBConsole_yawi-db-lab01_YAWIBLAB not found.
    export ORACLE_SID=YAWIDBLA
    emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://yawi-db-lab01:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /opt/oracle/102/yawi-db-lab01_YAWIDBLA/sysman/log
    If I type export ORACLE_SID=YAWIDBLA and then sqlplus /nolog
    SQL> connect /as sysdba
    Connected to an idle instance.
    But, when I connect settiong the SID in this way:
    export ORACLE_SID=YAWIDBLAB
    sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jul 9 23:03:15 2011
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    SQL> connect /as sysdba
    Connected.
    SQL>
    Apparently, there is problem with the tnsnames. When I see the tnsnames in SQL DEVELOPER I see this: YAWIDBLA
    So, here is the tnsname, in order you have a better idea, what I have.
    YAWIDBLA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yawi-db-lab01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = YAWIDBLAB)
    Is the first time I see this kind of problem.
    Have an idea of what's happening;
    Best Regards;
    Al

  • Kill DBA session feature in SQL Developer

    Hi All,
    Like in TOAD , we have a Kill/DBA session option is on toolbar and we can easily trace down the sessions running as well as SID and serial number ..... Do We have similar feature on SQL Developer ?
    Currently my SQL Developer version is 1.0.0.14.67 and Build Main 14.67

    it's in sqldev 1.1 (in reports/database administration/sessions/sessions)

  • 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

  • SQL Developer Stability - Real Time SQL Monitoring

    I always get excited when a new release of SQL Developer comes out with all kinds of new features then I am quickly disappointed by the instability.
    The 2.1 Real Time SQL Monitoring is a great example. It has such great promise but it is not stable, the refresh doesn't work, if you scroll it wipes out the display so I have to exit and re-enter. Is anyone having more success with this tool than me? Are there Java Settings I need to consider? I already learned that if running the query in question from SQL Developer it has to be in an unshared workspace or SQL Monitor won't come up.
    Prior to going to native OCI connectivity my Connections Schema Tree was also very flaky, I work with huge delivered PeopleSoft HR Schemas most of the time.

    The file associations thing means you don't have access to the registry to associate file types. Probably connected to the Vista security model. Try registering the filetypes for use by sqldeveloper through explorer.
    This other problems generally means you don't have write access to the sqldeveloper system directory.

  • SQL Developer Error Creating User Home

    SQL Developer was running fine on my Windows 7 64-bit machine until Monday morning. Now when I kick it off (from my Desktop shortcut), I get a small box saying: "Error creating user home in directory C:\Users\<username>\AppData\Roaming\SQL Developer".
    There is no error number, and I have been unable to find this error in the SQL Developer documentation. What does it mean? It's possible that updates were pushed to my machine over the weekend (unknown -- network sysadmins are elsewhere), but I would have thought I would have gotten a different message if there were compatibility problems. Have I accidentally deleted a necessary file from my local SQL Developer folder? My connection databases are Oracle 11g.
    Thanks for any suggestions.

    Hi,
    Here is a thread on the same issue, but so old that the advice it gives is no longer accurate:
    Re: Error creating user home in directory D:\Program Files\raptor\jdev.
    So let's assume you no longer have write access to your own Windows user directory. To workaround that just add the following to one of the conf files in the SQL Developer installation folder. For example, to run SQL Developer from a flash drive, I modified my E:\sqldeveloper\ide\jdk.conf to include
    AddVMOption -Dide.user.dir=../../.sqldeveloperSo that the user home is E:\.sqldeveloper
    Regards,
    Gary
    SQL Developer Team

Maybe you are looking for

  • Error: No valid XML document received*_

    Hi All, We are connecting our CCMS system to NetWeaver J2EE engine on which E-Sourcing is running. For this we registered java component and hosts in cen. But we are getting error as : No valid XML document received Please can anyone tell me how to o

  • Low Buffer in ST02

    Hi All, Upon fresh installation of ECC 6.0 EPH7 and then I did a client copy, but upon checking ST02, it seems most of my buffers are low not close to 100 at all (Screenshot below). I tried to play around with rsdb/ntab/irbdsize rsdb/ntab/entrycount

  • Component Install Failed error in CS3

    I have been trying to install the trial version of Illustrator CS3, as I only need to use the program for a short time. I tried installing more than five times now, and right before the installation process is over, it says that my Shared Components

  • LB redirection configuration ACE30

    Hi, I have two server farms and each includes two real servers on my ACE30. (See the basic configuration below) They have 2 VIP's. (10.10.10.101, 10.10.10.102) One of them serves as http://vip1/path1/index.html and the other serves as  http://vip2/pa

  • How to transfer i phone contacts to hands free in car

    Question. I phone dont offer to transer data by Bluetooth.