Problem deploying ADF Faces component demo to Glassfish 3.1.2

Hi,
Jdev 11.1.2.3
ADF Essentials
Glassfish 3.1.2
Windows 7 (64-bit)
Following the instructions on https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to I'm able to deploy and run a very simple ADF Faces application.
But when I try to deploy ADF Faces component demo (rfc-dvt-demo.war) I get following error:
[#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22101: (Fatal Error) DOMSource node as this type not supported.
|#]
[#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22900: (Fatal Error) An internal error condition occurred.
|#]
[#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22101: (Fatal Error) DOMSource node as this type not supported.
|#]
[#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
XML-22900: (Fatal Error) An internal error condition occurred.
|#]
[#|2012-10-17T10:06:48.572+0200|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=27;_ThreadName=Thread-2;|Critical error during deployment:
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
     at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)
     at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)
     at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
     at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
     at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
     at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
     at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
     at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
     at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
     at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
     at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
     at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
     at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
     at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
     at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
     at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:353)
     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
     at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
     at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
     at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
     at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
     at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
     at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
     at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
     at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:220)
     at java.util.TimerThread.mainLoop(Timer.java:512)
     at java.util.TimerThread.run(Timer.java:462)
Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
     at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
     at java.util.concurrent.FutureTask.get(FutureTask.java:83)
     at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)
     ... 31 more
Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
     at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)
     at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
     at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)
     ... 31 more
Caused by: javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
     at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:915)
     at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:502)
     at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1013)
     at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)
     ... 35 more
Caused by: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
     at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:917)
     at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:488)
     ... 37 moreI have also tried
- to re-create the WAR file with "platform=Glassfish" in the deployment profile but with the same result
- to create an EAR file with "platform=Glassfish" in the deployment profile but with the same result (I have read in the ADF docs that for ADF applications deployment of WAR files only works witin EAR files)
From my knowledge the ADF Faces Component demo should be deployable on the certified and supported version of Glassfish as it consists of ADF Essentials features only.
Anyone already succeeded with deployment of ADF Faces demo application on Glassfish?
regards
Peter

Okay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
<welcome-file-list>
<welcome-file>LoginPage.jsp</welcome-file>
</welcome-file-list>
I tried these two variations
<welcome-file-list>
<welcome-file>LoginPage.faces</welcome-file>
</welcome-file-list>
<welcome-file-list>
<welcome-file>faces/LoginPage.jsp</welcome-file>
</welcome-file-list>
and neither of these worked either. (I did restart the OC4J node between each attempt.)
I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
Should the welcome-file-list have worked? Am I doing something wrong here?
Thanks for the help. Mark

Similar Messages

  • [solved] problems w/rich client component demo

    Hello -
    I've been trying to run the rich client component demo as described in http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html
    in TP2 of JDeveloper 11. I've run into a few problems. (I am assuming that the article will work as written in TP2 since the date on the article is September 2007.)
    (minor) The link to the demo under the "Running the Demo from Oracle JDeveloper" section is broken. The link in the section for "Installing the ADF Faces Component Demo on a Standalone OC4J" works.
    Attempt #1: When I create the project from the WAR file and try to run index.jspx, JDev tries to compile the project. It shows the following errors:
        C:\workspace\adffacesdemo\adffacesdemo\public_html\srg\bug6367532.jspx
            Error: Cannot use #{DemoDropHandler.handleFireDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\fileExplorer\navigators.jspx
            Error: Cannot use #{explorer.navigatorManager.foldersNavigator.onTreeDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\fileExplorer\contentViews.jspx
            Error: Cannot use #{explorer.contentViewManager.tableContentView.onTableDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
            Error: Cannot use #{explorer.contentViewManager.listTableContentView.onTableDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\feature\dragAndDrop.jspx
            Error: Cannot use #{demoDropHandler.handleFireDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
            Error: Cannot use #{demoDropHandler.handleDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\explorer\fileExplorerTable.jspx
            Error: Cannot use #{fs.onTableDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\explorer\fileExplorerAccordion.jspx
            Error: Cannot use #{fs.onTreeDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\components\panelBox.jspx
            Error: Cannot use #{panelBoxDropHandler.handleComponentMove} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction (There are also a few hundred warnings listed below the errors)
    Attempt #2: After deploying to OC4J 11 preview, navigate to Framework Features -> Drag and Drop. The page does not display. The console shows the following error:
    2007-10-02 12:37:20.252 NOTIFICATION  J2EE JSP-0008 Unable to dispatch JSP Page: The following exception occurred:oracle.jsp.parse.JspParseException:
    /feature/dragAndDrop.jspx:
    Line # 56, <af:dropTarget actions="COPY" dropListener="#{demoDropHandler.handleFireDrop}">
    Error: Cannot use #{demoDropHandler.handleFireDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDActionAre these known problems or am I just doing something wrong?
    Thanks,
    -- Scott
    Message was edited by:
    scott.turnquist

    Nevermind. I thought I had TP2 but I think it was really TP1. Creating (and running) the project from the WAR file works for me now.

  • ADF faces (adf-faces-impl.jar) on Glassfish not being deleted on undeploy

    I'm using Glassfish milestone 48 (Windows) and Oracle's ADF Faces in a basic web application. When undeploying an already deployed application the adf-faces-impl.jar is not being deleted from the applications WEB-INF/lib folder on the server.
    Google searches have led me to believe that this is because the file was locked at the time the app was being undeployed. All my application does is display an ADF Faces date component using the ADF taglib. There is no programming logic built in it (yet). So I'm guessing there is some issue with ADF Faces and Glassfish. I verified this same error when using the ADF Faces demo war application that is packaged with the ADF Faces download.
    Stopping Glassfish and starting it up again solves this file locking issue. But this is far from ideal in a development environment where we constantly redeploy apps.
    Any help on how to fix this would be of immense help.
    -sud

    Here is a stack trace from the point where the jar file is opened during deployment of adf-faces-impl to GlassFish. On the surface, it looks as if a stream might be opened but not closed in the ADF code?
    - Tim
    domains\domain1\applications\j2ee-modules\adf-faces-demo\WEB-INF\lib\adf-faces-impl-SNAPSHOT.jar
    java.util.zip.ZipFile.<init>(ZipFile.java:242)
    java.util.jar.JarFile.<init>(JarFile.java:132)
    java.util.jar.JarFile.<init>(JarFile.java:70)
    sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
    sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
    sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:63)
    sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
    sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124)
    java.net.URL.openStream(URL.java:1007)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:125)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:116)
    oracle.adf.view.faces.bean.FacesBeanFactory.<clinit>(FacesBeanFactory.java:151)
    oracle.adf.view.faces.component.UIXComponentBase.createFacesBean(UIXComponentBase.java:108)
    oracle.adf.view.faces.component.UIXComponentBase._init(UIXComponentBase.java:1192)
    oracle.adf.view.faces.component.UIXComponentBase.setRendererType(UIXComponentBase.java:332)
    oracle.adf.view.faces.component.UIXComponentBase.<init>(UIXComponentBase.java:102)
    oracle.adf.view.faces.component.UIXColumn.<init>(UIXColumn.java:159)
    oracle.adf.view.faces.component.core.data.CoreColumn.<init>(CoreColumn.java:215)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.table.SpecialColumnRenderer.<clinit>(SpecialColumnRenderer.java:17)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.<init>(TableRenderer.java:877)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:48)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:60)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    java.lang.Class.newInstance0(Class.java:350)
    java.lang.Class.newInstance(Class.java:303)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1308)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1379)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:774)
    com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
    com.sun.enterprise.web.WebModule.start(WebModule.java:292)
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1478)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)

  • Change default text in adf faces component in Webcenter Spaces

    Hi ,
    Here is the link that I found to change the default text in adf faces component. http://www.oracle.com/technetwork/developer-tools/adf/learnmore/49-skin-component-labels-169191.pdf
    Scenario is simple :
    Taskflow "ABC" is used in webcenter space through imported Library in spaces App. Taskflow "ABC"  have the pageFragment "view1" and fragment has a adf table on that page. I was trying to change the "Detach" text using below code in above provided instruction. 
    { "af_panelCollection.LABEL_DETACH_TABLE_DLG", "Any name for the Detachable Table" },
    { "af_panelCollection.LABEL_DETACH_TREE_TABLE_DLG", "Any name for the Detachable Tree Table" }
    Query/Problem : I did change in the trinidad-skins.xml of DesignWCSpaces app ... redeployed the war.. But the text didn't changed. The above steps worked fine for individual ADF application ... SO what's wrong with implementation on Webcenter Spaces ?

    Hi.
    Basically you have to do the following:
    Create an ADF JAR Library including your Skin (JS, Images, CSS Skin, Resources Bundles and trinidad-skins.xml)
    Deploy the ADF JAR Library as Shared-lib in WebLogic.
    Include in your weblogic.xml of the WebCenter Portal (Formerly Spaces) deployment via DesignWebCenterSpaces or the new extension the reference to the shared-lib.
    Restart WebCenter Portal (Spaces). When starting WebCenter Portal (Spaces) it looks inside of the Classpath for all trinidad-skins.xml files.
    Setup your custom skin for a Space and test.
    If the Skin is not selectable in the Administration Console then register your new skin downloading/updating/uploading from the MDS the generic-site-resources.xml file of the default scope GUID.
    If you still have issues then may I priorize a Blog entry explaining this .
    Regards.

  • Step by Step Deploying ADF Faces to OC4J 10.1.2

    Hi there,
    I've already read the previous topic about deploying ADF Faces to OC4J 10.1.2.
    But I'm still getting failed to deploy it.
    Some clue that I know are:
    - Using JDK 1.4.2 (not 1.5)
    - Using J2ee 2.3 (not 2.4)
    - Using ADF Runtime installer to OC4J 10.1.2
    But i've got some problem, when I'm trying to run my project using jdk 1.4.2. It gives me an error like this:
    classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Loader: system.root:0.0.0
         Code-Source: /D:/av/src/Jdev1013/jdev/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
         Configuration: <ejb> in wrappers
         Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/av/src/Jdev1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: &lt;code-source> in META-INF/boot.xml in D:\av\src\Jdev1013\j2ee\home\oc4j.jar
    Can anyone tell me how to deploy ADF Faces to 10.1.2 step by step?
    Thanx in advance :),
    Andre

    I have the same problem. My applications works fine with Jdev 10.1.3 but after deploying it on the application server I'm getting this error.
    Started
    adfmobile: jsp: init
    adfmobile: Started
    adfmobile: resources: init
    adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
    /index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: jsp:output is not a registered tag in that namespace.
    adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
    /index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: jsp:output is not a registered tag in that namespace.
    Any hints?
    Regards,
    Thomas

  • ADF Faces Components Demo - Illegal Characters error

    Hi ,
    I downloaded the ADF Faces Components Demo for version 11.1.2.3.0 from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html . I tried following instructions :ADF Faces Components Demo Install Instructions
    This is getting downloaded as rcf-dvt-demo.zip. I renamed it to rcf-dvt-demo.war.
    Then I tried to create a project from this war... and got following error :
    The project file "C:\rcf-dvt-demo.war!\Project.jpr" is not valid. The file name may contain illegal characters, it may be too long, or permissions for this file or one of it's parent directories may be restricted.
    Please help . Am i downloading from correct location and following the correct instructions.
    Thanks,
    Rajdeep

    Good Catch Timo ... Lot of thanks.
    Still I will put down the silly mistake of overlooking the wizard.
    I was doing the correct thing - "create a new application and inside this application workspace you add a new 'project from war'." But mistake was .. First step of wizard it is project name and path,, and then second step is war location... and in hurry I was giving the project name and war location in first step.
    Thanks,
    Rajdeep

  • How much memory and CPU requirement to deploy  ADF Faces application ?

    Hi All,
    Is there any formula or docs to help me to determine how much memory and CPU requirement for IAS server, to deploy ADF Faces application ?
    How much memory / CPU GHz required per 1 user ?
    We plan to develope web based ERP application using ADF Faces and ADF BC.
    Pleasssee.. give me any aclue.. I need it so badly..
    Thank you for your help,
    xtanto

    xtanto,
    there is no formular for this. Note that it is not only ADF Faces but th emodel layer in particular that adds to this requirement.
    Frank

  • Problem deploying adf app to weblogic

    I've successfully migrated a 10.1.3.4 adf application to 11.1.1.2.0 and can run it on the integrated wls. However, I can't deploy/install to my standalone wls (10.3.2) without getting the following error during deployment/installation of the .ear:
    An error occurred during activation of changes, please see log for details - (Class not found) javax.faces.webapp.ConverterELTag
    or at times i'll see a similar error message:
    An error occurred during activation of changes, please see log for details - (Class not found) javax.faces.component.UIComponent
    I've built the .ear file via jdev and I've installed the adf runtime libraries in the wls domain that I'm trying to deploy to. Also, from what I can gather, this has something to do with the jsf-api.jar, since those classes referenced above belong to that jar. I can see that library (jsf(1.2,1.2.9.0)) is installed on the wls domain/target that I'm deploying to. Any ideas what the problem might be? Thanks.

    I'm still unsuccessful at creating the app server connection, even after choosing weblogic 9.xx as you suggested. On one of the screens of the wizard, it asks for a Target Node value. I've only set up the AdminServer 'target' in this wls domain, so that's the value I used as the Target Node value. When I use the Test Connection button, I see nothing that tells me the connection was successful or not. If you have any more ideas or have tried this yourself and got it to work I'd like to hear about it. But, since you said this combination was not supported, I'm not sure I'm going to go that route anyhow at this point. Thanks for the help.

  • Problem using ADF Faces Runtime 11 Library

    Hi All,
    I am trying to use tr:Command link to open a dialogue.
    When i run my application including only the JSP Runtime, JSF 2.0, JSTL 1.2 and Trinidad Runtime 11 Libraries my application seems to work fine and a popup is opened.
    However when i include the ADF Faces Runtime 11 library the popup is opened in the same window as a web page.
    The same problem is also encountered when using tr:table with ADF Faces Runtime 11 library.
    The height of the tr:table changes dynamically with the number of rows displayed but when i include ADF Faces Runtime 11 library a fixed height is displayed for the table.
    I need to include the ADF Faces Runtime 11 library for fetching data from application module.
    Can anyone help me out or explain why this happens.
    I am using Jdeveloper 11G.

    Hi John,
    I am actually migrating a project from JDeveloper 10G to Jdeveloper 11G. As u suggested i have removed the ADF Faces Runtime Library from my classpath and included the ADF Model library. When i run my application i am getting the following exceptions.
    [Running application WebApproval42-11g on Server Instance IntegratedWebLogicServer...]
    [05:22:41 PM] Web Module WebApprovalModelWebApp.war recognized in project WebApprovalModel.jpr
    [05:22:41 PM] Web Module WebApprovalViewWebApp.war recognized in project WebApprovalView.jpr
    [05:22:41 PM] ---- Deployment started. ----
    [05:22:41 PM] Target platform is (Weblogic 10.3).
    [05:22:41 PM] Retrieving existing application information
    [05:22:41 PM] Running dependency analysis...
    [05:22:41 PM] Deploying 3 profiles...
    [05:22:41 PM] Wrote Web Application Module to C:\Users\roshan.lobo\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\WebApproval42-11g\WebApprovalViewWebApp.war
    [05:22:41 PM] Wrote Web Application Module to C:\Users\roshan.lobo\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\WebApproval42-11g\WebApprovalModelWebApp.war
    [05:22:42 PM] Wrote Enterprise Application Module to C:\Users\roshan.lobo\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\WebApproval42-11g
    [05:22:42 PM] Deploying Application...
    [05:22:50 PM] Application Deployed Successfully.
    [05:22:50 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [05:22:50 PM] http://192.168.1.84:7101/WebApproval42-11g-WebApprovalView-context-root
    [05:22:50 PM] http://192.168.1.84:7101/WebApproval42-11g-WebApprovalModel-context-root
    [05:22:50 PM] Elapsed time for deployment: 9 seconds
    [05:22:50 PM] ---- Deployment finished. ----
    Run startup time: 9017 ms.
    [Application WebApproval42-11g deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/WebApproval42-11g-WebApprovalView-context-root/faces/index.jspx
    <Oct 4, 2011 5:22:51 PM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@23231866[app:WebApproval42-11g module:WebApproval42-11g-WebApprovalView-context-root path:/WebApproval42-11g-WebApprovalView-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@75795c[
    GET /WebApproval42-11g-WebApprovalView-context-root/faces/index.jspx HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: username=; role=; rolepwd=; datasource=; appName=; terminal=
    ]] Root cause of ServletException.
    java.lang.IllegalArgumentException: null source
         at java.util.EventObject.<init>(EventObject.java:38)
         at javax.faces.event.SystemEvent.<init>(SystemEvent.java:71)
         at javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:73)
         at javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:73)
         at com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:265)
         Truncated. see log file for complete stacktrace
    >
    <Oct 4, 2011 5:22:51 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Oct 4, 2011 5:22:51 PM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Oct 4, 2011 5:22:51 PM IST SERVER = DefaultServer MESSAGE = [ServletContext@23231866[app:WebApproval42-11g module:WebApproval42-11g-WebApprovalView-context-root path:/WebApproval42-11g-WebApprovalView-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@75795c[
    GET /WebApproval42-11g-WebApprovalView-context-root/faces/index.jspx HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: username=; role=; rolepwd=; datasource=; appName=; terminal=
    ]] Root cause of ServletException.
    java.lang.IllegalArgumentException: null source
         at java.util.EventObject.<init>(EventObject.java:38)
         at javax.faces.event.SystemEvent.<init>(SystemEvent.java:71)
         at javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:73)
         at javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:73)
         at com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:265)
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:251)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         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 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: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)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = Aptbngdst189 TXID = CONTEXTID = 9948ba59687be1d8:18e4db26:132ceba77f1:-8000-0000000000000123 TIMESTAMP = 1317729171443
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    I am not able to figure out as to what is acusing this exception.
    Can u please help me out.
    Note: The application works fine when i include the ADF Face Runtime library but i have the look and feel and popup issues as mentioned earlier.

  • ADF Faces Tutorial Demo Application to JBoss 4.0.4 GA (JDeveloper 10.3.1.0)

    Hello everybody,
    After completing the SRDemo tutorial in OC4J I just want to see what is it doing in JBoss and as you may guess I hit some problems.
    So I am trying to deploy SRDemo tutorial to the JBoss 4.0.4 GA.
    After some small fights, I managed to deploy to JBoss without any exception.
    At the begining I have to fight subjects like
    - First Jboss complained about not able to find SRPublicFacade at JNDI tree, after adapting JNDI tree to the EJB3 standards (because JBoss place the Session Bean to the JNDI tree with '/local' added on it), that is solved, so web.xml looks like
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/SRPublicFacade/local</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>oracle.srdemo.datamodel.SRPublicFacadeLocal</local>
    <local-home>org.jboss.ejb3.test.servlet.Session30LocalHome</local-home>
    <ejb-link>SRPublicFacade</ejb-link>
    </ejb-local-ref>
    -Then JBoss start complaining that web.xml is missing the <local-home> entry, I figure out for EJB3 we have to use this dummy home 'org.jboss.ejb3.test.servlet.Session30LocalHome'
    and this in jboss-web.xml
    ejb-local-ref>
    <ejb-ref-name>ejb/local/SRPublicFacade/local</ejb-ref-name>
    <local-jndi-name>Session30LocalHome</local-jndi-name>
    </ejb-local-ref>
    After these changes and some small things like security and pattern url problems application started without any expection.
    But that is not the end of the story, after I called the SRList.jspx page, I am getting this error messages without any exception trace or anything like that, they are just there.
    WARNUNG: JBO-25221: Die Methode RPublicFacadeLocal.dataProvider.findUserByEMail() wird nicht unterstützt. (it basicly says findUserByEMail method is not supported)
    Anybody has an idea about that, I could not find anything on the net about it, it is looking like Datacontrol binding is not able to find the methods on the Session Bean, which in my opinion happening because of some EJB 3 features.
    Another interesting thing, when I say JDeveloper to deploy ADF Runtime it is copying a datatags.ear, which has a reference to oracle.jbo.server.EMDServlet inside of the web.xml and the funny part inside of the ear(actually inside of the war file contained inside of ear) there is the classes directory and necessary package structure but directory server is empty, what is the use of this datatags.ear and is anybody has a version containing EMDServlet
    Thx in advance
    here is the all problem aread
    12:17:51,735 DEBUG [LifecycleImpl] Skipping rest of execute() because of a reload
    12:17:51,735 DEBUG [LifecycleImpl] render(com.sun.faces.context.FacesContextImpl@1172c5)
    12:17:51,735 ERROR [STDERR] 30.11.2006 12:17:51 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNUNG: JBO-25221: Die Methode SRPublicFacadeLocal.dataProvider.findUserByEMail() wird nicht unterst³tzt.
    12:17:51,735 DEBUG [FacesContextImpl] Adding Message[sourceId=<<NONE>>,summary=JBO-25221: Die Methode SRPublicFacadeLoca
    l.dataProvider.findUserByEMail() wird nicht unterst³tzt.)
    12:17:51,766 ERROR [STDERR] 30.11.2006 12:17:51 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNUNG: JBO-25221: Die Methode SRPublicFacadeLocal.dataProvider.findServiceRequests() wird nicht unterst³tzt.
    12:17:51,766 DEBUG [FacesContextImpl] Adding Message[sourceId=<<NONE>>,summary=JBO-25221: Die Methode SRPublicFacadeLoca
    l.dataProvider.findServiceRequests() wird nicht unterst³tzt.)
    12:17:51,797 DEBUG [RenderResponsePhase] Entering RenderResponsePhase
    12:17:51,797 DEBUG [RenderResponsePhase] About to render view /app/SRList.jspx

    After little bit more digging and increasing the logging level I found this in the log
    FEIN: [51] Could not find method:findServiceRequests in org.jnp.interfaces.NamingContext - org.jnp.interfaces.NamingContext.findServiceRequests(java.lang.Integer, java.lang.String)
    ADF or BC4J looking the method name inside of the jndi tree??????????
    and the full exception trace
    FEIN: [54] oracle.jbo.InvalidOperException: JBO-25221: Die Methode SRPublicFacadeLocal.dataProvider.findServiceRequests(
    ) wird nicht unterst³tzt.
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:442)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
    at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:248)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
    at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:318)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.j
    ava:160)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:5
    42)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1421)
    at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1404)
    at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2642)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2487)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
    at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:33)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:94)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:231)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:200)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:122)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
    :664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Unknown Source)
    14:27:02,485 ERROR [STDERR] 30.11.2006 14:27:02 oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FEIN: [55] Exception during implicit execution of method bound to iteratorBinding:findServiceRequestsIter
    14:27:02,516 ERROR [STDERR] 30.11.2006 14:27:02 oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FEIN: [56] *** IGNORING! following exception in JUMethodIteratorDef.initSourceRSI()
    14:27:02,516 ERROR [STDERR] 30.11.2006 14:27:02 oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FEIN: [57] oracle.jbo.InvalidOperException: JBO-25221: Die Methode SRPublicFacadeLocal.dataProvider.findServiceRequests(
    ) wird nicht unterst³tzt.
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:442)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
    at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:248)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
    at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:318)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.j
    ava:160)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:5
    42)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1421)
    at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1404)
    at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2642)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2487)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
    at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:33)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:94)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:231)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:200)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:122)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
    :664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Unknown Source)

  • Adf - Poll component demo

    Hi,
    I tested the poll component demo of ADF EA19 example and got an error when using Internet Explorer 6 and clicking the button 'Using openWindow() API in ADF Faces Javascript library'. The debug Mode is started with the runtime exception: line 5135, Acess denied, Commonea19.js. When testing the same with Firefox no dialog pops up after the first use of this button.
    I run the application with Tomcat 4.1.31.
    Any suggestions? Maybe I configured something wrong?
    Thanks, Alex

    The af:poll component has a timer listener. You can access the ADF binding container from the backing bean in your timer listener handler method to execute ADF action bindings or invoke methods on your ADF BC component's client interface.

  • ADF Faces Component Missing

    I follow the instructions found here:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adfjsf/how-to-adf-faces-10gjdev.htm?_template=/ocom/technology/content/print
    When I get to the section:
    Creating a simple ADF Faces application to test your configuration
    My component pallet is missing the following item:
    "JSF Core".
    What do I need to do to install this component?
    Thanks.

    I tried to download and follow the instructions for the early access release, and test the configuration of the project I built off of the .war file within jdeveloper but found that the .zip files you have to download from Sun are empty. I thought I would look here to see if anyone else had run into this problem. Check to see if the jsf-api.jar from the jsf-1_1.zip has anything in it.
    Scott

  • Deploying adf faces

    Is it possible to deploy an EAR containing multiple web modules without having to include the adf-faces-implxx.jar, standard.jar and jsf-impl.jar? Especially with multiple WARs, because those libraries take up 4MB.
    I tried adding all of the war files to the OC4J "applib" directory, but it didn't seem to load them correctly. During development, those files are located in the /WEB-INF/lib directory.
    Any hints or suggestions would be appreciated. Thanks.

    I have a similar problem and I've been crafting my EAR file to a minimum size and after deploying the application I've been copying the necessary large static JAR files into the appropriate folders on the server.
    This is hardly a "great" solution but I found it necessary because my otherwise 30MB EAR file wouldn't deploy using OEM from my remote location.
    I've also started to FTP the EAR file to the server and use the dcmctl deployapplication utility rather than than OEM.
    Mark

  • ER - Problem with ADF Faces filter when running ADF Faces within a portlet

    I am attempting to get ADF Faces to run within Oracle Portal, i.e. within a portlet using the JPDK.
    This, I am sure you are about to tell me, is not something that is fully supported, as yet.
    However, I have been successful in getting MyFaces to run within a portlet, by customizing the form tag.
    MyFaces, it seems, keeps track of the current viewid by storing it in the session, then uses this within the viewhandler and navigationhandler to determine the next view to load, based on the faces-config.xml navigation entries.
    By customizing the form tag it is then possible to retrieve this viewid from the faces context and outputting it in the form's action parameter.
    It is also possible, with a few more customizations, to run JSF RI within a portlet, i.e. by adding a custom viewhandler and loading a session variable with the current viewid from the faces context, then retrieving the viewid and outputting it as the action string in the customized form tag .
    Unfortunately there does not appear to be any way of getting ADF Faces (EA19 version) to run as a portlet, with either the RI or with MyFaces.
    I have configured a basic .jspx document in the <showPage> tags of the provider.xml file.
    This uses only the form tag and a few input tags and works when executed directly within my portlet project in JDeveloper (http://localhost:8988/TestJSFAppContext/faces/htdocs/facesportlet/index.jspx) using a redirectfilter (*.jspx htdocs -> /faces/htdocs).
    It is not possible to run ADF Faces with RI as a portlet since customization of the ADF Faces ViewHandler appears not to be supported.
    When attempting to run this with MyFaces as a portlet, however, I get the following message:
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl verifyFilterIsInstalled
    WARNING: The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    I am having difficulty in understanding as to why this is happening but am guessing it must be something to do with either redirect URLs or due to the .jspx files being under /htdocs, i.e. the ADF Faces renderkit is checking that the ADF Faces filter is configured but the check fails since the filter does not execute.
    I have configured the filter in web.xml, as detailed in the documentation:
      <filter>
        <filter-name>adfFaces</filter-name>
        <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>adfFaces</filter-name>
        <servlet-name>ADF Faces Servlet</servlet-name>
      </filter-mapping>
    <servlet>
        <servlet-name>ADF Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>ADF Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>and have modified the provider.xml file as follows:-
          <renderer class="oracle.portal.provider.v2.render.RenderManager">
             <renderContainer>true</renderContainer>
             <renderCustomize>true</renderCustomize>
             <autoRedirect>true</autoRedirect>
             <contentType>text/html</contentType>
      <showPage>/faces/htdocs/facesportlet/index.jspx</showPage>        
             <editPage>/htdocs/facesportlet/FacesportletEditPage.jsp</editPage>
             <editDefaultsPage>/htdocs/facesportlet/FacesportletEditDefaultsPage.jsp</editDefaultsPage>
          </renderer>with the following tags also set:
       <session>true</session>
       <passAllUrlParams>true</passAllUrlParams>In order to ensure that the session stays alive so that the views are retrieved.
    As I say, the page loads OK when run directly within the JPDK project within JDeveloper, with a redirect filter (*.jspx -> /faces/*.jspx) but not when run from within Oracle Portal.
    In fact I have found that this filter is very sensitive, i.e. ADF Faces will not run in any project unless the configuration is exactly as above.
    It seems that the MyFaces team have got around the problem of maintaining session state with redirections but that ADF Faces needs the page URL that is passed in to the filter to be consistent.
    Is there some way around this, i.e. some kind of customization that I can implement to get the filter working?
    Thnks

    I have found a way to go round the problem.
    I use the servlet 2.4/jsp 2.0 route and then
    change the web.xml header to the servlet 2.3/jsp 1.2
    format. Everything then works fine after this!
    Please fix this for production.
    Behnam

  • Problem with adf-faces

    I have installed the adf-faces EA13 in JDeveloper 10.1.3 preview and have problems
    using it.
    When I create a page with the servlet2.3/jsp1.2
    option the adf-faces libraries do not show up.
    They show up when I use the servlet2.4/jsp2.0 option
    but I get tons of errors when I try to run a test page.
    Here are the errors:
    Please help.
    Behnam
    Project: E:\develop\JSFStockWS\JSFStockWS.jpr
    Error(2,9): Element 'web-app' used but not declared.
    Error(2,63): Attribute 'xmlns:xsi' used but not declared.
    Error(2,164): Attribute 'xsi:schemaLocation' used but not declared.
    Error(2,178): Attribute 'version' used but not declared.
    Error(2,218): Attribute 'xmlns' used but not declared.
    Error(2,219): Can not build schema 'http://java.sun.com/xml/ns/j2ee' located at 'http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd'
    and many more lines

    I have found a way to go round the problem.
    I use the servlet 2.4/jsp 2.0 route and then
    change the web.xml header to the servlet 2.3/jsp 1.2
    format. Everything then works fine after this!
    Please fix this for production.
    Behnam

Maybe you are looking for

  • ITunes no longer connecting to internet

    For the past two days, iTunes has been unable to connect to the internet. Everything else works on my computer (browsers, etc.), but my podcasts won't download and I cannot access the iTunes store. The error messages sometimes read "the network conne

  • Purchase Order Delivery Date Vs. Actual delivery date

    I am trying to run a query with PO # and date with Delivery date against MIGO Delivery date. I am missing something here. When I join the tables EKPO,EKKO, EKBE. The results are getting duplicated. Could anyone help me ? In the selection field I choo

  • Problem with PR1.1 Update

    I've just download the update. After the download had completed my N900 rebooted and I get this message : Installing software update. Please do not interrupt. After 1min it reboots again, and I get the same screen again. I can't connect to my pc to b

  • Where can I go to download an older version of Firefox?

    I am using OS X 10.5.8 on a PowerPC G5, but when I attempt to download Firefox from the Mozilla site, I get an error message that says my operating system is not compatible.

  • Logic Express 7.2

    How can I have either Garage Band or LE make my notations on scores while using a real instrument being played through an audio interface? Do I need additional software or hardware? I am new to imac, LE and GB. My experience factor is low, but I cont