Get Machine Name and IP Address from Air Flex App

New to Air..... Is there a way to get the name of the machine
and the ip address for the client running the Air application? Not
that this matters, but the applcation would be a Flex 3 application
built specifically to be deployed to the Air runtime. I need to be
able to have the Air/Flex application know what the client's
machine name and ip address is. Can this be done?
Thanks

Hi Frank,
Well I am using Developer Suite 10g Release (10.1.2.0.2) ..I've gone thru the link what you have sent me and noticed that whatever updations of conf file or classpath its already there so i guess needn't to modify cause I think my release 10.1.2.0.2 has did already as webutils been bundled with it.
Well What i did is to double click on ATTACH LIBRARY and browse the location to find webutil.pll and finally attached it...even though its showing me all the procedures like clientinfo and others...
on my block's canvas I've put a button and used this trigger to get client info function like this.
when-button-pressed trigger of INFOBUTTON
DECLARE
o_clientinfo varchar2(50) := Webutil_clientinfo.GET_HOST_NAME ;
begin
message(o_clientinfo);
end;
but when I am trying to open this form its simply not showing up..strange thing is that there is no error as well...so plz kindly guide me how to get clientinfo hostname or ipaddress using that library function.
thanks

Similar Messages

  • GETTING PC NAME AND IP ADDRESS

    Hello,
    I want to Get a PC Name and IP Address through Oracle.
    Anyone Help Please.
    Thank in Advance.
    Muhammad Farooq

    Hi,
    I check the V$session Dynamic View to get the machine name. But We Also get the
    IP Addres of PC.
    When we run the following statement the following error occur.
    SQL> SELECT SYS_CONTEXT('USERENV', 'IP_ADDRESS') FROM DUAL;
    SELECT SYS_CONTEXT('USERENV', 'IP_ADDRESS') FROM DUAL
    ERROR at line 1:
    ORA-00904: invalid column name
    I am using a Oracle 8.0.5 Enterprise Edition.
    Let me knoow that where is the SYS_CONTEXT procedure or function or package.
    Please Help.
    Muhammad Farooq

  • Getting host name and IP address

    I have develop different types of forms which resides on server and clients are acessing it.Now from my end i want to track that which user is accessing my forms on the server i.e i want to know the client IP address and host name.When the user execute some query on the database then i will get it easily using sys_context function but if it perform some functions within the form and i catch the host name then it returns the server host name where the actual forms resides not the client host name and i want to know the client host name and IP address who is running the forms.Plz let me know the way so i can do that easily .
    thanks

    Hi Grant,
    I want to get ip/address host name of reports server, sitting on forms server.
    can you tell me how to do this.
    in a web base environment.
    i have several report server instances running on different machines.
    when i run a report using RUN_REPORT_OBJECT using report_server=mac_rep1
    i want to know mac_rep1 resides on which host/ip machine.
    regds

  • Importing a group of names and email addresses from EXCEL to address book

    I want to create a new group in my address book, so I can send one email to multiple addresses. I have an EXCEL document that contains the names and email addresses. Is there an easy way to import them into my address book from EXCEL?
    Thanks, Teri

    Hi,
    I'm having the same problem. I'm trying to import 300 addresses from an Excel file into Address Book. The Excel file has been converted to tab-delimited (txt). I've gone through and deleted any extra line breaks within fields, commas, etc in the addresses.
    When I go to Address Book and ask it to import the Text file, I get the dialog window showing me the fields it will import, but when I click on "OK", the program just freezes. Also, it tells me in the dialog window that it won't import specific fields like Street 2, City, State or Zip and there is information in all of those fields for every record to import.
    I've been working on this for three weeks now and am at my wits end. I have never had a database program be so difficult to work with.
    Any ideas?

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • How to get client machine name and IP address

    Hi,
    In my office I have one SERVER which has FORMS & Report Server installed and all the clients are accessing that application thru the following URL :
    http://OraServer:8889/forms/frmservlet
    to get the machine name I have read into a global variable like this
    SELECT USERENV('TERMINAL' ) into :global.clientname FROM DUAL;
    but obviously all the time its returning the SERVER machine name...not the name where client is accessing the program....so how can I get the client machine name..
    thanks

    Hi Frank,
    Well I am using Developer Suite 10g Release (10.1.2.0.2) ..I've gone thru the link what you have sent me and noticed that whatever updations of conf file or classpath its already there so i guess needn't to modify cause I think my release 10.1.2.0.2 has did already as webutils been bundled with it.
    Well What i did is to double click on ATTACH LIBRARY and browse the location to find webutil.pll and finally attached it...even though its showing me all the procedures like clientinfo and others...
    on my block's canvas I've put a button and used this trigger to get client info function like this.
    when-button-pressed trigger of INFOBUTTON
    DECLARE
    o_clientinfo varchar2(50) := Webutil_clientinfo.GET_HOST_NAME ;
    begin
    message(o_clientinfo);
    end;
    but when I am trying to open this form its simply not showing up..strange thing is that there is no error as well...so plz kindly guide me how to get clientinfo hostname or ipaddress using that library function.
    thanks

  • Finding Session Info (Machine name and IP address)

    All,
    I have a procedure that was called by an applition about three days ago. The issue is I want to determine the IP address of the application server that called the procedure.
    We did not turn on auditing but the issue looks more like an unautorised call to the procedure and thats why we are more interested in th IP / machine name.

    Perhaps you are looking something like this ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:00.06
    satyaki>
    satyaki>
    satyaki>select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    13 rows selected.
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>set autotrace on
    satyaki>
    satyaki>
    satyaki>update /*+ Satyaki_De_On_22_Sep_2008_8_25_PM*/emp
      2  set ename = 'Travor'
      3  where empno = 7499;
    1 row updated.
    Elapsed: 00:00:00.95
    Execution Plan
    Plan hash value: 3659136155
    | Id  | Operation          | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT   |        |     1 |    10 |     1   (0)| 00:00:01 |
    |   1 |  UPDATE            | EMP    |       |       |            |          |
    |*  2 |   INDEX UNIQUE SCAN| PK_EMP |     1 |    10 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("EMPNO"=7499)
    Statistics
            145  recursive calls
              3  db block gets
             35  consistent gets
              3  physical reads
              0  redo size
            659  bytes sent via SQL*Net to client
            618  bytes received via SQL*Net from client
              3  SQL*Net roundtrips to/from client
              4  sorts (memory)
              0  sorts (disk)
              1  rows processed
    satyaki>
    satyaki>
    satyaki>commit;
    Commit complete.
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7499 Travor     SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    13 rows selected.
    Elapsed: 00:00:00.21
    Execution Plan
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |    13 |   481 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| EMP  |    13 |   481 |     3   (0)| 00:00:01 |
    Statistics
              0  recursive calls
              0  db block gets
              7  consistent gets
              0  physical reads
              0  redo size
           1323  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
             13  rows processed
    satyaki>
    satyaki>set long 40000
    satyaki>
    satyaki>select *
      2  from v$sqltext
      3  where instr(sql_text,'Satyaki_De_On_22_Sep_2008_8_25_PM')> 0;
    ADDRESS  HASH_VALUE SQL_ID        COMMAND_TYPE      PIECE SQL_TEXT
    1D578E00 2499086422 ddfyupqaga22q            6          0 update /*+ Satyaki_De_On_22_Sep_2008_8_25_PM*/emp set en
    Elapsed: 00:00:00.18
    Execution Plan
    Plan hash value: 1787836842
    | Id  | Operation        | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |         |     1 |    98 |     0   (0)| 00:00:01 |
    |*  1 |  FIXED TABLE FULL| X$KGLNA |     1 |    98 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("KGLOBOCT"<>0 AND INSTR("NAME",'Satyaki_De_On_22_Sep_2008_
                  8_25_PM')>0 AND "INST_ID"=USERENV('INSTANCE'))
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            794  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    satyaki>You have to execute -> set autotrace on as i have shown in my example.
    Regards.
    Satyaki De.

  • How to find out the user name and email address from SAP user id?

    Hi experts,
    In sto3n I find out the the user id with most navigations. I like to know his name or email address to contact him. Which table stores the user details? how to do it?
    Thanks in advance.
    Sharat.

    hi,
    The below tables will give only the name .
    USER_ADDRS
    USER_ADDR
    USER_ADDRP
    USR02
    i think you need email address .
    you can use this Tcode : su01d
    and give the user name and excute it
    i hope it will help you.
    Ram
    Edited by: Ram velanati on Jun 30, 2008 6:57 PM

  • Need to get file name and directory back from file adapter - WRITE

    I am using the file adapter to write a file. I want to log the file name of the file we just created. Since we use a precise timestamp in the file name, I can't accurately guess.
    I have an invoke in my BPEL process to the file adapter. My first try was to assign the jca.file.FileName property to a variable, but it never comes back. I looked around and saw plenty of ways to SET the file name for a write and GET the file name for a read, but no GET file name for WRITE.
    Anyone have a solution?
    Thanks in advance!

    I think I got your point... You can tell FileAdapter the filename to write, but if you don't then FileAdapter can not tell you the filename that it wrote... I think it is pretty possible Oracle didn't implement the latter, as the write operation is probably asynchronous and the filename is calculated later on...
    If what you want is just log, you may achieve your requirement by increasing verbosity on Adapter logs... Have a look at the link bellow...
    http://docs.oracle.com/cd/E15586_01/integration.1111/e10226/ad_mon.htm#CJHHBBID
    Otherwise, the solution for you will be to calculate filename yourself, and that will be a little bit of reinventing the wheel... But at least you will know the filename...
    Cheers,
    Vlad

  • SBS 2011 - Need to change Machine name and IP address range

    We had upgraded to SBS 2011 and new hardware 6 months ago, we have recently been aquired by a larger company and want us to comply with their machine naming conventions and change the IP address range to fit in with their corporate structure.  They
    will be supplying us with a 2011/2012 Domain controller, this is to be added to our existing network as the primary DC supplying DNS, DHCP, WSUS
    We use our SBS box for DNS, DHCP, Exchange, File server, Print server
    How difficult is this going to be?  Is it actually possible, or do we need to wipe the SBS box and install from scratch?Any help on this matter would be appreciated

    As said, you can't change the name of the server or the domain, but you can change the IP addresses.
    The bad news is that you can't integrate SBS to a larger corporate network. SBS needs to be at the root domain of the forest and hold all FSMO roles, and it can't have any trusts.
    If the corporate wants to bring in a DC of their own AD domain and wants all clients to be joined to that domain, you just can't use SBS anymore, it won't fit in. You need to inform your corporate IT about the situation, and you need to make a new plan.
    You will need some kind of migration from SBS to standard products first before you can join to the corporate network structure.
    Tero Leskinen - MVP (Windows Server for Small and Medium Business / SBS)

  • Launch URL from AIR (Flex) App

    Hi There,
    Is it possible to launch a window containing a foreign URL
    i.e. something that will launch cnn.com?
    My customer wants an AIR App that will take the user to their
    homepage..
    Thanks,

    Hi
    try navigateToURL()
    http://livedocs.adobe.com/flex/2/langref/flash/net/package.html#navigateToURL()
    A pretty simple browser can be built only by using mxml
    tags

  • Change Host Name and IP Address on machine running WLS 9.2

    Hello,
    I am new to this community, so please forgive any unintended missteps.
    I have an installation of BEA WebLogic Server 9.2 running on Windows 2003 Server SP2. This installation is running on a virtual server, which was created using some VMware product that copies or clones production environments. The purpose of this new, cloned environment is to act as a development environment. This new DEV server has a different host name and IP address from the source PROD server.
    WLS is not starting up properly. It complains about the license.bea file not being valid. To try to fix that, I manually changed the IP address listed within that file, from that of the original system to that of the current system, but that did not change the error message I get during startup.
    I imagine that this instance of WLS needs to be re-licensed to account for the change in IP address. Besides that, are there any other configuration parameters in text files, registry settings, etc., that need to be modified in order to allow the new instance of WLS to work the same as the old instance?
    Please note that we want both DEV and PROD to run simultaneously, so we need to take steps to ensure they (and the applications running on WLS) don't talk to each other.
    I tried to search the BEA sites and found a few resources, but related to some other products (ALES?), not WLS.
    Thoughts, suggestions, feedback, or pointers to documentation would be greatly appreciated.
    Thanks,
    JPG.

    Hi JPG,
    The BEA license files are tied to IP address. Editing the license.bea to change the IP address file will not work.
    Any reason why you cannot use a 5 user dev license for your environment?
    If you break the 5 user limit then use IIS or Apache to front-end the the WLS instance.
    Cheers
    Mike

  • Get Attachment Name and from address of mail in bpel process

    Hi All,
    I am using UMS Adapter to poll email server and  getting the attachment and saving it to local disk.
    In Payload from UMS adapter  i am getting href of the attachment  but I am not able to figure out as to how to get Attachment Name and From Address of a mail in my Bpel process.
    please guide me in getting them .
    Thanks in Advance
    Divyanshu

    1. Double click on your composite receive activity.
    2. Go to Properties tab in your receive activity.
    3. Click "+".
    4. Window that pops up,scroll down and select "jca.ums.from" and store it in some variable say fromAddress (Make sure before adding this property u create fromAddress variable of string data type).
    5. Click OK.
    6. In the same way add property for "jca.ums.msg.content-description" from drop down and assing it to some variable.
    you are good to go.
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Migrate WSUS server from 2003x86 to 2008x64, new hardware, use same name and IP address?

    Searching through the WSUS forums and reading the TechNET migration documentation, I have bits and pieces of information to make this a smooth transition...I think. I have a plan in mind but
    would like the communities input on what I am thinking before moving forward and having it blowup in my face :). <o:p></o:p>
    I have the following currently:<o:p></o:p>
    A single WSUS 3.0 SP2 server, running on Server Win2003x86, using the default WID (susdb.mdf) on the same server. I have SQL 2005 Express installed on this server as well for other services
    but this has no bearing on the WID correct?<o:p></o:p>
    What I would like to do:<o:p></o:p>
    I have a new server (a much better one) that I would like to move WSUS on to, that will be running Server Win2008x64 (I have to setup first). <o:p></o:p>
    Steps that I would like to follow:<o:p></o:p>
    1. I will go through and setup this new server with all M$ updates etc... under a new name (ex. wsusnew) and DHCP acquired IP address and then power it down. <o:p></o:p>
    2. Get on my current WSUS server and backup all current WSUS settings, groups, DB etc... to a network location for temporary storage. Then power it down.<o:p></o:p>
    3. Delete the current WSUS server computer object in AD, DNS entry I will leave because my intension is to give the same IP address to the new WSUS server.<o:p></o:p>
    4. Start the new server, static assign the IP address from the old WSUS server to this new server and then change the name of (wsusnew) to the old servers name, which should be ok sense I deleted
    the AD object in step 3.<o:p></o:p>
    5. After the obvious restart, the new server will have the same name and IP address as the old server. <o:p></o:p>
    6. Now that the new server is up (with same settings name/IP as old server), I will then go through and install the WSUS role on the server and restore my WSUS information.<o:p></o:p>
    Questions:<o:p></o:p>
    1. Step 2 above, is it possible to do this, without making replica servers? I kept reading about this as I was researching doing this, I would rather just copy the DB and folders and simply
    put them in-place on the new server.<o:p></o:p>
    2. Step 6 above, restoring of the data, what is the proper way to do this in the scenarioI described? <o:p></o:p>
    Thank you to anyone who can provide me some information.
    Jeff

    Thank you for the reply, I will follow and let you know. Proabably be next week sometime before I'm able to try though. So look for a reponse then. Thank you again.
    Jeff
    OR...
    You can use the much more simple, much more reliable, and much more proven method of:
    Install new server as a replica of the old.
    Replicate.
    Configure new server as upstream server.
    Point clients to new server.
    Turn off old server after all clients have redirected to the new server.
    For everybody that has tried the backup/restore the database procedure described above, they have encounted complications of one form or another.
    WSUS has a built-in and fully supported comprehensive replication capbility. use it! :-)
    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Microsoft MVP - Software Distribution (2005-2012)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin

Maybe you are looking for

  • IPad and apple tv does not work

    MY iPad does not see apple tv in home sharing .. Every thing is on sharing  but it just not seeing my iPad..

  • How to install 32-bit software on windows 7

    I recently purchased HP Pavilion p7-1234 w/ Windows 7. Can I/how do I install software that I used on Windows XP (32-bit)? AND, does anyone know if I can download the XP version of Solitaire? I DO NOT care for the version of Solitaire that came with

  • Duplicate

    hI sap experts I need one help regarding these.when we are Posting the invoice the system should give the invoice is Duplicate(For example:open t code f-43 here we enter one invoice dr rm ac 4000,cr party 4000.Once again we enter same entry), how to

  • Need uninstaller which works on Vista

    Hi, I've recieved the security alerts to upgrade and your site says to first uninstall old java. I have Windows hom premium Vista and the unintall does not say works with Vista. Can someone please tell me how to uninstall the old java? I need the uni

  • Adobe Flash Player 11.7.700.202 crashed

    I downloaded the new version and it again crashed. I even disabled protected mode and it still crashed. I can only get 10.3 to work. I see in July security updates will be discontinued. I seriously need help. How long can I safely continue to use the