problem with the use of v$ session view in a trigger

Hi all

In some tables in my system, I have a trigger that uses the view v$ session.

From this point of view, I get the osuser, ip address, and the name of the computer where the transaction origin.

An Apex application uses these tables and relaxation in question no longer works properly, because in some occasions is the same database session.
     SELECT SYS_CONTEXT ('USERENV', 'IP_ADDRESS') ip,
            osuser,
            machine,
            username
      INTO v_ip, v_osuser, v_machine, v_username
      FROM v$session v
      WHERE username = USER AND status = 'ACTIVE';
Anyone know another option that I have to get these values in a trigger, but from an application on Apex


concerning

Gerard

You can not really... That's the difference between the server of client products and a web-based product. This info I have beyond the access of the browser... And it must be like that...

Thank you

Tony Miller
Webster, TX

If vegetable oil is made from vegetables, then what is baby oil?

If you answer this question, please mark the thread as closed and give points where won...

Tags: Database

Similar Questions

  • problem with the use of the model

    Hello

    I use Photoshop CC and all the time I have a problem with the help of veneer of reason. In fact, I can't use any template, because when I opened the window of boss, there is always this same situation-> window does not open properly /It is the visible part of the window and when I pressed on it do not bosses see / so I can't use any model - printscreen below :

    sample.jpg

    How can I solve this problem?

    Try resetting your preferences.

  • Problem with the use of the value of State of Session to fill a Dropdown LOV

    Hi friends,

    I have 2 items in an HTML area of a page of the APEX.

    Item1 is of type, SELECT LIST WITH re - DIRECT

    Item2 is of type, SELECT LIST to SUBMIT

    I try to use the value of Item1 session state in the query LOV for Item2. I could check the session has the value of the SESSION of the developer for item1; Item2 LOV query toolbar when I'm trying to make use of the same with bind variable notation, this isn't work (LOV is not filled for Item2)

    I checked and found that no information is cached.

    However, I tried the same steps in apex.oracle.com and find that it works.

    Can someone please suggest any control.

    Basically, I'm trying to fall downwards according to the entry of a drop down beforehand. Please suggest alternatives.

    Thanks in advance...

    Hello
    OK, in my opinion your redirection does not record your first Lov session state.
    You can use in waterfall Lov (search this forum, it has been discussed many times then there is JavaScript Api and jQuery ability to the Apex)
    In addition, Carl Backstrom has in its samples this:
    http://Apex.Oracle.com/pls/OTN/f?p=11933:37

    Using jQuery, you can get a lot more quick result.
    You can see some examples here in this application: http://apex6.revion.com/pls/apex/f?p=AUTO:ETUSIVU
    There are a lot of Lovs cascade, I won't go into the details yet.

    I think that the best approach for you now is to change the two Lovs to select the list to submit.
    Then change your after submit process to draw on the status 'request = Expression 1' and 1 Expression as your second name of Lov (ex. P1_MY_LOV2)

    It's the same if you do the following: lovs are select list
    (no redirect or submit).
    Then put in the HTMl Form element attributes: onchange = "doSubmit ('ACTION1'); "in the first Lov and onchange ="doSubmit ('ACTION2'); "in the second Lov.
    Then change your submit after process to shoot the status 'request = Expression 1' and 1 Expression be ACTION2

    This means that your process will run on Lov 2 changes only.

    When you use select with Submit, it does the same thing, but the request is hardcoded for the item id
    by apex.

    Kind regards
    Oleg

  • Problem with the use of the ADF libraries

    JHeadstart version: version 11.1.1.5.27

    JDeveloper version: Studio Edition Version 11.1.1.7.0

    Scenario of

    I'm trying to build an application using ADF libraries like below:

    Common code - extension of framework classes

    CommonUI - LOV hides, etc...

    Common model - ADFBC all entity objects

    Several subsystems (view controller 'helper' projects)

    Main view controller project

    I have created libraries according to the guide of FMW and have imported correctly into the relevant model projects and view controller.  In JDeveloper, I can see the libraries OK and able to build my screens without any problem using JHeadstart.  All of the subsystems are managed independently, i.e. I used JAG to create my application and can run the autonomous subsystems.  The problem comes from the main view controller project.  I have imported successfully all libraries in the project of main view controller and you can see all the controls data from libraries in the navigation Application in JDeveloper.  According to the JHeadstart user guide, I imported the NLS library by beams and have modified the JHeadstartApplicationDefinition.xml file to include my libraries (all names and paths are 100% correct).  Now when I run the JAG, it removes all the ServiceDefinitionRef I added to my library.  When I run the application crashes and JDeveloper reports the following error:

    "oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg = Houston-33005: Configuration DgmUC003ServiceLocal cannot be found."

    "Caused by: oracle.jbo.ConfigException: ADFContext Houston-29114 is not configured to process this exception messages." Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-33005. Error messages settings are {0 = DgmUC003ServiceLocal} ".

    DgmUC003ServiceLocal is one of my libraries.

    Can anyone help.

    I tried many things to fix this, but cannot find an answer.

    Interestingly, I once managed to recognize a library (I removed all but one subsystem libraries) and it worked.  When you use the JAG, it not to overwrite my amendment to the JHeadstartApplicationDefinition.xml of the file but when I added a library more he still replaced my amendment and gave the above error for the new library.

    It was the JHeadstartApplicationDefinition.xml file before execution of JAG:

    < ServiceDefinitionRef location = "MasterServiceServiceDefinition.xml" name = "MasterService" / > "

    "< Any ServiceDefinitionRef ="true"name ="UC003Service"location ="... /... /.. /DgmUC003/UC003View/properties/DgmUC003ServiceServiceDefinition.xml"/ >

    "< Any ServiceDefinitionRef ="true"name ="sdService"location ="... /... /.. /SD/sdView/properties/sdServiceServiceDefinition.xml"/ >

    That's what it was after completing JAG:

    < ServiceDefinitionRef location = "MasterServiceServiceDefinition.xml" name = "MasterService" / > "

    "< Any ServiceDefinitionRef ="true"name ="UC003Service"location ="... /... /.. /DgmUC003/UC003View/properties/DgmUC003ServiceServiceDefinition.xml"/ >

    He removed the 2nd entry of library?, wouldn't not and gives the following error:

    "oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg = Houston-33005: Configuration sdServiceLocal cannot be found."

    It's very frustrating, I followed all the instructions to the letter.  I would not expect a very simple thing like that does not work.  Any help, greatly appreciated pointers.

    Thank you Trevor.

    Hi Paul,.

    My apologies for not updating this thread earlier.

    The good news is that it has been resolved, the issue seems to be with JDeveloper and not JHeadstart (or maybe just a combination of the two).  That's what I do:

    1. Edit the file JHeadstartApplicationDefinition.xml
    2. Reconstruction/compile the project (in JDeveloper which is Alt - F9)
    3. Do a "save everything" (belt and suspenders, probably not necessary as reconstruction not save)
    4. Output JDeveloper (close, file-> exit)
    5. Restart JDeveloper
    6. Run the JAG (the new library names entered in step 1 are NOT replaced)

    This workflow has worked 100% flawless, I don't know what closure JDeveloper is but it works.

    I also now always close JDeveloper after importation of new libraries in my main view controller project because I think it's also a question, perhaps all related.

    I hope it works for you.

    Trevor

  • Satellite P200 - problem with the use of disk HARD original as external drive

    I've been pulling on my hair for a month now and could do with help

    I have a Satellite P200 series PC laptop and have recently updated from the 200 GB for a pair or 320 GB HARD drive. No problem

    The question I have is that the old drive of 200 GB system I am unable to use it in any other machine or according to and external storage device.
    The original secondary disc works fine few matter where I use it... (In my PS3 at the moment)

    When I install the orgional system drive in my laptop and rebuild windows it it still works 100%.
    Hance a good work of 200 GB of HARD drive.
    Take it out and serve in another machine of storage that it won't - boot all I get is cyclic redundancy errors

    I formatted, low level run endless disk tools
    WD test came back with diagnostics Test::Read 11 - cable sector error!

    Even as a drive on the original laptop is the same

    All ideas taken with gratitude that I don't want to lose a good 200 GB HARD drive

    Thank you very much
    Roger

    Hello!

    The external box is maybe defective, because you said that the HARD drive works in your laptop and the PS3 without problem.
    You can test the HARD drive in another external case?

    WD test unknown to me but I always use the Drive Fitness Test:
    http://www.HitachiGST.com/HDD/support/download.htm#DFT
    With the Drive Fitness Test, you can test your HARD drive. Download the CD image, burn it to a CD and boot from it. You can then the HARD drive.
    On the same site is a user's guide if you want to know more.

    Good bye

  • Problem with the use of MID/LEFT functions

    I have a problem, see the point of these functions if (as seems to be the case) they will not allow another cell to be referenced.

    I want to do a SUMIFS with match being the first four characters of another cell data. I can't find any way to do it without manually copying the first four characters in another cell.

    If I use only LEFT like this:

    LEFT ('ABCD', 3) to derive 'ABC '.

    so why would just enter ABC in the first place? But that's what show examples and any attempt to do what I really want

    that is LEFT (F19: 3)

    causes a syntax error.

    I believe that I'm missing something really stupid, but I'm darn if I can see it.

    Hi jon,

    LEFT (F19: 3)

    causes a syntax error.

    Try a comma in place of the colon

    = LEFT(B2,3)

    It's your area used for the decimal point. If you use the comma for decimals, use a semicolon in the formula, = LEFT(B2;3)

    Kind regards

    Ian.

  • Problems with the use of the Tablet

    Flash Problem.PNG

    I have recently downloaded the new update, as well as restarted the trial. Whenever I try to use my tablet, he made a line and start the drawing at the end of it, as shown above. In addition, whenever something pops up, such as the box 'save or throw?', I can not click on one of the buttons because it will allow me, I had problems with this in my other trial as well. I would like to help solve these problems, thank you.

    Hi all

    The problem associated with the brush and the pencil drawing in Flash Professional CC 2015 configuration dual monitor with Wacom devices has been fixed in the latest update. Please update Flash Professional CC 2015 v15.0.1.179.

    Rgds,

    Mukesh

  • Problem with the af:table links and views

    I want to display a table with data from a database table called PERSON, so I use af:table tag.

    The PERSON table has the following fields:

    • PERSON_CODE
    • PERSON_NAME
    • PERSON_COD_STATE

    The PERSON_STATE field is a foreign key to another table called PERSON_STATE:

    • PERSON_COD_STATE
    • DESCRIPTION

    I created a view for the data of the PERSON (personView) table. Because I want to show the person status description in the af: table, I created another view for the data in table PERSON_STATE (personStateView). And I've also created a link between personView and personStateView.

    In the column of the af: table that represents the State of no one, I drop the field 'description' of the State view linked to the view of anyone.

    When I run the JSP, the State is not displayed correctly. All persons are displayed with the same State.

    During the test directly with the application module, the display link works correctly.

    View links inside an af:table work?

    I work with ADF 10 g.

    Thank you

    Your scenario should be treated with a sql (VO on two EOs) join with a relationship master / detail. The table will be able to browse the details for each master record to time stamping.

  • Problem with the use of the lightbox in combination with buttons on the Master slide

    I want to use one have a Walker of popup layer (with content), the user clicks a button on the slide.  The user can close with a button which also appears Walker that the lightbox appears.

    The lightbox layer covers the complete breech the user should click the button close before the next slide can be visited. Everything works fine

    Problem:

    Then I used and prevoious buttons on the slide master and although the layer seems to be on the top of the next and previous buttons, they stil working.

    How can I prevent the buttons on the master slide to work Walker watch the light table?

    Vico

    Each interactive object remains active even if it is covered by a non-interactive object.

    More information on the use of the shape of the buttons, either model of slides or time during the rest of the project: http://blog.lilybiri.com/why-i-like-shape-buttons-captivate-6

    ATTENTION: during time during the rest of the project, to make visible everywhere normally you put on top. But in this case, which means they'll be on top of the viewers. I did pass on the viewers once, maybe I should write in a blog.

    Lilybiri

  • Problems with the "use tiny file names...". "checkbox in the settings of WebHelp box

    Given that the RH 9 is only able to run on Windows, the checkbox "Use tiny file names..." ' (see image below) can cause some unexpected problems when generating output for a unix (or linux) platform. I found this recently when generating output of web for a project that is visualized on a linux platform machine and met hundreds of broken links unexpected help.

    WebHelp Settings - User LowerCase for Unix.jpg

    If this is the first time you generate your project output, this function works very well - it converts all topics, image files and all what it takes to display help, lower case. However, if for some reason, you had generated previous outputs without this box, and now you have decided that you want all your files output in lower case, just check this box and regenerating the output will not work.

    The reason is simple - the Windows operating system does not distinguish between upper and lower case in file names (e.g., fichier.htm name is the same as the FILE name.) (HTM). UNIX (and linux) are case-sensitive and treat these files are two separate files. Therefore, HR fact not (cannot) change existing file in your folder names with this checked out and gives no message indicating such when generating the output. In this case, the only way to solve this problem is to delete the folder containing your output files and have HR to regenerate your project from scratch.

    I had an additional problem which has made things even worse. In a project for a linux platform, I have unchecked the box during the creation of project by accident (perhaps over a period of days or weeks). Then, due to another problem, I had to restore my project at an earlier stage. At this point, I discovered that my necessary help links of the files using lowercase and uppercase the filenames for all work very well.

    I've seen no mention of this in the HR documentation, so I thought that I must draw the attention of the HR community.

    Yes - just to clarify, I'm taking everything I publish on.

    Reminder - just those who publish in a Unix/Linux warning environment if you need to change the case of file names in your folder you post on and you already have stuff in there with the same name, you will need to delete the files first before you republish.

  • problem with the publication in firefox and View Designer in dreamweaver

    Copied the html code of the previous site in dreamweaver to edit... pharmacodependance1; nothing on the screen with the display mode of the designer.

    Problem2: after, finally finished site, edition had problems with a part of the site in firefox. Although IE without problems on the screen. Why? and how can I solve this problem? P.S. I have now not much on writing html, say; Beginner for beginners

    site: http://fixmijdatff.nl/
    problems in firefox http://fixmijdatff.nl/index.html/Gallerij.html

    I hope someone can help me. Thanks for your time!
    Greetings from Holland,

    Ferdi

    > website: http://fixmijdatff.nl/

    You have no defined doctype and 84 validation errors. Set a doctype and then validate your page again and fix the validation errors

    > problems in firefox. http://fixmijdatff.nl/index.html/Gallerij.html

    Page not found.

  • I have a problem with the use of bluetooth.

    I am not able to Bluetooth on my pc in pc settings it shows a blurry icon and is not able to click on it?
    How do I on bluetooth

    Mandeep Hello,

    1. is your Bluetooth device detected on the computer?
    2. What is the brand and model of the Bluetooth device?
    3. have you checked if the Bluetooth device is compatible with Windows 8.1?

    Method 1: Check if your Bluetooth Support Service status is started in the services:

    1. press Windows key + X key together on the keyboard.

    2. Select run.

    3. in command type "services.msc" without the quotes, and then click OK.

    4 search for the Service of Support of Bluetooth and click on it to check the status that appears on the left side of the services window.

    5. If the Service is not started, click right on Bluetooth Support Service.

    6. click on start.

    Method 2: I suggest you follow the link which explains everything below:

    Why isn't Windows find my Bluetooth or other wireless device?
    http://Windows.Microsoft.com/en-us/Windows-8/why-isn ' t-windows-conclusion-device

    Hope this helps, reply with the status of the question for any further assistance.
  • [CS3] [javascript] Problem with the use of textWrapOffset in textWrapPreferences

    Hello world

    I'm having some trouble with the help of textWrapOffset.

    Alert (mySelection.textWrapPreferences.textWrapOffset);
    mySelection.textWrapPreferences.textWrapOffset [0] = 20;
    Alert (mySelection.textWrapPreferences.textWrapOffset);

    In the code above, the first la premiere alerte alert outputs four film text offsets existing (for example [3, 0, 0, 0]). But after trying to change the top of the textWrapOffset page in the second line of code, the last alert still exits the film ancient text offset and does not show the change. It's as if the textWrapOffset is read-only. Or is there something I'm missing?

    Note that before you run the script, the object selected in InDesign is a simple "Rectangle".

    I hope someone can help!

    Paul

    The value should be set as an array.

             myTextWrapOffset =
    mySelection.textWrapPreferences.textWrapOffset;
             myTextWrapOffset[0] = 20;
             mySelection.textWrapPreferences.textWrapOffset =
    myTextWrapOffset;
    

    Substances

    http://www.in-tools.com

  • I have problems with the remote (RDP) desktop sessions, I can't get the session to go full screen after being reduced to a minimum.

    I can't get the session go full screen after be kept to a minimum.

    I did the following things to make this work:

    1. Updated the operating system
    2. Check my RDP options to make sure that it is set to mode full screen
    3. I tried 3 different computers that it happens on both of them have every two Windows 7 Professional and both are 64-bit (XP Machines have that happen)

    Details:

    I connect to my company TS servers and application servers (all running 2003 OS). When I reduce the view full screen, via the connection bar, I go back to enlarge the window and I get a window view not a view full-screen. I've only been able to reproduce this on two machines and tested a total of 5 machines Windows 7 Pro. I also tested on a XP Machine and impossible to duplicate. The XP and 2 of 7 machines (who both question) are on a connection, the others are all on separate connections in separate locations. Is this a bug in the program or is their environment I'm missing? Still, full screen has been selected in the display area.

    Thank you

    "There is a kind of"bug"with some resolution which could refuse to full screen.
    the only way to force full-screen mode is by pressing Ctrl + Alt + break.

    Remote Desktop does not return to full screen
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/48d6cb3a-C743-404F-8411-6cedbb858c2c

    http://www.Google.com.au/search?q=remote+desktop+fullscreen+%22windows+7%22&SourceID=IE7&RLS=com.Microsoft:-to the: IE-address & ie = & oe = & redir_esc = & ei = oFmCTYufNIeKvQO-nNjHCA

    See if your problem is also related to video drivers?  He has other suggestions in the links, the first is XP, but the last one is Windows 7.

    "Hey Alshrim I thank you for your help. I've just updated my video driver and the remote connection started working: Dstrange and interesting! "Thank the people who helped me.

    Remote Desktop is not connecting
    http://www.Tek-Tips.com/viewthread.cfm?QID=1591106

    Issue RDP
    http://www.Tek-Tips.com/viewthread.cfm?QID=1593827

  • Problems with the use of SVN.

    Hello experts!

    I have projects managed with SVN, but whenever I have change my internacionalization files, the project can not generate correctly, generate it files .tmp to remove tool, which eliminate the interface generated, so when the tool tries to compile the project to generate the interface, the tool cannot find .rrh files to another directory in SVN and Don t create the interface class...

    Message from the tool:

    Problems occurred building the selected resources.
      Errors running builder 'BlackBerry Resources Builder' on project 'Trid-Approval'.
      Could not compile file
      java.io.FileNotFoundException: C:\PRJ_STRUCT\PROJECT\src\com\project\view\img\.svn\ent.rrh (The system cannot find the file specified)
    

    The tool tries to access the directories .svn, how to remove it? I put a lot of rules of exclusion of project build properties.

    Can someone help me?

    Hello Experts!

    I tried this solution and it works for me:

    http://supportforums.BlackBerry.com/T5/Java-development/strange-build-error-after-code-checked-into-...

    Best regards, Rampelotti.

Maybe you are looking for