ADF - Jdev 11 - application level caching

Hi All,
Our system user SOA calls to populate UI's.
So in order to make performance faster, i am planning to store LOV'S values in application scope.
So i am looking at a solution where i can populate the lists in managed bean which is stored in application scope, when application loads.
How i can achieve this solution, can i have servlet listener. Can i get access to bean when application loads.
Regards
Praveen

Hi Frank,
I am planning to have context listener, where i can store my attributes at application level.
Instead of making frequent SOA calls for populating LOV'S, i can just get the attribute and set it.
Regards
Praveen

Similar Messages

  • V8 Application Level Caching (Singleton Object_?

    I have a requirement to have our data base lookups cached in an object which is
    shared for all sessions accessing the application. Normally this would be accomplished
    via a singleton object. Howerver in the spirit of bea v8, I would like to use
    V8 controls to populate the caches.
    I have created a control called LookupImpl and a database control called LookupDB.
    LookupDB is a member variable of LookupImpl. LookupImpl has an init() method
    which will retrieves data from LookupDB and caches it for later use.
    If I place LookupImpl on a page flow it works fine. But if I manually instantiate
    LookupImpl (x = new LookupImpl())) in a java class (my singleton class intended
    to share one copy of the information among all users) , when LookupImpl tries
    to run a method on its LookupDB member variable, the member variable is null and
    the process blows up.
    I have also read in an article
    http://dev2dev.bea.com/products/wlworkshop81/articles/wlw_internals.jsp
    stating that controls cannot be manually instantiated.
    So my questions are:
    What would be the best practice for doing sharing application level cached data?
    It is true that a java class cannot instantiate controls?
    Can a control be defined to be a “singleton”?
    Thanks for all input
    gr

    I have a requirement to have our data base lookups cached in an object
    which is shared for all sessions accessing the application. Normally this
    would be accomplished via a singleton object. Howerver in the spirit of
    bea v8, I would like to use V8 controls to populate the caches.That's an odd approach. Normally you'd have a singleton, hang a cache object
    in the JNDI tree, or even have an EJB that handled this task.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic
    "gerry rodman" <[email protected]> wrote in message
    news:3fcfb309$[email protected]..
    >

  • How to configure logins for ADF Jclient based application

    Hi,
    I have an existing Java swings based application and the user authentication in the application uses Oracle (database level) user id/pwd verification. This I achieve through creating a successful JDBC connection. I treat this connection as a global variable and use it through out the user session.
    Now I need to create some new functionality that needs to be developed using ADF Jclient. This functionality would be plugged into the existing swing based application.
    However as per the documentation that I've gone through so far, we need to have a connection created for BC4J project at the development time. This connection is used to create data bindings. If I eliminate the connection information from the project properties/ connection the ADF Jclient form does not launch. The process hangs at:
    mgr.loadCpx("DataBindings.cpx", map);
    Is their some way I can specify the connection attributes for the ADF Jclient forms through my application. I'm fairly new to ADF Jclient and BC4J so I'm assuming that I'm missing something here, but, I'm not sure where to find for this information. Please help.
    Regards

    Hi,
    The following How-To may be helpful.
    http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html
    I believe your application user is the same as database user. Dynamic JDBC credential provider seems to be what you are looking for.
    In ADF, we separate application user from JDBC user. You could read more about JAAS and BC4J Security by looking up 'Security' or 'JAAS' in Help.
    Thanks,
    Yvonne

  • JBO-27122 error in ADF mobile client application for blackberry

    Hi,
    I am trying to develop a simple ADF mobile client application for blackberry. Currently, working only with Blackberry 9700 simulator. I am using the following for development:
    - Jdev 11.1.1.3
    - Oracle database lite 10.3.3
    I have done all the steps as given in the oracle demo. But when I try to run the application in blackberry simulator, the page shows the following error:
    ERROR: failed to change page
    oracle.jbo.server.DBTransactionImpl.createPreparedStatement: JBO-27122: SQL error during statement preparation. Statement: select po_header_id from po_headers_all where po_header_id=1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Encountered exception executing query on ViewObject: header1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Error retrieving BindingContainer : 'mobile_twoPageDef'
    oracle.adfnmc.java.sql.SQLException:
    oracle.adfnmc.java.sql.SQLException:net.rim.device.api.database.DatabaseException: select po_header_id from po_headers_all where po_header_id=1 : SQL logic error or missing database
    Unable to create/prepare native statement with SQL select po_header_id from po_headers_all from po_header_id=1
    Unable to create PreparedStatement with SQL select po_header_id from po_headers_all from po_header_id=1
    Please suggest what could have been wrong while developing or deploying the application.
    P.S. : The view object (header) shows data successfully when run in the application module. Also, a .db file gets created in the SD card folder. The synchronisation is a success when mSync.exe file is run in the <Oracle_Home>/Mobile/Server/Sdk/bin.

    Sorry my content got repeated.
    you can go through this thread FOD mobile db sync with base adf server db not working
    there is link that you can follow for synchronization (check second last message)
    Edited by: Nikhil Gokhale on Apr 17, 2011 3:55 AM

  • Deploy ADF to Oracle Application Server 10g(10.1.2) with error!

    Hi all!
    I'm deploying my application, I deployed ADF to Oracle Application Server 10g(10.1.2) with success. I do follow the article "Deploying Oracle ADF JClient
    Applications with Java Web Start" , I was create Data source with name is IspDS and then i test AppModule with Connection and Data source, Midle tier server type is Oracle 9iAS EJB but i get erorr:
    JBO-30003: The application pool (.10846777B87) 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.JboException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:541)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:156)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.remoteLookup(AmHomeImpl.java:99)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.getRemoteApplicationModuleHome(AmHomeImpl.java:40)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.lookupUsingPlatformContext(AbstractApplicationModuleHomeImpl.java:82)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:51)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.<init>(AbstractApplicationModuleHomeImpl.java:35)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.<init>(AmHomeImpl.java:33)
         at oracle.jbo.client.remote.ejb.ias.InitialContextImpl.createJboHome(InitialContextImpl.java:28)
         at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:137)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:153)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2324)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:663)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         ... 25 more
    ----- LEVEL 1: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:541)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:156)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.remoteLookup(AmHomeImpl.java:99)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.getRemoteApplicationModuleHome(AmHomeImpl.java:40)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.lookupUsingPlatformContext(AbstractApplicationModuleHomeImpl.java:82)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:51)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.<init>(AbstractApplicationModuleHomeImpl.java:35)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.<init>(AmHomeImpl.java:33)
         at oracle.jbo.client.remote.ejb.ias.InitialContextImpl.createJboHome(InitialContextImpl.java:28)
         at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:137)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:153)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2324)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:663)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         ... 25 more
    ----- LEVEL 2: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:541)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:156)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.remoteLookup(AmHomeImpl.java:99)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.getRemoteApplicationModuleHome(AmHomeImpl.java:40)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.lookupUsingPlatformContext(AbstractApplicationModuleHomeImpl.java:82)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:51)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.<init>(AbstractApplicationModuleHomeImpl.java:35)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.<init>(AmHomeImpl.java:33)
         at oracle.jbo.client.remote.ejb.ias.InitialContextImpl.createJboHome(InitialContextImpl.java:28)
         at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:137)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:153)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2324)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:663)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         ... 25 more
    ----- LEVEL 3: DETAIL 0 -----
    oracle.jbo.JboException: JBO-25222: Unable to create application module.
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:156)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    ## Detail 0 ##
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.remoteLookup(AmHomeImpl.java:99)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.getRemoteApplicationModuleHome(AmHomeImpl.java:40)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.lookupUsingPlatformContext(AbstractApplicationModuleHomeImpl.java:82)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:51)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.<init>(AbstractApplicationModuleHomeImpl.java:35)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.<init>(AmHomeImpl.java:33)
         at oracle.jbo.client.remote.ejb.ias.InitialContextImpl.createJboHome(InitialContextImpl.java:28)
         at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:137)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:153)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2324)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:663)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         ... 25 more
    ----- LEVEL 4: DETAIL 0 -----
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.remoteLookup(AmHomeImpl.java:99)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.getRemoteApplicationModuleHome(AmHomeImpl.java:40)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.lookupUsingPlatformContext(AbstractApplicationModuleHomeImpl.java:82)
         at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:51)
         at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.<init>(AbstractApplicationModuleHomeImpl.java:35)
         at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.<init>(AmHomeImpl.java:33)
         at oracle.jbo.client.remote.ejb.ias.InitialContextImpl.createJboHome(InitialContextImpl.java:28)
         at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:137)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:81)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2214)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
         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:1505)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1478)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:352)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:341)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:153)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2324)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:663)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         ... 25 more
    Can you help me resolve this problem?
    Thanks a lot.

    Hi,
    looks like the database connection could not be established. The document contains a step-by-step description of how to ensure that the connect is working after deploying the BC as EJB. You can configure the BC tester to work with the EJB deployment to see if the model works.
    Frank

  • Paging from DB level or Application level .

    Hi All,
    Just wonder if anyone if you guys can give me some ideas no implementation of paging. How would normally paging be done? To be more exact, my question is referring that the paging should be done :
    1. SQL Level
    Here the retrieval of records are queried into block of record. ie: within
    range of 1-10, 11-20. There will be likely multiple hit to DB.
    2. Application level(jsp)
    Here the retrieval of records are queried from one SQL stmt. ie:
    select * from table where name = '';
    Then if it returns more 10 rows, paging is done at application level.
    The first option will reduce the network usage in terms of bandwidth.
    Kindly advice asap.
    And appreciate if u can give me any good links for reading
    Thanks.

    It also depends on whether the data retrieved must be consistent. For example, I issue a search for records. The search completes and I receive the first page of results. I navigate to the second page. A user subsequently adds a new record that would have displayed on the first page.
    So what should happen if I hit 'back'?
    Option 1 is that I use database pagination methods. In this case, I will see the new record when I hit 'back'.
    Option 2 is that I cache the results in memory (if the result set is small) or to the filesystem (if the result set is large). In this case, I will see the same page as before.Neither implementation is 'right'. It depends on the behavior that is required. Reports, for example, probably should not use method 1. However, searches probably do not need the snapshot produced by method 2.
    If you do want to save the snapshot, be sure to consider serializing it to the filesystem. I normally create one file per page and populate the data there directly. The files are named [session_id]-[page number]. However, you have a considerable amount of freedom in how you approach this.
    - Saish

  • Merging Two JSF, ADF BC Web Applications into One...

    My question is directly stated in the subject. What would be the best way to take two JSF, ADF BC web applications written by two developers and merge them into one web application. Any place to start would be greatly appreciated. Thank you.

    Steve I wanted to try this method out first. I ran into a problem. I get a "HTTP 404 Not Found" error in the browser. I'm running this from the embedded OC4J in JDev. Maybe I don't understand how the context roots are referenced by the OC4J as they relate to testing this on my local machine.
    Browser links when pages are run seperately:
    http://10.13.8.44:8989/DptApp-UserInterface-context-root/faces/DptApp.jspx
    http://10.13.8.44:8989/EmpApp-UserInterface-context-root/faces/EmpApp.jspx
    Page locations on my local machine:
    \JDEV32\jdev\mywork\DptApp\UserInterface\public_html\DptApp.jspx
    \JDEV32\jdev\mywork\EmpApp\UserInterface\public_html\EmpApp.jspx
    Code from the bean that I'm using to navigate from EmpApp to DptApp:
        public String rtnRedirect() throws IOException {
            FacesContext fc = FacesContext.getCurrentInstance();
            HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
            response.sendRedirect("/DptApp/faces/DptApp.jspx");
            fc.responseComplete();
            return null;   
        }I altered my redirect to reflect what I was seeing on my local machine (response.sendRedirect("/DptApp-UserInterface-context-root/faces/DptApp.jspx")) and still got the error. I'm sure I'm referencing the location of the pages incorrectly, but I'm not sure where to look to fix this. Any suggestions would be greatly appreciated. Thanks.

  • Deploy ADF Fusion Web Application on Amazon EC2 Weblogic

    Hi,
    I am trying to deploy ADF Fusion Web Application (developed using JDev) on Amazon EC2 Weblogic app server but with no success.
    Can anyone enlighten me how to deploy ADF Fusion Web App on Amazon EC2 Weblogic?
    Thanks for kind assistance!

    Hi,
    Thanks for your prompt assistance.
    I managed to run "wls_jumpstart" but I am unable to start the console even though I have created a domain.
    I cannot find any instructions anywhere about deploying ADF Fusion Web Apps on Amazon EC2 Weblogic or any case studies of success anywhere.
    Hence, I am not sure if ADF Runtime is available on the Weblogic on Amazon EC2. Can you please help me in this area as well?
    It will be great if you can point me to some instructions on how to load web apps to Amazon EC2 Weblogic as I am quite new to both JDev and Amazon EC2.
    Thanks.

  • Coherence as a hibernate 2nd level cache

    Hello,
    I'm trying to use Coherence as a hibernate 2nd level cache but I'm getting the following exception when there are hundreds of concurrent DB transactions.
    java.lang.IllegalStateException: Exceeded maximum number of waiting threads (Status=1)
    at com.tangosol.net.cache.OverflowMap$Status.waitForAvailable(OverflowMap.java:4029)
    at com.tangosol.net.cache.OverflowMap.prepareStatus(OverflowMap.java:2152)
    at com.tangosol.net.cache.OverflowMap.beginKeyProcess(OverflowMap.java:1873)
    at com.tangosol.net.cache.OverflowMap.getInternal(OverflowMap.java:580)
    at com.tangosol.net.cache.OverflowMap.get(OverflowMap.java:330)
    at com.tangosol.coherence.component.util.CacheHandler.getLease(CacheHandler.CDB:3)
    at com.tangosol.coherence.component.util.CacheHandler.ensureLease(CacheHandler.CDB:4)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ReplicatedCache.updateResource(ReplicatedCache.CDB:18)
    at com.tangosol.coherence.component.util.CacheHandler.put(CacheHandler.CDB:11)
    at com.tangosol.coherence.component.util.CacheHandler.putAll(CacheHandler.CDB:8)
    at com.tangosol.coherence.component.util.SafeNamedCache.putAll(SafeNamedCache.CDB:1)
    at com.tangosol.coherence.hibernate.CoherenceCache.put(CoherenceCache.java:90)
    at org.hibernate.cache.impl.bridge.BaseGeneralDataRegionAdapter.put(BaseGeneralDataRegionAdapter.java:48)
    at org.hibernate.cache.UpdateTimestampsCache.preinvalidate(UpdateTimestampsCache.java:70)
    Anyone have any ideas?
    The timestamps cache has the default replicated cache scheme.
    Thanks,
    Ivelin

    Hello,
    Actually it's happening during read from a replicated cache too.
    java.lang.IllegalStateException: Exceeded maximum number of waiting threads (Status=1)
    at com.tangosol.net.cache.OverflowMap$Status.waitForAvailable(OverflowMap.java:4029)
    at com.tangosol.net.cache.OverflowMap.prepareStatus(OverflowMap.java:2152)
    at com.tangosol.net.cache.OverflowMap.beginKeyProcess(OverflowMap.java:1873)
    at com.tangosol.net.cache.OverflowMap.getInternal(OverflowMap.java:580)
    at com.tangosol.net.cache.OverflowMap.get(OverflowMap.java:330)
    at com.tangosol.coherence.component.util.CacheHandler.getLease(CacheHandler.CDB:3)
    at com.tangosol.coherence.component.util.CacheHandler.getCachedResource(CacheHandler.CDB:10)
    at com.tangosol.coherence.component.util.CacheHandler.get(CacheHandler.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
    at com.tangosol.coherence.hibernate.CoherenceCache.get(CoherenceCache.java:65)
    at org.hibernate.cache.impl.bridge.BaseGeneralDataRegionAdapter.get(BaseGeneralDataRegionAdapter.java:44)
    at org.hibernate.cache.StandardQueryCache.get(StandardQueryCache.java:130)
    at org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2188)
    at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2151)
    at org.hibernate.loader.Loader.list(Loader.java:2121)
    at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1597)
    at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
    at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:328)
    There must be a configuration option to control the number of waiting threads, right?
    I guess it's not a hardcoded constant.
    The statistics of the cache we are reading from are:
    0.99 hit probability
    550 303 gets
    1469 puts
    Size: 1270This is for 5 mins period.
    This cache holds the configuration of the application, so there are almost no writes.
    Thanks,
    Ivelin

  • Need advice for deploy adf web fusion application created in Jdev11gTp4

    hello,
    need advice for deploy adf web fusion application created in Jdev11gTp4
    and it will be nice if you have helper sites
    thanks
    greenApple

    Is there something specific in TP4 that you want to use TP4 - as John suggests, it might be an idea to use the full production release (11g). As for resources for information you can check out
    [Jdev Home|http://otn.oracle.com/products/jdev] this page contains links to the developers guides and various how tos etc etc. The follownig page is also useful and is focused more to those who are less familiar with Java
    [JDev for Forms|http://otn.oracle.com/formsdesignerj2ee]
    Hope this helps and maybe if you can be more specific we can better guide you.
    Regards
    Grant

  • How to keep an application level object running with SunIDM?

    We are working on intergrate a gmail project with SunIDM. We need an application level object running with SunIDM so it will maintain a token generated from Gmail side. In anther servlet project, I had this object saved in the attribute of the ServletContext, then other session level servlet could share this attribute anytime. Is there a way to store attribute in Servlet Context and have it shared by different user session in SunIDM? I have been reading documents and searched this forum, haven't find any topics related how to maintain an application level object live. Hopefully that I can get some hint here.
    Thank you so much.

    Paul, Thank you so much for the further explaination. I don't think it will work since the token generated from gmail will expire every 24 hours.
    We are using the gdata library published from by gmail people, and I create a new UserService object and have it run in the application level. The UserService object will generate a token and renew it every 24 hours behind the scene. Here is how I implement it in my Servlet project:
    //to have a UserService object running at the application level:
    public class GmailUserService extends HttpServlet {
    public void init(ServletConfig config) throws ServletException{
    super.init();
    userService = new UserService(myApplication);
    config.getServletContext().setAttribute("gmailUserService", userService);
    //to access this UserService object from other servlet in each user session:
    UserService userService = (UserService)servletContext.getAttribute("gmailUserService");
    Gmail will trigger an error if we create a new UserService object for each user. They recommend to have all the user to share one UserService object. I am looking for similar approach in SunIDM.
    Thank you again, Paul, for trying to help.

  • Session time out when working in application level

    Hi
    We are upgraded our PROD environment from 11.5.10.2 to R12.1.3
    When end user working at application level then it is throughing the session time out error, end user is not idle state he active and working on application level
    I have checked the profile ICX:Session Timeout it is 30
    Thanks
    Shaik

    Hi;
    Please see:
    ICX:SESSION TIME OUT
    Re: Inccreasing the timeout  parameter for the Oracle R12 session
    Also see:
    How AutoConfig sets ICX: Session Timeout [ID 307149.1]
    How To Manage Timeout at Responsibility Level [ID 412224.1]
    Regard
    Helios

  • How to give JASS Security to ADF BC Swing Application.

    Hello Friends,
    ->I read lots of threads about JASS Security in ADF about Web Application.
    ->But i am not getting any solution/Document Which explains, How to Implement JASS Security to ADF BC Swing Apllication.
    -> I Will Explain Which type of application we developed.
    We had developed one Whole ERP Product by using ADF BC [Swing] Technology.We have 480 Forms in our Application.Now i need to give security to my Application.
    ->I Will Explain Structure of Application.
    We have seperate Application Module for each form means i have 480 Application Modules in my application.I create seperate session beans for each Application Module and I deploy it on Standalone OC4J Server
    So please friends help me out to give security to my application.
    Thanks in Advance.

    Hello Franks
    First thanks for your reply.
    --> As you suggested two options for me but i would like to go with second option.
    JAZN with ADF BC.
    ---> As you said i need to do jbo.security.enforce property set to "auth".but currently i made it "Test" to trace login user means to set History Columns.
    --->Frank i am waiting for your documents.If you have documents in the format of how-to-do then Please Forward me.
    Thanks Frank

  • How to set a page template as an "application level default template"?

    Hi,
    For some reason, my default application level page template is not 'default' anymore. is there a way to set that? Thanks.

    See Home>Application Builder>Application 999999>Shared Components>Themes>Create / Edit
    Jeff

  • Using database views in ADF mobile client application

    Hi,
    I am using Jdeveloper 11.1.1.4 and WLS 10.3.4.
    I have developed a POC in ADF mobile client application both with and without synchronization. However, both work with entity objects based on tables.
    I need to use database views instead of tables. When I try to include entity object (based on views) in the view object, it shows an error saying "Only the entity objects based on tables can be selected"
    Please guide me if there is a work around for this.
    Also, please let me know if there is way to develop an ADF mobile client application skipping the use of entity objects at all and using view objects directly to specify the database query and fetch data from the database.
    Thanks in advance.
    Ansh
    Edited by: ansh on Mar 28, 2011 5:40 AM

    Hi, Ansh:
    Currently, out of box, ADF Mobile Client does not support synchronization against Database Views. This is because Mobile Server imposes some schema restrictions to ensure synchronization with multi-table views would work correctly. This schema restriction requires, for example, the view must have a primary parent table with key defined, and also all base table must be included in the data publication. These dependencies requires manual resolution and advanced planning, and is managed outside of the ADF Mobile Client/JDeveloper project.
    To continue development, you would need to create server Entity Objects directly against the base tables. You can then create the mobile ADF Business Component (EOs, VOs, etc). You can then create View Objects in your ADF Mobile Client application based on the database views, in order to retrieve the data you need exactly. In other words, instead of basing EO on the database view, create View Objects in the mobile applicaiton to mimic what you had in the View Object.
    Is there any other reason why you would need to access data via database views, instead of directly against base tables?
    Thanks,
    Joe Huang

Maybe you are looking for

  • Customer Service Number

    I am having a major issue with Skype right now... I TRIED to pay for a Skype number along with a 3 month subscription for $18.00... and something went wrong on PayPal's side and the payment never went through... So then I called PayPal and they said

  • Will downlodeing the new version of itunes delet the music i already have on itunes

    i really need to know if downlodeing the new version of itunes will delet the music i already have on my itunes ,,,, thanks

  • Using Struts with Oracle Portal

    Hello, I am trying to run my applications developed using Struts Framework in Oracle Portal.Though Oracle Portal uses jpdk api's is there any way I can try to integrate Struts with Oracle Portal so that I can work test my application on any server an

  • Adding keywords to stacks

    Hi folks, Quick question: Is there any way of allocating a keyword to an entire stack, rather than having to expand the stack and shift-select all the images? The stacking system I use maintains all similar images in the same stack, so being able to

  • Installing Photoshop on a new start up disk.

    I recently purchased a new SSD drive that I want to use as my new start up disk and install Photoshop CS6. Do I just deactivate Photoshop and uninstall it from my old drive and reinstall it on my new SSD or is there something else I need to do?