How to retrieving IP address of a client PC using form?

Hi All,
How to get the IP address of the end user's PC of a database user logged in with his/her user?
Arif

Download WebUtil and JACOB libraries
• Download WebUtil version 1.0.6 from:
http://www.oracle.com/technology/software/products/forms/files/webutil/webutil_106.zip
• Download the JACOB libraries from:
http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
Extraction
Extract the webutil_106 zip file and make the following:
• Copy the webutil folder to this directory:
o <Developer Home>\forms90
• Copy contents of the server folder to this directory:
o <Developer Home>\forms90\server
• Make sure that the webutil.cfg, webutilbase.jar,
webutiljini.jar, webutiljpi.jar files are copied
• Copy contents of the java folder to this directory:
o <Developer Home>\forms90\java
• Make sure that the frmwebutil.jar file was copied
Extract the jacob_18 zip file and make the following:
• Copy the jacob.dll file to this directory:
o <Developer Home>\forms90\webutil
• Copy the jacob.jar file to this directory:
o <Developer Home>\forms90\java
Sign the Jar files using sign_webutil.bat
• Sign both the frmwebutil.jar and the jacob.jar with the same digital
certificate.
• Make sure that keytool and jarsigner are present in the path.
• Make sure that you have shutdown the OC4G Instance .
• From command line type the following:
o C:\cd <Developer Home>\jdk\bin
o C:\<Developer Home>\jdk\bin>
<Developer Home>\forms90\webutil\sign_webutil.bat
<Developer Home>\forms90\java\frmwebutil.jar
o Make sure that this message (...successfully done.) is appeared.
o C:\<Developer Home>\jdk\bin>
<Developer Home>\forms90\webutil\sign_webutil.bat
<Developer Home>\forms90\java\jacob.jar
o Make sure that this message (...successfully done.) is appeared.
orion-web.xml Configuration
• Go to this directory:
o <Developer Home>\j2ee\DevSuite\applicationdeployments\
forms\forms90web
• Open the orion-web.xml file.
• Add this line:
o <virtual-directory virtual-directory="/webutil"
real-directory="<Developer Home>/forms90/webutil"
/>
• Save the changes.
default.env Configuration
• Go to this directory:
<Developer Home>\forms90\server
• Open the default.env file.
• Find FORMS90_PATH=<Developer Home>\forms90
• Append this line:
o C:\oracle\product\10.2.0\ds_1\forms90\webutil
• In a new line under (FORMS90_PATH=) add this line:
o WEBUTIL_CONFIG=<Developer Home>\forms90\server\webutil.cfg
• Find PATH= , comment it and replace it with this line:
o PATH=<Developer Home>\bin;
<Developer Home>\jlib;
<Developer Home>\jdk\bin;
<Developer Home>\jdk\jre\bin;
<Developer Home>\jdk\jre\bin\client;
<Developer Home>\jre\1.1.8\bin;
• Find CLASSPATH= and append this line:
o <Developer Home>\forms90\java\jacob.jar;
<Developer Home>\forms90\java\frmwebutil.jar;
<Developer Home>\forms90\java\f90all.jar;
<Developer Home>\jdk\jre\lib\rt.jar;
• Save the changes.
formsweb.cfg Configuration
• Go to this directory:
o <Developer Home>\forms90\server
• Open the formsweb.cfg file.
• Under the [Default] section
o Find archive_jini=f90all_jinit.jar
o Comment this line.
o Add the following:
�� archive_jini=f90all_jinit.jar,frmwebutil.jar,jacob.jar
�� archive=f90all.jar
• At the end of the formsweb.cfg file, Define a new section
[webutil]
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=f90all_jinit.jar
WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
archive=frmwebutil.jar,f90all.jar
lookAndFeel=oracle
• Save the changes.
webutil.cfg Configuration
• Go to this directory:
o <Developer Home>\forms90\server
• Open the webutil.cfg file.
• At the end of this file add the following
o transfer.database.enabled=TRUE
o transfer.appsrv.enabled=TRUE
Registry Configuration
• In the registry editor find FORMS90_BUILDER_CLASSPATH
• Modify by appending this line:
o <Developer Home>\forms90\java\jacob.jar;
<Developer Home>\forms90\java\frmwebutil.jar;
<Developer Home>\forms90\java\f90all.jar;
<Developer Home>\jdk\jre\lib\rt.jar;
• Note: The total length of the FORMS90_BUILDER_CLASSPATH cannot exceed
512 characters.
• If the FORMS90_BUILDER_CLASSPATH exceeds 512 characters, you will get
this error when you start the Forms Builder:
o FRM-18122: Oracle Forms Debugger failed to Initialize.
• To solve this problem make the following:
o Return FORMS90_BUILDER_CLASSPATH to its previous value.
o Workaround FORMS90_BUILDER_CLASSPATH by defining new
environment variables (user variables):
Variable Name Variable Value
WEBUTIL_CONFIG <Developer Home>\forms90\server\webutil.cfg
CLASSPATH <Developer Home>\forms90\java\jacob.jar;
<Developer Home>\forms90\java\frmwebutil.jar;
<Developer Home>\forms90\java\f90all.jar;
<Developer Home>\jdk\jre\lib\rt.jar;
Configuring Database for WebUtil
• Start SQL*Plus as SYSDBA, and issue
o CREATE USER webutil IDENTIFIED BY [password]
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
o GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC
SYNONYM TO webutil;
• Start iSQL*Plus as webutil
o Load the script create_webutil_db.sql
(You find this script under webutil_106 zip file after extract it)
o Execute the script.
o You will get this message:
PACKAGE CREATED
PACKAGE Body CREATED
• Start SQL*Plus as webutil, and issue
o CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
• Reconnect as SYSDBA, and issue:
o GRANT EXECUTE ON webutil_db TO PUBLIC;
Using WebUtil
• Start the OC4J instance.
• Start Forms Builder and connect to your schema.
o Open webutil.olb
o Open webutil.pll
• Compile ALL (Shift-Control-K)
• Generate PLX (Control-T).
• If the PLX is not generated, the webutil.pll library would have to be
attached with full path information to all forms wishing to use WebUtil. This is
NOT recommended.
• Create a new Form
o Open webutil.olb, and Subclass (not Copy) the WEBUTIL object to
the Object Groups of your form.
o There is no need to Subclass the WEBUTILCONFIG object.
o Attach the webutil.pll Library, and remove the path.
o When you open the WEBUTIL_CANVAS in layout editor, you can see the
following screen (i.e. your installation is successful). Otherwise, you will
get this error;
• FRM-13008: Cannot find JavaBean with name '%s.'sarah

Similar Messages

  • How to retrieve Delivery address when entered manually in PO

    Hi All,
    I am trying to print PO through Smartform. I am retrieving the delivery address based on the adrnr number/Customer number/Vendor Number from EKPO table. Now when the user manually changed the address with out adrnr/Customer number/Vendor Number, how to retrieve that address in order to print as these three fileds will be blank in EKPO table. How and where the SAP will store that address. Any help thanks.

    Hi,
        In the sales order point of view I know it will be stored in the ADRC table for the VBPA-ADRC number entry. Similar to that I hope the EKPO ADRC will have an another entry in the ADRC table.
    Thanks,
    Greetson

  • How to find mac address of a client computer in specified time and port in WIFI WCS Control system

    how to find mac address of a client computer in specified time and port in WIFI WCS Control system

    WCS record-keeping is very crude.  
    You'll get the time/date when the client authenticated.  You'll get the local inside address but you'll need the router to translate the outside IP address and the port.  
    You will need a proxy server to determine what sites did a wireless client goes.

  • Not able to create a text file in Client Machine using Forms 10g

    Hi - I'm mot able to create a text file in Client Machine using Forms 10g. I'm getting error when system executes the bolded line.(i.e. CLIENT_TEXT_IO.FOPEN). During run-time system is throwing "ORA-06508: PL/SQL: could not find program unit being called".
    I had attached webutil.pll in the form.
    Please advise me.
    DECLARE
    l_Temp CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    LN$Lines Pls_integer := 0 ;
    LC$Line Varchar2(4000) ;
    Cursor C_CUR Is
    Select * From TEST_TEXTIO where rownum <= 50;
    BEGIN
    LC$Name := 'tmp_file.txt' ;
    LC$Fic := 'c:\temp\tmp_file.txt';
    Begin
    l_temp := CLIENT_TEXT_IO.FOPEN( 'C:\temp\tmp_file.txt', 'W');
    Exception
         when others then
         message( 'OPEN FILE ERROR ' || LC$Fic ||sqlerrm );
         display_error;
         raise form_trigger_failure;
    End ;
    -- Write the lines --
    For Cur In C_CUR Loop
         LC$Line := Cur.CODE || ' -> ' || Cur.COL1 || ',' || Cur.COL2 || ',' || Cur.Col3 ;
         CLIENT_TEXT_IO.PUT_LINE( LF$File, LC$Line ) ;      
         LN$Lines := C_CUR%ROWCOUNT ;
    End loop ;
    -- Close the file --
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    Exception
         When others Then
    message('err='||sqlerrm);message(' ');
    display_error;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;      
         Raise ;
    END;
    Thanks.
    Arun

    Hi ,
    i have one Question though its not related to thos question if some could help me it will be really helpful,
    i have created one program to import and export excel to forms vice versa, if the form is attached with webutil its working fine am using ole2.but i have a new idea if i add this program in menu, it can be used for all the forms attched to that menu, i made program also, but problem am facing right now is if the form is not attched with webutil it will not work so is there possiblity to share my webutil from one form to another form ,so i will keep one form as a interface form in that webutil will be attched ,i can share that webutil to all other forms so that all the forms no need to attach webutil again
    if its possible means please suggest some ideas

  • How to retrieve CRL information from a client computer

    Is possible to retrieve CRL information from a client computer and how?
    Thanks.

    CRL's do not normally live on workstations... normally these are hosted on servers. If you want to see what server are in the local revocation list then look at the certificates mmc snap-in and look at the revoked certificate list. If you want to test
    a CRL for a certificate then export the certificate and run "Certutil -url"
    Alan Burchill (MVP)
    http://www.grouppolicy.biz
    @alanburchill

  • How to retrieve the data from SAP-BAPI by using VB Code

    Hi ,
    I am new to BAPI.
    V have created an application in Visual Basic with the following fields
    EmpNo , EmpName, Addr1, Addr2, City and Phone (Only for Test)
    We have written the code for SAVING the data into SAP. Already we have
    constructed a table with the respective fields in SAP.
    For that we ourself created our own BAPI Structure / Function Group /
    Function Module/ Business Object - RELEASED related elements.
    1)Established the connection successfully.
    2)Stored the data into SAP Successfully and v r in need of
    3)HOW TO RETRIEVE THE DATA FROM SAP (USING GETLIST.....GETDETAIL....)
    Following is the code :
    'BAPI Structure  : ZBAPIEMP
    'Function Group  : ZBAPIEMP
    'Function Module : ZBAPI_EMP_CREATEFROMDATA
    'Business Object : ZBAPIEMP
    'Function Module : ZBAPI_EMP_GETLIST
    Dim bapictrl As Object
    Dim oconnection As Object
    Dim boEmp As Object
    Dim oZEmp_Header As Object
    Dim oImpStruct As Object
    Dim oExpStruct As Object
    Dim oreturn As Object
    Dim x As String
    Private Sub Form_Load()
    Set bapictrl = CreateObject("SAP.BAPI.1")
    Set oconnection = bapictrl.Connection
    oconnection.logon
    Set boEmp = bapictrl.GetSAPObject("ZBAPIEMP")
    Set oZEmp_Header = bapictrl.DimAs(boEmp, "CreateFromData", "EmployeeHeader")
    Set oImpStruct = bapictrl.DimAs(boEmp, "GetList", "EmployeeDispStruct")
    End Sub
    Private Sub cmdSave_Click()
        oZEmp_Header.Value("EMPNO") = txtEmpNo.Text
        oZEmp_Header.Value("EMPNAME") = txtEmpName.Text
        oZEmp_Header.Value("ADDR1") = txtAddr1.Text
        oZEmp_Header.Value("ADDR2") = txtAddr2.Text
        oZEmp_Header.Value("CITY") = txtCity.Text
        oZEmp_Header.Value("PHONE") = txtPhone.Text
        boEmp.CreateFromData EmployeeHeader:=oZEmp_Header, Return:=oreturn
        x = oreturn.Value("Message")
        If x = "" Then
            MsgBox "Transaction Completed!..."
        Else
            MsgBox x
        End If
    End Sub
    Private Sub cmdView_Click()
    End Sub
    COULD ANYBODY GUIDE ME, HOW TO RETRIEVE THE DATA FROM BAPI, FOR THE WRITTEN CODE.

    I didn't seen any other answers but here's how it's been done previously in our organization for a custom BAPI. In this example, we give material and language to return the part description. It's not specific to your project but may give you ideas..
    -Tim
    Option Compare Database
    Dim SAPLOGIN As Boolean
    Dim FunctionCtrl As Object
    Dim SapConnection As Object
    Sub SAPLOGOUT()
    On Error GoTo LogoutFehler
        SapConnection.logoff
        SAPLOGIN = False
    Exit Sub
    LogoutFehler:
        If Err.Number = 91 Then
            Exit Sub
        Else
            MsgBox Err.Description, vbCritical, "Fehler-Nr." & CStr(Err.Number) & " bei SAP-Logout"
        End If
    End Sub
    Function SAPLOG() As Boolean
    'Verbindungsobjekt setzen (Property von FunctionCtrl)
       Set FunctionCtrl = CreateObject("SAP.Functions")
       Set SapConnection = FunctionCtrl.Connection
    'Logon mit Initialwerten
       SapConnection.Client = "010"
       SapConnection.Language = "EN"
       SapConnection.System = "PR1"
       SapConnection.SystemNumber = "00"
       'SapConnection.Password = ""
       SapConnection.GroupName = "PR1"
       SapConnection.HostName = "168.9.25.120"
       SapConnection.MessageServer = "168.9.25.120"
         If SapConnection.Logon(0, False) <> True Then  'Logon mit Dialog
             Set SapConnection = Nothing
             DoCmd.Hourglass False
             MsgBox "No connection to SAP R/3 !"
             SAPLOGIN = False
             SAPLOG = False
             Exit Function
          End If
        SAPLOG = True
    End Function
    Function MatDescr(MatNr As String)
    Dim func1 As Object
    Dim row As Object, X As Integer, ErsteNr As String
    Dim DatensatzZähler As Long
    Dim RowField(1 To 50, 0 To 1) As String, RowLine As Long
        If Not SAPLOGIN Then
            If Not SAPLOG() Then
                MsgBox "No connection  to SAP !", 16
                SAPLOGOUT
                Exit Function
            End If
        End If
    ' Instanziieren des Function-Objektes
    Set func1 = FunctionCtrl.Add("Z_BAPI_READ_MAKT")
    ' Export-Paramter definieren
    func1.exports("MATNR") = MatNr
    func1.exports("SPRAS") = "EN"
    DoEvents
    If Not func1.call Then
        If func1.exception <> "" Then
            MsgBox "Communication Error with RFC " & func1.exception
        End If
        DoCmd.Hourglass False
        SAPLOGOUT
        Exit Function
    Else
      MatDescr = func1.imports("MAKTX")
    End If
    If MatDescr = "" Then
        MatDescr = "PART NO. NOT FOUND"
    End If
    End Function

  • HELP! How te retrieve the last row in MYSQL database using Servlet!

    Hi ,
    I am new servlets. I am trying to retireve the last row id inserted using the servlet.
    Could someone show me a working sample code on how to retrieve the last record inserted?
    Thanks
    MY CODE
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class demo_gr extends HttpServlet {
    //***** Servlet access to data base
    public void doPost (HttpServletRequest req, HttpServletResponse resp)
         throws ServletException, IOException
         String url = "jdbc:mysql://sql2.njit.edu/ki3_proj";
              String param1 = req.getParameter("param1");
              PrintWriter out = resp.getWriter();
              resp.setContentType("text/html");
              String semail, sfname, slname, rfname, rlname, remail, message;
              int cardType;
              sfname = req.getParameter("sfname");
              slname = req.getParameter("slname");
              rfname = req.getParameter("rfname");
              rlname = req.getParameter("rlname");
              semail = req.getParameter("semail");
              remail = req.getParameter("remail");
              message = req.getParameter("message");
              //cardType = req.getParameter("cardType");
              cardType = Integer.parseInt(req.getParameter("cardType"));
              out.println(" param1 " + param1 + "\n");
         String query = "SELECT * FROM greeting_db "
    + "WHERE id =" + param1 + "";
              String query2 ="INSERT INTO greeting_db (sfname, slname ,semail , rfname , rlname , remail , message , cardType ,sentdate ,vieweddate) values('";
              query2 = query2 + sfname +"','"+ slname + "','"+ semail + "','"+ rfname + "','"+ rlname + "','"+ remail + "','"+ message + "','"+ cardType + "',NOW(),NOW())";
              //out.println(" query2 " + query2 + "\n");
              if (semail.equals("") || sfname.equals("") ||
              slname.equals("") || rfname.equals("") ||
              rlname.equals("") || remail.equals("") ||
              message.equals(""))
                        out.println("<h3> Please Click the back button and fill in <b>all</b> fields</h3>");
                        out.close();
                        return;
              String title = "Your Card Has Been Sent";
              out.println("<BODY>\n" +
    "<H1 ALIGN=CENTER>" + title + "</H1>\n" );
                   out.println("\n" +
    "\n" +
    " From  " + sfname + ", " + slname + "\n <br> To  "
                                            + rfname + ", " + rlname + "\n <br>Receiver Email  " + remail + "\n<br> Your Message "
                                            + message + "\n<br> <br> :");
                   if (cardType ==1)
                        out.println("<IMG SRC=/WEB-INF/images/bentley.jpg>");
                   else if(cardType ==2) {
                        out.println("<IMG SRC=/WEB-INF/images/Bugatti.jpg>");
                   else if(cardType ==3) {
                        out.println(" <IMG SRC=/WEB-INF/images/castle.jpg>");
    else if(cardType ==4) {
                        out.println(" <IMG SRC=/WEB-INF/images/motocross.jpg>");
    else if(cardType ==5) {
                        out.println(" <IMG SRC=/WEB-INF/images/Mustang.jpg>");
    else if(cardType ==6) {
                        out.println("<IMG SRC=/WEB-INF/images/Mustang.jpg>");
    out.println("</BODY></HTML>");
         try {
              Class.forName ("com.mysql.jdbc.Driver");
              Connection con = DriverManager.getConnection
              ( url, "*****", "******" );
    Statement stmt = con.createStatement ();
                   stmt.execute (query2);
                   //String query3 = "SELECT LAST_INSERT_ID()";
                   //ResultSet rs = stmt.executeQuery (query3);
                   //int questionID = rs.getInt(1);
                   System.out.println("Total rows:"+questionID);
    stmt.close();
    con.close();
    } // end try
    catch (SQLException ex) {
              //PrintWriter out = resp.getWriter();
         resp.setContentType("text/html");
              while (ex != null) { 
         out.println ("SQL Exception: " + ex.getMessage ());
         ex = ex.getNextException ();
    } // end while
    } // end catch SQLException
    catch (java.lang.Exception ex) {
         //PrintWriter out = resp.getWriter();
              resp.setContentType("text/html");     
              out.println ("Exception: " + ex.getMessage ());
    } // end doGet
    private void printResultSet ( HttpServletResponse resp, ResultSet rs )
    throws SQLException {
    try {
              PrintWriter out = resp.getWriter();
         out.println("<html>");
         out.println("<head><title>jbs jdbc/mysql servlet</title></head>");
         out.println("<body>");
         out.println("<center><font color=AA0000>");
         out.println("<table border='1'>");
         int numCols = rs.getMetaData().getColumnCount ();
    while ( rs.next() ) {
              out.println("<tr>");
         for (int i=1; i<=numCols; i++) {
    out.print("<td>" + rs.getString(i) + "</td>" );
    } // end for
    out.println("</tr>");
    } // end while
         out.println("</table>");
         out.println("</font></center>");
         out.println("</body>");
         out.println("</html>");
         out.close();
         } // end try
    catch ( IOException except) {
    } // end catch
    } // end returnHTML
    } // end jbsJDBCServlet

    I dont know what table names and fields you have but
    say you have a table called XYZ which has a primary
    key field called keyID.
    So in order to get the last row inserted, you could
    do something like
    Select *
    from XYZ
    where keyID = (Select MAX(keyID) from XYZ);
    Good Luckwhat gubloo said is correct ...But this is all in MS SQL Server I don't know the syntax and key words in MYSQL
    This works fine if the emp_id is incremental and of type integer
    Query:
    select      *
    from      employee e,  (select max(emp_id) as emp_id from employee) z
    where      e.emp_id = z.emp_id
    or
    select top 1 * from employee order by emp_id descUday

  • How do I format address labels to Avery 8160 using Pages?

    Using Pages, how do I format address labels to Avery 8160 format?

    Print them from Contacts/AddressBook or open a Word .doc for the 8160 label, available on Avery's website.
    Peter

  • How to create .pdf file on a button click using forms

    Hi
    I want to create a .pdf file. Could you please tell me how can I do that?
    regards

    Hi!
    Do you use reports?
    Just set
    desformat to PDF
    destype to cache and
    desname to the email recipient/s (max 80 characters) eg: [email protected],[email protected] ...
    Do you use forms client/server or forms on the web?
    Regards

  • How to retrieve ip address of the server running PAM inside its module?

    Hello all,
    I've configured Solaris 8 with a deal of ip aliases on the network interface.
    Also I've a handwritten PAM module to auth users. It have some specific functionality which is needed for me.
    For the moment, this module need to be updated. This update requires a knowledge of IP address the user connecting to.
    Is it possible to determine IP address (alias IP) of the machine inside PAM module the user connecting to?
    Thank you for your answers.
    Mikhail.

    > Can i access the ip address of the DB server through SQL or PL/SQL code?
    No. It is the wrong place to look.
    Reason: a sever can, and often has, multiple IP addresses.
    So when you run SQL or PL/SQL code (or a Java stored proc), that will likely report the 1st IP address of the server - and you could have connected via another IP address of that server.
    The actual socket call to get the hostname returns an array of IP addresses. So which one is the correct one? How do you know whether or not your client session connected to the 1st IP in this array?
    The correct place to look is at the socket handle for that Oracle session on the client. And determine to what IP address that socket is connected to.
    This is not that easy - I do not think that the OCI exposes the socket handle it creates. But you can use kernel calls to get a list of established TCP sessions and to what IP address they're connected to. The netstat command on Windows and Unix/Linux is an example of how this can be done.

  • How to retrieve the creation date of clients ?

    Dear all,
    I have few DEV clients which are copied from Production clients. When want to perform client deletion I want to delete the oldest client in DEV. But which is the oldest client ?
    Is there a table or tcode that can show me when are those DEV clients created ?
    What I am doing now is very time consuming, i have to login to production, execute SCC3 and find out when is the client exported and what is the TR number. Then in DEV i execute SCC3 to find out which DEV is created with what TR number.
    By doing this i will know
    a.) The DEV client is a copy of PRD as per which date.
    b.) and when is the DEV client created.
    In SCC4, it has the information of when is the client changed, but not when it is created.
    In SE16, table T000 refers to same info in SCC4 as well.
    Your advice and input are highly appreciated.
    Thanks.
    Regards,
    Kent

    Hi Juan,
    Follow your steps, I got below output, but no "Data record created".
    Parameters for Analysis:
             System ID:            PRD
             SAP Release:          700
             Client:               199
             Date :                28.05.2009
             Time:                 20:29:01
             User:                 KENT
    Selected Period
             From (date/time)      22.05.2005 00:00:00
             To (date/time)        28.05.2009 20:28:18
    Selected Customizing Objects:
    T000             S Clients
    Analysis without archived log data
    No logs found for the selected period
    Then I clicked on "Logging: Display status" it says "Logging is switched off".
    Questions
    a.) This will only work when the logging is turn on, right ?
    b.) Assuming the logging is turn on and i manage to get the creation info, at table level how do i retrieve the same info ? Because if I have 10 clients, i hope to see all the info and dates at one glance.
    Please advise.
    Thanks.
    Regards,
    Kent

  • How-to retrieve the address book of a Leopard CCC backup?

    Hi,
    I have installed SnowLeopard and before doing so, I did a CarbonCopyCloner backup of Leopard. I forgot to export my address book of Leopard and now I want all my contacts back in the SnowLeopard address book. How can I do? What are the files I have to copy from my CCC backup to my new install to make them appear?
    Thank you.

    My issue is that I did not want all the garbages that I had before in my account.
    So, I just kept thefew interesting stuff, and that is it. Then I worked a little bit, and now that I want my contacts back, I cannot use this migration assistant anymore since it does not allow you to do a precise selection of what you want to import.
    I have tested to copy all the adressbook dire tory as suggested, but it does not work.
    Any other ideas ? or do you know how I can import all my Gmail contacts into this address book ?
    Thank you

  • How to get IP address of the client?

    Hi,
    I use the SAP Portal 6 SP2. I need to prevent user from accessing to iview depending of their IP. How can I get the IP of the users? What would the best practice in this case to personalize the iview depending of the IP?
    Thank you,
    Maria

    HI,
    Use the below without Proxy detection:
    <%
        String ipaddress = request.getRemoteAddr();
    %>
    with Proxy detection:
    <%
        if (request.getHeader("HTTP_X_FORWARDED_FOR") == null) {
            String ipaddress = request.getRemoteAddr();
        } else {
            String ipaddress = request.getHeader("HTTP_X_FORWARDED_FOR");
    %>
    Regards,
    Birla.

  • How to retrieve ONE address from Time Capsule backup..

    I found this, after a search, here.. in an archived Discussion-
    "I decided to delete the entry from AddressBook and restore the previous hours' copy of the entire record for that person. It takes less than a minute to restore a record like this.."
    I need to do this!
    can anyone post (very) detailed instructions, please?!
    I lost an important phone number and don't know when I inadvertently erased it.
    I tried entering Time Machine; choosing a year old backup; and looked up Address Book under every heading I could think of (L's hard drive, L's iMac, Applications, etc) but every time I clicked on "Address Book", I simply saw a small screen picture of Address Book, version number.. no individual names or addresses..
    I'd be grateful for help- thank you!

    There is info on address restore here.
    http://pondini.org/TM/15.html
    I am not sure if it is exactly detailed enough.

  • How to retrieve user identity in a web service using SSO/SSL?

    I am using OracleAS10g Rel2 to develop a web service implemented as a java class. The web service client uses basic HTTP authentication and is to access the web service over SSL. I would like to know in general how I might access the user identity from within the java class. I am aware that it is possible to pass environment variables from the HTTP server to the OC4J container with Oc4jEnvVar, but can't sufficient documentation on this and am not sure this is the right approach.
    Any help is greatly appreciated..

    There are a couple of possible techniques--
    A) Use the AccesControlContext API
    You can use methods from the java.security.AccessControlContext,
    java.security.AccessController, and javax.security.auth.Subject
    classes to get the authenticated subject.
    1. Create an AccessControlContext object by calling the
    AccessController.getContext method. The getContext method takes a
    "snapshot" of the current calling context and returns it in an
    AccessControlContext object.
    2. Get the subject of the context by using the Subject.getSubject method.
    For more information on the classes and methods described in this section, see the API
    for the java.security and javax.security.auth packages at the following Web
    address.
    http://java.sun.com/j2se/1.4.2/docs/api/index.html
    For example:
    java.security.AccessControlContext context =
    java.security.AccessController.getContext();
    javax.security.auth.Subject sub = javax.security.Subject.getSubject(context);
    B) use the ServiceLifecycle API:
    You can use the javax.xml.rpc.server.ServiceLifecycle and
    ServletEndpointContext interfaces to obtain user information from security
    tokens, such as SAML, Username, or X.509. For example, the
    ServletEndpointContext.getUserPrincipal method returns the name of the
    authenticated user; the ServletEndpointContext.isUserInRole method
    returns whether user belongs to a specific role.
    Follow these general steps:
    1. Implement the ServiceLifecycle interface for the Web service.
    2. In the implementation of the ServiceLifecycle.init method, cast the
    context parameter to ServletEndpointContext.
    3. Call methods, such as getUserPrincipal and isUserInRole, on the
    ServletEndpointContext context parameter to obtain user information.
    For example:
    package test;
    public class SecureService implements securePort,
    javax.xml.rpc.server.ServiceLifecycle {
    private javax.xml.rpc.server.ServletEndpointContext context;
    public void init(Object obj) throws javax.xml.rpc.ServiceException {
    context = (javax.xml.rpc.server.ServletEndpointContext)obj;
    public String helloUser(String message) throws java.rmi.RemoteException {
    java.security.Principal principal = context.getUserPrincipal();
    if(principal == null) {
    throw new RuntimeException("Principal not found");
    String userName = principal.getName();
    return "Hi "+userName+"! "+message;
    public void destroy() {
    context = null;
    }

Maybe you are looking for