Retrieve Client IP Address in a Oracle WebServices Manager Custom Policy

Hi everybody,
For some reasons i had to implement a custom policy in the OWSM, to restrict the access to webservices by Client IP Addresses. I´ve been following the examples for custom policies mentioned in the books: "Oracle Web Services Manager, Oracle Web Services Manager" by Sitaraman Lakshminarayanan, and the "Oracle® Web Services Manager Extensibility Guide 10g (10.1.3.3.0)" by Oracle. I followed the examples mentioned in those books to implement my Custom policy, the policy is successfully deployed to OWSM and it works, only by the issue that when i want to retrieve the Client Ip address it returns null, and following the example by the Oracle Guide, the HttpServletRequest its also returns null, im desperated because in every site that i finally find some info about it, quotes any of these 2 examples in those books, and mine doesnt work! this is the code of the custom policy, i´ve combined the 2 aproaches:
package project1;
import com.cfluent.ccore.util.logging.ILogger;
import com.cfluent.ccore.util.logging.Level;
import com.cfluent.ccore.util.logging.LogManager;
import com.cfluent.pipelineengine.container.MessageContext;
import com.cfluent.policysteps.sdk.AbstractStep;
import com.cfluent.policysteps.sdk.Fault;
import com.cfluent.policysteps.sdk.IMessageContext;
import com.cfluent.policysteps.sdk.IResult;
import com.cfluent.policysteps.sdk.InvocationStatus;
import com.cfluent.policysteps.sdk.Result;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
public class CustomPolicy extends AbstractStep {
private static String CLASSNAME = CustomPolicy.class.getName();
private static ILogger LOGGER = LogManager.getLogger(CLASSNAME);
private String allowedIpAddress = null;
private String allowedRoleName = null;
private String protectedServiceMethodName = null;
public CustomPolicy() {
public void init() throws IllegalStateException {
// nothing to initialize
public void destroy() {
* This is the main method which will validate that the request is coming from
* the correct IP Address and has permission to access the specified metod.
public IResult execute(IMessageContext messageContext) throws Fault {
LOGGER.entering(CLASSNAME, "execute");
Result result = new Result();
result.setStatus(IResult.FAILED); //initialize result
String processingStage = messageContext.getProcessingStage();
LOGGER.log(Level.INFO, "Processing stage is " + processingStage);
HttpServletRequest httpServletRequest = (HttpServletRequest)
messageContext.getProperty("javax.servlet.request");
String remoteAddr = httpServletRequest.getHeader("Host");
LOGGER.log(Level.SEVERE, "Dir IP:"+remoteAddr);
String remoteHost = httpServletRequest.getRemoteHost();
LOGGER.log(Level.INFO, "ADDR" + remoteAddr+ "HOST"+remoteHost);
boolean isRequest =
(IMessageContext.STAGE_REQUEST.equals(messageContext.getProcessingStage()) ||
IMessageContext.STAGE_PREREQUEST.equals(messageContext.getProcessingStage()));
//Execute the step Only when its a Request pipeline else return success
if (!isRequest) {
result.setStatus(IResult.SUCCEEDED);
return result;
MessageContext msgCtxt = (MessageContext)messageContext;
String _MethodName = msgCtxt.getRequest().getMethodName();
LOGGER.log(Level.INFO,
"Writing Allowed IP Addr before creating SOAP header " +
allowedIpAddress);
LOGGER.log(Level.INFO,
"Writing Remote IP Addr before creating SOAP header " +
msgCtxt.getRemoteAddr());
/*LOGGER.log(Level.INFO,
"Writing Remote IP Addr before creating SOAP header " +
remoteAddr);*/
String cadTempo = allowedIpAddress;
Vector vect = new Vector();
for (int i = 0; i < allowedIpAddress.length(); i++) {
if (cadTempo.indexOf(",") != -1) {
//vect.add(cadTempo.substring(0, cadTempo.indexOf(",") - 1));
vect.add(cadTempo.substring(0, cadTempo.indexOf(",")));
cadTempo =
cadTempo.substring(cadTempo.indexOf(",") + 1, cadTempo.length());
LOGGER.log(Level.INFO,
"AQUI111");
} else {
if (!cadTempo.equalsIgnoreCase("")) {
vect.add(cadTempo);
LOGGER.log(Level.INFO,
"AQUI222");
break;
for(int i=0;i<vect.size();i++){
String temp = (String)vect.get(i);
if (temp.equals(msgCtxt.getRemoteAddr()) &&
_MethodName.equals(protectedServiceMethodName)) {
LOGGER.log(Level.INFO,
"AQUI333");
result.setStatus(IResult.SUCCEEDED);
break;
} else {
msgCtxt.getInvocationStatus().setAuthorizationStatus(InvocationStatus.FAILED);
LOGGER.log(Level.INFO,
"AQUI444");
/*if(allowedIpAddress!=null){
result.setStatus(IResult.SUCCEEDED);
/*if (allowedIpAddress.equals(msgCtxt.getRemoteAddr()) &&
_MethodName.equals(protectedServiceMethodName)) {
result.setStatus(IResult.SUCCEEDED);
} else {
msgCtxt.getInvocationStatus().setAuthorizationStatus(InvocationStatus.FAILED);
// Set the result to SUCCESS
//result.setStatus(IResult.SUCCEEDED);
return result;
public String getIpAddress() {
return allowedIpAddress;
public void setIpAddress(String IpAddress) {
this.allowedIpAddress = IpAddress;
LOGGER.log(Level.INFO, "IP Address is.. " + allowedIpAddress);
public String getServiceMethodName() {
return protectedServiceMethodName;
public void setServiceMethodName(String serviceMethodName) {
this.protectedServiceMethodName = serviceMethodName;
public String getRoleName() {
return allowedRoleName;
public void setRoleName(String roleName) {
this.allowedRoleName = roleName;
And the xml:
<csw:StepTemplate xmlns:csw="http://schemas.confluentsw.com/ws/2004/07/policy"
name="Custom authenticate step" package="project1"
timestamp="Oct 31, 2005 05:00:00 PM" version="1"
id="0102030405">
<csw:Description>Custom step that authenticates the user against the
credentials entered here. This step requires Extract
credentials to be present before it in the request pipeline.</csw:Description>
<csw:Implementation>project1.CustomPolicy</csw:Implementation>
<csw:PropertyDefinitions>
<csw:PropertyDefinitionSet name="Basic Properties">
<csw:PropertyDefinition name="Enabled" type="boolean">
<csw:Description>If set to true, this step is enabled</csw:Description>
<csw:DefaultValue>
<csw:Absolute>true</csw:Absolute>
</csw:DefaultValue>
</csw:PropertyDefinition>
</csw:PropertyDefinitionSet>
<csw:PropertyDefinitionSet name="Custom Access Rules">
<csw:PropertyDefinition name="IpAddress" type="string" isRequired="true">
<csw:DisplayName>IpAddress</csw:DisplayName>
<csw:Description>IP Address that is allowed access</csw:Description>
<csw:DefaultValue>
<csw:Absolute>192.168.0.1</csw:Absolute>
</csw:DefaultValue>
</csw:PropertyDefinition>
<csw:PropertyDefinition name="ServiceMethodName" type="string"
isRequired="true">
<csw:DisplayName>ServiceMethodName</csw:DisplayName>
<csw:Description>Service Method Name that is Protected (Secured)</csw:Description>
<csw:DefaultValue>
<csw:Absolute>getTime</csw:Absolute>
</csw:DefaultValue>
</csw:PropertyDefinition>
</csw:PropertyDefinitionSet>
</csw:PropertyDefinitions>
</csw:StepTemplate>
Please any tip or idea is welcome, thanks in advance for the help.
Carlos.

Hi again
copied your code for testing. And it works fine.
So both the code and policy-step definition is fine, log output below.
What is your log output?
Using soapui to send the request will give the ip of my localhost, using the test client will give the ip of the server, because that is the actual client.
I guess the server ip is 192.168.0.1 in your case, as you are testing from test console.
<b>anyway, results from SOAPUI:</b>
2009-05-19 09:52:15,096 FINE [HTTPThreadGroup-4] CSWComponent - Executing policy step. Policy='SID0003004', Step Name='Custom Policy Step', Step Class='com.*.soa.wsm.CustomPolicy'
2009-05-19 09:52:15,096 FINER [HTTPThreadGroup-4] wsm.CustomPolicy - com.*.soa.wsm.CustomPolicy execute:ENTERING
2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Processing stage is Request
2009-05-19 09:52:15,096 SEVERE [HTTPThreadGroup-4] wsm.CustomPolicy - Dir IP:hostname.domain:8890
2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - ADDRhostname.domain:8890HOST10.47.89.116
2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - MethodName=getHostNameElement
2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Allowed IP Addr before creating SOAP header 10.47.89.116, 192.168.0.1
2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Remote IP Addr before creating SOAP header 10.47.89.116
2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI111
2009-05-19 09:52:15,096 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI222
2009-05-19 09:52:15,097 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI333
2009-05-19 09:52:15,097 FINER [HTTPThreadGroup-4] agent.Agent - com.cfluent.agent.Agent intercept:ENTERING
<b>But if I use the test client the remote IP would be 10.47.137.50 and execution fails, as code is written</b>
<i>
2009-05-19 09:54:12,266 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Allowed IP Addr before creating SOAP header 10.47.89.116, 192.168.0.1
2009-05-19 09:54:12,266 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - Writing Remote IP Addr before creating SOAP header 10.47.137.50
2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI111
2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI222
2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI444
2009-05-19 09:54:12,267 INFO [HTTPThreadGroup-4] wsm.CustomPolicy - AQUI444
2009-05-19 09:54:12,267 FINE [HTTPThreadGroup-4] CSWComponent - Step execution failed: Policy=[SID0003004] Pipeline=[Request] Step Name=[Custom Policy Step] Step Class=[com.tandberg.soa.wsm.CustomPolicy]
2009-05-19 09:54:12,267 FINER [HTTPThreadGroup-4] common.PrepareForServiceStep - Step PrepareForServiceStep called
</i>

Similar Messages

  • Retrieve client ip address from LC process

    Hi, does anyone know is there any way to retrieve the client ip address when a flex client calls the amf endpoint of a livecycle process?
    This is on ADEP and unfortunately we can't do a flex call javascript on the client side to retrieve the ip address.

    Hi,
    It is very easy at flex side to get the client ip, ask flex team to pass IP as input parameter when they are calling livecycle process.
    Thanks

  • Oracle WebService Management / Gateway doubts ?...

    hi all,
    i have some doubts with OWSM. i created one sample gateway
    called Gateway_test. While creating it in component url i have given
    http://172.28.10.71:8888/gateway
    1) While specifying this URL, Can i use any port number..?
    After that, i registered creditrating service to it. Now in service details it specifies
    tht
    Client Access URLs
    Service URL: http://172.28.10.71:8888/gateway/services/SID0003001
    Service WSDL URL: http://172.28.10.71:8888/gateway/services/SID0003001?wsdl
    But this URLs are not working...? it means Gateway is not running.
    Plz anyone can help me out.?
    /mishit

    Hi Mishit,
    did you configure the gateway with the registered component ID?
    Regisitering the Gateway via the OWSM Console is not enough. You have to copy the Component ID into a properties file used by the Gateway in order to establish the connection between the Gateway and the Policy Manager.
    To do this :
    Stop OWSM
    C:\oracle\owsm\bin> coresv stop
    Edit the file %OWSM_HOME/config/gateway/gateway-config-installer.properties and update the gateway.component.id attribute with the Component ID generated before :
    ex: gateway.component.id=C0003001
    Save the gateway-config-installer.properties file and re-start the OWSM :
    C:\oracle\owsm\bin> coresv start
    1) While specifying this URL, Can i use any port number..?
    The port number is the default OC4J (Oracle's J2EE container) port number.
    Hope that helps.
    Regards
    Kersten

  • Oracle WebService Management / Gateway is not up..??

    hi all,
    i have some doubts with OWSM. i created one sample gateway
    called Gateway_test. While creating it in component url i have given
    http://172.28.10.71:8888/gateway
    1) While specifying this URL, Can i use any port number..?
    After that, i registered creditrating service to it. Now in service details it specifies
    tht
    Client Access URLs
    Service URL: http://172.28.10.71:8888/gateway/services/SID0003001
    Service WSDL URL: http://172.28.10.71:8888/gateway/services/SID0003001?wsdl
    But this URLs are not working...? it means Gateway is not running.
    Plz anyone can help me out.?

    Hi,
    I think that this thread is going to help you:
    Oracle Web Services Manager
    Rgds

  • Obtain remote client IP address from webservice with WL 7.0.7

    Hi,
    Please Help!!
    I need to get the remote client IP address from inside a webservice but with WLS 7.0.7. I know it is possible with WL 8:
    WebServiceContext wsContext = WebServiceContext.currentContext();
    WebServiceHttpSessionImpl vHttp = (WebServiceHttpSessionImpl)wsContext.getSession();
    vHttp.request.getRemoteAddr();
    But WL 7 has not available WebServiceContext.currentContext() method.
    Thank you very much

    This was logged as an enhancement which I believe was hoping to make it into one of the later 6i releases of forms. Ref:<Bug:856958> if you can access via metalink or Support.
    Grant Ronald.

  • Fresh install of Oracle VM Manager Template into Oracle VM Server

    Hi,
    I am trying to install the Oracle VM Manager template and then
    create an Oracle VM Manager client.
    I have already done a 'fresh install' of Oracle VM Server.
    I do not have another machine available to use to contain the
    'Oracle VM Manager', therefore, I am attempting to install the
    Oracle VM Manager template directly into an Oracle VM Manager Server and
    run the client.
    I am following the instructions of the Oracle VM Server Users Guide
    in section 4.3.
    When I extract the zip file contents into the
    /OVS/seed_pool directory, I get the following files.
    Deploy_Manager_Template.sh
    OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
    So far, so good.
    Next, I used 'tar' to help me extract the directories of the .tgz file.
    So far, so good.
    Next, as instructed, I used 'python' and 'print randomMAC()' to create a new MAC address.
    Inside the /OVS/seed_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM/vm.cfg file
    I modified the vif MAC address. I replaced the
    xx:xx:xx with the 'last three' that were generated by the python randomMAC
    function from above.
    vif = [ 'mac=00:16:3E:<my generated numbers>', ]
    So far, so good?
    In the Oracle VM Server Users Guide in section 4.3.,
    The next step, expains that I should run
    xm create mv.cfg
    I did this. When I ran this I received back the error.
    Using config file "./vm.cfg"
    Error disk is not accessible.
    When I peek inside my vm.cfg file.
    I see file references starting with the following
    file:/OVS/running_pool/ ...
    Of, course my running_pool directory is empty.
    (Again, this is a fresh install of Oracle VM Server).
    My first question is the following.
    Sometime in this process was I supposed to run
    the the following executable?
    ./Deploy_Manager_Template.sh
    If so, should I have done this early?
    Was the modification of the vif (of adding the MAC address
    into the vm.cfg file, something I 'should have not done'
    or 'something that could be ignored' because the
    './Deploy_Manager_Template.sh' would have done this for me?
    My second question is the following.
    Would the following process be 'more correct?'
    ..1 Not modify the vm.cfg' file.
    ..2 run ./Deploy_Manager_Template.sh.
    ..3 In the /OVS/running_pool/ directory find my
    vm.cfg file of interest, then modify the vif with a new MAC address.
    ..4 In /OVS/running_pool/Change my current location to my directory of interest
    run xm create vm.cfg (to run my Oracle VM Manager)?
    Any help or ideas whould be appreciated.
    Thank you very much,
    AIM

    Hi,
    This is the README file for Oracle VM Manager 2.2.0
    Readme for Media Pack B57738-01
    Print: Access key=P Close: Access key=C
    Oracle VM Templates for Oracle VM Manager 2.2.0 Media Pack v1 for x86 (32 bit)
    =====================================================================
    Template Version 2.3
    Oracle VM Manager Version 2.2.0
    This document contains:
    1. Prerequisites for Oracle VM Manager virtual machine (VM) deployment
    2. Oracle VM Manager Template description
    3. Creating an Oracle VM Manager Virtual Machine from
    Oracle VM Manager Template
    4. Deployment Interview
    5. Known Issues
    For more information on Oracle VM Manager, please refer to
    the "Oracle VM Manager Installation Guide" and the "Oracle VM Manager
    User's Guide" available at:
    http://download.oracle.com/docs/cd/E15458_01/index.htm
    1. Prerequisites
    ================
    - A new install of Oracle VM Server 2.2 that has NOT been managed by another
    Oracle VM Manager. Manager Template 2.2 is intended to be installed on Oracle
    VM 2.2 server. If you have a new Oracle VM 2.1.5 server and want to deploy
    Oracle VM Manager template, please use the Oracle VM 2.1.5 Manager template.
    Note: root access to the server's dom0 is required.
    - It's highly recommended that you upgrade the default agent (ovs-agent-2.3-19)
    to ovs-agent-2.3-27 or later. You can get the latest Oracle VM 2.2 packages
    from Oracle's Unbreakable Linux Network (http://linux.oracle.com).
    Note: Alternate location to get Oracle VM agent 2.3-27 is
    http://oss.oracle.com/oraclevm/server/2.2/RPMS/ovs-agent-2.3-27.noarch.rpm
    - A working directory of the Oracle VM Server 2.2 has at least 4GB free space
    for downloading and installing the template. The working directory can be any
    directory on the Oracle VM server except /OVS/running_pool.
    Note: The /root partition of the default Oracle VM server install may not have
    enough space to temporarily host the template installation. Please use other
    directory that has sufficient free space.
    - At least 15GB of free space in the cluster root storage repository. For storage
    and repository configuration, please refer to Oracle VM 2.2 Server User Guide:
    http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/storage.htm
    and
    http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/repository.htm
    - At least 2GB of free memory on the Oracle VM Server
    - A static IP address for the Oracle VM Manager
    - If enabling HA (high availability) for the Oracle VM Manager,
    mount a clustered OCFS2 or NFS filesystem on /OVS. If ext3 or a
    local OCFS2 filesystem is used, enabling HA will cause the high availability
    prerequisite checking to fail. The Oracle VM Manager configuration
    process will exit without completing the configuration.
    - The Oracle VM Manager will register the first VM that it detects.
    To have Oracle VM Manager be the first VM registered,
    make sure there are no virtual machine images besides the Oracle VM Manager
    virtual machine in the /OVS/running_pool directory on the Oracle VM Server.
    - A desktop or other system with a VNC Viewer installed
    The steps below assume that the Oracle VM Server used is not currently
    or was not previously managed by another Oracle VM Manager. If this is not
    the case, the instructions below will ask user clean up Oracle VM Agent DB
    before running the Oracle VM Manager.
    2. Oracle VM Manager Template Description
    =========================================
    The Oracle VM Manager Template is distributed as one archive file which
    includes:
    File Version
    OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz 2.3
    Deploy_Manager_Template.sh 2.3
    The OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz archive contains two disk images,
    a VM configuration file and a readme file:
    - Oracle Enterprise Linux 5.3 x86 system disk image
    - Oracle VM Manager 2.2 disk image
    - vm.cfg
    - README
    The system image is a JeOS (Just enough OS) installation of Oracle
    Enterprise Linux 5.3. It is a smaller footprint install that contains
    the only packages needed by Oracle VM Manager.
    Oracle VM Manager is configured to use Oracle Database 10g
    Express Edition (included).
    Deploy_Manager_Template.sh is used to check the prerequisite and
    create virtual machine.
    During the first boot of the Oracle VM Manager virtual machine,
    the Oracle VM Manager configuration process will create server pool
    and import the Oracle VM Manager virtual machine.
    Two OS user accounts are created by default:
    user: root password: ovsroot
    user: oracle password: oracle
    The user 'oracle' belongs to the 'oinstall' and 'dba' groups.
    The default vnc console password is 'oracle'
    3. Creating the Oracle VM Manager virtual machine
    =================================================
    1) Download the Oracle VM Manager Template (V19215-01.zip)
    from http://edelivery.oracle.com/oraclevm
    2) Login to the Oracle VM Server's dom0 as 'root'
    Copy V19215-01.zip to your working directory with at least 4GB free space.
    You can choose any directory on OVM Server except /OVS/running_pool.
    This zip file contains the archive file OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
    and a deploy script Deploy_Manager_Template.sh
    3) As root, run
    # unzip V19215-01.zip
    4) As 'root', run the deployment script:
    # chmod 755 Deploy_Manager_Template.sh
    # ./Deploy_Manager_Template.sh
    The deployment script Deploy_Manager_Template.sh will complete the following
    tasks:
    a) prerequisite checking
    b) uncompress OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz file to directory
    /OVS/running_pool. This directory will contain the files following files:
    /OVS/running_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM
    |- System.img (OS image file)
    |- Manager.img (Manager image file)
    |- vm.cfg (VM configuration file)
    |- README (Readme file)
    c) generate and assign new MAC address to the virtual machine
    d) interview the user for VM and VM Manager configuration parameters
    (next section 'Deployment interview' provides the list of questions)
    e) create and boot the virtual machine from the Oracle VM Server
    command line
    f) display the access information for Oracle VM Manager and Oracle VM
    Manager VM
    4. Deployment Interview
    =======================
    The deployment script will prompt a user to enter
    a) Agent password
    The agent password is required for the prerequisites check.
    b) Storage configuration
    Storage Source: NFS address, OCFS2 partition path
    The script will automatically detect your cluster root storage repository
    if you have configured it. Or it prompts users to input their storage source
    and the script tries to set it up as cluster root.
    NOTE: how to manually create your own storage repository in OracleVM server 2.2.x
    1) Register your storage source. Example:
    /opt/ovs-agent-2.3/utils/repos.py -n myhost:/mynfslocation
    /opt/ovs-agent-2.3/utils/repos.py -n /dev/sdb3
    Note that the storage source should have at least 15GB free space.
    If the storage source is successfully registered, note down the uuid genereated
    by the command above, such as:
    51d4c69b-e439-41ac-8b31-3cc485c993b0 => /dev/sdb3
    2) Mount your storage repository.
    If the agent version is 2.3-27 or higher, execute:
    /opt/ovs-agent-2.3/utils/repos.py -i
    otherwise, complete the following commands:
    [1] mkdir -p /var/ovs/mount/$(echo <uuid> | sed s/-//g | tr '[:lower:]' \
    '[:upper:]')"
    where '<uuid>' is the uuid noted down in step 2)
    [2] mount your storage source to the directory made in step [1].
    3) If /OVS exists, delete or move /OVS
    mv /OVS "/OVS.$(date '+%Y%m%d-%H%M%S').orig"
    create a symbolic link from storage repository to /OVS
    ln -nsf /var/ovs/mount/<UUID>/ /OVS
    c) Network configuration
    Static IP address
    Netmask
    Default Gateway IP address
    DNS Server IP address
    Hostname
    d) Password for database accounts:
    'SYS' and 'SYSTEM' (the same password the same password is used)
    'OVS'
    'oc4jadmin'
    'admin'
    e) Web Service configuration (supported in template in version 1.2)
    Web Service password (at least 6 characters)
    Enable HTTPS or not
    f) SMTP server (outgoing mail server SMTP hostname)
    E-mail Address for account 'admin'
    g) Data for the manager services configuration:
    Oracle VM Server Pool Name
    Oracle VM Server login user name
    Oracle VM Server login password
    Note that Oracle VM Manager is critical for managing Oracle VM Server Pools.
    Do not pause, suspend or shutdown this virtual machine! Configuring
    HA is recommended for this virtual machine so that Oracle VM will
    automatically restart the Oracle VM Manager virtual machine if there
    is a server crash.
    5. Known Issues
    ===============
    1) You may see messages on a virtual machine's console similar to these
    when the virtual machine is booting up:
    Fatal: No PCI config space access function found
    rtc: IRQ 8 is not free.
    i8042.c: No controller found.
    These messages can be ignored.
    2) Mail server check fails.
    Bug #7140 in bugzilla.oracle.com
    Oracle VM Manager installer only checks the default SMTP port 25 for the
    mail server. If the SMTP port is not 25, the check fails, and you will
    see the following message:
    Mail server '<mail server hostname>' check failed, want to re-enter it(Y|n)?
    You can enter 'n' to skip the mail server checking. You will also see the
    send mail checking fails with following message:
    Failed to send mail to '<Admin e-mail address>'
    want to re-enter the e-mail address(Y|n)?
    You can enter 'n' to skip the send mail checking.
    3) OEL VM console may display error messages similar to those below:
    BUG: warning at drivers/xen/fbfront/xenfb.c:143/xenfb_update_screen() (Not
    tainted)
    Call Trace:
    [<ffffffff803aa461>] xenfb_thread+0x135/0x2c5
    [<ffffffff8024874b>] try_to_wake_up+0x365/0x376
    [<ffffffff8029ba6e>] autoremove_wake_function+0x0/0x2e
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff803aa32c>] xenfb_thread+0x0/0x2c5
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff802339c8>] kthread+0xfe/0x132
    [<ffffffff80260b24>] child_rip+0xa/0x12
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff802338ca>] kthread+0x0/0x132
    [<ffffffff80260b1a>] child_rip+0x0/0x12
    This will not cause any problems.
    4) If you accidentally power off Oracle VM Manager virtual machine through
    Oracle Manager UI, and restart the virtual machine from OVM server command
    line, although Oracle VM Manager virtual machine is running normally,
    the virtual machine status in Manager UI will stay in 'Shutting Down'.
    This is expected, as the virtual machine status sync will only happen when
    the virtual machine status is "Error" or "Powered Off".
    To re-sync the virtual machine status, please complete the following steps:
    1. Log on the Manager UI;
    2. Navigate to the 'Virtual Machines' tab;
    3. Select Oracle VM Manager virtual machine, "OVM_EL5U3_X86_OVM_MANAGER_PVM";
    4. Choose 'Reset' from 'More Actions' dropdown list;
    5. Click 'Go' button, the status will become "Running" after a while.
    5) (Bug 9191053) For OVS agent version 2.3-19, the following High
    Availability scenario will not work.
    "If a Virtual Machine Server fails, all running virtual machines are
    restarted automatically on another available Virtual Machine Server."
    For OVS agent 2.3-19, Oracle VM Manager virtual machine will not be
    automatically restarted on any other available Virtual Machine Server,
    but on the original Virtual Machine Server when it becomes available again.
    To fix the issue, please upgrade OVS agent to 2.3-27 or the latest version.

  • UNABLE TO RETRIEVE THE CLIENT IP ADDRESS AND HOST NAME OF A PORTAL USER

    I'm trying to retrive the client IP address and host name of a portal user
    trying to access a portal page using APIs:
    PortletRenderRequest portletRequest =
    (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    HttpServletRequest servletRequest =
    (HttpServletRequest)portletRequest.getAttribute(HttpCommonConstants.SERVLET_REQUEST);
    String l_szClientIPAddress = servletRequest.getRemoteAddr();
    String l_szClientHost = servletRequest.getRemoteHost();
    but i found that for all portal users on different machines IP addresses, the
    returned IP is the same for all which is Portal middle tier IP address.
    So how can retrive the IP addess of a portal user trying to access a portal
    page ?

    Brijesh,
    Do you mean how to see hostname/ip address of client requests processed by the server? If yes, depending on what's your front ending component - Web Cache or OHS, you can configure the access log format to have this information recorded in either of these component's access log file.
    For Web Cache access log file, refer this:
    http://download.oracle.com/docs/cd/B14099_19/caching.1012/b14046/diagnostics.htm#sthref2090
    For OHS access log file, refer this:
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14007/servlog.htm#sthref439
    By default, both Web Cache and OHS are configured to use Common Log Format (CLF) that does record hostname/ip address so if you haven't made any changes to log format, this info is already there for you. Look for $ORACLE_HOME/webcache/logs/access_log file for Web Cache and $ORACLE_HOME/Apache/Apache/logs/access_log file for OHS.
    Thanks
    Shail

  • How to retrieve the client IP address when Apache acts as a proxy for Tomca

    Hello,
    I am trying to retrieve the client IP address accessing the web
    services. Because Apache is our proxy for all requests, when I try to
    retrieve the client IP I always get the localhost IP: 127.0.0.1
    The following code returns the localhost IP:
    MessageContext msgContext = MessageContext.getCurrentContext();
    if(msgContext != null) {
    return msgContext.getProperty(Constants.MC_REMOTE_ADDR).toString();
    return "Unknown";
    From a servlet, obtaining the client IP address can be achieved using
    this code.
    String ipAddress = request.getHeader("x-forwarded-for");
    if (ipAddress == null) {
    ipAddress = request.getHeader("X_FORWARDED_FOR");
    if (ipAddress == null){
    ipAddress = request.getRemoteAddr();
    return IPaddress ;
    Any help is greatly appreciated.
    Thank you very much

    @ejp....
    thanks buddy....
    u made my world a better place to live.....

  • How can I get Client IP Address in oracle?senthil

    How can I get Client IP Address in oracle?senthil

    Hi,
    Following query can help you to get the Client IP Address.
    select sys_context('userenv','ip_address') from dual;
    Thanks,

  • How to get Client IP address in oracle apps. Are there any API's.

    hi,
    I have one query
    ->How to get Client IP address in oracle apps. Are there any API's.
    regards,
    krishna

    Hi,
    this is very usefull
    however are this data stored on the db or is only a temporary view?
    I would like to have to keep track of all client connected.
    Thanx a lot

  • Capture Client IP address in Oracle Portal

    Hi,
    I just thought to post the solution I figured out which I can't find anywhere.
    The instructions should allow you to add the dynamic page portlet to a page to see the client ip address:
    1. Login to Portal as an admin.
    2. Click on the Navigator link.
    3. Create a new page group.
    4. Create a new page within the page group.
    5. In the page region, click on the add portlet icon.
    6. In the Available Portlets, click on Portlet Builders > Additional Portlet Builders > Dynamic Page Portlet
    7. This will place the Dynamic Page Portlet on the page. You can then click on Define to customize the dynamic page.
    8. In the HTML section of the dyamic page portlet wizard (after clicking define and giving it a name), enter code like the following:
    <HTML>
    <HEAD>
    <TITLE>Welcome User</TITLE>
    </HEAD>
    <BODY>
    <ORACLE>DECLARE
    l_curr_cgi_ip varchar2(30) := owa_util.get_cgi_env('remote_addr') ;
    l_curr_ip varchar2(30) := portal.wwctx_api.get_ip_address;
    BEGIN
    htp.p('<H3>OWA_UTIL.GET_CGI_ENV returns =>' || l_curr_cgi_ip || '</H3>');
    htp.p('<H3>WWCTX_API.GET_IP_ADDRESS returns =>' || l_curr_ip || '</H3>');
    END;
    </ORACLE>
    </BODY>
    </HTML>
    9. Finish the wizard (you can take defaults).
    10. Display the page. The portlet should have the information.
    ==========
    Otherwise you can create a dynamic page under a provider:
    1. Login to Portal as an admin.
    2. Click on the Navigator link.
    3. Click on the Provider tab.
    4. Click on Locally Built Providers.
    5. Click on Example Application db provider (this is a sample).
    6. Once you click on the Example Application, it will list some of the default forms, reports, etc... At the top, there is the following:
    Create New... Create New...Form, Create New...Report, Create New...Chart, Create New...Calendar, Create New...Dynamic Page, Create New...XML Component, Create New...Hierarchy, Create New...Menu, Create New...URL, Create New...Frame Driver, Create New...Link, Create New...List of Values, Create New...Data Component
    Click on dynamic page.
    7. Give it a name and click next.
    8. Replace the sample HTML with:
    <HTML>
    <HEAD>
    <TITLE>Welcome User</TITLE>
    </HEAD>
    <BODY>
    <ORACLE>DECLARE
    l_curr_cgi_ip varchar2(30) := owa_util.get_cgi_env('remote_addr') ;
    l_curr_ip varchar2(30) := portal.wwctx_api.get_ip_address;
    BEGIN
    htp.p('<H3>OWA_UTIL.GET_CGI_ENV returns =>' || l_curr_cgi_ip || '</H3>');
    htp.p('<H3>WWCTX_API.GET_IP_ADDRESS returns =>' || l_curr_ip || '</H3>');
    END;
    </ORACLE>
    </BODY>
    </HTML>
    9. Finish the wizard. This should show the portlet and the value. You can then add this portlet to a page.
    Note: portal.wwctx_api.get_ip_address will fetch your read client IP address.
    If the page you uses a UI template, you might get Error WWC-50003 When Clicking On The Portlet Define Link
    Then you have to add #PAGE.BASE# in the <HEAD> of the template and you can define the dynamic page portlet.
    It is tricky to pass the IP address inside the code, I solved the issue with the help of JavaScript.
    <HTML>
    <HEAD>
    <TITLE>Welcome User</TITLE>
    </HEAD>
    <BODY>
    <ORACLE>
    DECLARE
    l_curr_ip varchar2(30) := portal.wwctx_api.get_ip_address;
    BEGIN
    htp.p('<script type="text/javascript">');
    htp.p('ipClient(''' || l_curr_ip || ''');');
    htp.p('</script>');
    END;
    </ORACLE>
    </BODY>
    </HTML>
    I delared a hidden variable in the portlet I need the IP address & have set that value i the javascript function which I call in between <oracle></oracle>
    function ipClient(ipAddr){
    document.getElementById('clientIP').value = ipAddr;
    Once I set the variable I can easily get it any where.
    Hope this helps to solve your issue.
    Thanks,
    Sowji.

    You could have found it here:
    http://www.morganslibrary.org/reference/owa_util.html
    and another solution here:
    http://www.morganslibrary.org/reference/sys_context.html
    Both part of the library at:
    http://www.morganslibrary.org/library.html
    you might want to bookmark the page.

  • How to i get client IP address of a system on Oracle E-biz

    We are trying to extend our audit to getting the client IP address of a system on Oracle E-biz. This is to track down some users trying to perform a fraudulent act. Anybody has an idea. Maybe there are some scripts i need to run.

    Hi user;
    Please check:
    How to get Client IP address in oracle apps. Are there any API's.
    Re: How to get Client IP address in oracle apps. Are there any API's.
    Hope it helps
    Regard
    Helios

  • Client unable to connect to Oracle 10g on linux

    I have installed Oracle 10g on an Intel box running RedHat AS 3.0. The database installation was succesful but I am unable to connect to it from the client on my laptop running Oracle 10g client and Winfdows XP Pro. The server ip is 192.168.1.10 and I can ping it from the client:
    C:\>ping attila.n3kje.net
    Pinging attila.n3kje.net [192.168.1.10] with 32 bytes of data:
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.10:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    Here is some info about the 2 environments:
    [oracle@attila bin]$ uname -a
    Linux attila.n3kje.net 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686 i386 GNU/Linux
    Server hosts file
    ======================================================
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 attila.n3kje.net attila localhost.localdomain localhost
    hostname output
    ======================================================
    [root@attila root]# hostname
    attila.n3kje.net
    ifconfig output
    =======================================================
    [root@attila root]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:C0:9F:1D:0C:C8
    inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:13772171 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13748842 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1269613311 (1210.7 Mb) TX bytes:4065314800 (3876.9 Mb)
    Interrupt:16 Base address:0xecc0 Memory:fe100000-fe120000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:5513840 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5513840 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:865454291 (825.3 Mb) TX bytes:865454291 (825.3 Mb)
    Client TNSNAMES.ORA
    ======================================================
    # tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLE10G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DEV10G)
    PRDSRR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dev10g)
    Client SQLNET.ORA
    ======================================================
    # sqlnet.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    Server TNSNAMES.ORA
    ======================================================
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEV10G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DEV10G)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Server LISTENER.ORA
    ======================================================
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
    Results from the TNSPING command issued at the client
    =================================================================
    C:\>tnsping prdsrr
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
    004 09:26:11
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dev10g)))
    TNS-12541: TNS:no listener
    C:\>tnsping oracle10g
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
    004 09:26:38
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVI
    CE_NAME = DEV10G)))
    TNS-12541: TNS:no listener
    C:\>
    Trying to connect to the database from the server
    ==================================================
    [oracle@attila bin]$ echo $ORACLE_SID
    DEV10G
    [oracle@attila bin]$ ./sqlplus system
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:22:29 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    [oracle@attila bin]$ ./sqlplus system@dev10g
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:23:09 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    tnsping issued at the server
    ======================================================
    [oracle@attila bin]$ tnsping dev10g
    TNS Ping Utility for Linux: Version 10.1.0.2.0 - Production on 02-APR-2004 12:3
    :44
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.1.0/db_1/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve name
    What am I doing wrong?
    Thanks
    Renato

    Ok, I was able to succesfully connect to the database from the client. I made the following changes to the sqlnet.ora, tnsnames and listener. Here are the changes I made:
    sqlnet.ora
    ==============================
    # SQLNET.ORA Network Configuration File: /u01/app/oracle/product/9.2.0.1.0/netwo
    rk/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    # NAMES.DIRECTORY_PATH= (EZCONNECT)
    NAMES.DIRECTORY_PATH= (EXCONNECT, TNSNAMES, ONAMES, HOSTNAME)
    listener.ora
    ==============================
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = DEV10G)
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = DEV10G)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    tnsnames.ora
    ===========================================
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEV10G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DEV10G)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Here is the new problem!
    I start the dbconsole using the folowing command:
    [oracle@attila bin]$ ./emctl start dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
    Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
    http://attila.n3kje.net:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ........................
    ... started.
    Logs are generated in directory /u01/app/oracle/product/10.1.0/db_1/attila.n3kje
    .net_DEV10G/sysman/log
    When I try and access it from the client I get the following error message:
    "The database status is currently unavailable. It is possible that the database is in mount or nomount state. Click 'Startup' to obtain the current status and open the database. If the database cannot be opened, click 'Perform Recovery' to perform an appropriate recovery operation."
    What am I doing wrong this time?
    Your help would be greatly appreciated
    Thanks
    Renato

  • Install PT8.53 with Linux Issue: Jolt client (ip address 192.168.196.102) does not have proper application password

    Folks,
    Hello.
    I am installing PeopleTools 8.53 with Oracle Database Server 11gR1 and OS Oracle Linux 5.10.
    Data Mover Bootstrap and Application Designer can log into Database instance successfully. My procedure to run PIA is below:
    Step 1: start Oracle Database Server and LISTENR is listening.
    Step 2: start Application Server ./psadmin and 8 processes are started.
    Step 3: start WebLogic Server PIA /opt/PT8.53/webserv/PT853/bin/startPIA.sh
    In Browser, http://192.168.196.102:8000/ps/signon.html comes up successfully. But when sign in using UserID PSADMIN and password "myname", I get the error message in Browser as below:
    The application server is down at this time.
    CHECK APPSERVER LOGS. THE SITE BOOTED WITH INTERNAL DEFAULT SETTINGS, BECAUSE OF: bea.jolt.ServiceException: Invalid Session
    We've detected that your operating system is not supported by this website. For best results, use one of the following operating systems:
    Mac OS X 10.6(Snow Leopard)
    Mac OS X 10.5(Leopard)
    iPad
    Oracle Linux Enterprise
    Mac OS X 10.4(Tiger)
    Windows 8
    Windows 7
    Mac OS X 10.7(Lion)
    Regarding Application Designer, both Database Type "Oracle" and Connection Type "Application Server", UserID "PSADMIN" and password "myname" login successfully. I view TUXLOG (current Tuxedo log file) and its last screen is below:
    191723.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191723.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191723.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191724.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191724.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191724.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191724.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191724.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191725.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191725.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191725.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191726.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191726.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191726.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191726.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191726.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191727.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191727.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191727.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    191727.lucylinux.lucydomain!JSH.32462.2485226496.-2: JOLT_CAT:1626: "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password"
    I View APPSRV_1023.LOG (current server log file) and its content is below:
    PSADMIN.32259 (0) [2013-10-23T18:55:12.134](0) Begin boot attempt on domain PT853
    PSAPPSRV.32290 (0) [2013-10-23T18:55:35.701](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
    PSAPPSRV.32290 (0) [2013-10-23T18:55:35.923](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
    PSAPPSRV.32290 (0) [2013-10-23T18:56:19.256](2) App server host time skew is DB+00:00:00 (ORACLE PT853)
    PSAPPSRV.32290 (0) [2013-10-23T18:56:23.504](0) Server started
    PSAPPSRV.32290 (0) [2013-10-23T18:56:23.507](3) Detected time zone is EDT
    PSAPPSRV.32338 (0) [2013-10-23T18:56:25.793](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/2
    PSAPPSRV.32338 (0) [2013-10-23T18:56:26.003](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_2/
    PSAPPSRV.32338 (0) [2013-10-23T18:57:08.871](2) App server host time skew is DB+00:00:00 (ORACLE PT853)
    PSAPPSRV.32338 (0) [2013-10-23T18:57:10.662](0) Server started
    PSAPPSRV.32338 (0) [2013-10-23T18:57:10.663](3) Detected time zone is EDT
    PSSAMSRV.32388 (0) [2013-10-23T18:57:12.159](2) Min instance is set to 1. To avoid loss of service, configure Min instance to atleast 2.
    PSSAMSRV.32388 (0) [2013-10-23T18:57:12.168](0) PeopleTools Release 8.53 (Li nux) starting. Tuxedo server is APPSRV(99)/100
    PSSAMSRV.32388 (0) [2013-10-23T18:57:12.265](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSSAMSRV_100/
    PSSAMSRV.32388 (0) [2013-10-23T18:57:59.414](0) Server started
    PSSAMSRV.32388 (0) [2013-10-23T18:57:59.416](3) Detected time zone is EDT
    PSADMIN.32259 (0) [2013-10-23T18:58:48.149](0) End boot attempt on domain PT853
    PSAPPSRV.32290 (1) [2013-10-23T18:59:06.144 GetCertificate](3) Returning context. ID=PSADMIN, Lang=ENG, UStreamId=185906140_32290.1, Token=PT_LOCAL/2013-10-23-11.59.26.248432/PSADMIN/ENG/vSz0ix+wq8d+zPRwQ0Wa4hcek0Q=
    ~                                                                                                                                                        
    I think the error is indicated in TUXLOG file "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password". The application password "myname" in Browser http://192.168.196.102:8000/ps/signon.html page is not working. I use the same password "myname" to login Data Mover Bootstrap mode, Application Designer, and Application Server psadmin configuration successfully. I have tried a few other passwords in Browser http://192.168.196.102:8000/ps/signon.html page but not working.
    My question is:
    How to solve Sign In issue on http://192.168.196.102:8000/ps/signon.html that is "ERROR: Jolt client (ip address 192.168.196.102) does not have proper application password" ?
    Thanks.             

    Dear Nicolas,
    Hello. I have used the same password for "DomainConnectPswd" in the file Configuration.properties with that for Application Server setting. Eventually, UserID PSADMIN sign in http://192.168.196.102:8000/ps/signon.html successfully. PeopleTools 8.53 runs correctly in Browser.
    It seems that whether upgrade Oracle Linux 5.0 to the latest 5.10 does not have effect !
    I am very grateful to your great help for this installation of PT8.53 with Linux and Oracle Database !

  • Retrieving client ip from RPC-style web service

    Hi,
    I've got an rpc-style web service and I would like to log the incoming client
    ip address (i.e. I need to get at the HTTPRequest object). Can this be done by
    passing some kind of SOAP context parameter in the argument list of my exposed
    methods? If this is not doable, is implementing SOAP message handlers the way
    to to go? I would rather not do the latter, as the web service is working well
    and don't want to play with my code too much.
    Thanks

    I tried this, following the example in http://e-docs.bea.com/wls/docs70/webapp/filters.html,
    but I still can't get it to work. The init() method gets called, but doFilter(ServletRequest
    req, ServletResponse resp, FilterChain fc) does not. The "filter" part of my
    web.xml looks like:
    <filter>
    <filter-name>serviceFilter</filter-name>
    <filter-class>webservices.ServiceFilterImpl</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>serviceFilter</filter-name>
    <url-pattern>/myPattern/myWebService</url-pattern>
    </filter-mapping>
    The only thing I could thing of is that maybe my url-pattern is wrong, although
    this seems unlikely as my web service is able to process requests sent using
    http://myWLSMachine:7001/myPattern/myWebService.
    In fact, in the the WLS access.log file, I have:
    [07/Oct/2002:11:51:01 -0400] "POST /myPattern/myWebService HTTP/1.0" 200 3011.
    Do you know if there's something in the JAX-RPC API that I could use to get at
    the client ip address? I dug through the documentation and came across something
    called "ServletEndpointContext", but I'm not sure if this will do the trick.
    Thanks for your time,
    Danielle
    "manoj cheenath" <[email protected]> wrote:
    One way to do this may be to write a servlet filter
    and map the filter to the URL of your service.
    regards,
    -manoj
    "Danielle Vella" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I've got an rpc-style web service and I would like to log the incomingclient
    ip address (i.e. I need to get at the HTTPRequest object). Can thisbe
    done by
    passing some kind of SOAP context parameter in the argument list ofmy
    exposed
    methods? If this is not doable, is implementing SOAP message handlersthe
    way
    to to go? I would rather not do the latter, as the web service isworking
    well
    and don't want to play with my code too much.
    Thanks

Maybe you are looking for

  • [SOLVED]error: attempt to read or write outside of partition

    Hello, I update my system at least once a week, sometimes I run pacman -Syu more than that. So this system is no more than about 7 days behind what is available today.  Last time I did this the kernel got updated and it updated itself again or at lea

  • Quicktime not playing certain .mov files

    I have a situation where Quicktime isn't displaying anything on a particular .mov file on the internet. The quicktime control pops up, and starts playing, but there is no image or sound. I'm using a PowerPC mac with Quicktime 7.1.2 and OS 10.4.7 on a

  • Creating Unplanned Batches for Goods Receipts

    Recently we had an incident where a goods receipt for a final product did not meet an analytical FDA requirement. We were able to segregated the portion of the material that did not meet this regulatory commitment. We have a manufacturing process in

  • Macro to switch off authorization check in LDB

    Hello Folks, Could anyone share the macro to switchoff autorization check in LDB for a particular program. Regards, Nishanth Kumar

  • AMX Configuration for Orable BPM Approval Process

    Hi, Can any one brief idea about the AMX configuration in BPM? My Requirement is to get Approval hierarchy for BPM task Flow. Thanks, Madhava