Empty property across App Modules

I created three Application Modules. I'm prompting the user for a username and password. And then populating with:
        ((Hashtable)connEnvironment).put(Configuration.DB_USERNAME_PROPERTY, mUserName);  
        ((Hashtable)connEnvironment).put(Configuration.DB_PASSWORD_PROPERTY, mPassword);
        ((Hashtable)connEnvironment).put(JboContext.SECURITY_PRINCIPAL, mUserName);
        ((Hashtable)connEnvironment).put(JboContext.SECURITY_CREDENTIALS, mPassword);The first AppMod that loads contains these vars, but AppMods 2 & 3 display the messages below. How would I populate this data across Applications Modules.
[336] PropertyManager.loadProperty(647) Skipping empty Property ApplicationPath from System Default
[337] PropertyManager.loadProperty(615) BC4J Property AppModuleJndiName='saleorders.model.CateListAppModule' -->(SessionImpl) from Client Environment
[338] PropertyManager.loadProperty(647) Skipping empty Property java.naming.security.principal from System Default
[339] PropertyManager.loadProperty(647) Skipping empty Property java.naming.security.credentials from System Default
[340] PropertyManager.loadProperty(647) Skipping empty Property jbo.user.principal from System Default
Thanks.

repost

Similar Messages

  • ADF activation/Passivation - Nested App Modules

    Hi All,
    I have a question related to application module pooling in ADF.
    We are developing a application using adf 11.1.1.7. When we initially designed the application we have created multiple application modules around 14 app modules.
    Then we realized that database connection usage is very high as number of app modules are more.
    To reduce the database connection usage, we have combined all the application modules under one root application module now.
    The connection usage is reduced now, but I have a question on memory foot print.
    1) When multiple application modules are placed under a root, during passivation, will all the state of all nested app modules under the root is written to the PS_TXN table?
    2) If  for certain child modules passivation is not required as we don't need to preserve the state of the app modules across user requests,
    can we configure that at child app module level??

    In regards to question 2, the VOs have a tuning option "Passivate State" which is set on by default which you can turn off.  Please read the associated documentation around this option.
    It's highly recommended you test your application after making this change for any impacts it may have, by doing a round of regression testing with jbo.ampool.doampooling=false.  Note however that option is not supported in production, so ensure to set it back to true.
    CM.

  • Deploying App Module as EJB Session Bean to JBoss

    I am attempting to follow the How-To at
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_jboss.html for deploying BC4J to JBoss. In particular, I was looking at the section 'BC4J as an EJB Session Bean', because that is the route we would like to take.
    The document instructs you to create a business components deployment profile.. ok, done.
    It then instructs you to copy the app module configuration that was just created and rename it. However, the editor will not let you rename the configuration.
    Then when 'Creating a JSP to Access Your Application Module as a EJB', the wizard to create the JSP will not allow you to select the app module configuration that was just created. It only shows the Local configuration.
    What am I doing wrong? I am using JDeveloper 9.0.3.1.
    My ultimate goal is to take an existing BC4J/JSP application and deploy the app module as an EJB, so the JSP and EJB can reside on separate machines.
    Any pointers that anyone can give me about deploying an app module as a Session Facade (BMT) to JBoss, with a JSP front end, is greatly appreciated. I have read the how-tos available from OTN. I have relatively little experience with EJB, so please forgive me if there's something obvious I'm missing.
    Thanks!!!

    Can this be solved by application module pooling? How
    can we use the PoolMgr to work with the session
    beans?You can use a stateless checkout/checkin appmodule.
    Take a look at the following help topics which explain this in good detail.
    "About Application Module Pooling"
    "About JSP Pages and Application Module Pooling"
    The pool can help reuse the appmodule instance across requests thus reducing the number of concurrent db sessions.
    Dhiraj

  • Folder access across all Modules ?

    Hi,
    Something that irritates me with LR(2,3,4) is that the FOLDER panel is not available across all modules. hence you have to create a collection or preselect your pictures first in Library . Does this bother anyone else ?

    It bothers me, too.
    Why don't you create an idea in the official feature request forum
    http://feedback.photoshop.com/photoshop_family/ideas/recent
    about it and post the link to your creation here?
    It really should not be much of a problem to add the folder panel to the top left side underneath a navigator if available, where anybody would look for it. We are nicely conditioned to this LR user interface principle.
    You will get my vote immediately!
    Cornelia

  • Can Designer generate ADF Entity Objects, View Objects and Apps Module ?

    Hi all,
    On what way can Designer integrate with JDeveloper (+ ADF) ?
    Can Designer generate ADF Entity Objects, View Objects and Apps Module ?
    Thank you for your help,
    xtanto

    Designer itself has no direct integration with JDeveloper. However, there are three options. First of all, you can get a JDeveloper extension (download this separately) that lets you create a Connection to a Designer repository. From that Connection you can find modules that you defined in Designer and generate Entity and View objects for the tables and columns that you used in those modules, and an Application Module. It does not create JSPs or other user interface objects.
    Another option is to buy JHeadstart from Oracle. This contains a set of code generators and ADF extensions that include an ability to get information from a Designer repository. JHeadstart works fine for non-Designer users too, but was built by the same people who wrote Designer Headstart - they know the repository API intimately.
    The third option is to download Oracle Designer Extension Builder (ODEB) which was just recently made available. This is a product of a collaboration between Designer users from the Oracle Development Tools Users Group (ODTUG) and Oracle to extend the capabilities of Designer with user written tools and utilities. You could use ODEB to write your own generators for ADF Business Components. Or you could wait and see if someone else in the user community does this. I hope that you or whoever does such a generator will be willing to share it with us all.

  • Computer is balky random freezes across apps. Two hard drive cleans later (their scan reveals no hard drive problems) photo shop won't work at all, magic touch mouse inoperable and their diagnoses is corrupted data? Anybody heard of this?

    Computer is balky random freezes across apps. Two hard drive cleans later (their scan reveals no hard drive problems) photo shop won't work at all, magic touch mouse inoperable and their diagnoses is corrupted data? Anybody heard of this?

    Well, yes, data does get corrupted sometimes.
    The trick is finding what data.
    By 'cleaned' are you therefor meaning that the drive has been erased and the system re-installed?
    Because that's the quickest way to deal with such a situation.
    Back up the system first of course,
    Add back 3rd party apps one at a time in case one of them is causing the problem.

  • Is it possible to call a custom method in App Module from a backing bean?

    I would like to know if a custom method in App Module can be called from inside a backing bean.
    I am not sure if it is logically right to call, from a backing bean, a custom method in App Module. But would like to know if that makes sense or if it is possible.

    Hi..
    Yes it is possible.You have to add that method for client interface of AppModule.Now you can see that method in Data Controls(Refresh the data control). To call this method using bean it should add as method action to bindings(Click Bindings>+>methodAction>and Create action binding).
    Now you can call this method in bean class.
    Check following example use this concept to execute view criteria
    http://adf-lk.blogspot.com/2011/05/oracle-adf-create-view-criteria-and_4727.html

  • Need to Return immediately and commit the App Module on a different thread

    I have an action that I want to return fast (immediately) but the server processing takes longer than acceptable. The results of the operation don't matter to the page submitting it and I want it to be able to navigate away even if the operation is not complete. I want to either be able to send a non-blocking server event from the browser or on the server side start a new thread that performs the operation allowing the original thread to return immediately. The new thread would need access to an Application Module in order to commit data. How would I go about accomplishing this?
    Some thoughts
    I've tried creating a ConcurrentLinkedQueue and putting the DataControl on the que, then in the other thread I pull it off the que, process and commit the data. This works unless the page is navigated away from. Then calling dc.getApplicationModule(); returns null.
    I thought about using createRootApplicationModule in the new thread (since the new thread has no context) but don't know how that would work
    This is the code in the run method of the new thread. In this example, I'm adding data to the app module in the original thread and committing the data in a new thread.
    (like I said, it works most of the time.)
    Object[] req = (Object[])que.poll();
    DCDataControl dc = (DCDataControl)req[0];
    try{
    ApplicationModule am = dc.getApplicationModule();
    if (am != null){
    am.getTransaction().commit();
    } else{
    System.out.println("AM:null unable to commit ");
    } catch (Exception e){
    e.printStackTrace();
    finally{
    if (dc!= null){ dc.resetState();} // release app module
    }

    Thanks for the replies. I am aware of the inherent risks of running a separate thread within a managed container.
    The use case is a performance logging operation. We have a internal web app used by a network of franchises with over 1000 users. We log response time and performances statistics to the database. When the user clicks to navigate or commit data, the response time that the user experiences is logged after the page has fully rendered either through a PPR or a full submit. This is done by submitting ADFCustomEvent from javascript on the page after rendering is complete.. The event sends up the time difference from when the user first clicked to when the page was fully rendered. This information is then merged with logged events stored on the users Session that shows the name and response time of every query that was executed during the previous request. Depending on the page this could be up to half dozen to a dozen or more queries. The logging operation as experienced by the browser is generally fast (<200ms) but sometimes can be as long as a second or more when the database gets busy. A half second is too long as makes the app appear sluggish if the user can't type or click immediately after the page has finished rendering. The logged data is aggregated so we know exactly how much of the page load was due to a slow browser/network, how much was database time, webservice call time, etc... If it's due to a slow database we can drill down and see which query is the culprit. These performance metrics are critical to operations and are charted throughout the day so we know exactly what our users are experiencing. All of our users use a custom firefox client that we control. Using this logging framework we were able to determine that upgrading to a Firefox 4.0 based client cut browser render time by more than half a second on average. We can also tell what type of hardware the user is running so can place the blame for poor performance where appropriate. We have determined that pages render considerably faster on Windows 7 than on Windows 98 with the same hardware. We are moving the logging tables off of our exadata database to a separate box to remove that load from the application database. Since we expect the other database not to perform as well we don't want it to affect the user experience, hence the need to log asynchronously. I would like to put the data on a queue and have a background daemon process read from the queue and commit to the database. I would like the daemon thread to be able to use BC components. I would prefer not to resort to using a web service because of the inherent overhead. The logging operation is not a long operation but is of high frequency so should be as streamlined as possible. The load is spread over 6 servers with 4 JVM's each (24 weblogic instances). I know it's possible to use BC components from a plain Servlet (which runs on it's own thread) so what I want is to have something like a servlet thread that loops forever processing my logging queue.
    One other method I am investigating is using my own non-blocking ajax call that callls a servlet to perform the logging. I will need to pull out the timestamp contained within a client side ADF component along with the pages ctrl-state variable that is included with every ADF request as it uses this as the key to get to the data on the session. ADF really needs a non-blocking ADFCustomEvent for this type of request. (send and don't care about the response)
    The client component with the server listener looks like this
    <af:outputText value="#{pageFlowScope.perfClientTS}" visible="false"
    id="perfClientTSField" clientComponent="true">
    <af:serverListener type="logPerfData" method="#{perfLog.logPerfDataAction}"/>
    </af:outputText>
    The script that queues the ajax call after the page loads looks like this
    AdfCustomEvent.queue(perfClientTSField, "logPerfData", {
    typeId : typeId,
    subTypeId : subTypeId,
    responseTime1 : new String(responseTime1),
    responseTime2 : new String(responseTime2),
    openedVia: via
    true);
    I also tried calling the noResponseExpected() method on the event before queuing it but it still blocked the UI and caused an additional side effect in that the client sent two ajax requests instead of one. It somehow thought something on the client side needed to be synced with the server.
    email me and I can send a doc with more details about how our performance logging framework works.
    Edited by: Don Kleppinger on Mar 14, 2012 2:52 PM

  • Is it possible to Auto text across apps

    I'm looking for a way (App) that will let me use Auto text across different Apps.
    I write a lot of similar text pieces several times a day for client replies, and want a way for Auto text to complete these sentences for me.
    I want it to work across Apps like Mail, Pages etc. (fx: I write predefinded shortcut like: "callus" and the auto text fills out "Please don't hesitate to call us back") so that I works the same way (i.e. Use the same shortcuts) in different Apps.
    Anyone?
    Lion, latest hardware and software.

    http://www.smilesoftware.com/TextExpander/
    Try this and there are others
    Declaimer
    i am not affiliated or commercially associated with creation development or distribution of the above software

  • Problem in App Module Impl client method

    Hope someone has an answer for this. I have a data action calling a client interface service method in the app module impl class. I am passing http request data wrapped in a Map to this method from the action class.
    In this method I am calling another method in a bean. Strangely, the code in app module method gets executed twice, acting like a recursive call! I debugged it and noticed that my action class calls the method only once, but the call in the method to bean method is executed twice. I want to capture a database error for inserting a new row in my bean method the first time by throwing a jbo exception in app module method, but throw new exception is ignored and message gets lost due to 2nd excecution of the code.
    Any ideas or help is much appreciated.
    TIA,
    S

    User, please always tell us your jdev version.
    What do you mean by 'verbatim EO'?
    If you want to use the framework you should use it and not look for some hacks to archive your work. The docs help you to create or update data using the framework. If you don't want to use the framework, you don't have to, but then your post is for an other forum.
    Timo

  • Error with BC App Module Passivation

    We are seeing an error when BC4J is trying to passivate an application module. It is attempting to persist its state to a databse. It works fine when deployed to the integrated WebLogic instance in JDev, and when deployed to a single standalone WebLogic instance. However, when deployed to a clustered environment, we see the following error, as though it is unable to fetch the name of the passivation table from the app module configuration.
    Partial stack trace:
    oracle.jbo.PCollException: JBO-28030: Could not insert row into table null, collection id 303, persistent id 1
    at oracle.jbo.PCollException.throwException(PCollException.java:36)
    at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1920)
    at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:557)
    at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:680)
    at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:639)
    at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:465)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:291)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:264)
    We have tried using the implicit defaults, as well as explicitly specifying the DB object names using the following settings:
    <AppModuleConfig DeployPlatform="LOCAL" jbo.project="test.MyProject" name="MyAmLocal" jbo.passivationstore="database" ApplicationName="test.MyAm">
             <AM-Pooling jbo.dofailover="true"/>
             <Database jbo.locking.mode="optimistic" jbo.control_table_name="PCOLL_CONTROL" jbo.txn_seq_name="PS_TXN_seq" jbo.txn_table_name="PS_TXN" jbo.server.internal_connection="java:comp/env/jdbc/BC4JDS"/>
             <Security AppModuleJndiName="test.MyAm"/>
             <Custom JDBCDataSource="java:comp/env/jdbc/MyDS"/>
    </AppModuleConfig>Has anyone seen this issue before and/or have any insight as to what may be causing the problem?

    Indeed I would expect the name of the table, PS_TXN, to be displayed in the message:
    JBO-28030: Could not insert row into table PS_TXN, collection id 303, persistent id 1
    Could you check the full stack trace to see if there is something relevant that would explain it ?
    Could you also add the following Java properties to your project (in the Project Properties > Run/Debug/profile):
    -Djbo.debugoutput=console -Djbo.logging.show.function=true
    and see if some errors preceding the JBO-28030 explain the issue ?
    Regards,
    Didier

  • Web Start - Can't Connect To App Modules

    Has anyone had the problem of on being able to connect to their application modules deployed to Ora AS 10g when using web start? We can successfully use the tester on our local and deployed configurations for the app modules. We can also successfully run our JClient application locally and use our app modules deployed on the app server (and locally). We recently upgraded our containers from jdev 9.0.5.2 level to 10.1.2 level. Here is the stack trace I get:
    JBO-30003: The application pool (net.nighthawk.talon.model.bc.portal.PortalModuleAS) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1743)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2576)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1370)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1328)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1300)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.CreatePortalAppModule(LoginUtils.java:308)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.LoadBackgroundImage(LoginUtils.java:222)
         at net.nighthawk.talon.jclientview.TalonDashBoard.jbInit(TalonDashBoard.java:148)
         at net.nighthawk.talon.jclientview.TalonDashBoard.<init>(TalonDashBoard.java:128)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at net.nighthawk.talon.jclientview.ObjectInstanceCreator.CreateObjectInstance(ObjectInstanceCreator.java:41)
         at net.nighthawk.talon.jclientview.Talon.main(Talon.java:21)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1830)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1711)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2576)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1370)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1328)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1300)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.CreatePortalAppModule(LoginUtils.java:308)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.LoadBackgroundImage(LoginUtils.java:222)
         at net.nighthawk.talon.jclientview.TalonDashBoard.jbInit(TalonDashBoard.java:148)
         at net.nighthawk.talon.jclientview.TalonDashBoard.<init>(TalonDashBoard.java:128)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at net.nighthawk.talon.jclientview.ObjectInstanceCreator.CreateObjectInstance(ObjectInstanceCreator.java:41)
         at net.nighthawk.talon.jclientview.Talon.main(Talon.java:21)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    ## Detail 0 ##
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:75)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:63)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:140)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2184)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:523)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1830)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1711)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2576)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1370)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1328)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1300)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.CreatePortalAppModule(LoginUtils.java:308)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.LoadBackgroundImage(LoginUtils.java:222)
         at net.nighthawk.talon.jclientview.TalonDashBoard.jbInit(TalonDashBoard.java:148)
         at net.nighthawk.talon.jclientview.TalonDashBoard.<init>(TalonDashBoard.java:128)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at net.nighthawk.talon.jclientview.ObjectInstanceCreator.CreateObjectInstance(ObjectInstanceCreator.java:41)
         at net.nighthawk.talon.jclientview.Talon.main(Talon.java:21)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.createClientAdapter(ApplicationModuleProxy.java:181)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:135)
         at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:63)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:140)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2184)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:523)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1830)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1711)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2576)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1370)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1328)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1300)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.CreatePortalAppModule(LoginUtils.java:308)
         at net.nighthawk.talon.jclientview.login.utility.LoginUtils.LoadBackgroundImage(LoginUtils.java:222)
         at net.nighthawk.talon.jclientview.TalonDashBoard.jbInit(TalonDashBoard.java:148)
         at net.nighthawk.talon.jclientview.TalonDashBoard.<init>(TalonDashBoard.java:128)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at net.nighthawk.talon.jclientview.ObjectInstanceCreator.CreateObjectInstance(ObjectInstanceCreator.java:41)
         at net.nighthawk.talon.jclientview.Talon.main(Talon.java:21)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi,
    Did you have a look at
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfjclientbcwebstart.pdf
    If you are deploying your BC modules as EJB then this document also contains information of how to test this deployment within the BC tester.
    Frank

  • "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

  • Transient VO error when app module pooling shut off

    Hi,
    I am using JDev 10.1.3.3.0 to build an application with ADFBC and JSF.
    I am trying to test the application with the app module pooling turned off.
    There is one failure I am trying to focus on an solve. What I am trying to is to populate Transient VO xyz, navigate to a dialog page using dialog: where the contents of xyz should be displayed in an af:table.
    When AM Pooling is turned on, I see the data.
    When AM Pooling is turned off, I have the right number of rows in the table, but I every table cell contains no data. Its like the binding layer does not restore.
    Could someone explain why this is the case?
    Michael F.

    If memory serves, some people had a similar problem with ML.  See if this helps: https://discussions.apple.com/thread/4156827

  • Why there is spaces between Web App module listings on a web page?

    Why there is spaces between Web App module listings on a web page?
    Here is the web page:
    http://www.mazine.com/test/testpage.htm
    And here is the CSS code:
    http://www.mazine.com/test/css/tablestyle.css

    I only used Photoshop for the layout.  Then I created web-safe images for everything that I used for Dreamweaver.  I uploaded the images to the internet and then image sourced them into the code so that they will be viewed properly in the correct circumstances.  I haven't used HTML since about 2004 and I wasn't very good then.  I've just been thrown back into it and I'm pretty much learning as I go.  This is my second attempt because I wanted to make the newsletter more eye-catching.  My first one is very basic and without a background image at all and that looks fine in pretty much all email clients.  I tested it with Litmus.  All except for Windows Live Mail, where the images didn't act as links but as static images.  It works fine with the others I tested manually.  Those being Gmail, Yahoo and AOL.  I will try the display:block and get back to you.  Thanks for your suggestions.

Maybe you are looking for