How to get ip and hostname in application server 10g

when i am using sys_context('USERENV','HOST') IN MY value based audit trigger it return ip address of application server.
i want to get client's ip address and hostname that connect to application server 10g.
Regards,
Muhammad Touseef

CKPT wrote:
i want to get client's ip address and hostname that connect to application server 10g.you can find in listener.log file for all the client connections, or if any active sessions you can find from
select username,machine from v$session;LOL
You gave a totally correct answer. Unfortunately not relevant, though.
Now take a look at that answer in context of the question. The question is "given that the environment is 3 tier, and given that the client to the database is an application server, how do we get the information about the client to the application server - one tier further out?"
OP - this is a known problem with current application server configurations and applications. The only current way of providing that info is for the app server to capture and pass that info on. An easy way to pass it on, available to the app developer, is to use the DBMS_APPLICATION_INFO package.
Perhaps one day the WebLogic Server folk will see fit to make that transparent. ;-)

Similar Messages

  • How to get Date and time of the server?

    Hi, How can we get the date and time of the server while submitting a form using JSP? i.e I need the date and time , when the user is submittig a registration.
    Uma

    Upon receiving your data in your servlet, you can do the following to get the date,
    Calendar calendar = Calendar.getInstance();
    int dd = calendar.get(Calendar.DAY_OF_MONTH);
    int mm = calendar.get(Calendar.MONTH) + 1;
    int yyyy = calendar.get(Calendar.YEAR);
    String dd_mm_yyyy = dd + "/" + mm + "/" + yyyy;
    To get the time, simply take a look at the Calendar API to get the corresponding field.

  • How to deploy WebService and BPEL to Application Server in EBS R12?

    hi all,
    I have R12 EBS on linux machine.
    Can i deploy WebService/BPEL to Application Server of EBS?
    or i must install new application server to deploy WebService and BPEL ?
    Thanks
    Benny

    Hi,
    You can find many articles on oracle site for this subject.
    However in brief following are the steps
    1) Create a directory source,executables,images,reports and logfiles.
    2) Copy all your forms, menus and pll's in source directory
    3) All your images in your image directory
    4) All your reports in reports directory
    5) All yuor fmx,mmx and plx in executables directory
    6) Any log files in logfiles directory
    7) Add path of images and executables directory in FORMS_PATH in default.env
    8) Configure your formsweb.cfg as your need.
    9) Configure report.conf and rwservlet.properties according to your applications.
    10) Make jar of icons say myicons.jar.
    11) copy myicons.jar in forms/java directory
    12) Check yuor form services if they are running or not.
    13) Invoke the URL in internet explorer
    http://<ip_address>:<port_no>/forms/frmservlet?form=testform.fmx
    I think that's enough from my side.. For more info you can go through the documentation.
    Regards
    Anuj

  • Deploying forms and reports on Application Server 10g

    I had buit some forms,reports by using Oracle Developer Suite( Oracle Form developer, Report developer ) , I had run them on that tools. Now I want to deploy on Oracle Application Server. How can do it , any one can tell me step by step (because I'm a beginer). How do I deploy on Application Server ? I had installed Oracle Application Server (without install Infrastructure) , can I deploy ? because My computer not support install Oracle Application Server with Infrastructure (memory only 512M). Are there any way ?
    I'm beginer, please tell me step by step. thanks

    Hi,
    You can install the Oracle Application Forms and Reports standalone version of the application server. This does not require an infrastructure.
    As far as deployment of Forms and Reports, you can either place your compiled (.fmx and .rep) files in the default \forms90 directory or you can place them in another directory and specify the location in the formsweb.cfg file.
    For more information on the Oracle Forms and Reports standalone, see the installation guide at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/install/B16392_03/toc.htm.
    For information in deploying Oracle Forms, see the Oracle® Application Server Forms Services Deployment Guide at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/forms/B14032_03/toc.htm
    Reports deployment info is contained in the Oracle® Application Server Reports Services Publishing Reports to the Web at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/reports/B14048_02/toc.htm
    All of these documents are in the documentation library at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/docs.htm
    HTH,
    Jim

  • How to deploy oracle forms on oracle application server 10g release3

    i have installed oracle database 10.1.0.5 and oracle application server 10.1.3.1.
    I have to run forms using this setup.
    I was unable to find which version of oracle application server forms and reports should i install to run.
    I would appreciate if someone can guide me.
    Regards.
    Sid.

    Application server 10.1.3 does not have Forms. You should install 10.1.2.0.2 version. See Re: Forms / Reports services in 10gAS Release 3

  • How to get Java Version of an application server using Function Module?

    Hi Friends,
    We are doing developments for system performance reporting for multiple BW Systems. For this purpose we need to get the JAVA Version for these multiple systems.
    If anyone tell us about any Function Module or Program that we can use to get this information?
    Thanks
    Nayan Joshi

    Hi,
    Calling an SAP Function Module from Java
    To call an SAP function module from a Java application, you first need SAP JCo (Java Connector); you can download it from SAP's site, though you need an account to do so.
    To actually open the connection, use the tip code shown here.
    Class jcoClass = Class.forName("com.sap.mw.jco.JCO", true, this.getClass().getClassLoader());
    Client client = JCO.createClient(clientNumber, user, passWord, lang, host, systemId);
    //all parameters are strings
    client.connect();
    Repository repository = new JCO.Repository("SAP", client);
    IFunctionTemplate functionTemplate = repository.getFunctionTemplate
    ("YOUR_FUNCTIONAL_MODULE_NAME");
    Function function = functionTemplate.getFunction();
    ParameterList parameterList = function.getImportParameterList();
    parameterList.setValue("value1", "INPUT_PARAM_NAME");
    parameterList.setValue("value2", "INPUT_PARAM_NAME2");
    client.execute(function);
    Regards,
    Marasa.

  • How to restrict user access in Oracle Application Server 10g (9.0.4)?

    Can anybody please let me know how to restrict user access in 10g AS? To be specific, how to allow http requests from specific IPs only?

    Hi,
    You have to edit httpd.conf and modify acces rights for each protected directory
    e.g.
    <Directory /var/www/sub/payroll/>
    Order allow,deny
    Allow from 192.168.1.0/24
    </Directory>
    then you have to restart Oracle HTTP Server
    jm--

  • How  to  change  NLS_LANG setting of Oracle Application Server 10g R3

    Hi
    I  understand  that NLS_LANG for  OAS 10g  can  be  set  in three  different  places
      in the Windows  registry  \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME  ( there is no  this key in my Windows 2003   server)
    – in the file opmn.xml   the  OC4J  configuration ( <environment><variable id=”NLS_LANG” value=”″></environment>),  there is no entry  like  this  in the opmn,xml ( probably is  using the  default  value)  
    – in Oracle  HTTP  server  configuration  (  which  file....?)
    Could  any  one   answer  the  below  question  for me please:
    1. What is  the  default  value of  NLS_LANG for an   OC4J container  (OAS 10g R3).
    2. What  is the  default  value of  NLS_LANG  for  Oracle http server  (OAS 10g R3).
    3.  How  can I  set  a  New  value  for   NLS_LANG  in  both Oracle HTTP  server  and OC4J in OAS 10g R3.
    Thanks  so  much  for  your promptly  reply. 

    Hi,
    Make sure the value of the NLS_LANG environment variable is compatible with the default locale setting of the operating system.
    Check the below links :
    http://docs.oracle.com/cd/B14099_19/core.1012/b14004/iasconfig.htm#BHCJHBBB
    Postinstallation Tasks
    Thanks,
    Sharmela

  • How Can I run My Forms And Reports On Application Server 10 g Release 3

    Hi Everybody
    i need to learn steps to configure forms and reports on application server 10g release 3 pls help , i am a beginner

    hi,
    I'm also need to know "How to run My Forms And Reports On Application Server 10 g Release 3". So if u know the steps then please share with me .....

  • How to Setup SSL on Oracle Application Server 10g Release 2 (10.1..2)

    Hi All,
    Can anybody tell me How to setup the SSL on Oracle Application Server 10g Release 2 (10.1.2).
    I have all the required documents like
    1. Oracle Application Server Portal Server Configuration Guide.
    2. Oracle Application Server Web Cache Configuration Guide.
    3. Oracle Application Server SSO Administration Guide.
    I tried to follow all this documents but still i am not able to set SSL for Oracle Portal Server.

    The Portal Configuration Guide, available on OTN at http://www.oracle.com/technology/documentation/appserver1012.html does provide some very specific information on how to set up OracleAS Portal.
    Section 6.3.2.1 Configuring SSL for OracleAS Portal describes various configurations, such as:
    SSL to OracleAS Single Sign-On
    SSL to OracleAS Web Cache
    SSL Throughout OracleAS Portal
    External SSL with Non-SSL Within Oracle Application Server
    For larger enterprise configurations, you can refer to the Enterprise Deployment Guide.
    Can you give a bit more background on what you are trying to set up? Which scenario, what sort of hardware, software versions, and so on.
    Regards,
    Pete

  • Oracle Application Server 10g Cloning - Urgent

    Hello All,
    I have been given a new assignment which involves Oracle Applications server 10g, i am new to oracle application server and hoping that some one will please clarify my doubts.
    i have to clone a production machine (Solaris 10) which has oracle AS 10g, this machine had oracle database 10g before and just the application server was installed on it, i have to clone a test environment for this machine, i have the following two doubts
    1) Is it possible to just install Oracle Application server 10g on a machine which already contains oracle 10g database, if so then what about the database that gets installed when installing Oracle application server 10g.
    2) How to clone the above production machine, should the oracle 10g database be cloned first and then oracle application server 10g cloned on the new machine?
    Eagerly waiting for a reply

    user12077492 wrote:
    i have to clone a production machine (Solaris 10) which has oracle AS 10g, this machine had oracle database 10g before and just the application server was installed on it, i have to clone a test environment for this machine, i have the following two doubts
    1) Is it possible to just install Oracle Application server 10g on a machine which already contains oracle 10g database, if so then what about the database that gets installed when installing Oracle application server 10g.
    2) How to clone the above production machine, should the oracle 10g database be cloned first and then oracle application server 10g cloned on the new machine?1) Yes, it is possible. The DB that comes with OAS as the infrastructure DB for it (I presume you are installing a full OAS with infrastructure and midtier both) does not affect the DB you already have on your system ... obviously ... as long as you install them in their separate homes.
    2) I always say, this term cloning is somewhat loosely used in general communication meaning making copies. In OAS context, Cloning works for middletiers only. You cannot clone an infrastructure.
    To make a redundant/alternate environment for OAS, you can do the following:
    - a) either use the same infra on machine 1, and install another midtier and register with the same infra.
    - b) or install a separate infra on machine 2, and also a midtier registered with it.
    Here for the first option a), Cloning can be used because you can (*only*) clone a middle-tier. There are pros and cons for this setup, including that you share the SSO, and OID, and hence users and groups bases, etc on those two environments - something that you may or may not want. But then there are also some way-outs to avoid them or minimize their effects too. Please see the following reference for cloning and search on Metalink for how to minimize effects, once you get better familiar with the processes.
    Oracle® Application Server Administrator's Guide
    10g Release 2 (10.1.2)
    B13995-08
    [10 Cloning Application Server Middle-Tier Instances|http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/cloning.htm#BCGBDIDF]
    For b), you will need to Stage a server as defined in this reference.
    [11 Staging a Test Environment from a Production Environment|http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/prodtest.htm]
    There are some notes on Metalink which address issues about benefits or procedures of Cloning and Staging an environment too.
    There are some other ways to export/transport your applications to another instance across DB. Please also read about them.
    hope that helps!
    AMN

  • Installing Application Server 10g (10.1.3) on Windows Server 2008 Document

    Basically, I need to find out if 10.1.3 application server Enterprise Edition can be installed on Windows Server 2008 with a 64-bit operating system. A yes or no is helpful, but I would like to have a link to the documentation. I'm assisting on an install and have been asked to find this info.
    I've done some searching, but haven't yet been able to find anything on 2008. I found this ( [http://download.oracle.com/docs/cd/B25221_04/win.1013/install/reqs.htm#sthref62] ), which is from this ( [http://download.oracle.com/docs/cd/B25221_04/getstart.htm] ), but the documentation found there only mentions as high as Windows Server 2003. Our DBA would like to see it say Windows Server 2008 64-bit, not just Windows Server 2003 and up (before we make an order on hardware).
    Does anyone have a link that specifically says windows server 2008 / 64-bit is possible?
    Thanks in advance!

    Since Windows 2008 was released after the 10.1.3 release, the Installation Guide does not include Windows 2008. In this case, the Certification should be checked before proceeding.
    Oracle Application Server 10g Release 3 (10.1.3) Certification Information
    [http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_101310.html]
    From here, you will find that 10.1.3 is certified on Windows 2008 and that you should also see the following document for more details:
    Oracle Application Server 10g Release 3 (10.1.3) Installation Requirements for Microsoft Windows (Doc ID Note 444112.1)
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=444112.1
    (requires login)
    reference:
    How to Find Certification Details for Oracle Application Server 10g and Oracle Fusion Middleware 11g (Doc ID 431578.1)
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=431578.1
    (requires login)
    ...Ken

  • Need to upgrade Application Server 10g 10.1.2.0.2 to 10.1.3

    Dear All,
    I am having bit doubts on choosing the Application server down load file from the Oracle site. Currently we are using Application Server 10g 10.1.2.0.2 Forms and Report service. I need to up grade the Forms and Report service to 10.1.3 version of the Application Server 10g .
    If I select the Application Server 10g Release 3 from the site its directing me to the big selection list. Actually i bit confused which one i need to choose. I need to upgrade only the Forms and Report service Application Server 10g .Iam sure somebody can help me to solve this confusion. I appreciated ans thanks your attention in my query.
    regards
    Mathew

    Hi Mathew,
    If I am not mistaken, there is no Forms and Reports version 10.1.3. There is an Application Server version 10.1.3.x but this is a J2EE only release. Forms and Reports have not been bundled in this version.
    Could it be that you are mistaken with version 10.1.2.3 which is a patch set on top of Application Server 10.1.2.0.2 ? If this is the case, you can apply the patch set as per directions in the readme from the patch set. The patch set is available from [My Oracle Support|http://updates.oracle.com/download/5983622.html].
    Thanks,
    Erik Janssen

  • Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

  • How to get userId and ResponsibilityId of EBS Application

    Hi all,
    We are using oracle.apps.fnd package to get the userId and ResponsibilityId of EBS Application. By using this api we are getting -1 for both userId and resposibilityId, but want the corrrect values for these two Ids.
    Can anyone please tell us how to get userId and ResponsibilityId of EBS Application using oracle.apps.fnd package?
    Thanks,
    Eswari

    Hi Kumar,
    Thanks for your answer. I tried using pageContext, but it didn't work.
    I forgot to mention the version of EBS Application. We are using 12i.
    To use FND_GLOBAL package first we should initialise by passing userId and respId which we want. Can we get these details from this api oracle.apps.fnd of 12i Instance.
    Thanks,
    Eswari
    Edited by: user593578 on Jul 31, 2009 4:35 PM
    Edited by: user593578 on Jul 31, 2009 5:18 PM

Maybe you are looking for

  • I want to change my fullname and computer's name, but I can't

    I'm not talking about the name from '.local' I'm talking about the compter's full name stored here and the username. My parents bought me this and they just went out and put their names here without my permission and before I even got to use this! My

  • Premiere Pro CC Media Browser doesn't display a RAID

    I'm running PP CC 7.2.0 on a Mac (10.8.5). I've added an additional RAID (OWC Mercury Elite Pro Qx2 - 16TB) to my Mac Book Pro Retina attached via USB 3.0. However, it does not show in the Media Browser. Above shows view of my Local Drives. Above sho

  • IPod Nano won't eject

    Ok so I'm new and I'm trying to get a playlist onto my new iPod. However, every time I go to the File menu and select iPod update, afterwards it becomes impossible to eject the iPod nano, and I can't even shutdown my computer. Well I get impatient af

  • Naming of view components

    I'm trying to implement an application using a fairly typical MVC architecture. Basically I have a number of classes which represent my data, a variety of interfaces (such as tree interfaces, recordset interfaces) which some or all of my data classes

  • Optimising Performance

    What is optimising performance and why is it sooooo anoying? When I'm using garageband this pops up at the worst times!! What performance is there to optimise? Sometimes it come up 4times in 15m for me. Help!