Application module is not a root app module, but has no parent

Hello

I use JDeveloper 11.1.2.1.0

I created a pl/sql procedure and he ran in the SQL worksheet, the procedure worked very well.
After that, I created a method in request Module to access the procedure of the h. The client interface of the method was created and accessed the procedure and the procedure has worked well.
After I created a View object and attached to the AM and let fall the attributes of the VO as a form on the page and tried to access the method in a bean to support am, there had to be two parameters passed to the procedure, that's why I took the AM method with a bean of support.

But inside the AOS, there is a following line of code:
stmt = getDBTransaction().createCallableStatement(str.toString(), 1);
On this line, an error is being run, like this:

< font color = "red" > oracle.jbo.InvalidOwnerException: Houston-25301: Application ApplicationModuleImpl_6 module is not a root app module, but has no parent < / make >

Why does this error happen?

Thank you
Nigel.

Edited by: Nigel Thomas on 5 June 2012 02:37

Edited by: Nigel Thomas on 5 June 2012 02:38
DemoImpl demo = new DemoImpl();

You can't do that. Sascha has suggested, the problem being that you try to create an instance of AM in the wrong way.

The best way to do this:

(1) make sure "prop" is exposed on the client interface
(2) add a link to your definition of prop page. Bind the parameter values as the case

John

Tags: Java

Similar Questions

  • My creative cloud adobe is grayed out and it will not update all apps he hust has a blue circle spinning whe I click Open. It won't let me uninstall as well. What should I do?

    and it will not update all apps he hust has a spinning circle blue whe I click Open. It won't let me uninstall as well. What should I do?

    Do you use Windows or Mac computer?

    You can try to uninstall using the uninstaller CC:

    https://helpx.Adobe.com/creative-cloud/help/uninstall-creative-cloud-desktop-app.html

  • FFox loads VERY slowly, even with disabled modules, but has normal speed in safe mode. How to fix?

    All webpages to load slow and jerky. Same with the video. I tried refreshing FFox, disable all add-ons and uninstalling/reinstalling. None of this has worked. Then I tried safe mode and it worked: pages loaded normally. My OS is Windows 7 Professional. I used FFox for many years, but it is not usable with my current problem.

    Thank you!!

    Hi aaltman,
    Other people had the same problem before, maybe it's because of the settings in your firefox. Please look for the solution to your problem:

    https://support.Mozilla.org/de/questions/1018163

  • My pcdid not equipped with any disk but has a recovery partition. How can I get vista to reinstall

    can I burn the recoery CD?

    Read the General information below on the recovery of Partitions and recovery discs and contact the manufacturer of your computer.

    How to get Vista recovery Media and/or to use the Vista recovery Partition on your computer.

    There is no Vista free download legal available.

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.

    See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.

    Normally, you have to press F10 or F11 at startup to start the recovery process...

    Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    You can also make recovery disk/s for the recovery Partition in case of a system Crash or hard drive failure.

    They will tell you how to do this.

    Every computer manufacturer has their way of doing recovery disk/s.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Or borrow a good Microsoft Vista DVD (not Dell, HP, etc).
    A good Vista DVD contains all versions of Vista.
    The product key determines which version of Vista is installed.

    There are 2 disks of Vista: one for 32-bit operating system, and one for 64-bit operating system.

    If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu

    http://support.Microsoft.com/default.aspx/KB/918884

    MS advice on the conduct of clean install.

    http://www.theeldergeekvista.com/vista_clean_installation.htm

    A tutorial on the use of a clean install

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Super Guide Windows Vista Installation

    After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.

    Save all data, because it will be lost during a clean installation.

    See you soon.

    Mick Murphy - Microsoft partner

  • Quazi extending the Application Module

    Hello

    I need set an attribute in the VO under my root page AM custom controller.
    Failed extension AM putting the method in an extension of the AM (with "Houston-25301: Application module is not a root app module, but has no parent ' message as indicated in other topics) I thought I'd try a discussed here

    Re: Adding a calculated column for a VO standard value

    So I created another class test1 that I'm calling from my controller:

    String rowReference = pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    ...
    test Test1 = new test1();
    test.executeServerCommand (pageContext, rootam, rowReference);
    ...

    In the executeServerCommand method I do

    OAViewObject myVO = (OAViewObject) am.findViewObject ("EAMOneStepMatIssueVO");

    but then I don't know how to get the desired line with that the rowReference past, the command that I used in the same scenario, but in the seeded AM

    Line OARow = (OARow) findRowByRef (rowReference);

    gives me the same
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: Houston-25301: Application module is not a root app module, but has no parent

    Can someone guide me here how I can get what I need.
    Thank you

    Anatoliy

    Hello

    You can use the code below.

    import oracle.apps.fnd.framework.OAApplicationModule;
    
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
      {
      super.processFormRequest(pageContext, webBean);
     OAApplicationModule am = pageContext.getApplicationModule(webBean);
     OAViewObject vo = (OAViewObject)am.findViewObject("VO Instance Name");
     String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
     if(rowReference != null)
              {
                YourVORowImpl row = (YourVORowImpl)am.findRowByRef(rowReference);
                row.setAttribute("AttributeName",value);
              }
    
      }
    

    I hope that helps!

    Thank you
    AJ

  • Could not load application module in R12.2.4 when I changed the class files directory

    Hi all

    I was able to successfully deploy a page in R12.2.4 where my path of the class file was like xxx/oracle/apps/fndxxx/abcd/Server

    but now, the directory must be changed to xxx/oracle/PSA/xxfnd/abcd/server, so I'm updating all the files of AM, VO, CO to point to the new directory and compiled and FTP'd to JAVA_TOP

    Bounce is done, but still the page is trying to access the page of the old directory (xxx/oracle/apps/fndxxx/abcd/server)

    It is said: oracle.apps.fnd.framework.OAException: could not load application module xxx/oracle/apps/fndxxx/abcd/Server/xxxAM

    I checked the classpath and it points to JAVA_TOP, also verified the file permissions (777)

    What could be the problem, please let me know

    @AJ: Please help me... You are the fastest of all

    Thank you

    Valsaint

    Hi all

    It was the FORM function issue, where he wasn't pointing to the updated file directory structure

    Thank you

    Valsaint

  • oracle.apps.fnd.framework.OAException: cannot load application module

    Hello

    My custom application ofa was working fine but suddenly he stops and the message below.

    oracle.apps.fnd.framework.OAException: cannot load application module

    Load class: oracle.jbo.common.java2.JDK2ClassLoader

    Charger: oacore.root:0.0.0

    Source code: / dev/u00/r12/apps/apps_st/comn/java/classes /.

    Configuration: < library > in/dev/u00/r12/apps/apps_st/comn/webapps/oacore /.

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule (HttpSessionCookieImpl.java

    Don't know what is causing the problem. all the tips are greatly appreciated.

    Thank you

    KK

    Is - the current running in the server or Jdeveloper?

    If it is the server, you did all the changes recently? Did transfer a file? If so, you correctly transfer in binary mode?

    Delete the class files, copy the files again (binary mode if you transfer files class if the java files, transfer in ascii mode and then compile it in the server).

    Bounce the server and see what happens.

    Let us know how it goes.

    See you soon

    AJ

    PS: Please mark the answers useful/correct if it is

  • Oracle OFA oracle.apps.fnd.framework.OAException: cannot load application module

    Hello

    I recently build the PAGE, AM, VO, EO, CO and deployed the entire myclasses Custom folder to the $JAVA_TOP.

    -FTPed in binary Mode class files

    -the Custom Page imported from the MDS using XMLIMPORTER

    -Changed to 755 and bounce Server

    All of these work in developer J, even I recompiled and redeployed several times and bounced the server each time. I always get the error below

    Problem: When I try to access the Page It gives me error like below

    oracle.apps.fnd.framework.OAException: could not load application module 'xxx.oracle.apps.fun.transaction.entry.server.XXXFunDffAM '.

    # # 0 in detail

    Houston-30003: AppPool (gaalpltora011f.linux.us.ams1907.comT4401611xxx.oracle.apps.fun.transaction.entry.server.XXXFunDffAM) failed at the checkout a module of application because of the following exception:

    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.jbo.JboException, msg = Houston-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg = Houston-25002: type xxx.oracle.apps.fun.transaction.entry.server.XXXFunDffAM ApplicationModule definition not found

    Enjoy your entries on this

    Thank you

    SAI

    Excellent. I'm glad it helped.

    Can you please mark it as answered!

    Thank you

    Sandeep

  • Error "Required application module is not configured" showed in distributed environment of EMP

    Hi Experts,

    We are trying to install and configure EMP 11.2.2.2. on an environment distributed.

    We have 3 servers,

    On a server, we installed Foundation Services and R & A.

    On server B, we have installed EPMA, planning, Manager of Calc,

    On Server C, we have installed Essbase.

    (By the way, SQL Server is on a different server)

    First we have problem deployment on application server on server B, and then we installed and deployed web applications of all the products that we use on the server has.

    After doing this Manager planning and calc were deployed to the application server on server B with success.

    EPMA web tier and the data synchronization has failed somehow, but after we manually created the server EpmaWebReports1 & EPMADataSync1 on the weblogic administration console.

    EPMA has been deployed successfully. So, up to this point, all products have been deployed, and the services can be started.

    But when launch us the workspace on a server, and then access the module planning or epma (dimension library, the library of applications... etc), error has occurred.

    It bumps a message as "Necessary application module awb.appmanager is not configured." or "Required application module awb.dimeditor is not configured."

    For more information on server A we installed on the disk, I have, and on server B, we installed on the D drive.

    We do not know if it makes no effect, we watched Installation EMP system produced in an environment distributed and have seen this:

    In a distributed environment, Oracle EPM home must be the same on each machine. For example, if the path for Oracle EPM home is/Oracle/Middleware on the first machine that you configure, it must be/Oracle/Middleware on all machines in the deployment.

    It is delicate because the estimate does not include the disk information in oracle home.

    Does anyone have an opinion on the issues that we face? Thank you very much!

    Eric

    For machines that are hosting the web application, really, it must be the same way home of middleware.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Application module does not record the client interface

    Hello.

    The problem is that the application module does not record the client interface that is automatically generated classes.

    Whenever I go to the module of the application and add them, they will be gone next time I open the workspace. Is this a known bug or is there something that I am missing?

    I use jdev 11g relsease 2 version 11.1.2.3.0.

    Please help, because I can't get anything done.

    TIA

    Possible cases:
    -There is something wrong with the method you created.
    -The return type does not match

  • Application module runs does not after changing the jndi in the JDBC data source name

    I had an obligation to deploy ADF application dev, test, and production. Every environments to different databases.

    To reach the requirement above, we had suite
    (a) uncheck "Auto Generate and descriptors weblogic - jdbc.xml sync for the deployment" of the Application property.
    (b) defined a data source to wls console (console different wls for each env) to dev, test, and production with jndi, jdbc/dashboardDS.
    (c) on the module of the application, the connection type changed to "JDBC Data Source" and filled in "jdbc/dashboardDS" to the name of the data source.

    Now, we are able to deploy our ADF application for dev, test, and production environments.

    But, after doing some changes to the bc4j.xcfg file as in step c), I'm not able to run AM. AM is running in an error message.
    oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:96)
         at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:89)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:437)
    Caused by: oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         ... 19 more
    ## Detail 0 ##
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         ... 19 more
    ## Detail 0 ##
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    
    ----- Level 1: Detail 0 -----
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         ... 19 more
    ## Detail 0 ##
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    
       ----- Level 2: Detail 0 -----
       javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Any suggestions

    Thank you
    Ajay

    You are talknig Tester ADF BC? Yes, and then change the type of URL JDBC connection for tester to run.
    In you AM - configurations - Double click AMLocal and change

    Published by: in the line of fire on December 12, 2011 14:56

  • Nested Application Module not get extracted using findApplicationModule

    Hi all

    The scenario is that,

    1. I added a region to a seeded OAF page from create item customization.
    2 I extended a shared region in this area added.
    3. the shared region has a different AM assigned to that RootAM.
    4 AM sharing this region becomes nested in RootAM of the page according to the directives of the Dev Guide OAF (R12 - Chapter 3-> Application Module - Pg117).

    Now, since shared region h gets nested under rootAm. I should be able to do rootam.findApplicationModule ("sharedRegionAM") of the seeded OAF page controller.

    But when I do that it returns a null object. Can someone throw a light on it.

    More details-
    I use the full qualified class AM AM Defination property name. as (XX.oracle.apps.per.selfservice.appraisal...)
    I tried to add the same value in AM property Defination of region shared as well as the newly created customization region.

    Thanking you in advance
    Harish

    Published by: user624185 on October 9, 2008 04:57

    Published by: user624185 on October 9, 2008 04:58

    Hello

    According to the code will be useful for you...

    OAWebBean customRegion = (OAWebBean) webBean.findChildRecursive ("customRegion");
    Newam = (OAApplicationModule) pageContext.getApplicationModule (customRegion) OAApplicationModule;

    Thank you...

  • Restore does not work in a web service that is created from an application module method

    Hello world

    I use jdeveloper 11.1.1.7.0

    I have a pl/Sql function named "InsertTest" that makes a lot of calculation and the DML operations (for example, insert and update tables) effective on many tables, while there no COMMIT in a pl/sql function.

    In a class of application module, I created a function (callDBFunction()) that calls the pl/Sql function,

    and I want to only use the result of a pl/Sql function, and at the end I restore all changes that are created in the pl/Sql function (using this.getDBTransaction () .rollback ()).

    // in application module impl class
    public void callDBFunction() {
    
      CallableStatement plsqlBlock = null;
      String statement = "BEGIN :1 := InsertTest(); END;";
      try {
      plsqlBlock = getDBTransaction().createCallableStatement(statement, 0);         
      plsqlBlock.registerOutParameter(1, OracleTypes.VARCHAR);
      plsqlBlock.executeUpdate();
      String rslt = plsqlBlock.getString(1);
    
      //..... use the result of plSql function
    
      this.getDBTransaction().rollback();  // rollback all changes
    
      } catch (SQLException e) {
      e.printStackTrace();          
      }
    }
    
    
    
    
    
    

    Then, via the tab of the Service Interface, I created a web service of the function above.

    When I test the web service and call the function, any changes made to the pl/Sql function is committed in the database.

    in fact it seems that the line "this.getDBTransaction () .rollback ()" in the code above was useless (doesn't work).

    How can I restore in this case?

    Habib

    Concerning

    If I call the function via the request module Tester, all changes rollback and it works as I hope.

    but in the case of service web when calling the function all changes are committed to database.

    This probably confirms my hypothesis that when you instantiate AM of ADFBC WS, connection has autocommit = true.

    You can try to change this with: plsqlBlock.getConnection () .setAutoCommit (false) before calling your plsql procedure.

    Dario

  • I have your downloader module but it will not download and convert - a message says that I need an external application to convert videos. How to do this?

    I don't really have anything to add to my main question.

    Hello nickolspeter, video downloadhelper is not provided by mozilla directly, but by an independent third-party developer, so we cannot give support for it here.

    Please refer to the documentation and the help to the http://www.downloadhelper.net/ resources

    Thank you

  • get the Application Module during the invocation of Taskflow delimited

    Hello dear developers,

    I have a filter that maps just before the Faces Servlet and fill some attributes in the HttpSession before it proceeds with the request

    [...]

    If (_clientUser! = null & &! _clientUser.isEmpty ()) {}

    session.setAttribute (CLIENT_USER_URI_PARAM_NAME, _clientUser);

    filterChain.doFilter (servletRequest, servletResponse);

    return;

    }

    [...]

    There are some practical information for which task flow should be addressed within the URI,

    faces/ADF. Task-Flow? ADF.tfId = Task-Flow-Definition-ID & adf.tfDoc=/WEB-INF/task-flow-definition-id.xml

    After I continue the application there is a method call within the bounded workflow that is called before the display (allows to call the current view), making it default business

    [...]

    activity < default > doStuff < / default activity >

    [...]

    The method itself is in a Managed Bean PageFlowScoped, which is added to the task-flow-definition - id.xml

    This is the method that is called before the "MainPage"-view of doStuff ".

    public class {controller

    [...]

    public void doStuff {}

    FacesContext ctx = FacesContext.getCurrentInstance ();

    Card sessionMap = ctx.getExternalContext () .getSessionMap ();

    String clientUser = (String) sessionMap.get (CLIENT_USER_URI_PARAM_NAME);

    AppModImpl am = getApplicationModule();

    DBTransaction transaction = am.getDBTransaction ();

    do more things

    }

    [...]

    }

    public AppModImpl getApplicationModule() {}

    FacesContext fc = FacesContext.getCurrentInstance ();

    Application app = fc.getApplication ();

    ExpressionFactory elFactory = app.getExpressionFactory ();

    ELContext elContext = fc.getELContext ();

    {ValueExpression valueExp = elFactory.createValueExpression (elContext, "#{data.", Object.class "}") AppModDataControl.dataProvider};

    AppModImpl m = valueExp.getValue (elContext) (AppModImpl);

    am back;

    }

    Everything works well so far. But if I try to get the Module of the Application. There is not.

    This app normally isn't any what DataControl, because is just a root application which different components of blocks that have been added by ADFLibrarys, but I added a DataControl to the DataBindings.cpx and an iterator for the MainPagePageDef (just to understand a DataControl in links) but still no result.

    Do you have any tips for me how I can access the application Module? FacesServlet should have been already created the necessary FacesContext managed Bean is called at the moment or it only creates a new FacesContext time a real (jspx/jsf) Page loads?

    Yours,

    Matthias Schnell

    I got a response:

    Here is the block message that has helped me to understand.

    Andrejus Baranovskis Blog: How to fix error of initialization of the control Data with the ADF libraries

Maybe you are looking for

  • Re: Satellite C660 - how to change key settings to make the volume change more easily

    I C660 and it is by far the most complicated wise laptop keyboard I've ever had - my back it was just silent volume = F10 and F9 = stronger volume and on it to FN press on 'key + '3 'or 4'. Is it please possible to customize key settings, so I don't

  • TS2013 reference manual?

    Hello I have just what to refer to something in the Handbook on TS 2013 but I do not found on my default installation. Not there at - it no Manual.pdf reference on TS2013? Concerning Jürgen

  • Download a free copy of the game 'purble place' to another computer in my house which also has Windows XP on it?

    Children have their own computer and I that they would play on it that the laptop that I already have the game on. I need the laptop for work.

  • Aironet 1300 - why no roots?

    Hello Worked with them before, a few years ago you mind. Two 1300 configured 'root' 'non-root' mode to interconnect both buildings. The 1300 'root' I put in place in basic setting to ensure all work first. All standard as it is out of the box with th

  • IPS V6.06E4 error

    Hi all An error appeared on the log of the IPS stating the following: "SignatureDB: TcpRootNode no no refcount (1 pass)"-out destructive ". Knowing that the IPS might not reload, it is dropped from over 3 months. Is this an indication for something s