Rule 168 unable to get superior

I am trying to activate a workflow but getting error . The technical log details shows that the superior(manager) cannot be resolved in rule 168 . while testing the rule 168 I can get the superior of person by passing
Extended object id  = Position
and
object type =  ‘S’
but when I try to find the superior by passing
Extended object id = SAP log on name
and
object type as ‘US’
I am unable to get the superior ..
Please advice what could be the cause of it . do we need to change some HR setting ie saving relation  in some info type or some thing can be done in workflow to resolve it .

while testing the rule 168 I can get the superior of person by passing
Extended object id = Position
and
object type = ‘S’
but when I try to find the superior by passing
Extended object id = SAP log on name
and
object type as ‘US’
I am unable to get the superior ..
<b>actally when we use position or empid whith respective id type the testing of rule seems to be working fine but when we use object type 'US' and provide sap id it does not find it superior .. the all cases are in testing of rule using pfac_dis and whith the same empids .</b>
as these all cases are in pfac_dis by default the rule uses type US ? or we have some setting for it

Similar Messages

  • Regarding workflow to get manager rule 168

    Hello HR Gurus,
    Well I am an abaper .
    while testing the rule 168 (to get the superior of person in workflow ) I can get the superior of person by passing
    Extended object id = Position
    and
    object type = ‘S’
    but when I try to find the superior by passing
    Extended object id = SAP log on name
    and
    object type as ‘US’
    I am unable to get the superior ..
    Please advice what could be the cause of it . as it is giving me supervisor when entering the details with position and employee id but not when entering sap logon id .
    in another client(IDES) it working fine with saplogon id ie  ‘US’ but not with position i.e. S   
    details in info type 105(communication ) is maintained .
    <b>does it has some thing to do with evaluation path ..?</b>
    please advice what could be the cause of it .. u r all advice will  be appreciated

    Hi brijesh,
        The main thing is that the relationships between the objects were not maintained based on the sap logon id, are maintained only by employee id(OBJID), Though u r giving the SAP Logon id , u should get the corresponding Employee id then proceed furthur to get the supervisor , it would resolve your problem.
    Regards,
    Narendra Kumar Katuri.

  • Using Rule 168, SWX_GET_MANAGER and Chief Position

    We have enabled standard SAP Travel Workflow WS20000040 - Approve Trip.   We are not currently using OM relationships A002 (Reports Line to) or B002 (Is Line Supervisor of).   We currently identify the Line Manager of the employee using the Chief Position designation A 012 and would like to use this for Trip approvals in lieu of building all of these additional relationships.
    Rule 168 is bound to the workflow.  According to the documentation associated with the rule, it seems that the rule should work with either the A002 or A012 relationship.  However, we only seem to be getting a superior identified when relationship A002/B002 exists.  
    Are there additional configuration or parameter settings that we might need to consider to make the manager (agent) determined properly exclusively with the Chief Position assignment?
    Thanks for  any guidance you can provide.
    Regards,
    Edited by: Bruce Hull on Jul 24, 2008 5:37 PM
    Edited by: Bruce Hull on Jul 24, 2008 5:37 PM
    Edited by: Bruce Hull on Jul 24, 2008 7:29 PM

    What I found through trial and error is that rule 168 does indeed evaluate the A012 relationship by default with no change in the standard evaluation path.  In our testing system, the "Chief" postion was not properly assigned.  Once this was resolved, the workflow works properly.
    As a side note, I also learned that you must have the parameter WFLOW VAPOS set for the rule to properly look up the organizational structure when a position (and chief) are vacant.

  • Question in getting Superior agent using FM 'SWX_GET_MANAGER'

    Hi Guy ,
       I have problem in get the initiator's superior . can someone help me ,thanks in advance .
       my scenairo is as follow :
       when assigned the user to position ,I use the standard rule 168 (FM:swx_get_manager) , I can get the correct result .but when assigned the Business Partner to postion , it is show me no found data . I have already the user id to the business partner in bp's profile'BUP003 employee' , and also I can see the user located below the position in the OM .
       whether I miss certain operation  ? how can I get the correct superior ?
    Jialiang.Qiu

    Hi,
    Well,The output of SWX_GET_MANAGER can only be User or Position.
    As per the assignment where the Business Partner is assigned to the Position, this FM gets the BP as an agent and in the final stage of this FM, this BP Agent entry gets deleted due to the following statement.
      DELETE actor_tab WHERE otype <> 'P' AND
                             otype <> 'US'.
    So, by this we can infer that you cannot determine the Person attached to that BP(that was attached to the Position) using 168 rule. You may have to create a custom Rule in these regards if you insist to go with Position-BP-Employee strategy.
    Hope this clears your doubt.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Unable to get the item value in cursor

    I have function which returns organization_id for each item selected in Sales Order window.
    From this function I will populate warehouse value in shipping tab whenever i am tabbing out from ordered item in Sales Order Form.
    But my cursor is unable to get the item id value (Ex: FOR cur_rec IN cus_l (l_item_id)). It is directly going to last return statement and displaying default value.
    Please help me out.
    FUNCTION custom_default_rule (
    p_database_object_name IN VARCHAR2,
    p_attribute_code IN VARCHAR2
    RETURN NUMBER
    AS
    l_line_type_rec oe_order_cache.line_type_rec_type;
    l_item_id NUMBER;
    p_org_id NUMBER;
    CURSOR cus_l (p_item_id IN NUMBER)
    IS
    SELECT a.organization_id, b.element_name, b.element_value
    FROM mtl_parameters a,
    mtl_descr_element_values b,
    mtl_system_items_b c
    WHERE b.inventory_item_id = c.inventory_item_id
    AND a.organization_id = c.organization_id
    AND a.organization_id = c.organization_id
    AND c.inventory_item_id = p_item_id
    AND a.organization_id <> a.master_organization_id
    ORDER BY a.organization_id;
    CURSOR cur_org (p_org_id IN NUMBER)
    IS
    SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = p_org_id;
    BEGIN
    l_line_type_rec :=
    oe_order_cache.load_line_type
    (ont_line_def_hdlr.g_record.line_type_id);
    l_item_id := ont_line_def_hdlr.g_record.inventory_item_id;
    FOR cur_rec IN cus_l (l_item_id)
    LOOP
    IF cur_rec.element_name IN
    ('Frequency',
    'Emission Norms',
    'Voltage',
    'Duty Rating',
    'Phase',
    'Product Family'
    AND cur_rec.element_value IN
    ('50',
    'Dual',
    'Euro',
    '210',
    '230',
    '440',
    'Low',
    'Medium',
    'Heavy',
    'Three',
    'QSK60',
    'QSK15',
    'QSK10',
    'DQK50'
    THEN
    RETURN cur_rec.organization_id;
    If u want more info. abt function refer: Refer "PL/SQL API + Defaulting Rules in OM" in Forums.oracle.com
    (OR)
    PL/SQL API + Defaulting Rules in OM
    Please help me out. This is very urgent.
    Thanks & Regards,
    Sateesh Kumar

    Hi Suresh,
    I tried like below:
    create or replace FUNCTION custom_default_rule (
    p_database_object_name IN VARCHAR2,
    p_attribute_code IN VARCHAR2
    RETURN NUMBER
    AS
    l_line_type_rec oe_order_cache.line_type_rec_type;
         l_line_rec OE_AK_ORDER_LINES_V%ROWTYPE;
    l_item_id NUMBER;
    p_org_id NUMBER;
    CURSOR cus_l (p_item_id IN NUMBER)
    IS
    SELECT a.organization_id, b.element_name, b.element_value
    FROM mtl_parameters a,
    mtl_descr_element_values b,
    mtl_system_items_b c
    WHERE b.inventory_item_id = c.inventory_item_id
    AND a.organization_id = c.organization_id
    AND a.organization_id = c.organization_id
    AND c.inventory_item_id = p_item_id
    AND a.organization_id <> a.master_organization_id
    ORDER BY a.organization_id;
    CURSOR cur_org (p_org_id IN NUMBER)
    IS
    SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = p_org_id;
    BEGIN
    l_line_type_rec :=
    oe_order_cache.load_line_type(ont_line_def_hdlr.g_record.line_type_id);
         l_line_rec := ONT_line_Def_Hdlr.g_record;
    --      l_item_id := l_line_rec.inventory_item_id;
    -- FOR cur_rec IN cus_l (l_item_id)
         FOR cur_rec IN cus_l(l_line_rec.inventory_item_id)
    LOOP
    IF cur_rec.element_name IN
    ('Frequency',
    'Emission Norms',
    'Voltage',
    'Duty Rating',
    'Phase',
    'Product Family'
    AND cur_rec.element_value IN
    ('50',
    'Dual',
    'Euro',
    '210',
    '230',
    '440',
    'Low',
    'Medium',
    'Heavy',
    'Three',
    'QSK60',
    'QSK15',
    'QSK10',
    'DQK50'
    THEN
    RETURN cur_rec.organization_id;
    FOR cur_rec_org IN cur_org (p_org_id)
    LOOP
    RETURN cur_rec_org.organization_code;
    END LOOP;
    END IF;
    END LOOP;
    RETURN '204';
    EXCEPTION
    WHEN OTHERS
    THEN
    IF oe_msg_pub.check_msg_level (oe_msg_pub.g_msg_lvl_unexp_error)
    THEN
    oe_msg_pub.add_exc_msg ('OE_Default_PVT', 'CUSTOM_DEFAULT_RULE');
    END IF;
    RAISE fnd_api.g_exc_unexpected_error;
    END custom_default_rule;
    This function executed without errors. But it is displaying final return statement value (i.e., 204).
    I am not getting inventory_item_id value to my cursor.
    Please help me out...It is very urgent.
    Thanks & Regards,
    Sateesh Kumar S
    Message was edited by:
    user610830

  • Oracle UCM - Unable to get dynamic conversion.

    Hi all,
    I'm new with Oracle UCM 11g and I encountered problems trying to check in a word document into UCM for this dynamic converter feature.
    I have tried creating a Classic HTML Conversion Template and HTML Conversion Template, but when I tried clicking on the HTML link, I got this error:
    Unable to get dynamic conversion. The html export was not successful.
    10:54 PM     Event generated by user 'weblogic' at host '192.168.163.37:16200'. Referred to by http://192.168.163.37:16200/cs/idcplg?IdcService=DOC_INFO&dID=13606&dDocName=ECM010404.
    User agent is Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET4.0C) and request method is GET.
    The html export was not successful. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,weblogic,192.168.163.37:16200!csFileServiceReferredToBy,http://192.168.163.37:16200/cs/idcplg?IdcService=DOC_INFO&dID=13606&dDocName=ECM010404!csFileServiceUserAgent,Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET4.0C),GET!csHtmlExportNotSuccessful
    intradoc.common.ServiceException: !csHtmlExportNotSuccessful
    *ScriptStack GET_DYNAMIC_CONVERSION_SUB
    3:doSubService,dID=13606,dDocName=ECM010404GET_DYNAMIC_CONVERSION_SUB,dID=13606,dDocName=ECM0104043:runHtmlConversion,dID=13606,dDocName=ECM010404
    at dynamicconverter.DynConverterHandler.doConversion(DynConverterHandler.java:1437)
    at dynamicconverter.DynConverterHandler.runHtmlConversion(DynConverterHandler.java:1125)
    at sun.reflect.GeneratedMethodAccessor12928.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:533)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3866)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    at intradoc.server.Service.executeServiceEx(Service.java:3861)
    at intradoc.server.Service.executeService(Service.java:3845)
    at intradoc.server.Service.doSubService(Service.java:3760)
    at sun.reflect.GeneratedMethodAccessor12923.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:550)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1343)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Any help is much appreciated. Thank you.
    Edited by: 885352 on Sep 15, 2011 2:40 AM

    Hi,
    I guess, during installation, you have provided as 127.0.0.1. Do you have entry in host file like (127.0.0.1 localhost).
    Try by giving host name or IP address for HttpServerAddress in configuration file.
    Gowtham J

  • Oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: Unable to get metadata for activity

    Hello,
    I am new to ADF, I am trying to learn how to navigate from one page to another, the code that I have is simple, but it is not working, I specified the control flow rules in the adfc-config.xml and I even tried to specify the navigation rules in the faces-config.xml file, but it doesn't matter if I do it in one configuration file or another I get the same error.  This is my first time working with ADF, I don't have formal training, just some video tutorial that I have seen on internet.  I have previous experience with JSF, so I feel more comfortable writing the code for my program than using all the graphical tools (at least at this moment)
    Any help to solve this problem will be highly appreciated.
    This is my page1.jsf  code:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:h="http://java.sun.com/jsf/html">
        <af:document title="page1.jsf" id="d1" binding="#{backingBeanScope.backing_page1.d1}">
            <af:form id="f1" binding="#{backingBeanScope.backing_page1.f1}"></af:form>
        </af:document>  
        <h:head>
            <title>First JSF Example</title>
        </h:head>   
        <h:body>
            <h3>ADF Hello World Example</h3>
            <h:form>
                What's your name?
                <h:inputText value="#{backingBeanScope.backing_page1.message}"></h:inputText>
                <h:commandButton value="Welcome Me" action="#{backingBeanScope.backing_page1.processPage1}"></h:commandButton>
            </h:form>
        </h:body>   
    </f:view>
    This is my backing bean for page1:
    package view.backing;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    public class Page1 {
        private RichForm f1;
        private RichDocument d1;
        private String message;
        public void setF1(RichForm f1) { this.f1 = f1; }   
        public RichForm getF1() {return f1;}   
         public void setD1(RichDocument d1) {this.d1 = d1;}
        public RichDocument getD1() {return d1;}
        public void setMessage(String msg) { this.message= msg;  }
        public String getMessage() { return this.message; }
        public String processPage1()
            System.out.println("++++++++++++++++++++++++++++++++++++++++++++++move to next page");
            return "success";   
    This is my adfc-config.xml file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <control-flow-rule id="__5">
        <from-activity-id>page1.jsf</from-activity-id>
        <control-flow-case id="__6">
          <from-action>#{backingBeanScope.backing_page1.processPage1}</from-action>
          <from-outcome>success</from-outcome>
          <to-activity-id>page2.jsf</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
      <managed-bean id="__2">
        <managed-bean-name>backing_page1</managed-bean-name>
        <managed-bean-class>view.backing.Page1</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1page1.jsf-->
      </managed-bean>
      <managed-bean id="__1">
        <managed-bean-name>backing_page2</managed-bean-name>
        <managed-bean-class>view.backing.Page2</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1page2.jsf-->
      </managed-bean>
    </adfc-config>
    Finally this is my page2.jsf
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"  xmlns:h="http://java.sun.com/jsf/html">
        <af:document title="page2.jsf" id="d1" binding="#{backingBeanScope.backing_page2.d1}">
            <af:form id="f1" binding="#{backingBeanScope.backing_page2.f1}"></af:form>
        </af:document>
        <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_page2-->
        <h:body>
            <h3>ADF Hello World Example PAGE2</h3>  
        </h:body>     
    </f:view>
    This is the error that I get when I push the button on page1 and I try to navigate to page 2:
    Target URL -- http://127.0.0.1:7101/EcatsADF12c-ViewController-context-root/faces/page1.jsf
    <org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ViewHandlerImpl> <_checkTimestamp> <TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,015 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,014 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,013 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,017 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,016 during the configured idle timeout of 5 seconds.>
    ++++++++++++++++++++++++++++++++++++++++++++++move to next page
    <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 11 created with problem key "ADFC-02013 [ADFc]">
    <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 12 created with problem key "ADFC-02013 [ADFc]">
    <oracle.adf.view> <RichExceptionHandler> <_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5>
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: Unable to get metadata for activity 'page2.jsf'.
      at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:234)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:1133)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:979)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:162)
      at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:119)
      at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:88)
      at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
      at javax.faces.component.UICommand.broadcast(UICommand.java:315)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    User, tell us your jdev version, please!
    What is your goal?
    What you have find had nothing to do with ADF. If you ent to learn adf then I recommend to work through find of the tutorials available on the jdev home page.
    If adf is not your goal, you might want to use Trinidad and ask your question in their forum.
    You might not like the declarative approach adf uses, but if you want to learn how to use adf, you have to understand how ADF works. Most can be done using java, but one you understand the framework you see the advantage.
    Timo

  • Unable to get access to wism2

    Hello,
    I have next issue: 
    When i was trying to configure redundancy, i lost access to wism2 module. When i ping service port, it reply me, but i unable to get access via "session slot proc".
    some brief information:
    cisco WS-C6509-E
    SN-1#sh module
    Mod Ports Card Type                              Model              Serial No.
      2    4  WiSM 2 WLAN Service Module             WS-SVC-WISM2-K9    SAL1739DEGF
      5    5  Supervisor Engine 2T 10GE w/ CTS (Acti VS-SUP2T-10G       SAL1739D9EL
    SN-1#sh run | i wism
    wism service-vlan 222
    wism module 2 controller 1 allowed-vlan 1-1001,1006-4094
    SN-1#sh wism module 2 controller 1 status
    WiSM Controller 1 in Slot 2 configured with auto-lag
    Operational Status of the Controller : Oper-Up
    Service VLAN                         : 222
    Service Port                         : 3
    Service Port Mac Address             : 6c20.562c.5a61
    Service IP Address                   : 192.168.1.101
    Management IP Address                : 10.32.252.21
    Software Version                     : 7.5.102.0
    Port Channel Number                  : 547
    Allowed-vlan list                    : 1-1001,1006-4094
    Native VLAN ID                       : 1
    WCP Keep Alive Missed                : 0
    any idea?

    Also, a have found a difference between second wism2 module
    SN-1(config)#do sh wism module 2 cont 1 sta
    WiSM Controller 1 in Slot 2 configured with auto-lag
    Operational Status of the Controller : Oper-Up
    Service VLAN                         : 999
    Service Port                         : 3
    Service Port Mac Address             : 6c20.562c.5a61
    Service IP Address                   : 192.168.1.101
    Management IP Address                : 10.32.252.21
    Software Version                     : 7.5.102.0
    Port Channel Number                  : 547
    Allowed-vlan list                    : 1-1001,1006-4094
    Native VLAN ID                       : 1
    WCP Keep Alive Missed                : 0
    SN-2#sh wism module 2 controller 1 status
    WiSM Controller 1 in Slot 2 configured with auto-lag
    Operational Status of the Controller : Oper-Up
    Service VLAN                         : 999
    Service Port                         : 3
    Service Port Mac Address             : 6c20.562c.4b61
    Service IP Address                   : 192.168.1.102
    Management IP Address                : 10.32.252.12
    Software Version                     : 7.5.102.0
    Port Channel Number                  : 547
    Allowed-vlan list                    : 1-1000,1006-4094
    WCP Keep Alive Missed                : 0
    As you can see there is no native vlan on working wism and i cant turn off it on unavailable wism.

  • Business Rules(Rule Author)-Where to get  Car Rental[car-objs.jar file]

    I am using Oracle SOA Suite 10.1.3.1.0 and Oracle 10 G 10.2.0.3.0, I am learning to use Rule Author and following "Getting Started with Rule Author" link-->"http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/web.1013/b15986/guistart.htm#sthref93"
    however I am getting stuck on one point "2.5 Defining a Data Model for the Car Rental Sample" because I am unable to locate car rental sample file. please help me finding the location of file in SOA suite, If some one has this file kindly send it to me on "[email protected]".
    The Name of the jar file is "car-objs.jar"
    thanks
    Yatan
    Edited by: Yatanveer Singh on Dec 15, 2008 12:28 AM

    hi Guys please help, I am still stuck I have to learn Rule Author in order to work on Business Rules, I am not able to locate car-objs.jar file no where in SOA suite or Oracle 10 g. I am not able to follow the sample provided by Oracle "http://download.oracle.com/docs/cd/B25221_04/web.1013/b15986/guistart.htm".
    If I wont get help form forum then where to get help from??
    Please tell me where to find car-objs.jar file or email me [email protected]
    thanks
    Yatan

  • Unexpected error - Unable to get IView

    Hi,
    I have configured FPN with EP and BI, both are on same SP level.The connection and the producer registration is successful.The producer contents can be navigated in Consumer and am able to copy and paste the producer content in the consumer.But when i preview the content it shows error "Unexpected error - Unable to get IView".
    Regards,
    Adity.

    The error i get in default trace is :
    #1.#000D60F4797A0074000008D70007A25E0004765974FE319B#1256026493825#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#sap.com/irj#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#TCSADITY#35321##n/a##06dc0750bd5011de9049000d60f4797a#SAPEngine_Application_Thread[impl:3]_26##0#0#Error#1#/Applications/BI#Plain###Exception caught: com.sapportals.portal.prt.runtime.PortalRuntimeException:
    Unexpected error - Unable to get IView:
    fpn:ddsa/pcd:portal_content/com.pnb.test/gh/iu/com.pnb.test3:pgyy6PHtBJ0B4Z62g5CvLg%3D%3D:1:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Unexpected error - Unable to get IView: fpn:ddsa/pcd:portal_content/com.pnb.test/gh/iu/com.pnb.test3:pgyy6PHtBJ0B4Z62g5CvLg%3D%3D:1:
            at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1960)
            at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:234)
            at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
            at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._createRequestParameters(BIRuntimeService.java:428)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.createRequestParameters(BIRuntimeService.java:405)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:329)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:276)
            at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
            at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
            at java.security.AccessController.doPrivileged(AccessController.java:241)
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:214)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.portal.fpn.exception.base.unchecked.FpnCommunicationException: Could not retrieve the bean / access service to connect with consumer 'ddsa'
            at com.sap.portal.fpn.entrypoint.FederatedPersistanceUtils.getAccessServiceByConsumerName(FederatedPersistanceUtils.java:169)
            at com.sap.portal.fpn.entrypoint.RuntimeFederatedPersistance.retrieveDLRemoteState(RuntimeFederatedPersistance.java:92)
            at com.sap.portal.fpn.FpnRuntimeService.bringRemoteState(FpnRuntimeService.java:134)
            at com.sap.portal.fpn.FpnRuntimeService.doFpnLookup(FpnRuntimeService.java:97)
            at com.sap.portal.fpnprovider.fpn.GenericContext.lookup(GenericContext.java:49)
            at javax.naming.InitialContext.lookup(InitialContext.java:361)
            at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1919)
            ... 41 more
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances
            Nested exceptions are:
            com.sap.engine.services.rmi_p4.exception.P4BaseIOException: Cannot make connection.
            at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:455)
            at com.sap.engine.system.naming.provider.DefaultInitialContext._getDefaultInitCtxt(DefaultInitialContext.java:65)
            at com.sap.engine.system.naming.provider.DefaultInitialContext.<init>(DefaultInitialContext.java:46)
            at com.sap.engine.system.naming.provider.DefaultInitialContextFactory.getInitialContext(DefaultInitialContextFactory.java:41)
            at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
            at com.sapportals.portal.prt.jndisupport.NamingManager.getInitialContext(NamingManager.java:50)
            at com.sapportals.portal.prt.jndisupport.InitialContext.getDefaultInitCtx(InitialContext.java:39)
            at javax.naming.InitialContext.init(InitialContext.java:233)
            at javax.naming.InitialContext.<init>(InitialContext.java:209)
            at com.sapportals.portal.prt.jndisupport.InitialContext.<init>(InitialContext.java:24)
            at com.sap.portal.fpn.entrypoint.FederatedPersistanceUtils.getAccessServiceByConsumerName(FederatedPersistanceUtils.java:159)
            ... 47 more
    Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances
            Nested exceptions are:
            com.sap.engine.services.rmi_p4.exception.P4BaseIOException: Cannot make connection.
            at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:55)
            at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)
            at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:340)
            ... 57 more
    #1.#000D60F4797A0074000008D90007A25E0004765974FE36CD#1256026493826#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#sap.com/irj#com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService#TCSADITY#35321##n/a##06dc0750bd5011de9049000d60f4797a#SAPEngine_Application_Thread[impl:3]_26##0#0#Error#1#/Applications/BI#Plain###Error while processing the request in a BI application; see SAP Notes 937697 and 948490#
    0

  • I am unable to open Superior drummer in Logic.

    I am unable to open Superior drummer in Logic pro X. I have uninstalled and reinstalled superior drummer twice in an attempt to troubleshoot any mistake that may have been made during installation. Is there any reason that logic might not detect SD
    I have tried to follow the installation instruction for superior drummer as best I can but would like to know if there may be something obvious that I’ve overlooked or neglected.

    You must use Superior Drummer v2.3.1 or later to work correctly in LPX...... as per the other thread you posted to....
    See my detailed post in that thread....
    how can i get superior drummer 2 to work in logic x
    Failing that.. contact Toontrack Support for assistance
    http://www.toontrack.com/support/
    (Click on any question and then look at the bottom of the answer for the Contact Support button......)

  • Could not establish TLS connection on port 7001 - "unable to get local issuer certificate"

    tvcs: Event="Outbound TLS Negotiation Error" Service="SIP" Src-ip="10.0.7.168" Src-port="29127" Dst-ip="<Public IP>" Dst-port="7001" Detail="unable to get local issuer certificate" Protocol="TLS" Common-name="ewe.<domainname>.com" Level="1" UTCTime="2014-11-12 12:48:20,071" 2014-11-12T15:48:05+03:00
    Getting above error on Expressway-C server while establishing TLS connection with Expressway-E in DMZ. I have enabled static NAT on Expressway-E and give the Public IP on peer address of Expressway-C. At that time, i was getting DNS resolution error  on Expressway-C so we added a host record on local DNS for Public IP. Later, I created CSR from both Expressway C & E server and ask local microsoft team to issue Local CA certificates. After uploading, i was getting above error (Failed to establish TLS). Also i have uploaded company (wilcard) Public certificates (issued from Geotrust) and we are getting the samer error and Expressway server could not establish TLS connection on port 7001. Firewall connections are done and i double checked it. 
    Expressway ver 8.2

    Yes, Exp-C > Peer Address (FQDN of Exp-E)
    Certificate of Exp-E -> When generating CSR from Exp-E, automatically FQDN (Exp-E(hostname).domainname.com) will be shown. Then this CSR will be send to local CA or Public CA to generate a certificate. OR you meant to say in Exp-E CSR we need to add FQDN of Exp-C server also in alternative name and vice versa too.
    Yes, root certificates & intermediate certificates are uploaded to trusted CA.

  • Rule 168 to work with org structure and not relationships

    Hi,
    I would like to use rule 168 to work with the organizartional structure and not the relationships maintained in PO10 organizational unit.
    this is because i want the agent to be the person with the red hat and not the a002 relationship maintained in organizational unit. i tried using rule 157 but it does the same thing and determines agent based on relationships maintained in org unit.
    basically i dont want the agent to be any of the line mangers which may have been set up, i want it to be the red hat of the org structure
    does anyone know how i can do this, or will i need to delete the relationships between staffing?
    Thanks
    Forhad

    Here is a code example to read from the tables in base to the personnel number emulating the SWE_GET_MANAGER function, I hope this helps. Regards.
    Z GET MANAGER *******************
    ***Gets the position for the creator of the requisition
      clear V_OBJID.
      select single objid into V_OBJID from HRP1001
       where otype  = 'S'        and
              plvar  = '01'       and
              rsign  = 'A'        and
              relat  = '008'      and
              begda  <= sy-datum  and
              endda  >= sy-datum  and
              infty  = '1001'     and
              sclas  = 'US'       and
              sobid  = pt_cont-VALUE+2.
      if sy-subrc = 0.
       valid if the user has personnel number don't proceed to look for the chief
         clear V_OBJID2.
        select single objid into V_OBJID2 from HRP1001
         where otype  = 'S'        and
               objid  = V_OBJID    and
               plvar  = '01'       and
               rsign  = 'A'        and
               relat  = '008'      and
               begda  <= sy-datum  and
               endda  >= sy-datum  and
               infty  = '1001'     and
               sclas  = 'P'.
        if sy-subrc <> 0.
       if the user exist in the correspondant date gets the chief position
          clear V_POS_SOBID_CH.
          select single sobid into V_POS_SOBID_CH from HRP1001
           where otype  = 'S'        and
                 objid  = V_OBJID    and
                 plvar  = '01'       and
                 rsign  = 'A'        and
                 relat  = '002'      and
                 begda  <= sy-datum  and
                 endda  >= sy-datum  and
                 infty  = '1001'     and
                 sclas  = 'S'.
          if sy-subrc = 0.
          if the relationship with a chief position exist gets the chief user id
            clear V_US_SOBID_CH.
            select single sobid into V_US_SOBID_CH from HRP1001
             where otype  = 'S'            and
                   objid  = V_POS_SOBID_CH and
                   plvar  = '01'           and
                   rsign  = 'A'            and
                   relat  = '008'          and
                   begda  <= sy-datum      and
                   endda  >= sy-datum      and
                   infty  = '1001'         and
                   sclas  = 'US'.
            IF sy-subrc = 0.
              clear pt_actor.
              refresh pt_actor.
              pt_actor-otype = 'US'.
              pt_actor-objid = V_US_SOBID_CH.
              append pt_actor.
            endif.
          endif.
        endif.
      endif.
    ***************End of Z GET MANAGER.*****************************

  • Error while applying a patch "Unable to get the database connection"

    Dear Experts,
    A patch which got successfully applied is failing Production and the error is kind of surprising to me.
    Apps version is 11.5.10.2
    db version is 10.2.0.4
    The worker log file shows
    Time when worker restarted job: Thu Nov 24 2011 22:14:52
    Start time for file is: Thu Nov 24 2011 22:14:52
    adjava -ms128m -mx256m -nojit oracle.apps.fnd.odf2.FndXdfCmp &un_apps &pw_apps &un_apps &pw_apps &jdbc_protocol &jdbc_db_addr table &fullpath_pa_patch/115
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
      Temporarily resetting CLASSPATH to:
      "/erp/oracle/prodappl/ad/11.5.0/java/adjri.zip:/usr/java14/jre/lib/charsets.jar:/usr/java14/jre/lib/core.jar:/usr/java14/jre/lib/graphics.jar:/usr/java1
      Calling /usr/java14/bin/java ...
    Exception occured
                  Copyright (c) 2003 Oracle Corporation
                     Redwood Shores, California, USA
             XDF(XML Object Description File) Comparison Utility
                            Version 1
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Unable to get the database connection using schema username/passwordIo exception: The Network Adapter could not establish the connection
    AD Run Java Command is complete.
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                                        AD Java
                                     Version 11.5.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    AD Worker error:
    The above program failed.  See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Thu Nov 24 2011 22:14:53
    {code}
    The error says database connection error.  I am able to connect to the database using sqlplus.  I tried to restart the failed worker, but the same error is repeating. 
    Any help would be appreciated.
    Thanks
    qARS
    Edited by: user7640966 on Nov 24, 2011 9:07 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hussein,
    One thing which I noticed now is in the apps Tier the
    tnsnames.ora under $TNS_ADMIN
    shows entry like this:
    PROD=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<appsServerName>)(PORT=1521))
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<dbServer>)(PORT=1521))
                (CONNECT_DATA=
                    (SID=PROD)
            )Actually *(ADDRESS=(PROTOCOL=tcp)(HOST=<appsIPaddress>)(PORT=1521))* this line in the tnsnames.ora is not correct. In fact the appsServerName should be replaced with dbServerName
    I deleted the tnsnames.ora and reran autoconfig but it is again recreating the same entry.
    Any clue how this can be fixed?
    Thanks
    qARS

  • Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off

    I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off".  I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
    Can somebody advice.
    Thanks

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

Maybe you are looking for