Finding the client ip adress from within and EJB method

Does anyone know of a way to find out the address (or any significant information) about the caller of a remote method on an EJB from within the method without sending the information as a parameter?
This info has to be available at some level for security to work properly, doesn't it?

Hey did you find answer for this problem. i am also looking for same info

Similar Messages

  • How do I find the value of GWYUID from within a form?

    Hi, can someone help me with the below?
    I'm trying to determine the value of the environment variable GWYUID from within a form so I can pass this value to the fnd_webfile.get_url function at runtime to display the output of a concurrent program in a web browser.
    I've tried the below but this just brings back null. Any ideas on how to find the value at runtime in 11i?
    v_gwyuid varchar2(100) := name_in('$environments$.gwyuid');
    fnd_message.set_string('GWYUID:'||v_gwyuid);
    fnd_message.show;
    Thanks, Geoff

    wow, many, many, many.... and many thanks!
    Just add a tiny modify to check out the Batch_type
    doc_id = (select batch_id from gme_batch_header where batch_no='&batch_number' and batch_type = 0)
    Because the batch_no can be duplicated as we also create Batch and Filrm Planned Order.
    Many thanks for your support!
    P/S: Sorry for my terrible English :P

  • I upgraded from Dreamweaver CS4 to CS6. but now "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?

    I upgraded from Dreamweaver CS4 to CS6. but now when I want to upload I get "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?
    Mac OS 10.8.5
    None of these issues are causing the error in DW CS6. We have double checked all of them and we have everything exactly right. Also I have exactly the same SiteSetup in DW CS4 and that works perfectly well. Could there must be factor in 6 that didn't exist in 4? Something that isnt in the SiteSetup but in some hidden dialog box ?
    I can also upload to my host using Fetch, a third party FTP. And as I said DW CS4 works fine. So the problem is not with my host, its with DW CS6 in particular.

    Thank you Jon, that fixed it perfectly. You have saved me from going crazy. The only difference I see now is in "Server Name" it changed what I had entered (my ftp address) to "Remote Server"; which seems odd -- but it works!   Although I know there maybe also some other dialog box I have never seen
    Of course I saw that menu item "Import"  and but I thought thats obviously not for me: "Why would I want to import an entire website?". I did not however see "Export the selected site" for thats only a tiny icon in the footer. However I would have thought the same:  "Why would I want to export my entire website?".
    An observation: I've seen this problem in a lot of Adobe software, the menu-names of items are  obscure, non descriptive. What would be better would be for the menu names or popups to say "Export Site Setup settings" and "Import Site Setup settings"

  • I have new memory modules, 2x2 2GB DDR2 --800 SO DIMM0 to install in I-Mac early2008 ,currently with 1 GB DDR2 SDRAM. How do I find the memory slots ? I have the 4GB replacement modules from Crucial and general instr's., not specific to I-Mac.

    I have new memory modules, 2x2 2GB DDR2 --800 SODIMM MAC to install  into I-Mac early2008 ,currently with 1 GB DDR2 SDRAM. How do I find the memory slots ? I have the 4GB replacement modules from Crucial and general instr's., not specific to I-Mac.

    https://www.ifixit.com/Guide/iMac+Intel+24-Inch+EMC+2111+RAM+Replacement/5196

  • I cannot find the Kindle reader app for iPad and when I click on the link from Amazon there is an error on iTunes

    I cannot find the Kindle reader app for iPad and when I click on the link from Amazon there is an error on iTunes

    Are you in the US?  Not all apps are available in all countries.  There is no way to download anything from a website, like Kindle.  If it's not in your App Store, you won't be able to have it.

  • I had windows 7 (32bit) and decided to use boot camp but i forgot to download the latest support software from apple and now i cant find any support softwares please help..i am using mac book pro

    I had windows 7 (32bit) and decided to use boot camp but i forgot to download the latest support software from apple and now i cant find any support softwares please help..i am using mac book pro

    Try the Boot Camp Assistant when you are in OS X and download those and follow the directions in BCA utility.
    Then look up the Boot Camp forum. I suspect you thought this was MBP related forum, it is for 65 lb tower model (and well the new "nMP Late 2013 Mac Pro" http://www.apple.com/support/macpro/
    Boot Camp
    There is a support page too
    http://www.apple.com/support/bootcamp

  • TS2972 used to be able to pick out which songs in iTunes in my computer were not on a 2nd computer on homeshare in iTunes 10.  Now with V11, cant find the button that compares two libraries and finds the songs that are different.  Anyone know how to do th

    Used to be able to pick out which songs in iTunes in my computer were not on a 2nd computer on homeshare in iTunes 10.  Now with V11, cant find the button that compares two libraries and finds the songs that are different.  Anyone know how to do this now?

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • How do I find the music I uploaded from a cd

    Ever since I downloaded the update for itunes i can't find the music I uploaded from a cd...help

    Backup drive?
    Subscribe to iTunes Match?
    If neither of the above and you don't have the CD and can't find your tracks on the computer then they you're stuck.  A file recovery utility will cost $100, plus another $100 for an external drive to which to resue the files, and may not even work.  You can buy a lot of CDs for $200.

  • How do i find the music i sync from my ipad to imac

    how do i find the music i sync from my ipad to imac

    How did you sync the music from the iPad to the iMac? Did you plug the iPad in and choose File -> Transfer Purchases from <name of iPad> in iTunes?
    B-rock

  • I want to find the image tag name from Image layer name InDesign JavaScript?

    I want to find the image tag name from Image layer name InDesign JavaScript?

    Hi,
    You can use following script to fetch image tag name and the layer name on which it lie:
    var imgBox = app.activeDocument.rectangles // fetch all rectangular frames from the active document
    for(var i = 0; i< imgBox.length; i++)
      if(null != imgBox[i].associatedXMLElement )
                var b = imgBox[i]
               alert("Image tag name "+imgBox[i].associatedXMLElement.markupTag.name + "\n exist on layer " + imgBox[i].itemLayer.name)
    Hope this would help you to resolve your problem.

  • Where Do I Find The 2.2 Update From November ?

    I have iphone 2g. My last update was 2.1 - - I never updated to 2.2 or 2.2.1 - - Do I need to update to 2.2 or can I skip that and update to 2.2.1 ? And if I need to update both where do I find the 2.1 update (from last November, I believe. Thanks.

    Just download 2.2.1

  • HT204370 Why are movies excluded from iCloud?  They are the most expensive purchase from iTunes and just as valuable and important to be able to access anywhere from any device?

    They are the most expensive purchase from iTunes and just as valuable and important to be able to access anywhere from any device?  I find it so frustrating that first I had to purchase iWorks for my Mac, then I had to purchase it all over again for my IOS device so I could use iCloud, then I purchase thousands of dollars of movies and am not able to store them in the cloud, yet we have only purchased the rights to the songs no differently than we have the movies.  Why would they exclude movies from icloud?

    They are not part of icloud in all countries, becuase the movie industry in those copuntries does not allow Apple to offer this.

  • Is there any vi or possibility to find the hole dates in an directory and to list the data-pfads as a string?

    is there any vi or possibility to find the hole dates in an directory and to list the data-pfads as a string?
    like in windows a search-funtion?
    I have found one VI, it list the data in the directory self (the pfad from the data as string) but not the data in an under-directory. it also has the funktion to list me the under-directory but it do not list the complite data in every directory
    can somebody help me pleace
    THX

    Hallo Chef,
    unter LV8.21 befindet sich die beschriebene Funktion in der File-Palette:
    Dummerweise gibt es die Funktion in LV8 noch nicht... (Deshalb ist es immer eine gute Idee zu sagen, mit welcher LV-Verson man arbeitet!)
    Du kannst aber unter vi.lib/utility/RecursiveDirList.llb nachschauen, wie es gemacht wird
    Message Edited by GerdW on 08-17-2007 11:17 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    AdvFileFunc.png ‏10 KB

  • Help find the Last run date from previous month

    Hi all
    I am stuck trying to find the Last Run Date from the previous month.
    select distinct(date_ran) from TABLE X where date_ran like '%/11-%' order by date_ran desc gives
    "03/30/11-06:19
    "03/25/11-03:01
    "03/24/11-03:00
    "03/23/11-03:00
    "03/22/11-03:00
    "03/21/11-03:00
    "03/18/11-03:00
    "03/17/11-00:00
    "03/16/11-06:31
    "02/15/11-07:42
    "02/15/11-06:00
    "02/14/11-08:19
    Here the result I am trying to acheive is 02/15/11-07:42 ;Note the column date_ran is a VARCHAR2(255) and not a TIMESTAMP
    I tried
    select ADD_MONTHS(to_date(max(date_ran), 'MM/DD/YYYY-HH24:MI'),-1)
    from daily_tests_a
    where date_ran like '%/11-%'
    order by date_ran desc
    which returns 2/28/0011 6:19:00 AM and that is not the result I am looking for
    Regards
    SMK

    Welcome to the forum!
    user2931503 wrote:
    Hi all
    I am stuck trying to find the Last Run Date from the previous month.
    select distinct(date_ran) from TABLE X where date_ran like '%/11-%' order by date_ran desc gives
    "03/30/11-06:19
    "03/25/11-03:01
    "03/24/11-03:00
    "03/23/11-03:00
    "03/22/11-03:00
    "03/21/11-03:00
    "03/18/11-03:00
    "03/17/11-00:00
    "03/16/11-06:31
    "02/15/11-07:42
    "02/15/11-06:00
    "02/14/11-08:19
    Here the result I am trying to acheive is 02/15/11-07:42 ;Note the column date_ran is a VARCHAR2(255) and not a TIMESTAMPThat's a very bad idea. Points in time should always be stored in DATE (or maybe TIMESTAMP) columns. If not, you're going to waste resources converting them to DATEs whenever you need them to behave like DATEs, and risk run-time errors because of bad data.
    Normally, the "previous" month means the month before the current month. In April, the previous month is March.
    By "previous" month, do you mean the 2nd latest month in the table? That is, this data contains data from February and March, 2011; March 2011 is the latest of those months, February 2011 is the next-to-last, and so is that why you want a date from February?
    I tried
    select ADD_MONTHS(to_date(max(date_ran), 'MM/DD/YYYY-HH24:MI'),-1)
    from daily_tests_a
    where date_ran like '%/11-%'
    order by date_ran desc
    which returns 2/28/0011 6:19:00 AM and that is not the result I am looking for
    Regards
    SMKTry this:
    WITH   got_real_date   AS
         SELECT     TO_DATE ( SUBSTR (date_ran, 1, 14)
                   , 'MM/DD/RR-HH24:MI'
                   )     AS real_date
         FROM     table_x
    --     WHERE     ...     -- If you need any filtering, put it here
    SELECT     TO_CHAR ( MAX (real_date)
              , 'MM/DD/RR-HH24:MI'
              )     AS last_date
    FROM    got_month_num
    WHERE     real_date     < (
                               SELECT  TRUNC (MAX (real_date), 'MONTH')
                         FROM    got_real_date
    ;Edited by: Frank Kulash on Apr 5, 2011 3:59 PM

  • Want to get the Client Machine name from Oracle Forms

    Hi,
    I want to get the Client machine name from the Oracle Forms.
    I have attached web_util.pll.
    I use user_name := webutil_clientinfo.get_host_name;
    but i am getting following error - WebUtil Error:WUC-015: Your form must contain the following Bean for this function to be available: oracle.forms.webutil.clientinfo.GetClientInfo.
    Can any one help me in this!
    Thanks & Regards,
    Avinash Bhamare.
    Pune.

    Hi,
    I have written the code on when-button-pressed trigger of a push button -
    DECLARE
         user_name VARCHAR2(50);
    BEGIN
    user_name := client_win_api_environment.get_computer_name;
    message('user_name is :'||user_name);
    message('user_name is :'||user_name);
    END;
    And on clicking on this button i am getting error -
    frm-40734:Internal Error:PL/SQL error occurred
    Can any one help in this asap please!
    Thanks & Regards,
    Avinash.

Maybe you are looking for

  • How to check the table existence in JPA

    1) is there a way I can check for existence of the table using JPA, before I read the rows. 2) If I want to create two tables with same columns (name, time), Should I create two entity objects to insert? is there a way to use one enity class and spec

  • Compound index vs separate indexes

    Hi, I am having a table with 12 million records. My query will be always having 2 conditions in WHERE clause. SELECT * FROM TABLE WHERE c1='some integer' and c2 in (some values)In this case which index will be appropriate.? a)Creating separate indexe

  • Messages

    pl.tell me how to set messages(warnig,error or converted warnig message to error) in transaction PO, MIGO,MIRO pl. give me details with TCODES.

  • How can I tell if my tex are blocked

    How can I tell if my tex are blocked from another user ? If blocked will it still say delivered, and will the tex color appear blue or green ? I have an IPhone 5c

  • Import from Toast 10?!?!?

    Hey Guys! I just cut one of my old DVDs up and want to import it into Toast 10. I saved the video as a mpeg 4 video; however, imovie will not let me import it. When I go to import, the movie is dimmed and will not allow me to click it. Do I have the