Oracle ADF viewScope causing session size bloat

As I'm sure you know, ADF introduces some additional scopes (pageFlowScope, viewScope and backingBeanScope) on top of the standard JSF ones. Our use of one of the ADF scopes, viewScope, appears to be causing our session size to bloat over time.
Objects that are view scoped (e.g. our Backing Beans) are managed by ADF and appear to be put into the session in a org.apache.myfaces.trinidadinternal.application.StateManagerImpl$PageState object. The number of these objects in the session is equal to the org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS in our web.xml configuration file.
Once all of the tokens are ‘used up’, by navigating around the application, the oldest one of these objects is removed from the session and (should be) garbage collected at some point. However, the reclaim of this space is observed much later, after the session has expired. Because of this, when load testing the application we see the heap space usage gradually increasing, before causing the JVM to crash.
The monitoring of the creation and destruction of our objects is done by adding log statements in the default constructor and in the finalize method (Which overrides the finalize method on object). The logging statements on object creation are seen when we would expect them, but the logging statements from the finalize method are only seen after session expiry. When a garbage collection is triggered using Oracle JRocket Mission Control we see the heap usage drop significantly, but don’t observe any logging from the finalize method calls.
Does anyone have any thoughts on why the garbage collector might not be able to reclaim view scoped objects after they are removed from the session?
Thanks in advance.
P.S. I have already found VIEW SCOPE IS NOT RELEASING PROPERLY IN ADF which is a very closesly related thread, but unfortunately was not able to use the replies on there to resolve our issue. I've also posted this same question on Stack Overflow (http://stackoverflow.com/questions/13380151/lifetime-of-view-scoped-objects-oracle-adf). I'll try and update both threads if I find a solution.
Edited by: 971217 on 14-Nov-2012 07:08

Hi Frank,
Thanks for your very useful reply. I've managed to recreate the problem today by doing the following.
1. Create pageOne.jspx and pageTwo.jspx
2. Create PageOneBB.java and PageTwoBB.java
3. Register PageOneBB.java and PageTwoBB.java in the adfc-config.xml as view scoped managed beans.
Then after building and deploying out to my Weblogic server I continue by doing the following:
4. Open pageOne.jspx in a browser. Observe the constructor of pageOneBB being called and the correct default text being shown in the box. [Optional] Set the text value to a new string and click on the button.
5. Get redirected to pageTwo.jspx. Observe the constructor of pageTwoBB being called and the correct default text being shown in the box. [Optional] Set the value to a new string and click on the button.
6. Monitor the Weblogic server using Oracle JRocket Mission Control. Observe the large lists of booleans being created as expected (5,000,000 per click!).
7. Note that this number is never reduced - even though the old view scoped beans should have been released for garbage collection.
8. Repeat steps 4 and 5 until I see the Weblogic server crash due to a java.lang.OutOfMemoryError.
9. Wait for all of the sessions to expire. I've set my session expiry to be 180s for the purpose of this test.
10. After 180s observe the finalize method being called on all of the backing bean objects and the heap usage drop significantly.
11. The server works again but the problem has been demonstrated in a reproducible way.
adfc-config.xml
<managed-bean>
    <managed-bean-name>pageOneBB</managed-bean-name>
    <managed-bean-class>presentation.adf.test.PageOneBB</managed-bean-class>
    <managed-bean-scope>view</managed-bean-scope>
</managed-bean>
<managed-bean>
    <managed-bean-name>pageTwoBB</managed-bean-name>
    <managed-bean-class>presentation.adf.test.PageTwoBB</managed-bean-class>
    <managed-bean-scope>view</managed-bean-scope>
</managed-bean>
pageOne.jspx
<?xml version='1.0' encoding='utf-8?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xlmns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core" >
    <jsf:directive.page contentType="text/html;charset=UTF-8" />
    <f:view>
        <af:document id="t" title="Page One">
            <af:form>
                <af:inputText id="pgOneIn" value="#{viewScope.pageOneBB.testData}" />
                <af:commandButton id="pgOneButton" partialSubmit="true"
                    blocking="true" action="#{viewScope.pageOneBB.goToPageTwo}"
                    text="Submit" />
            </af:form>
        <af:document>
    </f:view>
</jsp:root> pageTwo.jspx
<?xml version='1.0' encoding='utf-8?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xlmns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core" >
    <jsf:directive.page contentType="text/html;charset=UTF-8" />
    <f:view>
        <af:document id="t" title="Page Two">
            <af:form>
                <af:inputText id="pgTwoIn" value="#{viewScope.pageTwoBB.testData}" />
                <af:commandButton id="pgTwoButton" partialSubmit="true"
                    blocking="true" action="#{viewScope.pageTwoBB.goToPageOne}"
                    text="Submit" />
            </af:form>
        <af:document>
    </f:view>
</jsp:root> PageOneBB.java
package presentation.adf.test;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.context.FacesContext;
import org.apache.log4j.Logger;
import logger.log4j.RuntimeConfigurableLogger;
public class PageOneBB implements Serialiable
    /** Default serial version UID. */
    private static final long serialVersionUID = 1L;
    /** Page one default text. */
    private String pageOneData = "Page one default text";
    /** A list of booleans that will become large. */
    private List<Boolean> largeBooleanList = new ArrayList<Boolean>();
    /** The logger */
    private static final Logger LOG = RuntimeConfigurableLogger.gotLogger(PageOneBB.class);
    /** Default constructor for PageOneBB. */
    public PageOneBB()
        for (int i = 0; i < 5000000; i++)
            largeBooleanList.add(new Boolean(true));
        if (LOG.isTraceEnabled())
            LOG.trace("Constructor called on PageOneBB. This object has a hash code of " + this.hashCode());
    /** Method for redirecting to page two. */
    public void goToPageTwo()
        try
            FacesContext.getCurrentInstance().getExternalContext.redirect("pageTwo.jspx");
        catch (IOException e)
            e.printStackTrace();
    * {@inheritDoc}
    @Override
    protected void finalize() throws Exception
        if (LOG.isTraceEnabled())
            LOG.trace("Finalize method called on PageOneBB. This object has a hash code of " + this.hashCode());
    * Set the testData
    * @param testData
    *        The testData to set.
    public void setTestData(String testData)
        if (LOG.isTraceEnabled())
            LOG.trace("setTestData method called on PageOneBB with a parameter of " + testData);
        this.pageOneData = testData;
    * Get the testData
    * @return The testData.
    public String getTestData()
        if (LOG.isTraceEnabled())
            LOG.trace("getTestData method called on PageOneBB");
        return pageOneData;
PageTwoBB.java
package presentation.adf.test;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.context.FacesContext;
import org.apache.log4j.Logger;
import logger.log4j.RuntimeConfigurableLogger;
public class PageTwoeBB implements Serialiable
    /** Default serial version UID. */
    private static final long serialVersionUID = 1L;
    /** Page one default text. */
    private String pageTwoData = "Page two default text";
    /** A list of booleans that will become large. */
    private List<Boolean> largeBooleanList = new ArrayList<Boolean>();
    /** The logger */
    private static final Logger LOG = RuntimeConfigurableLogger.gotLogger(PageTwoBB.class);
    /** Default constructor for PageTwoBB. */
    public PageTwoBB()
        for (int i = 0; i < 5000000; i++)
            largeBooleanList.add(new Boolean(true));
        if (LOG.isTraceEnabled())
            LOG.trace("Constructor called on PageTwoBB. This object has a hash code of " + this.hashCode());
    /** Method for redirecting to page one. */
    public void goToPageOne()
        try
            FacesContext.getCurrentInstance().getExternalContext.redirect("pageOne.jspx");
        catch (IOException e)
            e.printStackTrace();
    * {@inheritDoc}
    @Override
    protected void finalize() throws Exception
        if (LOG.isTraceEnabled())
            LOG.trace("Finalize method called on PageTwoBB. This object has a hash code of " + this.hashCode());
    * Set the testData
    * @param testData
    *        The testData to set.
    public void setTestData(String testData)
        if (LOG.isTraceEnabled())
            LOG.trace("setTestData method called on PageTwoBB with a parameter of " + testData);
        this.pageTwoData = testData;
    * Get the testData
    * @return The testData.
    public String getTestData()
        if (LOG.isTraceEnabled())
            LOG.trace("getTestData method called on PageTwoBB");
        return pageTwoData;
}

Similar Messages

  • Oracle-ADF inlineFrame initializing view scoped bean twice

    I am facing strange issue related with af:inlineFrame component. Trying to display/render ADF page inside of af:popup within af:inlineFrame component. The weird thing is when the popup displayed; view scoped bean's @PostConstruct method called twice. That means bean is initialized twice. However it needed to be initialized once since bean is referenced from the page that is going to be displayed inside af:inlineFrame.
    Correct flow gotta be:
    Click to button openPopup() method called.
    openPopup() sets URI then opens popup.
    inlineFrame source property set as it's going to display framePage.jspx.
    JSF scans framePage.jspx code finds out there is a reference to FrameBean inside af:outputLabel
    Construct FrameBean then call @PostConstruct method.
    Call appropriate getter and render page.
    What happens in my case:
    Click to button openPopup() method called.
    openPopup() sets URI opens popup.
    inlineFrame source property set as it's going to display framePage.jspx.
    JSF scans framePage.jspx code finds out there is a reference to FrameBean inside af:outputLabel
    Construct FrameBean then call @PostConstruct method.
    Call appropriate getter and render page.
    Construct FrameBean then call @PostConstruct method.
    Call appropriate getter and render page.
    Popup located like:
    <af:popup id="mainPopup" binding="#{mainBean.mainPopup}">
    <af:dialog id="mainDialog">
      <af:inlineFrame source="#{mainBean.URI}"> </af:inlineFrame>
      </af:dialog>
    </af:popup>
    Showing popup via af:button action="#{mainBean.openPopup}":
    public void openPopup() {
    this.setURI("http://localhost:7001/app/framePage.jspx");
      RichPopup.PopupHints hints = new RichPopup.PopupHints();
    this.getMainPopup().show(hints);
    framePage.jspx:
    <?xml version='1.0' encoding='UTF-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <jsp:directive.page contentType="text/html;charset=UTF-8" />
    <f:view>
    <af:document title="Frame Demo" id="demoDocument">
      <af:form id="demoForm">
    <af:outputLabel value="#{frameBean.commonId}">   </af:outputLabel>
      </af:form>
      </af:document>
    </f:view>
    </jsp:root>
    FrameBean:
    @ManagedBean
    @ViewScoped
    public class FrameBean {
    private String commonId;
      @PostConstruct
      public void afterInit() {  } 
      public String getCommonId() {
    return commonId;
    public void setCommonId(String commonId) {
    this.commonId = commonId;
    Making FrameBean @SessionScoped solves this issue since bean is kept with session but I don't want to keep it within session. Also setting source property of af:inlineFrame in jspx as hardcoded not fixing the problem.

    im using ADF Essential on Glassfish 3.1 with no problem, but glassfish is heavyweight. I think Oracle ADF is not dependent to Application Server , then i tried to use my project with Tomcat 7. I deployed my application on Tomcat 7 , but im getting some exceptions.
    Not all application servers support Oracle ADF.
    Refer the certification matrix, Tomcat 7 is not listed as being supported.
    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html

  • Oracle.adf.view.faces.model classes and serializable

    Some (most?) classes in oracle.adf.view.faces.model - e.g., ChildPropertyTreeModel - are not serializable. If these objects are given the "session" scope, this causes problems. For instance, in a clustered environment with failover/load-balancing, session attributes must be serialized to be replicated to all cluster members. Adding one of these object to the session causes the serialization - and therefore the replication - process to fail. Does anybody know why these classes are not marked as serializable?

    Some (most?) classes in oracle.adf.view.faces.model - e.g., ChildPropertyTreeModel - are not serializable. If these objects are given the "session" scope, this causes problems. For instance, in a clustered environment with failover/load-balancing, session attributes must be serialized to be replicated to all cluster members. Adding one of these object to the session causes the serialization - and therefore the replication - process to fail. Does anybody know why these classes are not marked as serializable?

  • Clustering using Oracle ADF - CHECK_STATE_SERIALIZATION=all

    We are using Oracle ADF 11.1.1.6. We have started testing our Oracle ADF application for the cluster compatibility and used following document. We have coded all recommendations given in the document including enabling all applicable java classes to serialization and also setup adf_config.xml <adfc:adf-scope-ha-support>true</adfc:adf-scope-ha-support> and <adf:adf-scope-ha-support>true</adf:adf-scope-ha-support> exactly as per given in the document.
    http://docs.oracle.com/cd/E12839_01/core.1111/e10106/adf.htm
    Now, to check High Availability on a standalone web logic server for debugging purpose we configured Java Option "-Dorg.apache.myfaces.trinidad.CHECK_STATE_SERIALIZATION=all" as per the recommendation.
    After setting this flag system started throwing bunch of errors similar to the error given below.
    [2012-07-26T14:17:43.602-04:00] [OPERA_ADF1] [ERROR] [] [org.apache.myfaces.trinidadinternal.config.CheckSerializationConfigurator$MutatedBeanChecker] [tid: [ACTIVE].ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: edozer] [ecid: 64915ee7c1860d85:40a983d1:138bf4550b2:-7ffd-0000000000005fcb,0] [APP: OperaApplications_o90_smoke#V9.0.0] Failover error: Serialization of Session attribute:data has changed from oracle.adf.model.servlet.HttpBindingContext@365f8709 to oracle.adf.model.servlet.HttpBindingContext@36b6565b without the attribute being dirtied
    The question is what are we missing here?
    Please note that our application is still missing ControllerContext.getInstance().markScopeDirty(pageFlowScope); but when I tried to create a sample application and deliberately left the "markScopeDirty" using below code the above mentioned error was not reproduceable.
    public class myBackingBean
         public void changeValueButton( ActionEvent ae )
         Map<String, Object> pageFlowScope = AdfFacesContext.getCurrentInstance().getPageFlowScope();
              pageFlowTestBean obj = ( pageFlowTestBean )pageFlowScope.get( "pageFlowTestBean" );
              System.out.println( "Old Value " + obj.getYVar() );
              obj.setYVar( "New Value" );
              /* ControllerContext.getInstance().markScopeDirty(pageFlowScope); */
    Can anyone shade more light on it?
    Also, I would like to know that can someone guide me what is the best practice to perform ControllerContext.getInstance().markScopeDirty(pageFlowScope);. Because developers can easily miss this statement and I didn't find any easyway to search the code that is missing this statement (I have already tried Jdeveloper's Audit feature and it works for very few cases).

    We checked the ADF source (pasted below). It reads that markScopeDirty is getting skipped if ADF_SCOPE_HA_SUPPORT is not configured but when we debug our application the serialization fires after every pageScope/viewScope variable gets changed regardless of markScopeDirty() is being called or not. That signifies that markScopeDirty() call is not needed. Do we really need markScopeDirty() everywhere in our application or this is just a public helper method to manually trigger replication for some exceptional case? Can anyone from team Oracle explain this behavior?
    @Override
    public void markScopeDirty(Map<String, Object> scopeMap)
    Boolean handleDirtyScopes =
    (Boolean)ControllerConfig.getProperty(ControllerProperty.ADF_SCOPE_HA_SUPPORT); //checks for adf-scope-ha-support
    if (handleDirtyScopes.booleanValue())
    if (!(scopeMap instanceof SessionBasedScopeMap))
    String msg = AdfcExceptionsArb.get(AdfcExceptionsArb.NOT_AN_ADF_SCOPE);
    throw new IllegalArgumentException(msg);
    ((SessionBasedScopeMap)scopeMap).markDirty();
    }

  • Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener

    hi ,OTN
    I have an ADF 10g application which I migrate to Jdeveloper 11.1.1.3.0 version after migration and turning Adf faces to Apache Trinidad components and fixing all my code,compiling the application without any Errors,when I deployed my application to weblogic I had a deployment exception this is all the stack trace
    User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener '
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    <08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286547027015' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    >
    <08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Version4'.>
    <08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Version4'.>
    <08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
    Source Document: file:/C:/Documents and Settings/Administrator/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/Version4/ViewControllerWebApp.war/WEB-INF/faces-config.xml
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    help please?

    thank you for quick reply. but I ran my application in the integrated weblogic server in the Jdeveloper.I did not deploy it to a standalone one.did you mean the default domain?

  • [ADF-11.1.2] Proof of view performance tuning in oracle adf

    Hello,
    Take an example of : http://www.gebs.ro/blog/oracle/adf-view-object-performance-tuning-analysis/
    It tells me perfectly how to tune VO to achieve performance, but how to see it working ?
    For example: I Set Fetch size of 25, 'in Batch of' set to 1 or 26 I see following SQL Statement in Log
    [1028] SELECT Company.COMPANY_ID,         Company.CREATED_DATE,         Company.CREATED_BY,         Company.LAST_MODIFY_DATE,         Company.LAST_MODIFY_BY,         Company.NAME FROM COMPANY Companyas if it is fetching all the records from table at a time no matter what's the size of Batch. If I am seeing 50 records on UI at a time, then I would expect at least 2 SELECT statement fetching 26 records by each statement if I set Batch Size to 26... OR at least 50 SELECT statement for Batch size set to '1'.
    Please tell me how to see view performance tuning working ? How one can say that setting batch size = '1' is bad for performance?

    Anandsagar,
    why don't you just read up on http://download.oracle.com/docs/cd/E21764_01/core.1111/e10108/adf.htm#CIHHGADG
    there are more factors influencing performance than just query. Btw, indexing your queries also helps to tune performance
    Frank

  • Oracle ADF with view Links

    Hello i use Oracle adf framwork to develop my Business logic through Business component and oracle as Database
    i have an error with my View link
    i got this error msg:
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT Meldung.MELDUNG_ID, Meldung.MELDUNG_MESSAGE, Meldung.SACHBEARBEITER_ID, Meldung.MELDUNG_DATUM FROM MELDUNG Meldung WHERE Meldung.SACHBEARBEITER_ID = :Bind_SachbearbeiterId
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1239)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:913)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7282)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1078)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2800)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3058)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
         at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:7208)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3555)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3697)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3657)
         at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3440)
         at oracle.jbo.server.ViewRowSetIteratorImpl.previous(ViewRowSetIteratorImpl.java:1895)
         at oracle.jbo.server.ViewRowSetImpl.previous(ViewRowSetImpl.java:3609)
         at oracle.jbo.server.ViewObjectImpl.previous(ViewObjectImpl.java:10248)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1080)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
         at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
         at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
         at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11256)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10605)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11665)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:15891)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:911)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4665)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3673)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:21459)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1197)
         ... 59 more
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11256)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10605)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11665)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:15891)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:911)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4665)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3673)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:21459)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1197)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:913)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7282)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1078)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2800)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3058)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
         at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:7208)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3555)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3697)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3657)
         at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3440)
         at oracle.jbo.server.ViewRowSetIteratorImpl.previous(ViewRowSetIteratorImpl.java:1895)
         at oracle.jbo.server.ViewRowSetImpl.previous(ViewRowSetImpl.java:3609)
         at oracle.jbo.server.ViewObjectImpl.previous(ViewObjectImpl.java:10248)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1080)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
         at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
         at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
         at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    (oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT Termin.TERMIN_ID, Termin.TERMIN_BEGIN_DATUM, Termin.SACHBEARBEITER_ID, Termin.TERMIN_MESSAGE, Termin.TERMIN_END_DATUN FROM TERMIN Termin WHERE Termin.SACHBEARBEITER_ID = :Bind_SachbearbeiterId

    Hello John,
    Thanks for the reply. I can't find any material so that I can aware with JSF introduction (with demos) and ADF Faces. So will you please suggest me some tutorial or demos related to JSF and ADF faces. I passed through the video demos of Oracle ADF homepage but still I can't understand the use of those tags.
    regards,
    Kush
    Edited by: kush on Feb 22, 2012 12:07 AM

  • Create multiple rows in Oracle ADF (From Andrejus Baranovskis's Blog)

    Hi All,
    I followed the steps in the Blog Sample.
    I tried this example with 2 tables -> Emp_Details(fields->empId and empName)and Multiple_Entry(fields-> empId and email).
    ashu.jspx is my jsf page and Ashu.java is the backing bean.
    I checked it many times, but getting the same error. Error is as follows:-
    500 Internal Server Error
    javax.faces.FacesException: #{backing_ashu.createButton_action}: javax.faces.el.EvaluationException: java.lang.NullPointerException at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98) at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92) ... 27 moreCaused by: java.lang.NullPointerException at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:706) at java.util.ResourceBundle.getBundle(ResourceBundle.java:699) at com.praphulla.khandala.view.utils.JSFUtils.getBundle(JSFUtils.java:227) at com.praphulla.khandala.view.utils.JSFUtils.getStringFromBundle(JSFUtils.java:142) at com.praphulla.khandala.view.backing.Ashu.createButton_action(Ashu.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146) ... 28 more
    Plz provide me some help.
    Praphul

    Thank you for your reply..
    If the am1.invokeMethod("createUserLoc"); is not there in the while loop, it goes through the while loop and gives SOP values correctly.
    But if I put this statement in while loop, it errors out in the first iteration itself.

  • Oracle ADF Business Service Layer Technologies

    Hello,
    We are building an online shopping mall/site that is expected to receive order volume of 50-60 thousand orders per week. So obviously, data traffic generated by the site will be pretty heavy. The technology set we are supposed to use is Jdeveloper 10g with ADF. Currently ADF business service layer offers following set of technologies. The question is which of following technologies meets these four criterias the BEST? (1) Security, 2)24x7 Reliability and Maintenace overheads (3)Speed /Performance of the server response to client requests (4) integration with Oracle database.
    Please advise. Any technet/metalink oracle document that compares these various business layer technology would be great indeed.
    Business service technologies that I am talking about is mentioned below
    Enterprise JavaBeans (EJB) Session Beans
    Since most J2EE applications require transactional services, EJB session beans are a logical choice because they offer declarative transaction control. Behind the EJB session bean facade for your business service, you use plain old Java objects (POJOs) or EJB entity beans to represent your business domain objects. JDeveloper offers integrated support for creating EJB session beans, generating initial session facade implementations, and creating either Java classes or entity beans. You can also use Oracle TopLink in JDeveloper to configure the object/relational mapping of these classes.
    JavaBeans
    You can easily work with any Java-based service classes as well, including the ability to leverage Oracle TopLink mapping if needed.
    Web Services
    When the services your application requires expose standard web services interfaces, just supply Oracle ADF with the URL to the relevant Web Services Description Language (WSDL) for the service endpoints and begin building user interfaces that interact with them and present their results.
    XML
    If your application needs to interact with XML or comma-separated values (CSV) data that is not exposed as a web service, this is easy to accomplish, too. Just supply the provider URL and optional parameters and you can begin to work with the data.
    ADF Business Components.
    These service classes are a feature of the ADF Business Components module, and expose an updateable dataset of SQL query results with automatic business rules enforcement.
    Thanks
    Ruchir

    So the quote says "technologies Oracle recommends to J2EE developers" which is correct - if you are an experience Java EE developer the TopLink/JPA/EJB stack should be your choice however if you are coming from a 4GL/Enterprise developer background then the recommendation is here:
    http://download.oracle.com/docs/html/B25947_01/intro002.htm#sthref21
    For enterprise 4GL developers building new web applications, Oracle recommends using JavaServer Faces for the view and controller layers, and ADF Business Components for the business service implementation. This combination offers you the same productive J2EE technology stack that over 4000 of Oracle's own enterprise 4GL developers use every day to build the Oracle E-Business Suite. Since its initial release in 1999, several thousand external customers and partners have built and deployed successful Oracle ADF-based applications as well. Both now and in the future, Oracle and others are betting their business on Oracle ADF with ADF Business Components.
    And yes ADF BC can be exposed as EJB - but this is usually only used for remote deployment of ADF BC when they are on another server than the UI code - for example when using Swing.

  • Java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

    I use Jdev 11.1.1.5 to create a BPM process application which contains a process with 3 interactive activities.
    Each interacitive acitivity has a form project. I can deply these projects to a domain. Then, I delete them. However, after that, I cannot deploy them.
    I try to create a new SOA domain. However, I get same error message as follow.
    [04:04:48 PM] ---- Deployment started. ----
    [04:04:48 PM] Target platform is (Weblogic 10.3).
    [04:04:48 PM] Retrieving existing application information
    [04:04:48 PM] Running dependency analysis...
    [04:04:48 PM] Building...
    [04:05:14 PM] Deploying profile...
    [04:05:17 PM] Wrote Web Application Module to C:\JdevWorkspace\BPM\initiatorUI\deploy\initiatorUI.war
    [04:05:19 PM] Deploying Application...
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application initiatorUI on AdminServer,BPMJMSServer,SOAJMSServer,UMSJMSServer.: Failed to load webapp: 'initiatorUI.war'.
    [04:05:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [04:05:24 PM] See server logs or server console for more details.
    [04:05:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] #### Deployment incomplete. ####
    [04:05:24 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Thanks Amjad. It worked for me as well!!
    I think the reasoning behind this is: If we deploy it from the Application tab, it deploys the EAR file whereas simply right clicking the project and deploy, deploys the WAR file.

  • How to reduce Oracle ADF Mobile deployed file

    Hi
    I'm creating simple demos with Oracle ADF Mobile and the deployed file is more than 50mb. Is there a way to reduce this size? Maybe remove some unused features llike SQLLite?

    My simple demo IPA files have been around 20MB with the default splashscreens and such, the only time it was bigger was when some files mistakenly got included. You could always load resources on-demand the first time over http and cache them in the app documents. This way you could only download the graphics for the current platform (so if it's a phone, you don't download iPad banners and graphics that your app needs)

  • ERRORS in the Lab - Developer Day: Oracle ADF and Fusion Middleware Dev

    I atteneded the Developer Day on Oracler ADF and Fusion Middleware Development on 11/19. I did the lab (following step by step instructions) and encountered the following errors:
    1) Export to Excel (Step 4, actions 5-9) - Got run-time 500 error when run app. I had to skip these steps to be able to continue with the lab.
    2) Click on Printable Page (Step 4, action 16) - I looks like it works, but nothing shown up on the browser or printing actually happened.
    3) Click on Create Insert (Step 4, action 26) - Got Java.Lang.NumberFormatException
    4) There is no lab for mobile application development. Where should I start? [getting mobile plug-in software, lab tutorials]
    The instructor said that I could post any questions on the Forum. I hope that this is the correct Forum to post these types of questions. Thanks much in advance for your responses.
    Thoai

    Perfect, I get the exact same page when I login, however, this page doesn't have any links to the actual sessions.  If I remember correctly, after logging in another window used to open in which we could select the session to play.
    Please let me know how I can access the session from the page that is displayed after logging in.  Thank you for taking time to check, appreciate your help.

  • Oracle.adf.share.exception.ViewScopeException

    Guys,
    I'm getting the following exception "oracle.adf.share.exception.ViewScopeException". This happens when we deploy our applicaiton in clustered environment and trying to run the application from the browser.
    Any pointers to solve this issue is appreciated...
    <Sep 20, 2011 4:49:38 PM EDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    oracle.adf.share.exception.ViewScopeException: No technology supporting ViewScope found. Currently Faces and Trinidad support viewScope.
    at oracle.adf.share.ADFContext.getADFFacesViewScopeMap(ADFContext.java:504)
    at oracle.adf.share.ADFContext.getViewScope(ADFContext.java:411)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getActiveRegionMap(DCTaskFlowBinding.java:1326)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getActiveFlagFromViewScope(DCTaskFlowBinding.java:1344)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.initialize(DCTaskFlowBinding.java:184)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.isActive(DCTaskFlowBinding.java:1256)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:111)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3202)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2874)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:399)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:276)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    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:136)
    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)
    >

    Check that the adf runtime is installed each managed server in the cluster you deploy the application to.
    Timo

  • Oracle.adf.share.ADFShareException: MDS Exception encountered in parse ADF Configuration

    Hi,
    I am using Jdeveloper 11.1.2.3.0. I have generate a .war file and deployed in weblogic server 10.3.6. When I click on start button by selecting the .war file, I am getting following exception
    oracle.adf.share.ADFShareException: MDS Exception encountered in parse ADF Configuration
        at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:83)
        at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
        at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
        at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
        at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:400)
        at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:71)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: oracle.mds.exception.MDSRuntimeException:  file=/usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml, java.io.FileNotFoundException: /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
    null
    /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
        at oracle.mds.internal.cache.JOCCacheProvider.createNamedCacheInternal(JOCCacheProvider.java:343)
        at oracle.mds.internal.cache.JOCCacheProvider.createNamedCache(JOCCacheProvider.java:254)
        at oracle.mds.internal.cache.JOCCacheProvider.<init>(JOCCacheProvider.java:87)
        at oracle.mds.core.MDSInstance.initCache(MDSInstance.java:1649)
        at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1786)
        at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1738)
        at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:2035)
        at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:529)
        at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:492)
        at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:452)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:83)
        at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
        at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
        at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
        at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:400)
        at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:71)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: oracle.ias.cache.CacheConfigParsingException:  file=/usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml, java.io.FileNotFoundException: /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
    please let me know, how to resolve this issue.

    Filters are configured as follows in the web.xml:
      <filter>
        <filter-name>JpsFilter</filter-name>
        <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
        <init-param>
          <param-name>enable.anonymous</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>JpsFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
          <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>

  • Implement dragsort in oracle adf

    Hi,
    I want to implement the drag sort (eg: http://jqueryui.com/sortable/#display-grid) in oracle adf.
    This is my sample code in oracle adf.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" title="Sortable">
    <af:form id="f1">
    <af:resource type="css" source="/css/test.css"/>
    <af:resource type="javascript" source="/js/jquery-1.9.1.js"/>
    <af:resource type="javascript" source="/js/jquery-ui.js"/>
    <trh:script id="sx4">
    $(function () {
    $("#sortable").sortable();
    $("#sortable").disableSelection();
    $(function () {
    $("#test").sortable();
    $("#test").disableSelection();
    $(function () {
    $("#sortable1").sortable();
    $("#sortable1").disableSelection();
    </trh:script>
    <af:panelList rows="6" maxColumns="3" id="sortable1"
    listStyle="thumbnail" inlineStyle="list-style-type:none" >
    <af:forEach varStatus="vs" begin="1" end="17">
    <af:panelList rows="6" maxColumns="3" styleClass="span4" id="test"
    listStyle="thumbnail" inlineStyle="list-style-type:none">
    <af:outputText id="ot2" value="#{vs.index} #{vs.count} #{vs.begin}"/>
    </af:panelList>
    </af:forEach>
    </af:panelList>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Can any one help me out...
    I am using JDeveloper 11.1.1.6.0 version.
    Thank you and regards
    Madhava
    Edited by: Madhava Maiya on Apr 18, 2013 2:17 AM

    Hi Frank,
    I am using client side because I did not get any solution using ADF (Also I am new to ADF).
    Also I need display the data in grid, that is why I used panelList.
    I will expalin the thing in simpler way.
    Suppose I have a list of size = 7
    I want to display the data of each list in grid format mentioned below:
    1 2 3
    4 5 6
    7
    For the above requirement I have used panelList. The only thing I want to do is to use drag sort and make changes in the grid. After refreshing the page the original grid should display.
    If any thing can be done using ADF is well and good for me.
    Thanks
    Madhava

Maybe you are looking for

  • How to schedule a print job.

    OBIEE 10.3.4.1 on Redhat. We wish to schedule Answers and Publisher to print a certain report on a specific print. Can OBIEE do that? Thanks.

  • IS there a way to view archive logs

    Hi, is there a way to view the content of the archive logs which have the extension "arc".

  • Call & SMS logging on BES

    How to prevent call logs and SMS details from the Balckberry handheld getting Synchronised on to the corporate BES server? Is there a setting on handheld that can be configured to block this?

  • Duplicate track problem w/ Sheryl Crow's Wildflower

    Late last month I pre-ordered Sheryl Crow's new album, "Wildflower," on the basis of an alternate (acoustic guitar?) version of the song "Always On Your Side" being included. I just discovered today that both tracks are identical. I went to my accoun

  • Dc in board problems

    Hey there, I am trying to rebuild a powerbook using two broken powerbooks. I need to use the dc in board from the lo res powerbook to complete hi res powerbook project. They seem to be the same part but I did not know if they were. Am I am to use thi