Application Module instance not found in task flow

Hi,
i am working on Oracle Jdeveloper 11g Release 1
I have created a bounded task flow for with following properties:
<transaction id="__14">
      <new-transaction/>
    </transaction>
    <data-control-scope id="__15">
      <shared/>
    </data-control-scope>
    <task-flow-reentry id="__13">
      <reentry-not-allowed/>
    </task-flow-reentry>I have declared a page flow scope bean in the task flow as:
<managed-bean id="__5">
      <managed-bean-name id="__6">trainBean</managed-bean-name>
      <managed-bean-class id="__8">oracle.sysman.core.gccompliance.view.library.rule.patchRule.PatchRuleTrainBean</managed-bean-class>
      <managed-bean-scope id="__7">pageFlow</managed-bean-scope>
    </managed-bean>but when i am trying to access the AM Impl instance from bean methos as below:
public static final String DATA_CONTROLLER = "ComplianceLibraryAMDataControl";
    public ComplianceLibraryAMImpl getDataControl() {
        DCBindingContainer bc =
            (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
        ApplicationModule am = bc.findDataControl(DATA_CONTROLLER).getApplicationModule();
        return (ComplianceLibraryAMImpl)am;
    }I am getting null pointer exception in ApplicationModule am = bc.findDataControl(DATA_CONTROLLER).getApplicationModule();
I am using the same way to get bean in other task flows as well , so i think the code to get bean is working correctly.
What am i missing in this?

thanks Puthanampatti ,
This is working and i am able to get AM instance from this , But i am not sure what is the difference between:
public ComplianceLibraryAMImpl getComplianceLibraryAM() {
ComplianceLibraryAMImpl am = (ComplianceLibraryAMImpl)ADFUtils.getApplicationModuleForDataControl("ComplianceLibraryAMDataControl");
return am;
Referred methods:
     * Get application module for an application module data control by name.
     * @param name application module data control name
     * @return ApplicationModule
    public static ApplicationModule getApplicationModuleForDataControl(String name)
        return (ApplicationModule) JSFUtils.resolveExpression("#{data." +  name +  ".dataProvider}");
     * Method for taking a reference to a JSF binding expression and returning
     * the matching object (or creating it).
     * @param expression EL expression
     * @return Managed object
    public static Object resolveExpression(String expression) {
        FacesContext facesContext = getFacesContext();
        Application app = facesContext.getApplication();
        ExpressionFactory elFactory = app.getExpressionFactory();
        ELContext elContext = facesContext.getELContext();
        ValueExpression valueExp =
            elFactory.createValueExpression(elContext, expression,
                                            Object.class);
        return valueExp.getValue(elContext);
    }And my previous approach:
    public ComplianceLibraryAMImpl getDataControl() {
                 DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
                 ApplicationModule am = bc.findDataControl(DATA_CONTROLLER).getApplicationModule();
                 return (ComplianceLibraryAMImpl)am;
    }Why am i not able to find my data control AM from Binding Container????

Similar Messages

  • View attributes can not be retrieved. View instance not found or undefined

    Hi,
    I am creating a simple master detail OAF page. For this I have done following steps:
    1. Created ParentEO and ChildEO
    2. Created ParentVO with a transient attribute called "SelectFlag" with default value "Y" .
    3. Created ChildVO
    4. Created a UserViewLink.
    5. Created Application module (UserAM).
    6. New Page UserPG
    7. In the main region I have defined Application Module.
    8. Under the main region, I have created a new advanced table region with following properties:
    View Instance : ParentVO1
    Detail View Attribute : SelectFlag
    View Link Instance: UserViewLink.
    Now when I click to select the "Child View Attribute", it gives a pop up saying "View attributes can not be retrieved. View instance not found or undefined".
    Please help, I am not able to proceed on this.
    Thanks,
    Anupam

    Anupam,
    I do not see in your steps where you associated the VO with the AM. In order to select an attribute, the AM must have an instance of the VO associated with it. Double click the AM in the navigator. Click Data Model and shuttle the VO's you want to be available from the left to the right.
    Hope this helps.
    Kristofer

  • Application pool unable to check out application module instance in TOMCAT!

    Hi,
    I am able to run my bc4j application (WITH jsp CLIENTS) in JDEVELOPER just fine. But when I deploy it to TOMCAT, it gives me an error :
    "oracle.jbo.common.ampool.ApplicationPoolException: JBO-3003: The application pool WoopsBC4J.WoopsBC4JModule, failed to check out an application module instance"
    Can anyone tell me why this is happening?
    I have successfully deployed the sample ONLINEORDERS application to TOMCAT without any problem but this application somehow refuses to work.
    Is there anyone who encountered similar problems?
    Regards
    Ifti

    Chris, Here's the complete error message that I am receiving when I attempt to call the JSP page. I infact re-installed tomcat just to make sure that I don't have any old files that my application is referring to. So right now , I have only one application.
    Any help would be appreciated!
    Internal Servlet Error:
    javax.servlet.ServletException: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool, WoopsModule, failed to checkout an application module instance.
    oracle.jbo.ApplicationModule oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(java.lang.String, javax.servlet.jsp.PageContext)
    int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag()
    void _0002fiss_0005fListPerson_0002ejspiss_0005fListPerson_jsp_0._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
    void org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean)
    void org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
    void org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object[])
    void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
    void java.lang.Thread.run()
    ## Detail 0 ##
    oracle.jbo.NoDefException: JBO-25002: Definition WoopsBC4J.WoopsBC4JModule of type ApplicationModule not found
    oracle.jbo.ApplicationModule oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(java.lang.String, javax.servlet.jsp.PageContext)
    int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag()
    void _0002fiss_0005fListPerson_0002ejspiss_0005fListPerson_jsp_0._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
    void org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean)
    void org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
    void org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object[])
    void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
    void java.lang.Thread.run()
    void org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
    void org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object[])
    void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
    void java.lang.Thread.run()
    Root cause:
    javax.servlet.jsp.JspException: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool, WoopsModule, failed to checkout an application module instance.
    oracle.jbo.ApplicationModule oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(java.lang.String, javax.servlet.jsp.PageContext)
    int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag()
    void _0002fiss_0005fListPerson_0002ejspiss_0005fListPerson_jsp_0._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
    void org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean)
    void org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
    void org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object[])
    void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
    void java.lang.Thread.run()
    ## Detail 0 ##
    oracle.jbo.NoDefException: JBO-25002: Definition WoopsBC4J.WoopsBC4JModule of type ApplicationModule not found
    oracle.jbo.ApplicationModule oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(java.lang.String, javax.servlet.jsp.PageContext)
    int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag()
    void _0002fiss_0005fListPerson_0002ejspiss_0005fListPerson_jsp_0._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
    void org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean)
    void org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
    void org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object[])
    void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
    void java.lang.Thread.run()
    void org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
    void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
    void org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object[])
    void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
    void java.lang.Thread.run()

  • Parent application (orabpel) is not found!

    Hi,
    I was trying to deploy Loan Flow Application with Human Task Created.
    But while deploying i get the following error msg.
    Can anyone come across this error " parent application (orabpel) is not found!"
    Buildfile: D:\JDev10\jdev\mywork\LoanApps\LoanFlow\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/JDev10/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process LoanFlow on localhost, port 80
    [deployProcess] Deploying process D:\JDev10\jdev\mywork\LoanApps\LoanFlow\output\bpel_LoanFlow_10.4.jar
    [deployProcess] Successfully deployed the process "LoanFlow" on server "localhost" and port "80"
    deployTaskForm:
    [echo]
    | Deploying workflow form for LoanFlow on localhost, port 80
    [deployTaskForm] 07/02/06 21:01:59 Notification ==>Application Deployer for default_LoanFlow_10_4_LoanApproval STARTS.
    [deployTaskForm]
    [deployTaskForm] 07/02/06 21:02:00 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Deploy error: Deploy error: Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    D:\JDev10\jdev\mywork\LoanApps\LoanFlow\build.xml:98: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 1 minute 56 seconds

    When you redeploy the application the parent-application which is orabpel is always lost, you can adjust this by manually adding the parent-application tag to the configuration file.
    Check out my blog for more details regarding deployment of User Interfaces (such as the Worklist application) to the Bpel Proces Manager.
    This was already a problem in BPEL 10.1.2 i would have thought this would have been fixed by now? Maybe it would be better to create a Service Request for this, so Oracle will take this into consideration?

  • Failed to checkout an application module instance

    Hi,
    I am using JDev 3.2 to develop my JSPs and BC4J. When I tried to run my JSP from my web server I got the error "JBO-30003:The application pool, TsrsJSP20_TsrsBCPack_TsrsBCPackModule, failed to checkout an application module instance. JBO-26061:Error while opening JDBC connection." How can I fix this error? Please help!!!!
    Lisa
    null

    This is a deployment problem. You either do not have all the JARS/JSPs/properties files deployed onto the webserver or they are not found in the classpath (wrapper classpath for apache).
    Since this is very webserver specific it is difficult to be more specific.

  • BPEL Deployment issue - parent application (orabpel) is not found!

    Hello everyone,
    I've a got a small issue while deploying the Oracle's VocationRequest BPEL project to the my BPEL Server. It produces the following output:
    --- BEGIN ---
    parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    C:\Jdeveloper10.132\jdev\mywork\HumanWorkFlow\simplewf\build.xml:98: Error while deploying the form on server "uranus" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    --- END ---
    I've been looking at other resource for help but are unable to find anything which is relevant. Your time and help is much appreciated.
    Thanks and Regards,
    John

    Advanced version is when you have created the dehydration store in a database of your choice. It also creates a separate oc4j instance (oc4j_soa).
    Basic means that it installs the dehydration store into an Oracle lite database. It also stores all deployements into the oc4j instance home.
    You can check this by going to the enterprise manager and see what oc4j instances have been created. If you see home and oc4j_soa I would sugest that you have done an advanced install. If you only see the home oc4j instance I would say that you have a basic install.
    Now to answer your question. Looking at your note you are pointing the application server to the home instance. If you look at you Integration server you point this to your application server connection. This is home. If you have done an advanced install this should be oc4j_soa.
    Plan of attack.
    Check what install you have by looking at the enterprise manager.
    If it is advanced chnage your JDev connection to oc4j_soa.
    Otherwise update the post and we will go from there.
    cheers
    James

  • Function module "GM_DOCUMENT_REVERSE" not found.  after Patch Update

    Hi Abapers/Basis
    After patch update i am not able to do FBCJ reversal entry getting below error message.
    Runtime Errors         CALL_FUNCTION_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_FUNC
    Date and Time          25.05.2011 14:43:26
    Short text
         Function module "GM_DOCUMENT_REVERSE" not found.
    What happened?
         The function module "GM_DOCUMENT_REVERSE" is called,
         but cannot be found in the library.
         Error in the ABAP Application Program
         The current ABAP program "SAPLRWCL" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
         not caught in
        procedure "CALL_DISPATCHER_STORNO_R" "(FORM)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The program "SAPLRWCL" contains the CALL FUNCTION statement.
        The name of the function module to be called is "GM_DOCUMENT_REVERSE".
        No function module exists with the name "GM_DOCUMENT_REVERSE".
        All function modules are listed in the Function Library (SE37).
        Possible reasons:
        a) Wrong name specified. Pay particular attention to
           upper/lower case and underscores ("_").
           or
        b) Transport error
        c) In the case of an enqueue/dequeue module,
           the lock object may not have been activated
           (ABAP/4 Dictionary).
    How to correct the error
        Check the last transports to the SAP System.
        Is the program "SAPLRWCL" currently being changed?
        If an enqueue/dequeue module is involved, is the activation
        of the lock object missing in the ABAP/4 Dictionary?
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "CALL_FUNCTION_NOT_FOUND" "CX_SY_DYN_CALL_ILLEGAL_FUNC"
        "SAPLRWCL" or "LRWCLF10"
        "CALL_DISPATCHER_STORNO_R"
        Function modules with names similar to "GM_DOCUMENT_REVERSE":
        GM_DOCUMENT_CLOSE
        GM_DOCUMENT_RECORD
        GM_DOCUMENT_DELETE
        GM_DOCUMENT_POST
        GM_DOCUMENT_CHECK
        G_DOCUMENT_RECORD
        GJ_DOCUMENT_RECORD
        GM_DOCUMENT_PROJECT
        GET_DOCUMENTS
        GM_DOCUMENT_DISPLAY
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    Moderator message: please don't just dump your dumps, search for SAP notes or open a call with SAP instead.
    Edited by: Thomas Zloch on May 25, 2011 2:16 PM

    Hi Karthik,
    Thank you for ur reply.
    I did not implement any user exit/ badi. Dump is saying that my smarform function module does not exist in the se37 library.
    I have excuted my form through se38, that time is working fine. When i tried through output type it is going to dump.
    Regards,
    Kusuma.

  • Intermittent error in production server JBO-25200: Application module is not connected to a database.

    We've set 60 min as session timeout and AM pool parameters also high  (<AM-Pooling jbo.ampool.maxinactiveage="1200000" jbo.ampool.initpoolsize="25" jbo.ampool.maxpoolsize="1000" jbo.recyclethreshold="50" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="25"/>) in our application due to requirements.  We are using jdev 11.1.1.7.0
    Intermittently The page is getting refreshed and unsaved data is lost when user leaves a page for 5 or 10 min and on return back to application and performing operations back. There is not much load also on the server. When we analyze the logs the below exception is thrown on the logs.
    Exception Class: oracle.jbo.NotConnectedException
    Message: JBO-25200: Application module is not connected to a database.
    Agent: APP_BSA_BPA[mnatest_soa2]@egw-bpm2-mnat.wfs.com:5508
    API: Exception
    Thread Name: [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' <562720362>
    Exception StackTrace
    Method Class Line        File Name
    handleRollback oracle.jbo.server.DefaultTxnHandlerImpl 145         <unknown>
    doRollback oracle.jbo.server.DBTransactionImpl 5174       <unknown>
    rollback oracle.jbo.server.DBTransactionImpl 2544       <unknown>
    resetState oracle.jbo.server.ApplicationModuleImpl 4860       <unknown>
    disconnect oracle.jbo.common.ampool.DefaultConnectionStrategy 343         <unknown>
    doPoolDisconnect oracle.jbo.server.ApplicationPoolMessageHandler 592         <unknown>
    doPoolMessage oracle.jbo.server.ApplicationPoolMessageHandler 430         <unknown>
    doPoolMessage oracle.jbo.server.ApplicationModuleImpl 9316       <unknown>
    sendPoolMessage oracle.jbo.common.ampool.ApplicationPoolImpl 4530       <unknown>
    prepareApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl 2460       <unknown>
    doCheckout oracle.jbo.common.ampool.ApplicationPoolImpl 2270       <unknown>
    useApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl 3169       <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 592         <unknown>
    useApplicationModule oracle.jbo.http.HttpSessionCookieImpl 234         <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 525         <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 520         <unknown>
    initializeApplicationModule oracle.adf.model.bc4j.DCJboDataControl 523         <unknown>
    getApplicationModule oracle.adf.model.bc4j.DCJboDataControl 869         <unknown>
    internalGetBeanDataControl oracle.adf.model.bc4j.DCJboDataControl 969         <unknown>
    findOrCreateMethodRowSetIterator oracle.adf.model.bc4j.DCJboDataControl 1236       <unknown>
    initSourceRSI oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding 698         <unknown>
    callInitSourceRSI oracle.adf.model.binding.DCIteratorBinding 1679       <unknown>
    internalGetRowSetIterator oracle.adf.model.binding.DCIteratorBinding 1652       <unknown>
    refresh oracle.adf.model.binding.DCIteratorBinding 4506       <unknown>
    refreshIfNeeded oracle.adf.model.binding.DCExecutableBinding 341         <unknown>
    getRowSetIterator oracle.adf.model.binding.DCIteratorBinding 1612       <unknown>
    getViewObject oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding 473         <unknown>
    _loadCriterionList oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion 3504 <unknown>
    getCriterionList oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion 3417 <unknown>
    invoke sun.reflect.GeneratedMethodAccessor4821 - <unknown>
    invoke sun.reflect.DelegatingMethodAccessorImpl       25 <unknown>
    invoke java.lang.reflect.Method 597         <unknown>
    Any idea why this exception thrown ? Is this because of weblogic server connections cleanup or something to do with connections?  As per my understanding , JDBC connection will not be released when AM is active/managed mode.  Oracle Doc says
    " That application module instance holds onto the JDBC connection object that it acquired from the pool until the application module instance is removed from the application module pool."

    jbo.ampool.maxinactiveage is set to 20 min which means that If AM in the pool is inactive for 20 min then clean this AM in the next cycle (still that is not our case).  We also set jbo.recyclethreshold="50" means 50 AMs can exists in the pool with managed-state. We set these because of performance reasons.  As per my understanding, AM instance will be deleted (????) but in any action on the UI will pick up another instance of the AM because datacontrolframe is still valid in the session.  Do we have any best practice like jbo.ampool.maxinactiveage should be equal to session time out?. The error seems AM lost the underlying JDBC connection and somehow application is using that stale AM ?. what will be possible reason?.

  • Accessing application module instances directly from the AMPool

    Hi!
    I´m want to create an Application Module Pool Monitor, actually I need to know how many fetched rows an Application Module instance has.
    I made a jsp, that do the following:
    ApplicationPool pool = (ApplicationPool)poolMgr.getResourcePool(poolname);
    int instanceCount = pool.getInstanceCount();
    for (int i = 0; i < instanceCount; i++){       
    ApplicationModule am = pool.getInstance(i);
    and then works with the am instances, calculating the rows that each VO has fetched.
    Now, It is not yet clear to me if, when I use "pool.getInstance(i)",
    I'm locking the instance that is being use by another session (an user session), or trying to get a lock,
    and possibly creating a deadlock. Or the AMPool administrates the lock and I don´t need to worry about it.
    Thank in advance, and sorry for my bad english!
    (i forgot to mention, I´m using adf - bc 10.1.2 )
    Message was edited by:
    user506477

    Sure, we are having RAM problems, sometimes, and for reasons that are still unclear, a process begins to consume memory.
    What we need rigth now, is a tool that tell us how many rows in memory has each user, and which ViewObject is creating them. The idea is to make some kind of monitor that shows that, the AM that each user has, an the state of their VOs.
    I used the JSP in this page as a reference:
    http://radio.weblogs.com/0118231/stories/2004/05/10/gettingApplicationModulePoolStatisticsToAidWithSizeTuning.html
    I´m not trying to create a new AM management mechanism, simply a tool that shows the status of the application (and perhaps allows me, for instance, to clear the cache of a VO that has to many rows fetched).
    In my JSP I obtain an instance of the AMs using "pool.getInstance(i)", and access then the associated VOs. But I don´t know if accesing the AMs this way could create problems with users that have an AM assigned to them, for example, a deadlock.
    Thanks!

  • "Application module  is not a root app module but has no parent"

    This is to follow up on my answered question on rootAN substitution
    Re: "login session has expired" after am substitution
    I am working on an OAF extension.
    I have a new LOV region. I extended (to be substituted) the seeded VO, call it xxVO. And I have three custom methods using this xxVO that are called from processFormRequest of my controller which extends the seeded controller.
    So putting these methods in rootAM and AM substitution didn't work as some folks pointed out.
    So I created xxAM (extends root AM), put xxVO in xxAM’s data model and put my methods in xxAM, set this xxAM as AMDefinition for my custom LOV region.
    In my controller I do
    OAApplicationModule xxAM = new xxprg.oracle.apps.icx.por.req.server.xxprgRequisitionAMImpl();
    But I am getting
    => oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: JBO-25301: Application module is not a root app module but has no parent
    at
    xxAM.invokeMethod("handleChangeRequester", parameters);
    I found a few posts on the same topic. One advise was to not instantiate ‘new’ AM but do something like this
    Xo2cAcctOviewExtAMImpl amExt = (Xo2cAcctOviewExtAMImpl )pageContext.getApplicationModule(webBean);
    In this example I am confused about the fact that ‘getApplicationModule(webBean);’ which is used in the signature of the processFormRequest will return a ‘rootAM’, is this correct?
    There was another workaround mentioned in other posts to not use xxAM at all but build a class to mimic an xxAM passing all needed values that custom methods require. In which case how(or better where) do I instantiate xxVO since now xxVO won’t be part of any AM data model?
    Can someone please clarify.
    Thank you
    Anatoliy

    Pratap,
    Thank you for the response.
    The reason I need to use new xxCO on the page is this.
    Seeded page CheckoutLinesPG.
    It has advanced table on it where every column has it's one external region.
    The new LOV region xxRN is put on a page also under this table new column.
    1. When a requester (seeded region on the seeded page) is changed then my xxLOV should reflect the change and be populated according to what is selected in the Requester LOV.
    2. When one-time address is added (another seeded region on the seeded page) my xxLOV should be disabled, when one time address taken out - enabled again.
    So xxCO should apply to the whole page.
    The VO behind advanced table PoRequisitionLinesVO is extended with 2 additional attributes and will substitute, the new xxVO is under xxAM data model.
    All works fine with my methods in the seeded RequisitionAM which I get a handle to in the xxCO. But I don;t know how to get the handle to the xxAM if I put my methods there.
    Thanks,
    Anatoliy
    P.S. just fyi - I know it is not the recommended approach but what I did for now I put all calls into the controller - in the controller I can get a handle to root AM, through that I am getting a handle to xxVO which (!) is substituted during runtime with my xxVO. But if you can figure out how to get a handle to xxAM in my case it will be great.
    Edited by: asmirnov on Mar 24, 2009 2:04 PM

  • Livecache Error in SCM5.0 - Database Instance Not Found

    Hi,
    I installed SCM5.0 SR2 IDES version on Windows 2003. I selected Livecache in SAP System option when installing SCM5.0. After complete installation, I executed MAxDb exe file to install the MaxDb. I get this error when I try to access LCA Monitor in LC10.
    Here the error details:
    Name and Server:    LCA - SCMSRVR
    DBMRFC Function:  DBM_CONNECT
    Error:                      DBM Error
    Return Code:           -4
    Error Message:       Database Instance Not Found
    It wolud be really helpful if someone could respond to this messgae.
    Thanks
    Satish

    Hello Satish,
    -> My assumption was correct. Please see my first reply:
    "Please pay attention that the liveCache server software is not supported on the 32bit Windows
    server. You could install the liveCache client software on 32 bit Windows server, if the
    application running on the 32 bit Windows to be able to communicate to the liveCache instance. The liveCache instance need to be installed on another server, please overview the
    PAM matrix or check info at
    service.sap.com/liveCache -> Release-Dependent -> SAP LC/LCAPPS 5.0 ->
    "Matrix of released OS platforms for SAP liveCache Technology 7.6.0"   "
    You need the server, where you could install the liveCache instance.
    After the liveCache instance will be installed, you need to follow up with the post installation
    Steps from the liveCache installation guide, which you could also display from link
    service.sap.com/liveCache -> Release-Dependent -> SAP LC/LCAPPS 5.0
    -> "Yes.I found the above two files.
    Dbmcli.exe --> Found in the directory /sapdb/programs/pgm
    Sdbregview.exe --> Found in the directory /sapdb/programs/bin"
    ==> You could start the command prompt from those directories & run the recommended
            commands.
          With output of the 'sdbregview -l' command you will get the list of the database packages
          installed on the server.
    -> Please see helpful SAP notes ::
                   820824     FAQ: MaxDB / SAP liveCache technology
                   767598    Available documentation 
    Thank you and best regards, Natalia Khlopina

  • JPS-03026: PDPService and PolicyStore Service instance not found in default

    Dear all
    I just installed OIAM and I am facing this error when I try to start AdminServer:
    JPS-03026: PDPService and PolicyStore Service instance not found in default context
    There is an entry in the manual that says that I need to execute this:
    IDM_HOME/common/bin/wlst.sh IDM_HOME/oes/modifygrants.py
    I did it, I see in the weblogic.policy file the entries mentioned in the manual:
    grant codeBase "file:${idm.opss.oracle.home}/modules/oracle.jps_
    ${jrf.version}/*" {permission java.security.AllPermission;
    grant codeBase "file:${idm.opss.oracle.home}/oes/*" {permission java.security.AllPermission;
    grant codeBase "file:${oes.client.home}/-" {permission java.security.AllPermission;
    Still I have the same issue.
    Any ideas?
    Thanks

A: JPS-03026: PDPService and PolicyStore Service instance not found in default

hey Arturo,
I just did this into my server:
1)These steps are to prepared Identity and Policy Stores according to EDG 12035-07. So, webLogic Administration Server will not start after configuring OAM/OIM cluster.
And then you will reach: error message SEVERE: Ldap bootstrap credential retrieval failed. Reason:java.security.AccessControlException: access denied
2)yes, you must modify the security policy for WebLogic using the modifygrants.py script supplied in IAM Suite installation. I did it once and just after running the script my AdminServer process started correctly.
Please check and see if you are not missing something:
18.3.2.2 Editing the weblogic.policy file
To edit the weblogic.policy file, run the following command:
IDM_HOME/common/bin/wlst.sh IDM_HOME/oes/modifygrants.py
Important is:
The above command will only work if use the default policy name, weblogic.policy file. <===check this.
Only if you change the default name for the policy file, then you must open the file in a text editor and add the following lines:
grant codeBase "file:${idm.opss.oracle.home}/modules/oracle.jps_${jrf.version}/*" {
permission java.security.AllPermission;
grant codeBase "file:${idm.opss.oracle.home}/oes/*" {
permission java.security.AllPermission;
grant codeBase "file:${oes.client.home}/-" {
permission java.security.AllPermission;
So, just check if there is no misunderstanding. I just did into my server it's working fine now.
I hope this helps,
Thiago Leoncio.

hey Arturo,
I just did this into my server:
1)These steps are to prepared Identity and Policy Stores according to EDG 12035-07. So, webLogic Administration Server will not start after configuring OAM/OIM cluster.
And then you will reach: error message SEVERE: Ldap bootstrap credential retrieval failed. Reason:java.security.AccessControlException: access denied
2)yes, you must modify the security policy for WebLogic using the modifygrants.py script supplied in IAM Suite installation. I did it once and just after running the script my AdminServer process started correctly.
Please check and see if you are not missing something:
18.3.2.2 Editing the weblogic.policy file
To edit the weblogic.policy file, run the following command:
IDM_HOME/common/bin/wlst.sh IDM_HOME/oes/modifygrants.py
Important is:
The above command will only work if use the default policy name, weblogic.policy file. <===check this.
Only if you change the default name for the policy file, then you must open the file in a text editor and add the following lines:
grant codeBase "file:${idm.opss.oracle.home}/modules/oracle.jps_${jrf.version}/*" {
permission java.security.AllPermission;
grant codeBase "file:${idm.opss.oracle.home}/oes/*" {
permission java.security.AllPermission;
grant codeBase "file:${oes.client.home}/-" {
permission java.security.AllPermission;
So, just check if there is no misunderstanding. I just did into my server it's working fine now.
I hope this helps,
Thiago Leoncio.

  • Error starting net_rim bb_options_app: Module 'net_rim_tid_core' not found

    Hello,
    My bb phone curve 9320 3G shut down and kept flashing the led but couldnt start for a while, after i could start it, all my information was errased, like contacts and some apps, then when i tryied to adjust the clock time or any action at the "options" menu it would show this message in an pop up: Error starting net_rim_bb_options_app: Module 'net_rim_tid_core' not found.
    So... what should i do? can anyone help me?
    thanks in advance!!!
    Solved!
    Go to Solution.

    Try these workarounds:
    Method 1
    Connect the BlackBerry smartphone to the computer using an USB cable.
    From an Internet browser, go to http://www.BlackBerry.com/updates.
    Click Check for Updates and follow the prompts to upgrade the BlackBerry Device Software.
    Method 2
    If it is not already installed, download and install the latest version of BlackBerry Desktop Manager, which can be found at http://www.BlackBerry.com/support/downloads.
    Connect the BlackBerry smartphone to the computer using an USB cable.
    In BlackBerry Desktop Manager, open the Application Loader tool.
    Under the Update Software section, click Start. 
    Follow the prompts to complete the upgrade process.
    Good luck!
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • Error message when installing iTunes on Windows 7, "Apple Application Support was not found, Error 2"

    I can successfully download iTunes on my PC, but receive an error message when I try to install the file: "Apple Application Support was not found... Error 2" I've tried deleting the file and reinstalling it to no avail. Any ideas?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Apple Application Support was not found. Apple Application Support is required to run iTunesHelper. Please uninstall iTunes and then install iTunes again. Error 2.   After this I

    So when I plugged in my iPhone 4 (iOS 7.0.4), iTunes told me it needed to update to the newest version... so I did. After installing it it gave me an error (-45019) that said that a required component wasn't installed. I looked it up and people were saying to unistall iTunes and all apple related software and reinstall itunes which i did. I am on Windows 8.1.
    Now it gives me this error. "Apple Application Support was not found. Apple Application Support is required to run iTunes. Please unistall iTunes and install iTunes again. Error 2 (Windows Error 2)." I did this and it gave me the same message... Please help! How do i get iTunes running again?

    Let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • Maybe you are looking for