Session using db link?

Some of the Users are connecting to my database through database links.
How to know the user session is using db link?
Is there any view, which shows connected dblink's ?

Even v$session would show this, but indirectly.
Whenever any query is given through a dblink, it automatically starts a transaction, so connecting this with v$transaction with username, you can find the transaction and from there get through v$sqlarea or v$sql to find the sql with dblink. Though its a round about way, it is possible to find session using dblinks, thats is my point. pls try it and let us know.
Siva

Similar Messages

  • Using hyper-links in a jsp pages that are in a Session

    Hi i am trying to include a hyper-links in my jsp pages that are in a Session, however when i use the links to navigate throughout the pages i get a java.lang.NullPointerException. The Session begins after the user has been validated i.e
    String cid= request.getParameter("counsellorID")
    session.setAttribute("counsellorID",cid);
    All the pages included within the session have a session scope=session
    ; and they call the attributes that have been set when the session first begins i.e
    String counsID= (String) (session.getAttribute("counsellorID"));
    Any advice on this problem would be most appreciated!
    Many Thanks
    Stephen

    check if you borwser have cookies enabled

  • Problem in filtering when we use navigation link

    Hi all BI Gurus,
    I am having one problem can anyone please help me to come out of it.
    Here is my problem,
    I created two reports. The first one gives you basic idea and the second one give you more detail related to first report.
    e.g.
    First Report is displaying which type of part is manufacturing in which location.
    Like
         Code     -     Location     -     Product Name
         101     -     USA           -           Laptop
         102     -     China           -           Camcorder
         103     -     China           -           Walkman
         102     -     Japan           -           Camcorder
         105     -     Japan           -           Speaker
    Now in this report I am having link to my second report on Code column. For this I am using navigation link which will display my second report which will provide more details regarding the selected product. i.g if I click on first 102 then my second report should display details for Camcorder with location China only not for both China and Japan.
    I prepared both reports, added that navigation link in first report and in my second report I added filter on Code, Location and Product Name as ‘Is Prompted’
    I am running these reports and click on code first 102, my second report is displaying record for both China and Japan. Means it is filtering only code value not other values which are in same row.
    Could any one please help me in my problem?
    Regards,

    hi,
    as we can see here the relation is not unique between code - location
    Code - Location - Product Name
    101 - USA - Laptop
    102 - China - Camcorder
    103 - China - Walkman
    102 - Japan - Camcorder
    105 - Japan - Speaker
    meaning that code 102 is not unique for location(it address China and Usa),so you have 2 solutions....
    So, add a extra column which will be unique describe all the 3 columns,so in order to pass that value to the 2 report.
    Now,either you have one...either you have to make one at your etl(let's say add 2 existing columns code + location).
    Code - Location - Product Name ------CodeLocation
    101 - USA - Laptop------------------------101USA
    102 - China - Camcorder-----------------102China
    103 - China - Walkman--------------------103China
    102 - Japan - Camcorder------------------102Japan
    105 - Japan - Speaker----------------------105Japan
    in this as you can see if you put navigation at the column CodeLocation,you have unique row selected.
    You can also put a sequence in your etl at your table code or location and make a relation between these two...
    Tnink,you select value 'A'.Then 'A' must show only to then ones you want....
    Here you say,give me all the results of 102,but you want 102 + location!
    so in some way you must make Bi to understund.
    As i have mentioned you,there are 2 ways...Db or programming
    Db is better(you can use it and in other situations and is more good in performance)
    Programming is in your hand.(by clicking on something you must assign to 'session' of Bi the values you want to be filteted at the 2.
    This can be done...
    http://oraclebizint.wordpress.com/2009/01/26/integration-of-all-oracle-and-non-oracle-reporting-toolsets-url-parameters-an-introduction/
    http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
    http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
    and this!!!!
    How to use GO URL?
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • Setting session using pl/sql

    How to set and retrieve session using pl/sql?Can anyone help me?

    This is the wrong forum for SQL or PL/SQL questions.
    1. Post your question in the SQL and PL/SQL forum
    https://forums.oracle.com/forums/forum.jspa;jsessionid=8d92100c30d7960321c250bf4adeaa5dcac037eb147c.e34SbxmSbNyKai0Lc3mPbhmSbNaLe0?forumID=75&start=0
    2. Edit this thread and post the link to your new question.
    3. Mark this thread ANSWERED so people will follow up in the other forum.
    When you post your new question provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION). You will also need to explain what you mean by 'set and retrieve' session. A session is created when a logon is successful so 'set' and 'retrieve' only have meaning in terms of trying to set or retrieve session parameters that may be in effect.

  • How to store php sessions using memcached and unix socket

    I am running Arch linux with systemd, nginx, and php with php-fpm. I am trying (and failing) to configure memcached to store sessions using a unix socket. I have memcached installed and active, however, I am unable to disable networking. I added the following line to /etc/conf.d/memcached
    MEMCACHED_ARGS="-s unix:///tmp/memcached.sock -a 666"
    I also tried:
    MEMCACHED_ARGS="-s /tmp/memcached.sock -a 666"
    MEMCACHED_ARGS="-s unix:/tmp/memcached.sock -a 666"
    when I restart memcached I always get:
    memcached.service - Memcached Daemon
              Loaded: loaded (/usr/lib/systemd/system/memcached.service; enabled)
              Active: active (running) since Sat 2013-01-19 17:41:15 PST; 5min ago
            Main PID: 773 (memcached)
              CGroup: name=systemd:/system/memcached.service
                      └─773 /usr/bin/memcached -l 127.0.0.1
    when I run php script with sessions php error log shows (not surprisingly):
    [19-Jan-2013 16:46:45 America/Los_Angeles] PHP Warning:  Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is correct (unix:/tmp/memcached.sock) in Unknown on line 0
    I also installed the php-memcached package but I don't what it does or how to get it going. I uncommented the following line in /etc/php/conf.d/memcached.ini:
    extension=memcached.so
    but that didn't change anything.
    Any insights or suggestions would be greatly appreciated.

    Look at this link -http://odiexperts.com/getting-one-or-several-unknown-files-from-a-directory
    change the command to fetch the ls command and write into File and then using either java or jython break the data and fetch the file name and date and insert into log table.
    (or)
    you can use the os.system command and get the complete ls command into string and then process and insert it.
    Let us know if you need any other help.

  • How to remove the Sessions used in the application

    Hai Techies,,,
    i am using many number of sessions in my application, for example i am using 5 sessions in reports module
    my application is a web based application
    if can't remove the sessions it contains the huge amount of data , my application is going into mess, and the application performance will be decreased..
    Can anybody tell the solution for this Problem
    How to remove the Sessions used in the application
    Hoping a reply
    Thanks & Regards
    Krishna mangamuri

    Hai Gita,
    i am not able to do the session invalidate method bcoz, i am mainatainting the session from login along with the current userid who is login into the system and putting some of the data in session....
    thats session is to be valid upto when i click on logoff link
    except that i have to remove the sessions in my application
    while navigating from one jsp to another i have to remove the sessions, bit somes times that sessions may be used somewhere
    Can u Understand My problem
    session remove method may also helpful to me but some times it will casue some prob to me
    Is there any other Way to remove the sessions in the Application ????
    Thanks & Regards
    Krishna Mangamuri

  • Logical error in creating tables using db link in solaris

    Hi,
    While creating table using the syntax create table newtab...as select * from tab@dblink .. I am facing a problem. The newtab table created is having a structure different (from datalength point of view of varchar2 and char datatypes) from the source. The data length is getting tripled i.e. if a column a is varchar2(20) in tab then it is becoming --- a varchar2(60) in newtab. This is happening in solaris environment when the two databases are in 2 different servers. Please let me know if there are any patches to resolve the problem.
    Thanks
    Arnab

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • Issue using data link in XML Publisher

    Dear All,
    I am new to XML Publisher, for the first time trying data link concept in XML Publisher tool. The issue is very simple, I have two queries Q1(say it fetches sales_order_number, application_name ) and Q2 (say it fetches sales_order_number , error_number, error_description). And sales_order_number is passed as input using data link to Query Q2 from query Q1 and Q2 will retrive more than one row for a given sales_order_number.
    Say for a given dept_name 1001 the output will be something similiar like
    Q1:
    SO# | Appl.Name
    1001 | 'Invoice '
    Q2:
    SO# | Error.# | Error Desc
    1001 | 1512 | No Data Found
    1001 | 1513 | Invalid Entry
    1001 | 2674 | Error while inserting the record
    and the query which I have used in XML template goes like this
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[select sales_order_number, application_name                 
                      from T1
                     where sales_order_number = :in_sales_order_num]]>
    </sqlStatement>
    <sqlStatement name="LINES">
    <![CDATA[
    select sales_order_number , error_number, error_description
    from T2]]>
    </sqlStatement>
    <link name="Dummy_LINK" parentQuery="Q1" parentColumn="sales_order_number" childQuery="Q2" childColumn="sales_order_number" condition="="/>
    </dataQuery>
    <daraStructure/>
    And the grouping is as follows
    <group name="G_Q1" source="Q1">     
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="application_name" value="application_name"/>     
    <group name="G_Q2" source="Q2">
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="error_number" value="error_number"/>
         <element name="error_description" value="error_description"/>     
    </group>
    </group>
    And in the RTF template I have properly used <?for-each:G_Q1?> <?for-each:G_Q2?>- --
    <?end for-each?><?end for-each?>
    Ideally the header (Q1) should have one row and the lines (Q2) should have 3 rows. But the issue here is even Q1 produces 3 rows.
    If in case Q2 has 4 records, then Q1 also plots 4 records in the report output. Hope I am explaining the issue correctly. Any help to resolve the issue would be a great. Thanks in advance.
    Regards,
    Antony.

    try like this
    <?if: (TYPE='A') or (TYPE= 'B')?><TABLE STRUCTURE><?end if?>
    or
    <?if:contains('A~B', TYPE )?><TABLE STRUCTURE> <?end if?>

  • Issues with using relative links in Captivate 8

    Is anyone else having issues with using relative links in Captivate 8?  These links all used to work in the previous version of Captivate. And I could have sworn this was fixed already once in Captivate 8 but it's popping up again for us. Here is the situation... We have courses that are made up of multiple lessons which as separate Captivate files. Within those lessons are buttons to link to external documents (which live in a shared document folder), demonstrations, etc.  We use relative links because we post these to our amazon servers and we also sell them to clients where they can post them on their own web servers or in their LMS.  SO we can't put in full paths for the links or we'd have to change them constantly.  So an example is that the link for a button might be "../Document/nameofdoc.pdf"  This would be going to a user guide or something that is posted in the "Document" folder that lives at the same level as the lesson's folder. But now, all of the sudden, none of our bazillion links is working. And I've tried buttons, hyperlinks, and even the old click box. Nothing works with relative links. And I did check the permissions on every file and folder on our Amazon server to verify nothing changed there as well.   Any suggestions?

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • Open Page in new window using action link

    How do I open a page in a new window, using action link ?
    If I put javascript window.open in OnClick event, the action event ins�t called.

    Hi,
    The window.open method can be used with the hyperlink component. So please try it with a hyperlink component.
    Cheers
    Giri :-)
    Creator Team

  • Using web link to call the report by passing the parameter but report blank

    Hi,
    I have using web link to prompt to generate the report(Quotation Format) by passing SR number in Service Request object.
    The result return is blank report, the URL link that i put in as below :-
    https://secure-ausomxega.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Options=rfd&Path=/shared/Company_AEGA-3V6GLL_Shared_Folder/SR%20Quotation&Action=Navigate&P0=1&P1=eq&P2="Service Request"."SR Num"&P3=%%%SR_Number%%%
    If preview in report folder, the report is generated with the output.
    Is my syntax having problem or the method cannot be done this way?
    Please advise

    Hi Alex,
    I manage to get the report output but the result is always same.
    i have checked the filter, the filter is calling the SR number.
    When i try to output to PDF an error prompt :-
    Sax parser returned an exception. Message: Expected entity name for reference, Entity publicId: , Entity systemId: , Line number: 335, Column number: 12
    Error Details
    Error Codes: UH6MBRBC
    Thanks
    SK

  • Using text links to open accordion panel

    How do I use text links (from the page's main menu) to
    programatically open a particular panel.
    here is the page:
    http://debrankin.com/tee/SITEDESIGN/
    for example: I want to click on "Resumes and Cover Letters"
    in the left hand menu to open the first accordion panel (by the
    same name). I have this set this page so that all panels are closed
    initially.
    i know i'm missing something because this obviously does not
    work: i've looked for documentation and this issue is inadequately
    addressed!

    twinflame wrote:
    > i know i'm missing something because this obviously does
    not work: i've looked
    > for documentation and this issue is inadequately
    addressed!
    Not really. The problem is that you have attempted to create
    a
    JavaScript object called accordion1 before the accordion HTML
    is even
    loaded into the browser. Moreover, the script that
    initializes the
    accordion is already in your HTML where it should be (after
    the
    accordion), but it uses Accordion1, not accordion1
    (JavaScript is
    case-sensitive.
    Remove this after your menu.
    > <script type="text/javascript">
    > var accordion1 = new
    Spry.Widget.Accordion("Accordion1");
    > </script>
    Change the links in the menu to Accordion1.openPanel(0),
    etc., and it
    should work.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • How do I use mobile link to view documents on more than one device?

    I have documents on my iPhone and want to send them to my iPad using Mobile Link. How do I do this?

    Hi bephys,
    For this you can simply upload the doc to files.acrobat.com and send the link to the recipient via Adobe Send.
    Anyone having the link would be able to access the doc.
    Alternatives would be Google Drive or One Drive.
    These links might be helpful to you:
    https://support.google.com/drive/answer/2498081?hl=en
    http://windows.microsoft.com/en-in/onedrive/ios-faq
    Regards,
    Rave

  • How do I get at Session using Context's

    Hi,
    Please can someone help me out. I am working on an extended version of the jboss DatabaseServerLoginModule and part of this involves overidding the login() method. The login() method provides no parameters such as request etc and so I have no way of getting at the session.
    How can I get at the session using Context's?
    i.e. starting with say InitialContext and going from there....
    any ideas?
    Regards,
    Paul.

    Sounds like a JBoss question to me. Seems to me that JBoss support would be the place to go for answers. It's really not a general Java programming question.

  • TNS-12666 error occures when using database link

    When I am trying to use database link
    defined in my database the following error occures:
    TNS-12666 Dedicated server: outbound transport protocol different from inbound.
    In documentation is stated to resolve such an error to
    specify the same protocol in the SQL*Net connect string or alias for the outbound connection as that used for the inbound connection.
    I have in tnsnames.ora defined network service name
    by which I can connect to such a database by SQL*Plus
    without any problems, why can I not do such a thing
    via database link?
    Thanks a lot for advise, ...

    Could you change the following entry in your 'sqlnet.ora' file and try?
    SQLNET.AUTHENTICATION_SERVICES = (NONE)

Maybe you are looking for