Why ADF Application passivate ?

Hi Experts,
I am new to ADF,
I have read document which says that "ADF works with two pools, Application (via AMs) and Database (via your database connection)".
So my doubt is passivation happed because of "Database connection shortage " or "Application pool shortage".
Please help.

Hi,
passivation does two things:
1. state
No state needs to be encoded somewhere or kept in the session. ADF BC makes an application appear as if it was a dedicated instance for a user. When however - for the reason mention in 2 - the application module is handed off to another request, the current state is preserved for the previous owner of this idle AM
2. performance
Being able to connect to the same state of an Application module is of much better usability as it allows you to not having to commit changes at the end of each request but keep them pending. To avoid memory overhead the modules are kept in a pool and provided by request. So for 1000 users you don't need 1000 AM but around 100 - 150
Frank

Similar Messages

  • How to kill the session after the user exit the ADF application

    Dear all
    I have a problem
    The problem is the session still exist after the user close the application and the browser. I want to kill all sessions that is not active.
    This is my test scenario:
    1- I open IE and run my ADF application that is deployed on weblogic. http://192.168.100.17:7001/myapp/faces/login
    2- At the same time I issue this SQL command to view the sessions for user 'ADFUSER' - the "ADFUSER" is the schema user.
    SELECT USERNAME,STATUS FROM v$session
    WHERE USERNAME = 'ADFUSER';QUERY RESULT IS
    USERNAME                       MODULE                                           STATUS
    ADFUSER                         JDBC Thin Client                                 INACTIVE3- Now the user close the browser
    4- Run the SQL again and I notice that the session still exist
    SELECT USERNAME,STATUS FROM v$session
    WHERE USERNAME = 'ADFUSER'RESULT:
    USERNAME                       MODULE                                           STATUS
    ADFUSER                        JDBC Thin Client                                 INACTIVE5- now the user open the URL again http://192.168.100.17:7001/myapp/faces/login
    6-Run the SQL again , and I notice that the old session still exists and a new session created too.
    SELECT USERNAME,STATUS FROM v$session
    WHERE USERNAME = 'ADFUSER'RESULT:
    USERNAME                       MODULE                                           STATUS
    ADFUSER                        JDBC Thin Client                                 INACTIVE
    ADFUSER                        JDBC Thin Client                                 INACTIVE
    2 rows selected.and every time I login to the application , a new session is open and the old session still exist
    I do not know why this happens
    I want to kill old session when the user close the application.
    These sessions are cleared only when i restart the weblogic domain.
    here is some information about my development environment:
    Jdeveloper 11.1.2.3
    WebLogic Server Version: 10.3.5.0
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    thanks in advance

    Hi,
    for performance reasons you should not use dedicated user connections to the database. Instead you use JDBC data sources (default in JDeveloper for ADF BC) that you can configure the database connection pooling for. This means that your v$session will always show a set of active session, which however are shared among users. Assuming you use ADF BC, this is what happens
    - A user requests a data bound page
    - The ADF BC checks out an AM and connects to the database using one of the database connections in the pool
    ... user work here ...
    - user exits application
    - ADF BC returns AM to pool and passivates pending user state (if application is left with dirty transaction)
    - Database connection is available in pool as soon as AM released
    This also happens between requests. Long story cut short: v$session doesn't give you a true picture
    Frank

  • How to pass parameter from SSO login page to ADF application page?

    We have ADF-JSF application (running on AS 1013) that is being protected by OID running on AS 1012. SSO login page contains (among others) paramter ssousername and I wish to pass this to my ADF application. For the testing purpose I created ADF application entry point page that has something like this:
    <h:outputText value="#{param.ssousername}"/>and my sso login page has:
    <input type="text" size="30" maxlength="50" name="ssousername" value="<%=str_user%>">OID and ADF OC4j are running on two different servers, same network.
    So after successful login, when my page displays param passed is NULL?!
    Why?

    I solved it with the following....when my page loads, I execute test method:
        public void processLogin(String ssousername) {
             Object o  = JSFUtils.getUserFromSSOLogin();
             if (o!=null) System.out.println(o.toString());
        public static Object getUserFromSSOLogin(){
            FacesContext ctx = FacesContext.getCurrentInstance();
            return ctx.getExternalContext().getRemoteUser();
        }

  • Migrate an ADF application to weblogic 11g

    Hi, I'm trying to migrate a 10g ADF application deployed in OC4J to 11g using the migration tool of JDeveloper.
    After some changes in code to adapt to the new api i have an error in libraries while trying to deploy in embeded weblogic.
    <30 Ιουν 2010 11:32:50 πμ EEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1277886764036' for task '1'. Error is: 'java.lang.ClassNotFoundException: oracle.adf.view.faces.event.AttributeChangeEvent'
    java.lang.ClassNotFoundException: oracle.adf.view.faces.event.AttributeChangeEvent
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.event.AttributeChangeEvent
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    Truncated. see log file for complete stacktrace
    >
    Embeded weblogic runs with ADF libraries of 11g why this class cannot be found?
    Any comment will be helpfull,
    Thanks

    Please verify again that you have set your environment properly.
    regards

  • File not found error after log on to ADF application

    Hi
    I just took over an ADF application, after clicking on log in button, in the application_log, there is always a login.jspx -- file not found error message, the directory is not even exist. somehow the application had 'registered ' an directory for the login page, common\skin\login.jspx, the actural log in page is under common\login.jspx.
    there is a loginfilter.java created and has a entry in web.xml. the login Filter has let httpServerRequest object to know that the login file directory is ..\common\login.jspx
    so why the app server would be looking at the wrong directory? how should I do to correct it?
    Thanks in advance.

    Hi
    I just took over an ADF application, after clicking on log in button, in the application_log, there is always a login.jspx -- file not found error message, the directory is not even exist. somehow the application had 'registered ' an directory for the login page, common\skin\login.jspx, the actural log in page is under common\login.jspx.
    there is a loginfilter.java created and has a entry in web.xml. the login Filter has let httpServerRequest object to know that the login file directory is ..\common\login.jspx
    so why the app server would be looking at the wrong directory? how should I do to correct it?
    Thanks in advance.

  • Infinite loop/afrLoop when deploying ADF application to standalone weblogic

    Working with Oracle ADF / JDeveloper 11.1.2.2
    I have enabled ADF security in my application and am using JAAS combined with Oracle EBS users and roles to provide security to the application. Testing on my local integrated weblogic server works fine.
    When deploying my Oracle ADF application to a standalone Weblogic server through an EAR file, requesting a JSF page causes the server to go into an infinite loop on both IE and firefox.
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001033248597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001340281597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf;jsessionid=syWvP1nMY1L87BySh2JbTd1tb4SY0HzDw6T3LvLctvkbMWKmqqJv!1800986117 HTTP/1.1     200
    GET /test-app/adfAuthentication HTTP/1.1
    Reviewing some of the suggestions from the forum and from the link below, I have tried fixing the issue through updates to my web.xml - but am still having the same issue.
    https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with
    Updated web.xml:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Allowed ADF Resources</web-resource-name>
    <url-pattern>/adf/*</url-pattern>
    <url-pattern>/afr/*</url-pattern>
    <url-pattern>/bi/*</url-pattern>
    <url-pattern>/servlet/GraphServlet/*</url-pattern>
    <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    <url-pattern>/mapproxy/*</url-pattern>
    <url-pattern>/adflib/</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>allPages</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/faces/login.jsf</form-login-page>
    <form-error-page>/faces/login-error.jsf</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>valid-users</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>valid-users</role-name>
    <principal-name>users</principal-name>
    </security-role-assignment>
    I know other users have experienced similar issues - but I am having trouble debugging or troubleshooting why this is happening.
    Any suggestions on how to further troubleshoot or resolve this issue would be appreciated!
    Dan

    I was able to resolve the login page looping issue.
    The issue is related to the login page being a JSF page based on a page template.
    When I created the JSF login page as a page template - the template contains a binding:
    <af:pageTemplate viewId="/test-template.jsf" value="#{bindings.ptb1}" id="pt1">
    When I deploy my application to the test weblogic server, the anonymous-role grants are not being respected. So even though I grant view access to the login JSF page to anonymous-role -- it appears that weblogic is trying to request a login for any page with a pageDef (including the login page). By re-creating the login page with no pageDef (a JSF page that does not use a page template) -- the login page is displayed (rather than entering into a loop).
    There is still a seperate issue with the anonymous-role grant not working as I would expect it to work that I will need to troubleshoot further.

  • Configuring Multiple Schemas in Oracle ADF application

    Hi,
    Thanks all for the replies for my previous posts :-)
    We have a requirement in which we need to configure our application for multiple Database schema. At runtime based upon the logged in user we need to get data from the schema related to that user.
    These schema may be on same Database instance/server or may be on different DB servers.
    The requirement is like this
    Logged in User DB schema configured
    "A" ASchema @ 127.0.0.1
    "B" BSchema @ 127.0.0.2
    "C" ASchema @  127.0.0.1
    "D" Dschema @ 127.0.0.2
    based on the User login (which is happening through one OID system), I need to fetch data from different schema (configured for different application).
    These schema have different set of tables but set of table we require for our application are of same structure.
    Same structure means same Table names with same relations.
    Please let me know can we do the same in Oracle ADF application and How?_
    One more requirement is that if i add a user at runtime and configure the DB schema for this user, All data related to this users will be loaded from this Schema which is configured for this user.
    Thanks in Advance,
    Amit
    newbie to Oracle ADF
    Edited by: ur.amit on May 10, 2010 3:17 PM

    You can try the below example to change database at run time.
    in the filter change the connection and not the credentials
    http://www.oracle.com/technetwork/developer-tools/jdev/dynamicjdbchowto-101755.html#03.
    Most of the other part is done to handle state management tables, which you might also have to do unless you use a file passivation store or if its ok to passivate to a single database always.
    If its ok to passivate to a single db always. Hard code the jbo.server.internal_connection in the AM configurations to a DB jndi name.
    Adf allows you to activate and passivate to a different database other than what you are connected to get and put data.

  • Problem DB Trigger and ADF Application for update a field.

    I again,
    I have a Data Base table as following :
    --Solicitudes*
    id number not null,
    extern_code integer,
    delivery_date timestamp( 6 ),
    ... and more fields
    And a Trigger as following :
    create or replace trigger update_delivery_date
    before update of on Solicitudes
    for each row
    begin
    if ( :new.extern_code = 9 ) then -- I need update the "delivery_date" to the current date and timestamp
    select systimestamp into :new.delivery_date from dual;
    end if;
    end;
    The trigger works fine in the DB, but when I update the 'Solicitudes' data base table through the ADF Application, the 'delivery_date' field is updated to different current systimestamp , for example suppose right now is : 19-JUN-*2012** 10.45.30.773000000 PM -04:00 , it field should be update to this date, but it is not update to that date, it is update to : 10-DEC-*1989* 10.45.30.773000000 PM -04:00.
    Why is this ?
    I put in the SQL Developer's query editor : select systimestamp from dual; and it show me the correct date and time.
    That problem occurs only when I update the table through my ADF Application.

    Marco,
    I don't see any issue with ADF in this. Just tried with a dummy table created with similar structure and tried updating it (have a similar trigger as well). It updated with proper timestamp (tried from SQL Developer, AppModule Tester and in jspx page - all same result).
    Can you check the system date on the machine where your DB is hosted. I guess you are using different database for testing the query and the app is using a different db.
    If not, try creating a simple testcase (as I mentioned in the first line) and see if you are able to reproduce the issue.
    -Arun
    P.S : I tried this in 11.2.0.1 DB & JDev 11.1.2.0.0

  • Jdeveloper remove some Jar files while create deployable of ADF Application

    Hi,
    i am using JDeveloper11.1.1.5 with weblogic server 10.3.5
    i have created one ADF application.
    it works fine with integrated server.
    now i want to create the Deployable EAR file for this application to deploy it on another server (Other Than IntegratedWeblogic Server)
    when i try to create the EAR following trace would be printed on Deployment-Log
    [05:39:40 PM] ---- Deployment started. ----
    [05:39:40 PM] Target platform is (Weblogic 10.3).
    [05:39:40 PM] Running dependency analysis...
    [05:39:40 PM] Building...
    [05:40:12 PM] Deploying 3 profiles...
    [05:40:16 PM] Wrote Web Application Module to D:\PIAF_ADF v1.0\ViewController\deploy\PIAF_v0_ViewController_webapp1.war
    [05:40:16 PM] Wrote Archive Module to D:\PIAF_ADF v1.0\Model\deploy\PIAF_v0_Model_adflibPIAF_v0.11.jar
    [05:40:17 PM] Removing the following prohibited entry from the EAR: lib/trinidad-api.jar --------------------------------------------------------------- @
    [05:40:17 PM] Removing the following prohibited entry from the EAR: lib/trinidad-impl.jar --------------------------------------------------------------- @
    [05:41:01 PM] Wrote Enterprise Application Module to D:\PIAF_ADF v1.0\deploy\PIAF_v0_application1.ear
    [05:41:01 PM] Elapsed time for deployment: 1 minute, 21 seconds
    [05:41:01 PM] ---- Deployment finished. ----
    if you see the lines highlighted by @
    here it removes the trinidad-api.jar and trinidad-impl.jar from my EAR saying that "Removing the following prohibited entry from the EAR: lib/trinidad-api.jar "
    so why this happen ?
    this EAR file creates problem while deployment.
    if i manually put both Jars in EAR, it works fine..
    can anybody please help on this ?
    thanks in advance...

    hi timo,
    thanks for quick reply..
    but i don't think so it is present on weblogic because i not put that files in EAR it gives me some classDefNotFound or classNotFound exception.
    and when i put those files, my application is deployed and workes fine..
    thanks,

  • Row concurrency error in ADF application

    Hi,
    I recently moved my ADF application from 10.1.3 Rel2 to 10.1.3.4.0 SOA Rel3.
    Now I am frequently getting the following error.
    JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key.
    Any help would be appreciated.
    Viki.

    Hi,
    I already fixed this problem.
    It was Date conversion problem.
    Instead of Date I used Timestamp.
    To investigate it I should look into some internals.
    How to turn on some additional logs?(That is why my question about Diagnostic class) , but nobody answered yet.
    Thanks.

  • ADF application taking more time for first time and less from second time

    Hi Experts,
    We are using ADF 11.1.1.2.
    Our application contains 5 jsp pages, 10 - 12 taskflows, and 50 jsff pages.
    For the first time in the day if we use the application it is taking more than 60 sec on some actions.
    And from the next time onwords it is taking 5 to 6 sec.
    Same thing is happening daily.
    Can any one tell me why this application is taking more time for first time and less time from second time.
    Regards
    Gayaz

    Hi,
    If you don't restart you WLS every day, then you should read about Tuning Application Module Pools and Connection Pools
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0301
    And pay attention to the parameter: Maximum Available Size, Minimum Available Size
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0314
    And adjust them to suit your needs.

  • ADF application deployment 10g+ 10.1.3.1

    Hi,
    I am trying to deploy the sample adf application to Oracle 10g application server(10.1.3.1) .But when I tried to run the page following exception throws in server log.Please may i know why this error throws.It is unable to create the Application Module itself.
    07/08/09 10:13:50.820 testDeploy: Servlet error
    JBO-30003: The application pool (datamodel.AppModuleLocal) 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:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
    at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
    at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
    at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
    at oracle.adf.model.BindingContext.get(BindingContext.java:483)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
    at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## 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:545)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
    at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
    at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
    at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
    at oracle.adf.model.BindingContext.get(BindingContext.java:483)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
    at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-25222: Unable to create application module.
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:155)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
    at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
    at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
    at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
    at oracle.adf.model.BindingContext.get(BindingContext.java:483)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
    at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    javax.naming.NamingException [Root exception is java.lang.ClassCastException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication]
    at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:59)
    at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:136)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
    at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
    at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
    at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
    at oracle.adf.model.BindingContext.get(BindingContext.java:483)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
    at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication
    at oracle.jbo.common.PropertyManager.loadStaticEnvironmentFromProperties(PropertyManager.java:392)
    at oracle.jbo.common.PropertyManager.loadProperties(PropertyManager.java:223)
    at oracle.jbo.server.SessionImpl.init(SessionImpl.java:136)
    at oracle.jbo.server.ApplicationModuleHomeImpl.createSession(ApplicationModuleHomeImpl.java:110)
    at oracle.jbo.server.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:47)
    at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:51)
    ... 47 more

    Hi,
    Looks as if the database connection doesn't work.
    Frank

  • Error in adf application

    I am using adf application with JDev 10.1.3. With oracle 10g works well.
    When I tried to use Oracle Lite- I got error
    JBO-26041: Failed to post data to database during "Update": SQL Statement "UPDATE S_CONTACT ContactEO SET LAST_UPD=?,LAST_UPD_BY=?,MODIFICATION_NUM=?,WORK_PH_NUM=? WHERE ROW_ID=?".
    SQL Exception : Unknown SQL Type for PreparedStatement.setObject (SQL Type=1111
    But the same statement works with Oracle and Oracle XE...
    Any suggestions?

    Hi,
    I already fixed this problem.
    It was Date conversion problem.
    Instead of Date I used Timestamp.
    To investigate it I should look into some internals.
    How to turn on some additional logs?(That is why my question about Diagnostic class) , but nobody answered yet.
    Thanks.

  • Migrating 10g ADF application for OC4J to 11g application for Weblogic

    Hi, I'm trying to migrate a 10g ADF application deployed in OC4J to 11g using the migration tool of JDeveloper.
    After some changes in code to adapt to the new api i have an error in libraries while trying to deploy in embeded weblogic.
    <30 Ιουν 2010 11:32:50 πμ EEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1277886764036' for task '1'. Error is: 'java.lang.ClassNotFoundException: oracle.adf.view.faces.event.AttributeChangeEvent'
    java.lang.ClassNotFoundException: oracle.adf.view.faces.event.AttributeChangeEvent
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.event.AttributeChangeEvent
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    Truncated. see log file for complete stacktrace
    >
    Embeded weblogic runs with ADF libraries of 11g why this class cannot be found?
    Any comment will be helpfull,
    Thanks

    I am not explicitly use this class, neither in source code nor in xml configuration files so i can’t find it anywhere in my application.
    I guess that, embedded weblogic loads 11g adf libraries and does not include this 10g specific class but migration shouldn’t change this
    oracle.adf.view.faces.event.AttributeChangeEvent to
    org.apache.myfaces.trinidad.event.AttributeChangeEvent?
    thanks

  • ADF application portletization

    Hi,
    could you please help.
    I use jdev 10.1.3.2 and embebed preconfigured webcenter.
    1. I wonder how to set mds settings in web.xml?
    2. if anybody could give me example how to portletize ADF application to run
    on oracle portal 10.1.4
    Here is result when I deploy my application to Preconfigured OC4J
    ---- Deployment started. ---- 16.5.2009 22:50:00
    Target platform is Standalone OC4J 10g 10.1.3 (StandaloneOC4J).
    Exporting portlet metadata and customizations
    null
    Wrote WAR file to F:\jdevdiploma\jdev\mywork\ADFOracleDipl\ViewController\deploy\potniNalog.war
    [EJB 3.0]: Assigning default-data-source=jdbc/MySQLConnDS, specified in projects EJB 3.0 properties
    Wrote EAR file to F:\jdevdiploma\jdev\mywork\ADFOracleDipl\ViewController\deploy\potniNalog.ear
    Backing up generic archive file :/F:/jdevdiploma/jdev/mywork/ADFOracleDipl/ViewController/deploy/potniNalog_generic.ear
    Creating WSDLs for the WSRP Application
    WSDLs for the WSRP Application have been created
    I dont now why is null in it?
    Regards

    These questions are better answered on the WebCenter forum.
    For example:
    http://download-east.oracle.com/otndocs/tech/webcenter/files/owcs_10132_bridge_viewlet.html
    More demos here: http://www.oracle.com/technology/products/webcenter/owcs_10132_demos.html
    and more info here:
    http://www.oracle.com/technology/products/webcenter/index.html

Maybe you are looking for

  • TS1717 try to open and says program can't start because MSVCR80.dll is missing from computer and says windows error 126

    try to open itunes on my computer and get messageprogram can't start because MSVCR80.dll is missing from computer and a windows error 126 comes up

  • Flat file to idoc - mapping

    Gurus, I have a flat txt file of following format Doc#         Whse        Item          Matnr         date                       code 3256999     WH20     1001     861927     09/12/200713:24     9596     2 3256999     WH20     1002     861928     09

  • Web already created with iWeb 06, what if I upgrade to iWeb08?

    Hi!, I'm a bit excited, yesterday I reviewed the new Iweb08 version and most of the features included can make my web life quite easy. Before to upgrade I would like to have some advice from you guys. I have a website with my own domain, I bought it

  • PC compatability - How To?

    After searching thru the discussions trying to learn if I can / how to run windows apps on my mac; I'll just ask. Can anyone just tell me the best software / compatibility card set-up to run windows apps on my mac? Thank you all in advance

  • Updates are confusing me

    I have a 5th gen 30 GB iPod video (wifes), purchased in June of 07,as well as an 80 GB iPod Classic (mine). purchased more recently. I got the updates notices on both iPods while syncing our music, held off for a week or so like I usually do and ran