ADF Faces - MenuModel Demo?
Hi,
Is there a menu demo for EA12?
Thanks
Thanks,
I was hoping to see a drop-down menu demo, but
apparently ADF does not have it yet.
:)
Similar Messages
-
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
PeterOkay, 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 -
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,
RajdeepGood 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 -
ADF faces client Demo application not able to download from oracle site
Hi
Why http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html link from Oracle site shows blank area.
I want to download source code for ADF Faces Rich Client Components Demo application.
Can someone please provide direct URL for source code not war file.
Thanks
Vikas MLooks like the download is temporary down. Worked yesterday.
Timo -
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.jspxAfter 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 Faces EA15 Demo will not run
Here is the error that I get (I am using Tomcat 5.0.28):
javax.servlet.ServletException: Cannot find FacesContext
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.index_jspx._jspService(index_jspx.java:96)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.jsp.JspException: Cannot find FacesContext
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
org.apache.jsp.index_jspx._jspx_meth_f_view_0(index_jspx.java:111)
org.apache.jsp.index_jspx._jspService(index_jspx.java:89)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)javax.servlet.ServletException: Cannot find FacesContext
What is servlet-mapping for the Faces Servlet in web.xml?
If the servlet-mapping is:
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>Invoke the JSF page with the URL
http://<host>:<port>/<context-root>/faces/jsfFile.jsp
The Faces Servlet gets called.
The Faces Servlet maps to the JSF page.
If the JSF page is called with the URL
http://<host>:<port>/<context-root>/jsfFile.sjp
the error
javax.servlet.ServletException: Cannot find FacesContext
gets generated.
To call the JSF page with the URL
http://<host>:<port>/<context-root>/jsfFile.jsp
set the servlet mapping to
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping> -
How to see the files of adf faces demo
Hi ADF Experts,
I am using Jdeveloper 11.1.1.7.0 version. I downloaded the rcf-dvt-demo.war for this jdev version.
Its running fine in weblogic. I just wanted to check hjow can we see the BackingBean and other files of this application in Jdeveloper.
Thanks
AnimeshHi Animesh,
Please follow the instructions given under "Using the integrated WebLogic Server in Oracle JDeveloper 11g" section in the below url to view the complete code package -
"ADF Faces Components Demo Install Instructions</title><meta name="Title" content="ADF Faces Comp…"
Best Regards,
Ankit Gupta -
http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx
Any chance this can be revived today?As Timo suggested, you could have a local setup in your own box by downloading the necessary files from
http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html
Check the following page for the instructions on hoe to deploy & run:
http://www.oracle.com/technetwork/developer-tools/adf/documentation/adf-faces-rc-demo-083799.html
Thanks,
Navaneeth -
Hi,
Does ADF DVT bar graph support dragging its data?
Use Case:
I would show a user a bar chart displaying his current values for certain products.
User can choose to drag the value up and down to increase/decrease its current value.
Is this possible?
It is some sort of dynamically changing the bar chart value on the fly using the DVT UI..
JDEV 11G PS3Shay Shmeltzer wrote:
Yes you can - see the code in the ADF Faces components demo:
http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/graph/dragAndDrop.jspx
Code:
http://www.oracle.com/technetwork/developer-tools/adf/documentation/adf-faces-rc-demo-083799.html
Hi Shay, thanks for the info...
I tried to read at the documentation, I only see drag and drop functionality for the Scatter/Bubble/Gannt Chart from the Web User Interface Guide.
How about the bar chart and line chart? Does this support this also?
I mean, you can drag the value of the bar chart up and down and not dragging and dropping it on the other part of the graph which is done by the scatter or bubble graph.
Of course, I would add some logic to save this data in my managed bean. -
Where can i find a demo of adf faces 11 preview??
Where can i find a demo of adf faces 11 preview??
Just like the one in adf-faces-10_1_3_0_4.zip.
I think it's the best tutorial to study adf faces 11!
Anyone can help? Thank you!http://www.oracle.com/technology/products/jdev/11/index.html
Here there are some on line demos and also if you click on the Sample Application you can download and try out the sample (5 minutes).
Regards
Grant Ronald -
[SOLVED] adf faces demo doesn't work with jdev 10.3.1.2
Has anybody tried to run the ‘Introduction to adf faces/trinidad using jdev’ demo at
http://www.oracle.com/technology/obe/obe1013jdev/10131/trinidad/adf_faces_trinidad.htm
with jdev 10.1.3.2 studio?
I am trying it and I am getting this error
500 Internal Server Error
java.lang.NoSuchMethodError: oracle.adf.view.faces.context.AdfFacesContextFactory.createContext(Loracle/adf/view/faces/webapp/wrapper/ContextWrapper;Loracle/adf/view/faces/webapp/wrapper/RequestWrapper;)Loracle/adf/view/faces/context/AdfFacesContext;
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.startFilter(AdfFacesFilterHelperImpl.java:112)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:111)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Message was edited by:
mauro avonWe don't automatically migrate the adf-faces-api.jar since in a 10.1.3.x ADF Faces application this JAR is not part of your project's WEB-INF/lib directory.
The issue must be specific to migrating this Apache Trinidad example. -
Can't get adf-faces-demo.war working on WLS 8.1 SP5
Did a search & found some others facing the same difficulties as I am, also followed some recommendations of using an exploded war instead of archive war, and also adding some JARs from Tomcat 5.5.* onto my classpath, but the demo still refuses to work on WLS 8.1 SP5.
Using the hyperlink http://127.0.0.1:7001/adf-faces-demo, I kept getting a blank page. And on my WLS console, I'm seeing these:
Mar 15, 2006 6:37:23 PM oracle.adfinternal.view.faces.webapp.ConfigParser parseConfigFile
INFO: ADF Faces is running in debug mode. Do not use in a production environment. See:/WEB-INF/adf-f
aces-config.xml
Could somebody help me with this?
Or WLS 8.1 totally doesn't work with JSF?Dear Prasanth,
You're right; so what I did next was to rename my .jspx to .jsp, and this time round I hit this exception while accessing the index.jsp page, any idea what other stuffs I did to do?
Thanks for your help!
javax.servlet.jsp.JspException: Cannot find FacesContext
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105) -
Where is adf-faces-demo.war?
Hi everyone,
Does anyone know where I can find and download adf-faces-demo.war that was mentioned in the following page
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.jsf_apps%7Cadfcreate%7Caf_ademowar%7Ehtml/
I read the Jdev documentation and still don't get the idea how af:progressIndicator work with af:poll and my long running process. I have a button on a jsp that runs a long process via calling of stored procedure. As this DB process usually takes long time to complete, the middle tier will be time-out before it. How can I use progressIndicator and poll to keep user notified and keep the session active ?Hi Bonnie,
You can download it from this page:
http://www.oracle.com/technology/products/jdev/howtos/10g/adfjsf/how-to-adf-faces-10gjdev.htm
Under the heading 'Creating an "ADF Faces " Library and registering the ADF Faces tag libraries', point 1) Download the adf-faces-ea10.zip from here. Unzip this file to a separate directory such as d:\adffaces. This directory will contain the subdirectories docs, lib, and src, and the adf-faces-demo.zip. The lib directory will contain the required jar files and tld (tag library descriptors) files for JDeveloper to work with ADF Faces.
Hope this help.
Regards. -
I have created the adf faces rich client demo application in
jdeveloper 11g (11111.0) as explained in the docs .But, I am getting error at the following line in index.jspx
<af:pageTemplate id="tmplt" viewId="/templates/pageTemplateDefs/demoIndexTemplate.jspx">
"JSF page template path /templates/pageTemplateDefs/demoIndexTemplate.jspx not found"Hi Frank,
Thanks for your reponse. I'm actually pointing my browser to http://localhost/adffacesdemo/faces/index.jsp. But the Request URI is showing in error message as /adffacesdemo/index.jsp.
I'm pretty new to ADF, Am I missing something to set in the project properties.
Thank you
Praveen -
Adf-faces-demo.war for 10g - where can I download this demo package?
based on Oracle JDeveloper 10g (10.1.3) Documentation this package can be downloaded, but it's not there any more. Anyone know where I can download a copy?
About the ADF Faces Demo Files The ADF Faces component and feature demonstration files are available in adf-faces-demo.war, which you can download from the Oracle Technology Network at
http://www.oracle.com/technology/tech/java/jsf.html
or,
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/index.html
ThanksThe 10.1.3 version of the file is now linked from
http://www.oracle.com/technetwork/testcontent/adffaces1013-096465.html
(under the download section of that page)
Maybe you are looking for
-
How can i create a table which name is dynamic and not static?
i have a question to ask. normaly if i want to create a table, i must provid a name for the table. for example, create table tt (id number(5)). But now in my application, I need to control the table name with params through function, how can i do? th
-
Creating a New Item In Seeded page
Hi, I am having requirement to create a new field in seeded page.So Please can anyone help me in creating it. My Requirement is-----> Creating a new field to be displayed In CONFORMATION PAGE of "Internet Expense Audit Manager Responsibility". The Na
-
What is the scenario to get TRANCODE 25 ?
What is the scenario to get TRANCODE 25? Thanks in advance.
-
Using a thread to write a file from a servlet
Does anyone have some code that can help out my problem: I am writing a file from a servlet, but the servlet completes and loads another page prior to the file writing to disk being completed. I have tried using threads to stop the serlvet until the
-
I know this is was pretty much slopped together as I am learning as i am going and dont really have the time to go back and recreate everything so that it looks wonderfly coded... I have a content box and a side bar that both expand to fit content.