Client Info in foms 10g

Query :
how to get the client detials like : Client IP, Machine Name
where the 10g form is accessed throught browsers.
clients are accessing *10gforms through browser (http://servername:8889/forms/frmservlet)*
I've tried :
sys_context( 'userenv', 'ip_address' ) and
UTL_INADDR.GET_HOST_ADDRESSbut they all return server-ip not client ip... please help me to get client IP + name

Hello Michael Ferrante,
I get the following err on compiling webutil.pll (D:\DevSuiteHome_1\forms) :
Compilation errors on WEBUTIL_DB_LOCAL:
PL/SQL ERROR 201 at line 9, column 12
identifier 'WEBUTIL_DB.OPENBLOB' must be declared
PL/SQL ERROR 0 at line 9, column 5
Statement ignored
PL/SQL ERROR 201 at line 18, column 12
identifier 'WEBUTIL_DB.CLOSEBLOB' must be declared
PL/SQL ERROR 0 at line 18, column 5
Statement ignored
PL/SQL ERROR 201 at line 24, column 5
identifier 'WEBUTIL_DB.WRITEDATA' must be declared
PL/SQL ERROR 0 at line 24, column 5
Statement ignored
PL/SQL ERROR 201 at line 29, column 12
identifier 'WEBUTIL_DB.READDATA' must be declared
PL/SQL ERROR 0 at line 29, column 5
Statement ignored
PL/SQL ERROR 201 at line 35, column 12
identifier 'WEBUTIL_DB.GETLASTERROR' must be declared
PL/SQL ERROR 0 at line 35, column 5
Statement ignored
PL/SQL ERROR 201 at line 40, column 12
identifier 'WEBUTIL_DB.GETSOURCELENGTH' must be declared
PL/SQL ERROR 0 at line 40, column 5
Statement ignored
PL/SQL ERROR 201 at line 45, column 12
identifier 'WEBUTIL_DB.GETSOURCECHUNKS' must be declared
PL/SQL ERROR 0 at line 45, column 5
Statement ignored
Failed to generate library.
What must have went wrong ?

Similar Messages

  • User Exit in 10g - To get client info

    Hi all
    We have a user exit call in forms 4.5 which returns client info (OS version).
    As we are going for 10g, the user exits will reside in AS.
    Is there any way by which i can use the same user exit to get client info now ?
    Thnx and Regards
    Sriram

    in the old days of forms 6i we created tons of java-applets for host-commands and so on.
    with the first version of webutil all the applets we created ourself were gone, because all functions were in the webutil-toolset.
    You can use it beginning with forms 9i. It's very good and easy to use. Look in OTN where the developer-downloads are
    Gerd

  • 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

  • Webutil - get client info

    I have a problem, I'd like to gather client info and present that info as my forms application loads but unfortunatley I can't seem to get it to works. I can create a button and place code behind it and gather information that way so I'm confident that my set-up of webutil is ok.
    any ideas?

    I think its going to be impossible to help you since you make no mention of any symptoms of how this is not working, no error messages, no sample code.
    Try the webutil demo and see if that works - that has code for calling the client info webutil code.
    Regards
    Grant Ronald
    Forms Product Management

  • Connect Oracle 10g client to the Oracle 10g database behind a firewall

    I need to connect an Oracle 10g client to the Oracle 10g database (windows server 2003 box) behind a firewall. I ran into this problem: Port redirection. Port redirection requires the Oracle client to connect to the database using a different port (usually a randomly selected TCP port) than the default or originally configured one. If there is no firewall between the server and the client, port redirection will not affect the actual connection. However, if port redirection does occur with the server behind a firewall, the client will be likely to suffer from a connectivity failure. The reason is simple: the newly assigned port based on port redirection is often blocked by the firewall. Such failures are not uncommon on Windows platforms.
    I don't know how to stablished an unique TCP port.
    I Enabled USE_SHARED_SOCKET on the Oracle database server, windows registry. Acording to what I read,that will force the server machine to share its port 1521 and thus all clients will stay on that port when connecting to the database. Noticeably, port redirection will not occur with USE_SHARED_SOCKET enabled, but that's true in oracle 8 or oracle 9. In oracle 10g this solution doesn't work.
    I will apreciate any help about this. Please!
    Thanks in advanced.

    Three solutions in order of preference
    1 Use Connection Manager on the server (only installed using a Custom Install). This will tunnel all traffic through a single port. It will also allow you to configure allowable nodes
    2 Set up shared server to use a fixed port. Disadvantage: shared server has overhead and the number of connections is limited
    3 Use shared_sockets. Disadvantage: when you stop the listener everyone is disconnected.
    Sybrand Bakker
    Senior Oracle DBA

  • How to Set Client Info in OBIEE

    Hi All,
    Im accessing Oracle Applications table from OBIEE through database. How can I set the client info so that I can see the data.
    Thanks

    Hi,
    You can execute a script at logon. Check the 'Connection Scripts'-tab on your connection pool. Her you can define a 'Execute on Connect'-script.
    This way you can set your client_info en view the Oracle eBS table data.
    Good Luck,
    Daan Bakboord

  • Show af:messages in info popup in 10g

    Hi, in 10g is there any fast way to display messages using af:messages in popup as in 11g.
    I red that if af:messages is missing the default operation in to open an info popup but the same is not happening in 10g.
    Thanks,
    Ilias

    Hi,
    ADF Faces in 11g is not comparable to ADF Faces in 10.1.3. The client side features are specific to 11g
    Frank

  • How to extract System/Client Info from R/3

    Hi All,
    Can somebody tell me how do we get the system/client information along with our transaction data coming from two R/3 systems during extraction? If it is possible or not?
    If yes in which R/3 table we can find that information?
    Regards,
    Pooja

    Hi Pooja,
    The Source System is very specific for each info package . So when you create a infoPackage you are aware about the source System. So add 0SOURSYSTEM in the infoSource and make it a constant value(hard code it).
    Hope you got it
    Regards
    Happy Tony
    <b>Points == Thanks</b>

  • Executing an Oracle 9i Client Process from OAS 10g Java Application

    Sorry in advance for the long post:
    We have a piece of legacy software (Uniface.exe) that contains a good chunk of business rules for an existing system. Uniface client connects to an Oracle 10g database but requires Oracle 9i client libraries. Therefore the default Oracle home for a local machine running Uniface is set to the Oracle 9i client software location.
    On the same machine we have OAS 10g (10.1.3.1) running a Java-based middleware product (J2EE). The Java code invokes the Uniface.exe client to run specific business functions. We have in our Java code Runtime.getRuntime().exec(cmd); where cmd is the Uniface.exe.
    It appears that when the OAS Java program executes the Uniface.exe it is using the Oracle 10g client libraries from OAS instead of the Oracle 9i client libraries from the local machine's default Oracle home. When we run Uniface.exe from a Windows command prompt it works fine.
    We have noticed that when running Uniface.exe from Java OAS uses its own Windows path and environment variables and does not honor the system path. We wrote a Windows bat script to explicitly set the Oracle home and system path to the 9i location and then run Uniface.exe but this doesn't seem to work.
    Any ideas?

    OAS sets the ORA_NLS33 environment variable to the OAS 10g home location (F:\Oracle\10.1.3.1\OracleAS_1\ocommon\nls\admin\dat). Setting it to my Oracle 9i client location (C:\Oracle\product\9i\ocommon\nls\ADMIN\DATA) appears to have solved the problem.

  • What JDBC client info is sent/available in the DBMS?

    Hi all.
    If 10 JDBC connections are made to the same DBMS,
    (scott/tiger), five from one JVM and 5 from another, is
    there a query that a third-party can run that will be able
    to identify which five connections are from JVM A and
    which are from JVM B? For instance, if JVM A is on a
    different box than JVM B? Ie: does the client login protocal
    send the client IP address/OS process ID?
    thanks
    Joe Weinstein at BEA Systems

    thanks all for trying to help!
    I tried setting v$program in a property
    but it had no effect. I checked
    http://download-west.oracle.com/docs/cd/B19306_01/java.102/b14355/urls.htm#g1028323
    and that doesn't list V$PROGRAM as a property. The tinyurl gives a 404.
    The driver is 10.2.0.1.0
    The DBMS is Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production With the Partitioning, OLAP and Data Mining options
    Driver dr = new oracle.jdbc.OracleDriver();
    Properties props = new Properties();
    props.put("user", "joe");
    props.put("password", "XXX");
    props.put("v$program", "MY_PROGRAM_NAME");
    c = dr.connect("jdbc:oracle:thin:@XXX:1521:XXX", props);
    System.out.println("The driver is " + c.getMetaData().getDriverVersion() );
    System.out.println("The DBMS is " + c.getMetaData().getDatabaseProductVersion() );
    Statement s = c.createStatement();
    ResultSet r = s.executeQuery("select * from V$SESSION where USERNAME = 'JOE'");
    int cnt = r.getMetaData().getColumnCount();
    while (r.next())
    for (int i = 1; i <= cnt; i++)
    System.out.println(" value for " + r.getMetaData().getColumnName(i) + " is " + r.getS
    tring(i) + "\t");
    System.out.println("-------------");
    The DBMS is Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    With the Partitioning, OLAP and Data Mining options
    value for USERNAME is JOE
    value for SCHEMANAME is JOE
    value for OSUSER is null
    value for PROCESS is 1234
    value for MACHINE is joes_box
    value for TERMINAL is null
    value for PROGRAM is null
    ...

  • More info about Jdev 10g, where to get

    Hi all,
    I have done some jDev 10g tutorials for jsp, j2ee, struts. When i started to write some code on my one many problems appeared. So i am interested, where to get info, documentation or how to work with jdev 10g.
    To get questions like :
    -What is diferent between struts action and action data?
    -How to develop with modules? If i'd like to have login, forum, calendar modules and use them in difrent application.
    - ...what can be done with jdev 10g an also how
    Any links or book titles would be fine or suggestions how to learn developing j2ee applications with jdev 10g.
    By the way I am studen who'd like to learn as much as possible to be a good developer for j2ee applications.
    Hope it's not to late.
    Thanks for help

    Check out ADF Data Binding primer on Steve Muench blog
    http://radio.weblogs.com/0118231/2003/09/08.html#a149
    Did you check out the help system in JDeveloper 10g ?
    raghu
    JDev Team

  • Problem with OO4O opendatabase() call, migrating the client from 9i to 10g

    I have the following code:
    VARIANT* pvaparams = new VARIANT[3];
    if (pvaparams == NULL)
    return NULL;
    for (int nIndex = 0; nIndex < 3; nIndex++)
    VariantInit(&pvaparams[nIndex]);
    pvaparams[0].vt = VT_I4;
    pvaparams[0].lVal = ORADB_ORAMODE;
    pvaparams[1].vt = VT_BSTR;
    pvaparams[1].bstrVal = bstrConnect; //user and passwd
    pvaparams[2].vt = VT_BSTR;
    pvaparams[2].bstrVal = bstrDBname; //database name
    VARIANT va_out;
    VariantInit(&va_out);
    va_out.vt = VT_DISPATCH; // expect IDispatch* for database
    DISPPARAMS params = {pvaparams, NULL, 3, 0};
    EXCEPINFO eInfo;
    unsigned int uiArgErr;
    //dispid_OpenDatabase OK, previously obtained
    hRes = m_pIOracleSession->Invoke( dispid_OpenDatabase, IID_NULL,1033,
    DISPATCH_PROPERTYGET , &params , &va_out,
    &eInfo, &uiArgErr );
    if ( FAILED( hRes ) )
    throw new COracleDBXception(eInfo);
    This is from an application developped in VC++ 5 which uses COM and OO40 for connecting to a 9i database; and works fine, with a 9.2.0.1.0 client.
    I have updated the server to 10g and kept the client and it's running OK.
    After that, I have installed the 10.2.0.1.0 client and it's not working anymore; the odd thing is that the call to Invoke() has succeded and hRes is 0, but there is no connection to the database!!!
    I set a breakpoint after Invoke() and, from PL/SQL Developer, the "select OSUSER, PROGRAM, TERMINAL from v$session t where username='NORO';" command reports nothing; with the 9i client, it was reporting 1 connection.
    I would like to add that I had uninstalled completely the 9i client and after that I installed the 10g client.
    Can anyone give me a hint?
    Thank you!

    Hi everyone!
    static const CLSID CLSID_Oracle =
    {0x3893b4a0, 0xffd8, 0x101a, {0xad, 0xf2, 0x04, 0x02, 0x1c, 0x00, 0x70, 0x02}};
    const DWORD ORADB_ORAMODE = 0x1 ;
    STDMETHODIMP Test()
         HRESULT     hr;
         IDispatch* pIDefaultSession;
         hr = ::CoCreateInstance( CLSID_Oracle, NULL, CLSCTX_SERVER, IID_IDispatch, (void**)&pIDefaultSession );
         if (hr != S_OK)
              return S_FALSE;
         // CreateNamedSession - DISPID: 0x6001000B
         // OpenDatabase - DISPID: 0x60010001
         // create unique name
         TCHAR strName[256];
         stprintf( strName, T("Session#%d"), 1);
         // call 'CreateNamedSession' method
         VARIANT vaparam;
         VariantInit(&vaparam);
         vaparam.vt = VT_BSTR;
         vaparam.bstrVal = SysAllocTString(strName);
         VARIANT va_out_3nd;
         VariantInit(&va_out_3nd);
         va_out_3nd.vt = VT_DISPATCH;     // expect IDispatch* for named session
         DISPPARAMS params = {&vaparam, NULL, 1, 0};
         EXCEPINFO excepinfo;
         unsigned int uiArgErr;
         // Invoke CreateNamedSession
         hr = pIDefaultSession->Invoke( 0x6001000B, IID_NULL, 1033, DISPATCH_PROPERTYGET, &params, &va_out_3nd, &excepinfo, &uiArgErr );
         ::SysFreeString(vaparam.bstrVal);
         if ( FAILED(hr) )
              return S_FALSE;
         CComPtr<IDispatch> m_pIOracleSession;      // pointer to the session
         m_pIOracleSession.p = va_out_3nd.pdispVal;
         // call "OpenDatabase" method
         HRESULT hRes;
         CSString m_strDbId = _T("databasename");
         CSString m_strUserName = _T("username");
         CSString m_strPswd = _T("password");
         CComBSTR bstrDBName = SysAllocTString(m_strDbId);
         CComBSTR bstrConnect = SysAllocTString(m_strUserName + T("/") + mstrPswd);
         VARIANT* pvaparams = new VARIANT[3];
         if (pvaparams == NULL)
              return S_FALSE;
         for (int nIndex = 0; nIndex < 3; nIndex++)
              VariantInit(&pvaparams[nIndex]);
         pvaparams[0].vt = VT_I4;
         pvaparams[0].lVal = ORADB_ORAMODE;
         pvaparams[1].vt = VT_BSTR;
         pvaparams[1].bstrVal = bstrConnect;
         pvaparams[2].vt = VT_BSTR;
         pvaparams[2].bstrVal = bstrDBName;
         VARIANT va_out_2nd;
         VariantInit(&va_out_2nd);
         va_out_2nd.vt = VT_DISPATCH;      // expect IDispatch* for database
         DISPPARAMS params_2nd = {pvaparams, NULL, 3, 0};
         EXCEPINFO eInfo;
         unsigned int uiArgErr_2nd;
         // invoke OpenDatabase:
         //here is the problem!!!
         hRes = m_pIOracleSession->Invoke(0x60010001, IID_NULL, 1033, DISPATCH_PROPERTYGET , &params_2nd , &va_out_2nd, &eInfo, &uiArgErr_2nd );
         delete pvaparams;
         if ( FAILED( hRes ) )
              return S_FALSE;
         CComPtr<IDispatch> m_pDatabase;
         m_pDatabase.p = va_out_2nd.pdispVal;
         CreateCustomDynaset - DISPID: 0x6001000C
         ExecuteSQL - DISPID: 0x60010006
         LastServerErrText - DISPID: 0x60010009
         Parameters - DISPID: 0x00000000
         LastServerErrReset - DISPID: 0x6001000B
         TCHAR* pAlterNumeric = T("ALTER SESSION SET NLSNUMERIC_CHARACTERS = \".,\"");
         // call "ExecuteSQL" method
         VARIANT va_params;
         VariantInit(&va_params);
         va_params.vt = VT_BSTR;
         va_params.bstrVal = SysAllocTString(pAlterNumeric);
         DISPPARAMS params_3nd = {&va_params, NULL, 1, 0};
         unsigned int uiArgErr_3nd;
         // Invoke ExecuteSQL:
         hr = m_pDatabase->Invoke( 0x60010006, IID_NULL, 1033, DISPATCH_METHOD, &params_3nd, NULL, &eInfo, &uiArgErr_3nd );
         if (FAILED(hr))
              return S_FALSE;
         return S_OK;
    If this function is called from DllMain(), it works. But if we call this function from another method from our .dll, and that method is called via COM from a client, this function doesn't work anymore! We use VC++ 5 and the 10g Oracle client.
    Can anyone give me a explanation?
    PS: The call to opendatabase() is successfull, but we don't see a connection on the database server and we get a SEGV error: "function not mapped to object".
    Noro

  • Is it possible to export aaa client info using csutil utility?

    I am able to import client and group info but need to export to verify they are all there as i have migrated from unix to windows...
    thanks

    Hi
    Unfortunately its not possible, but prior to v4.0 the network config is held in the registry.
    HKLM/Software/Cisco/CiscoAAAv3.x/Hosts
    Darran

  • I need Client info...please help me

    Hi friends,
    I'm just starting with JSP... so i can't do less than nothing :o( .
    How can I have some user information like, Operating syste, IP, browser info, video resolution,...
    I can ha ve this trough javascript, 4 example:
    <SCRIPT>
    document.write(navigator.appName)
    </SCRIPT>
    or
    <SCRIPT>
    <!--
    var screenW = screen.width
    var screenH = screen.height
    document.write(screenW + "X" + screenH)
    //-->
    </SCRIPT>
    or
    <SCRIPT>
    <!--
    if(navigator.userAgent.indexOf('IRIX') != -1)
    {document.write("Irix")}
    else if((navigator.userAgent.indexOf('Win') != -1) &&
    (navigator.userAgent.indexOf('95') != -1))
    {document.write("Microsoft Windows 95")}
    else if(navigator.userAgent.indexOf('Win') != -1)
    {document.write("Microsoft Windows 3.1 or NT")}
    else if(navigator.userAgent.indexOf('Mac') != -1)
    {document.write("Macintosh")}
    else {document.write("Other")}
    //-->
    </SCRIPT>
    How to catch this information trough pure JSP ?
    thank's you a lot
    bye bye
    ric

    Hi,
    unfortunately u can't gather all information with jsp. for example the dimension of the browser window is only accessable by javascript, because jsp works on the server, not on the client. some infos, you can gather with jsp, i've listed here:
    useragent -> request.getHeader("User-Agent");
    ip -> request.getRemoteAddr();
    referer -> request.getHeader("Referer");
    cu
    /m

  • Web services for foms 10g on the forms server.

    Hi,
    I have created the sample form in 10g (windows based) where it calls the web service to get the currency exchange rate (http://www.oracle.com/technology/obe/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm).
    I have now ftp'd the form into my forms server in unix and compiled it using compile.sh. Now my question is, where to add the jar files in the unix forms server. Since my archive.jar and other jar files are in my windows explorer directory, do I need to ftp all that into the forms server? If yes, what exactly do I need to put in the server.
    Once I put all the files in the forms server, where do I need to set the paths.
    Please advise. Urgent.
    Thanks.

    I don't know why you need to place them into the CLASSPATH of the target machine? For deployment of my forms from a linux iAS EE installation, all I do is to place the related (and custom) jar files to the iAS BI (business intelligence components)/forms/java directory and then list the jar files properly in the iAS BI/forms/server/formsweb.cfg file's application related section. The jar files then downloaded to the client when they access to the form (via Sun JRE plugin on linux clients or Jinitiator on windows clients). I know I had to place those jar files in CLASSPATH for iDS (forms development) but not for the deployment.
    I hope this proves useful

Maybe you are looking for

  • Error in Posting of cancelled credit memo to accounting...

    I have Credit for Returns which is posted to accounting & accounting document is cleared. Now i have  created  Cancellation of Credit for returns which is not getting posted to accounting. Credit for Returns(Acoounting Doc generated & Cleared) -->Can

  • Regarding Program Logic

    Can anyone please lemme know abt the logic used in the Report Customer Payment History. The T code used is f.99. Points will be awarded

  • Word document won't 'print' to PDF on proper paper size

    I have a document in MS Word that's on a 5.5x8.5 page size. If I do a Save As, the resulting PDF uses the proper paper size, but it also shows color--which I don't want for this particular document. When I do Print and choose Adobe PDF, I can choose

  • Can a PDF of each web submission be sent to me when submitted

    We'd like an exact PDF of the form they filled out on the web sent to us so we can save it with their records as proof of orginal data submitted to us.  Possible?

  • Dynamic actions settings to mail generation

    Hi The actions are set for mali generation ,when ever personnel action happen.while testing the mail generation some actions are fine which are set in dynamic actions with out action for reasons.but some of actions are not working which are mentioned