ADF NullPointerExceptions in Migrated 11g

We have a ADF web application programmed in JDeveloper 11g (11.1.2.4.0), which was migrated over from a 10g (10.1.3.5.0) project.
The application will run fine for 5 minutes or so, then regardless of activity, it'll return a 500 error nullpointerexception.
When navigating it'll return the following error:
java.lang.NullPointerException
at oracle.adfinternal.controller.application.AdfcViewScopeProvider.getViewScope(AdfcViewScopeProvider.java:43)
at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.getViewScope(AdfFacesContextImpl.java:320)
at oracle.adfinternal.view.faces.component.AdfViewRoot._getCurrentViewMap(AdfViewRoot.java:133)
at oracle.adfinternal.view.faces.component.AdfViewRoot.getViewMap(AdfViewRoot.java:62)
at com.sun.faces.application.NavigationHandlerImpl.clearViewMapIfNecessary(NavigationHandlerImpl.java:229)
at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:179)
at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:92)
at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:752)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:928)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1519)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:372)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at mil.stratis.servlet.StratisSessionExpiryFilter.doFilter(StratisSessionExpiryFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
When clicking on a button, it returns the following:
ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
java.lang.NullPointerException
at oracle.adfinternal.controller.debug.ActivityBreakpointFacadeImpl$1.afterPhase(ActivityBreakpointFacadeImpl.java:111)
at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:530)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:131)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:74)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at mil.stratis.servlet.StratisSessionExpiryFilter.doFilter(StratisSessionExpiryFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
This error is driving us crazy. Thanks.

Hi, I removed the Filter (it checked for Session Expiration and would redirect) and it gave the same error.
java.lang.NullPointerException
at oracle.adfinternal.controller.application.AdfcViewScopeProvider.getViewScope(AdfcViewScopeProvider.java:43)
at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.getViewScope(AdfFacesContextImpl.java:320)
at oracle.adfinternal.view.faces.component.AdfViewRoot._getCurrentViewMap(AdfViewRoot.java:133)
at oracle.adfinternal.view.faces.component.AdfViewRoot.getViewMap(AdfViewRoot.java:62)
at com.sun.faces.application.NavigationHandlerImpl.clearViewMapIfNecessary(NavigationHandlerImpl.java:229)
at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:179)
at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:92)
at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:752)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:928)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1519)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:372)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

Similar Messages

  • How to Implement ADF BC Session in 11g

    Hi All,
    I am searching for Implementation of ADF BC Session in 11g, but i am not getting any link.
    My Requirement is to Store some user Data (i.e UserId,Department,EmployeeNumber...etc) in Session and by using EL or some programatic logic i should be able to access that variables on every Bussiness Component and on Page also.
    Is there any link or code for same.
    Thanks,
    Vijay

    use it like
    //setting the value to sesssion
    getDBTransaction().getSession().getUserData().put("UserName", userName);
    //setting the value from sesssion
    getDBTransaction().getSession().getUserData().get("UserName");
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Migrate 11g AWM in 10g AWM (lower version compatibilities)

    Hi,
    I am new to Oracle OLAP AWM.
    I want to migrate 11g AWM in 10g AWM (lower version compatibilities) and then build the Cube in 10G database itself. Can some one please help me in this regard?
    Thanks in advance,
    CD

    Here is a site showing examples of how to use datapump
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    Here is a very simple example where I export two tables, PRICE_AND_COST_FACT and UNITS_FACT, from the GLOBAL schema.
    expdp global/global tables=UNITS_FACT,PRICE_AND_COST_FACT directory=WORK_DIR dumpfile=GLOBAL_PART.dmp logfile=expdGLOBAL.log
    Export: Release 11.2.0.2.0 - Production on Mon Aug 1 08:09:15 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "GLOBAL"."SYS_EXPORT_TABLE_01":  global/******** tables=UNITS_FACT,PRICE_AND_COST_FACT directory=WORK_DIR dumpfile=GLOBAL_PART.dmp logfile=expdGLOBAL.log
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 11.34 MB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/POST_TABLE_ACTION
    . . exported "GLOBAL"."UNITS_FACT"                       6.522 MB  222589 rows
    . . exported "GLOBAL"."PRICE_AND_COST_FACT"              58.47 KB    2523 rows
    Master table "GLOBAL"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
    Dump file set for GLOBAL.SYS_EXPORT_TABLE_01 is:
      ../oracle/work/GLOBAL_PART.dmpThe impdp command will import it back into an instance. Note that the directory name, T_WORK in my example, is the name of an Oracle DIRECTORY, not just a file system directory. It was created using the CREATE DIRECTORY statement and is exposed in the all_directories view.
    select directory_name from all_directories

  • 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

  • ADF BC project migration errors from 10.1.3.3 - 11g TP2

    Hi all,
    I have a current 10.1.3.3 project using ADF BC and Faces that I have been testing to migrate to 11g TP2. My question is specifically about the BC project. Although the migration wizard completes without error or warning, I end up with some issues in the migrated project. There is one that I have not been able to rectify (short of re-creating my BC objects) where attempting to use the Application Module gives weird errors about view links not being specified properly. I have tried migrating the project several times and receive the same issue each time.
    My question: should I just wait for TP3 and re-attempt the migration to see if the issue goes away, or should I provide the application to someone at Oracle to have a look at? I can provide a checkout only password for our Subversion repository if that would help as well.
    Best regards,
    John

    If you open the project in the 11g preview it will automatically update the metadata and generate the deployment XML in the new format. Alternatively you should be able to open the 10.1.3.3 metadata in the 11g preview's runtime.
    The biggest issue you may encounter in the upgrade besides replacing the libraries and ensuring you are using JDK5 is the removal of the code deprecated in previous releases.
    Doug

  • Display the status of parallel human tasks in ADF web page (BPM 11g)

    Hi,
    We create a BPMN process (BPM 11g) which splits into parallel branches. Each branch has its own user activity. We want to show the task status of ALL the parallel user activities (running or completed) in the ADF web page implemented for the user activity so the user would have the whole picture of the process.
    In another words, we are able to check the status of the component instances associated with the process instance in the Oracle EM. We want to provide the similar information (in our case, we only want to show the status of the human task components) to the user when they access the human task page.
    I wonder if the only solution is to write Java code with the API to lookup the BPMN process instance. We try to avoid Java coding if possible. Please advise. Also, so far, I have not found any complete instruction/document on how to access the BPMN process instance and check the tasks etc. through the API. Please help if you know where I could get such information.
    Thanks a lot,
    Helen

    sorry!!
    http://www.esnips.com/doc/dca05e99-d5ca-49ce-80c8-5bedfe27a24a/screenshot-2

  • ADF with Oracle Portal 11g

    One of our customer has Oracle Portal 11g. We want to create a portlet using ADF taskflow and consume it in Oracle Portal 11g. Is it possible?
    I know how to create ADF task-flow and how to expose it as a portlet. But I don't know how to access them in Oracle Portal 11g.
    Also they want portlet to be secured and should work with SSO (OAM) configured. Is it also possible? If yes, can you please let me know what changes I need to make in my ADF application.
    Thanks
    Sanjeev.

    Hi,
    its not a published example. The way it works is that you create a entry for OID in the jps-config.xml file (note that the three entries below need to get into the right place in the jps-config.xml file - which is not hard to spot)
    <serviceProvider class="oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider" name="idstore.ldap.provider" type="IDENTITY_STORE">
             <description>LDAP-based ID Store Provider</description>
          </serviceProvider>
    <serviceInstance provider="idstore.ldap.provider" name="idstore.oid">
             <property value="OID" name="idstore.type"/>
             <property value="cn=orcladmin:pword" name="cleartext.ldap.credentials"/>
             <property value="ldap://localhost:389" name="ldap.url"/>
             <property value="cn" name="username.attr"/>
             <property value="cn" name="groupname.attr"/>
             <extendedProperty>
                <name>user.search.bases</name>
                <values>
                   <value>cn=users,dc=us,dc=oracle,dc=com</value>
                </values>
             </extendedProperty>
             <extendedProperty>
                <name>group.search.bases</name>
                <values>
                   <value>cn=Groups,dc=us,dc=oracle,dc=com</value>
                </values>
             </extendedProperty>
    <jpsContext name="CaOIDAuthentication">
             <serviceInstanceRef ref="idstore.oid"/>
             <serviceInstanceRef ref="credstore"/>
             <serviceInstanceRef ref="idstore.loginmodule"/>
          </jpsContext>Note that this is an example for deployment to stand aone OC4J. The application name is "CaOIDAuthentication" thus the name for the context.
    Once you did that and deployed the application, the authentication is against OID. Note however, that I tested this with a later internal build, not with TP3
    Frank

  • How to implement adf skins in JDeveloper 11g

    How to integrate CSS in ADF using JDeveloper 11g without Trinidad.

    Is there any particular reason for NOT wanting to use the trinidad-config.xml? Using Jdev11g, it is very easy, requires no extra jars and have no external dependencies. Also, its [better |http://technology.amis.nl/blog/4169/adf-11g-why-use-skinning-why-not-use-simple-external-css-stylesheets] to do it using skins.
    Julian.

  • Is not displayed portlet with ADF on Oracle Portal 11g

    Hi!
    I’ve tried to create a portlet by means of JSR 168 Java Portlet Wizard in Jdev 11g. On step 3 “Content type and Portlet modes“ I choose “Generate ADF-Faces JSPX”, and added an adf calendar to my jspx page, deploied the project to the weblogic server, that provided by JDeveloper 11g. Then I’ve registrated a WSRP2.0 provider in Oracle Portal 11g. My portlet have appeared in portlet repository, and I’ve added it to my page, but when I view this page, I have an error: “Error: Could not get portlet markup. Try reloading the portlet or the page.”.
    In “Developer guide for Oracle Portal 11g” I’ve read, that I have to add “ADF bindig filter” to my web.xml, but error stay.
    Thanks and sorry for my english.

    Hello AMN,
    Is there anything different or a particular way you are developing objects and using the jquery framework? I am looking for a sort of best practice approach - where to put the jquery script call, and where to put the html (dyn page portlet vs items vs.....).
    In regards to some of my previous problems, I think I found where the performance problem was - not sure why. Besides using the jquery framework, I was also trying to use the jquery validation plugin.
    http://bassistance.de/jquery-plugins/jquery-plugin-validation/
    I am using the proper calls <script> tags from a HTML template, and the DOM (atleast the elements I will act on) is generated from a dynamic page portlet (that calls a procedure). When I use the validation plug-in and submit the form, there is a noticable delay in calling the plug-in to perform some sort of field validation. It doesn't error out, but instead takes about 5 - 10 seconds to complete.
    If I remove portal from the picture, and upload the html directly on Apache, this performs fast as expected. I do not understand why the javascript is taking so long to act, since I would have expected this to be handled on the client side.
    Instead of troubleshooting further, I am planning to avoid that plug-in and just create the validation myself.
    Thanks
    Adrian

  • Migrating 11g AW to another environment

    Is there any document out there that outlines the steps required to migrate a 11g AW from one environment to another (like Development to Test)?
    At a minimum we would need to do the following:
    - Using AWM, export the AW as a XML Template.
    - Using AWM OLAP Worksheet, run dml command export..eif to migrate the data
    - Dump any relational tables from the schema that owns the AW.
    How do we migrate the Security Settings (set within AWM)? Do we need to recreate the Security in the new environment or are there any utilites that will allow us to migrate security?

    On a related note, the DBMS_AW package contains some procedures like aw_copy, aw_create, aw_rename etc. The DBMS_AW package does not seem to be integrated well with 11g.
    I tried to rename an aw from an old name to a new name using the dbms_aw.aw_rename procedure from SQL*PLUS. This worked fine and using AWM i could see the new AW listed but i couldnt browse the Dimensions/Cubes. Renaming the new aw back to the old name aw led to the AWM working fine once again.
    Also i guess (from above mails) that the earlier (10g) manner of using OLAP worksheet to get an EIF file using "export all to eif file ..." and using the file to recreate a new AW will not work in 11g. We should plan on using the AW XML template and recreate the aw once again in new environment to ensure that the metadata catalog (used by AWM) works well with it.

  • JDeveloper ADF OAS Aplication Migration to Glassfish, It´s possible?

    i want to do a migration from an JDeveloper ADF with OAS web app, to Glassfish server, this its posible?

    I doubt it, but I never tried.
    Timo

  • Slow response when calling a web service from an ADF client in JDev 11g

    I have generated a web service (WS) for a stored procedure package with 3 functions. The WS has less than 1 second response times when I use the standard WS testing facility. I then created a data control for the WS selecting the default values in the JDev wizard. When I test the functions from a very basic ADF client the response times for the same functions are between 3-4 seconds i.e. very SLOW compared to the actual response time of WS. I need some advice on how to investigate this performance degredation as seen from the ADF client.
    Could the problem be that the data control was created from a web service in the same project? Maybe it is necessary to have them in separate projects or create a proxy?
    I created and tested the web service with the standard WS test tool and then simply went on to create a data control from this web service for use from a ADF client.
    Some background info:
    I saw the following warning in step 8 of the WS creation wizard:
    "The configured policy store location at "C:\Oracle\Middleware\jdeveloper\j2ee\home\gmds" is invalid. Application cannot read policies from this location. Check that the directory name is correct and the location exists."
    Also I can confirm that there is no j2ee directory in my environment.
    The application server logs the following for each call from the ADF client:
    009-apr-01 15:55:22 oracle.adf.model.connection.webservice.impl.WebServiceConnectionMessages debugGetSaajInteraction
    INFO: Creating a SaajInteraction for oracle.j2ee.ws.model.OperationImpl@1c81d2c
    2009-apr-01 15:55:22 oracle.adf.model.connection.webservice.impl.WebServiceConnectionMessages debugGetSaajInteractionResult
    INFO: Created [email protected]79edc for oracle.j2ee.ws.model.OperationImpl@1c81d2c
    2009-apr-01 15:55:22 oracle.j2ee.ws.rm.LogMessages logExceptionAsWarning
    VARNING: Internal error: oracle.wsm.policy.model.PolicyModelException: WSM-01647 : There are no policies that match the specified category wsrm and resource pattern {1}.
    2009-apr-01 15:55:22 oracle.fabric.common.AbstractSecurityInterceptor init
    INFO: AbstractSecurityInterceptor:init(), client.mode.jse==ture and isJEE==true, probably is a case of JEE client calling JSE client
    2009-apr-01 15:55:22 oracle.wsm.agent.WSMAgent init
    INFO: WSMAgent is initialized for category=management, function=agent.function.client, topologyNodePath=null, isJ2EE=true
    2009-apr-01 15:55:22 oracle.fabric.common.AbstractSecurityInterceptor init
    INFO: AbstractSecurityInterceptor:init(), client.mode.jse==ture and isJEE==true, probably is a case of JEE client calling JSE client
    2009-apr-01 15:55:22 oracle.wsm.agent.WSMAgent init
    INFO: WSMAgent is initialized for category=security, function=agent.function.client, topologyNodePath=null, isJ2EE=true
    2009-apr-01 15:55:24 oracle.wsm.common.logging.WsmMessageLogger logSevere
    ALLVARLIG: error in the Oracle WSM Policy Resolver Initialization, because incorrect configuration is passed: {0} {1}
    Edited by: user10601664 on Apr 8, 2009 7:11 AM

    Find solution. Check this thread:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
    The com.sap.tc.webdynpro.model.webservice.api.IWDWSInvocationModifier interface can be implemented by an application using the Adaptive Web Service model in order to modify the web service invocation object just before it's execution. Invocation modifiers need to be registered with the executable model class for which invocation is to be modified:
    Request_NumberToWords requestMO = new Request_NumberToWords(model);
    requestMO.wdSetInvocationModifier(
      new IWDWSInvocationModifier() {
        public void doModifyInvocation(Object port) {
          HTTPControlInterface httpItf = HTTPControlFactory.getInterface(port);
          //timeout for this WS invocation is 120 sec; don't use global config. setting of WS-Runtime
          httpItf.setSocketTimeout(120000);
        public void doModifyAfterInvocation() {}
    Best regards.

  • How to populate VO based ADF tabledynamically in Oracle 11g?

    Hi all
    Is there is any way to dynamically populate the values for the VOIterator in Oracle11g? My Requirement is something like, I have deragged the VO from the Data control to the jspx as a ADF table.Whenever page loaded the table will be populated with the values. The same way when page gets loaded user have the option to import the values from the excel sheet and need to display the imprted values on the same ADF table created based on the VO(View Object). I have the code to extract the data from the excel sheet. I just need to know how to populate those excel sheet data on the ADF table based on some VO.I Hope you got what I mean to say
    Thanks

    Hi Shay
    Thanks for your quick reply.My question is not more on how to extract the data from the excel.
    My concern is How to add the data dynamically to a VOIterator programatically in the backing bean?
    for eg:
    I have dragged a VO on to the screen as ADF Table(So whenever page get loaded the data will be displayed on the screen. This is fine )
    I want to place a button on top of my screen , and when user clicks on that specific button, in my backing bean i need to populate some data to that VOIterator and get it displayed on the same ADF table which created in above step.
    To acomplish this what should I do?
    Thanks
    Edited by: user616296 on Jan 13, 2009 3:28 PM

  • Improve autosubmit performance in ADF JSF in Jdev 11g R1.

    we are using autosubmit for taking item value w,th button, cascade list etc. (at inputtext item, list item).
    But low bandwith our user feel a slowness when navigate out of items.
    mouse cursor is turn to waiting even for inputtext.
    is there any way to improve the perfromance of autosubmit operations.
    Thanks...

    Yes. I see.
    our server web logic 10.1.3.1 and network bandwith depends on gigabit ethernet.
    I came form Oracle forms backgound.
    In my opinion ADF model layer is more capeable tan oracle forms.
    But for view layer I can't say the same thing. (especially JSF, ADF RC)
    In oracle forms you are not considering partial page rendering, auto submit, partial trigger, model view layer synchronisation etc.
    this information is needed high level programmer experience.
    ADF model layer rescue us from transection management, data inegrity problems.
    But view layer couses programmers to learn tons of (unnecessery) new details. (That problem not just about ADF JSF. it is web (html, javascript) problem.)
    ADF view layer is slower than forms appet at runtime also.
    I thing ADF needs a more rebust and easy userinterface layer.

  • How to differentiate a row in a ADF table in Oracle 11g

    Hi
    How to differentiage the each row in a ADF table with the back ground colour? I tried with RowBandingInterval option, but it didn't work out?
    Thanks

    Hi,
    setting row banding to 1 (the default) works for me on FF and IE 7
    Frank

Maybe you are looking for

  • SAP CRM 7.0 - NWBC desktop client

    Hi all, we are on SAP CRM 7.0 (NW > 7.02) and NWBC 3.0 - 3.5. In my understanding there're two ways to use SAP NWBC . By using (NWBC desktop client) and/or (NWBC for HTML). We have assigned the CRM Business Role and then the PFCG role to a test user.

  • Verity spider and localhost

    Verity Spider is licensed to only spider a local server. Because of this, it indexes my collection with http://localhost/ instead of http://www.mydomain.com/ My problem is that none of my users outside the network can access search results because al

  • IPhoto book low quality warning?

    I've created an iPhoto book. I'm ready to buy it but I get a warning that some of the photos are too low quality for the type of book I've chosen. Yet all photos were imported at 300dpi and there's no warning on any one photo that the quality is low.

  • How to check 3 consecutive wrong password entries

    Hi to All, I'm new to jsp. I've created a login page using String user = request.getParameter("username");         String pwd = request.getParameter("pass"); String query = "select * from userinfo where username='" + user + "' and pass='" + pwd + "'"

  • Vuze won't start

    I installed vuze from the aur but it won't start.I tried installing "jre7-openjdk jdk7-openjdk eclipse" but it didn't help. Here is my output: [unilx@online ~]$ vuze Starting Azureus... Suitable java version found [java = 1.7.0_147-icedtea] Configuri