ADF Faces Tutorial problem
Hello, I am trying to get into ADF Faces and therefore I am trying to do the SRDemo.
Since I dont hace Oracle, I am trying it in MySQL 5.0. I created the squema with success.
When I try to do the TopLink maps from DB tables, JDeveloper "hangs" in the "Java Object Generation" progress dialog. At the bottom of JDeveloper, it reads TopLink Mappings project. I even tried to create a mapping at a time and the same thing happens.
Can somebody help me please?
nene
Hi,
I found 3 bug entries describing a similar issue. All three bugs are fixed in 10.1.3 production. There is a specific TopLink help list on OTN, that I sugget you try this question
TopLink/JPA
Frank
Similar Messages
-
Adf faces tutorial - Toplink model is out of sync with the database.
When running the adf faces tutorial I encountered some problems. The starter workspace uses toplink and the model should be based on the OE schema database objects. However the Customers class is different from the database table, especially the custAddress (but also the phoneNumbers).
Thus when running the application, the creation and update of a customer (with data for the address) raises the following error:
javax.faces.FacesException: #{ManageCustomers.doUpdate}: javax.faces.el.EvaluationException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Developer Preview 3 (10.1.3.0 ) (Build 041116)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-00932: inconsistent datatypes: expected OE.CUST_ADDRESS_TYP got CHAR
Error Code: 932
Besides, the application is not able to display the address properly (due to the same problem) but shows something like: oracle.sql.STRUCT@43e and it cannot display the order_date (timestamp with timezone) correct.
I get the impression that the toplink model is based on an old or modified OE schema and has not been updated. I like the tutorial, but I would appreciate it when it is correct and does not contain such flaws as descibed. Please update the workspace.Ship missing arch files to the standby arch dest manually and initiate recovery of the standby db.No need to regenerate the controlfiles. You might want to investigate the reason why they were not sent to the standby db.
-
Intro ADF Faces Tutorial Issue: ADF Table Component and ADF Binding
Hello, friends! I've hit a snag with ADF Faces Tutorial: ADF Table Component and ADF Binding: Step 7
http://www.oracle.com/technology/obe/obe11jdev/11/rich_client/adfrichclient.htm#t11
It was suggested by Steve Muench that I most likely have a syntax error and that I should post my problem here. I want to you thank you in advance for you help!
When I execute the Run command on the main.jspx page, the page completes its load with the "fetching" message hanging over the table component. I get two sets of messages in my OC4J log that I cannot easily decipher, being a JDev/OC4J newbie.
First, the OC4J startup messages:
<blockquote>
[Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Documents and Settings\david ctr wilson-bur\My Documents\My Projects\JDev Projects\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
C:\jdev11g\jdk\bin\javaw.exe -client -classpath C:\jdev11g\j2ee\home\oc4j.jar;C:\jdev11g\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\david ctr wilson-bur\My Documents\My Projects\JDev Projects\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\david ctr wilson-bur\My Documents\My Projects\JDev Projects\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
Feb 21, 2008 9:10:20 AM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Feb 21, 2008 9:10:21 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
08/02/21 09:10:28 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate DocumentChangeNotifier in use!
08/02/21 09:10:28 JMS server will listen on port 9227.
08/02/21 09:10:29 oracle.j2ee.jms.oc4j.JMSServer startup complete
Feb 21, 2008 9:10:29 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:30 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:35 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:36 AM oracle.j2ee.util.AnnotatedLogger logWithThrowable
WARNING: J2EE JNDI-00002
Feb 21, 2008 9:10:36 AM oracle.j2ee.util.AnnotatedLogger log
WARNING: No javax.jms.ConnectionFactory found at null
Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:37 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 21, 2008 9:10:39 AM oracle.j2ee.jmsrouter.util.JmsRouterMessages logException
WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destination, {0}, does not exist
Ready message received from Oc4jNotifier.
Embedded OC4J Server startup time: 35016 ms.
</blockquote>
Next, message for the Run command:
<blockquote>
Target URL -- http://127.0.0.1:8988/Tutorial-adffacesrc-context-root/faces/main.jspx
Feb 21, 2008 9:10:55 AM com.evermind.server.http.HttpMessages warningHeaderModificationIsRejected
WARNING: Header modification request was rejected. Because the setter method was called from included servlet. It is restricted by SRV.8.3 of Servlet Specification 2.4. : current-workspace-app
Feb 21, 2008 9:10:55 AM ComponentMetadataHandler _error
WARNING: Error parsing component tag in file: /Tutorial-adffacesrc-context-root/simple.jspx/tag:xmlContent/id:null
org.xml.sax.SAXParseException: <Line 3, Column 44>: XML-20100: (Fatal Error) Expected 'EOF'.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:316)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler._parseContent(ComponentMetadataHandler.java:276)
at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler.handleContent(ComponentMetadataHandler.java:164)
at oracle.adfinternal.view.faces.taglib.region.XmlContentTag.doEndTag(XmlContentTag.java:83)
at simplejspx._ctru6_helper_3(_simple_jspx.java:375)
at simplejspx._ctru0_helper_1(_simple_jspx.java:105)
at simplejspx._jspService(_simple_jspx.java:59)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:488)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:585)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:131)
at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:37)
at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:80)
at oracle.oc4j.security.OC4JPrivilegedAction.run(OC4JPrivilegedAction.java:41)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.oc4j.security.OC4JSecurity.internalDoPrivileged(OC4JSecurity.java:374)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:389)
at com.evermind.server.http.OC4JRequestDispatcher.executeAction(OC4JRequestDispatcher.java:161)
at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:84)
at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:486)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:367)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:209)
at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:75)
at mainjspx._ctru4_helper_5(_main_jspx.java:367)
at mainjspx._ctru3_helper_4(_main_jspx.java:307)
at mainjspx._ctru1_helper_2(_main_jspx.java:232)
at mainjspx._ctru0_helper_1(_main_jspx.java:173)
at mainjspx._jspService(_main_jspx.java:105)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:488)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:585)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:251)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:168)
at oracle.oc4j.security.OC4JPrivilegedAction.run(OC4JPrivilegedAction.java:41)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.oc4j.security.OC4JSecurity.internalDoPrivileged(OC4JSecurity.java:374)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:389)
at com.evermind.server.http.OC4JRequestDispatcher.executeAction(OC4JRequestDispatcher.java:161)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:172)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
</blockquote>
Please let me know if I need to provide any other relevant information.
Thanks!
DavidDear All,
I am fairly new to ADF development too. While following the Tutorial, I selected the "simple" page template. and check the "Create as XML Document (*.jspx). then click "OK", I got a similar SAXParseException exception, however the main.jspx seemed showed up correctly in the "Design" window. Any idea? Thanks a lot.
Dachywan
Customizations are disabled for the node "/C:/OTN/JDev11pv3/adfp/lib/oracle.extapp.view.jar!/WEB-INF/adfc-config.xml" because it is not part of the project contentset.
Mar 10, 2008 5:41:50 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing JavaServer Faces implementation (1_2_04-p02) for context ''
Mar 10, 2008 5:41:51 PM com.sun.faces.spi.InjectionProviderFactory createInstance
WARNING: JSF1033: Resource injection is DISABLED.
Customizations are disabled for the node "/C:/OTN/JDev11pv3/adfp/lib/oracle.extapp.view.jar!/WEB-INF/adfc-config.xml" because it is not part of the project contentset.
Mar 10, 2008 5:41:54 PM ComponentMetadataHandler _error
WARNING: Error parsing component tag in file: null/tag:xmlContent/id:dte_171098d
org.xml.sax.SAXParseException: <Line 9, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:316)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler._parseContent(ComponentMetadataHandler.java:276)
at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler.handleContent(ComponentMetadataHandler.java:164)
at oracle.adfinternal.view.faces.taglib.region.XmlContentTag.doEndTag(XmlContentTag.java:83)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer._doEndTag(DesignTimeJspActionRenderer.java:1604)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.doEndTag(DesignTimeJspActionRenderer.java:1718)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2432)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
at oracle.jdevimpl.webapp.jsp.renderers.JSPCoreSyntaxRenderer.render(JSPCoreSyntaxRenderer.java:191)
at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet._renderSource(DesignTimeJspServlet.java:238)
at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.serviceJsp(DesignTimeJspServlet.java:115)
at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.service(DesignTimeJspServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:251)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:271)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.include(DesignTimeRequestDispatcher.java:81)
at oracle.jdevimpl.webapp.design.support.jsp.DesignTimePageContext.include(DesignTimePageContext.java:465)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:367)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:209)
at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:75)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer._doEndTag(DesignTimeJspActionRenderer.java:1604)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.doEndTag(DesignTimeJspActionRenderer.java:1718)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2432)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2572)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderParentElements(DesignTimeJspActionRenderer.java:967)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderCustomParentNode(FacesActionRenderer.java:1911)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderAsInclude(FacesActionRenderer.java:1778)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderInclude(DesignTimeJspActionRenderer.java:1933)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:233)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
at oracle.adfdtinternal.view.rich.renderer.ADFFacesActionRenderer.renderChildren(ADFFacesActionRenderer.java:100)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
at oracle.adfdtinternal.view.rich.renderer.ADFFacesActionRenderer.renderChildren(ADFFacesActionRenderer.java:100)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
at oracle.jdevimpl.webapp.jsp.renderers.JSPCoreSyntaxRenderer.render(JSPCoreSyntaxRenderer.java:191)
at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet._renderSource(DesignTimeJspServlet.java:238)
at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.serviceJsp(DesignTimeJspServlet.java:115)
at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.service(DesignTimeJspServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:251)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:271)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.forward(DesignTimeRequestDispatcher.java:75)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:251)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:519)
at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeFilterInfo.doFilter(DesignTimeFilterInfo.java:346)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:481)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:267)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._service(DesignTimeServletContainerContext.java:861)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._serviceRequest(DesignTimeServletContainerContext.java:832)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:792)
at oracle.jdevimpl.webapp.design.DesignTimeRenderWebApp.service(DesignTimeRenderWebApp.java:42)
at oracle.jdevimpl.webapp.design.DesignTimeEngine.service(DesignTimeEngine.java:200)
at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument._serviceJsp(DomDesignTimeViewDocument.java:1081)
at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.rebuildTreeImpl(DomDesignTimeViewDocument.java:217)
at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.rebuildImpl(DomDesignTimeViewDocument.java:125)
at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.rebuild(DomProxyViewDocument.java:140)
at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.handleActivated(DomProxyViewDocument.java:402)
at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.handleActivated(DomDesignTimeViewDocument.java:93)
at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.activate(DomProxyViewDocument.java:391)
at oracle.jdevimpl.webapp.editor.XmlGuiEditor._activateViewDocument(XmlGuiEditor.java:389)
at oracle.jdevimpl.webapp.editor.XmlGuiEditor.handleEnabled(XmlGuiEditor.java:368)
at oracle.jdevimpl.webapp.editor.XmlGuiEditor.setEnabled(XmlGuiEditor.java:351)
at oracle.jdevimpl.webapp.editor.XmlGuiEditor.setEnabled(XmlGuiEditor.java:333)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.enable(AbstractWebAppEditor.java:551)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor._enableIfNecessary(AbstractWebAppEditor.java:649)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.mav$_enableIfNecessary(AbstractWebAppEditor.java:80)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor$2.run(AbstractWebAppEditor.java:636)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) -
TopLink ADF Faces Tutorial - Object Generation Error
Hi,
I'm trying to work through the tutorial "Build a Web Application with ADF Faces and Oracle TopLink" (http://www.oracle.com/technology/obe/obe1013jdev/masterdetailedit_adftoplink/endtoend_toplink_adffaces.htm#t2), but I am stuck at the last step of "Creating the Data Model Using Oracle TopLink (http://www.oracle.com/technology/obe/obe1013jdev/masterdetailedit_adftoplink/endtoend_toplink_adffaces.htm#t2s2).
When I hit the Finish button of the Create Java Object from Tables wizard, I get the following error:
java.lang.NullPointerException
at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)
It appears the wizard is having a problem opening or displaying log messages?
I searched this forum and found two posts about this problem:
http://forums.oracle.com/forums/thread.jspa?messageID=1397060��
http://forums.oracle.com/forums/thread.jspa?messageID=1447954��
but no solutions or suggestions.
Hoping a JDeveloper guru can help me out.
TIA,
JimSorry - I didn't look hard enough.
Found the answer here:
Re: Business Tier: Toplink: Java Objects from Table: Object Generation error.
Would be nice if someone would update the tutorial with a step to compile the datamodel project before attempting to create the java objects.
Jim -
Developing a User Interface with ADF Faces - Tutorial - Questions
Hello everybody,
I am a forms developer and I am totally new to ADF.
I started from the tutorials : Developing Business Services with ADF BC and Developing a User Interface with ADF Faces...
Everything was easy and very clear, as far as the material covered in the tutorial is concerened.
But when I tried to modify a little bit the application, to perform a different task... disaster!!! :-)
One of the "simple" things that I tried to do -for example- is :
In the login.jspx, where we have created an ADF Parameter form (that accepts as a parameter the customer ID) and
retrieves in the next page the Orders of the specific customer.... to Display a message, such as "+Customer Does Not Exist+"
if the user types in the parameter form an not existent customer ID...
I understand that I should use a validator.... But I cannot find the list validator (from query) in the bind variables not in the ADF Parameter Form Fields....
Does anyone know?
Regards,
Maira KotsovoulouDear Grant,
CustomerID is in the UI Project, and appears as a part of an ADF Parameter Form... and I can not find key exists in the UI Validators....
CustomerID in the .entities is a bind variable in a query. select ... from customers where customer_id = :p_customer_id. Again KEYEXISTS validator is not available in the bind variables sections... Only in the attributes!!!
I understand that the "normal" behavior in a query with bind variables where there is no match is to display nothing as it does!!!
But I was just wondering, if I could even trap that before I display the empty form...? Or could I display a text in my ADF form, that says no rows... (as I can do in an ADF Table???) -
Hi.
I've a problem with ADF faces that I didn't had when I was using the JSF reference implementation. W're using Jboss as a container, but that has nothing to do with this.
Basicly, the users triggers a logoff by clicking a link that leads to the "logoff" JSF page.
This page has exactly this content, and nothing more:
<%-- Tag libraries --%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/tlds/refdataportal.tld" prefix="r" %>
<%
org.mycompany.Util util = new org.mycompany.Util();
util.logoff(request);
response.sendRedirect("Goodbye.jsp");
// code DOES reach this point
%>
The logoff function does this:
// invalidate faces
FacesBean.releaseContext();
// invalidate the current session for good measure
HttpSession session = request.getSession(false);
if (session != null)
session.invalidate();
// force the old session to go to the eternal fields of session objects
request.getSession(true);
The redirect to Goodbye.jsp is needed to force a "JBOSS" logoff as well.
Goodbye.jsp is a JSP page (** not ** JSF) which a simple goodbye message.
Anyway, since using ADF I get the stacktrace shown below.
I did try to call release() on AdfFacesContext, but that didn't help.
Do note that we actually reach the line "// code DOES reach this point" shown in the logoff JSF page above... so the redirect() statement is executed.
Anybody knows how to deal with this?
Remember, it used to work perfectly fine with the reference impl.
Regards,
Falco Paul
12:33:44,580 ERROR [Engine] StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw excep
tion
java.lang.IllegalStateException
at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:382)
at com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:110)
at oracle.adfinternal.view.faces.context.AdfFacesPhaseListener._releaseContextIfNecessary(AdfFacesPhaseListener.
java:129)
at oracle.adfinternal.view.faces.context.AdfFacesPhaseListener.afterPhase(AdfFacesPhaseListener.java:60)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:356)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:325)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:190)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.abnamro.crd.admin.PortalFilter.doFilter(PortalFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)Hi!
Unfortunally your suggestion didn't work. I did however discover that the exception is only thrown if one uses ADF faces components. There is no error message if reference implementation components are used (even if using the ADF faces renderer class).
Anyway, this is what I trie:
I first did a a regular faces responseComplete() call, as I figured that could be the missing action, but again I got the same exception:
java.lang.IllegalStateException
com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:382)
com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:110)
oracle.adfinternal.view.faces.context.AdfFacesPhaseListener._releaseContextIfNecessary(AdfFacesPhaseListener.java:129)
oracle.adfinternal.view.faces.context.AdfFacesPhaseListener.afterPhase(AdfFacesPhaseListener.java:60)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:356)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:325)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:190)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
com.abnamro.crd.admin.PortalFilter.doFilter(PortalFilter.java:113)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
Then later I tried this actually calling the faces "sendRedirect" function shown below (that is: prior to calling the logoff() code), but again I got the same Oracle exception (see above).
// helper method: redirect to some URL (which may be either absolute or relative)
public synchronized static void redirect(String url)
ExternalContext external = getExternalContext();
if (external == null)
return;
try {
external.redirect(url);
catch (Exception e)
e.printStackTrace();
responseComplete();
So... unfortunally I did still not get much further...
Regards,
Falco -
ADF Faces Dialog problem.
Hi,
I am using JDeveloper IDE- 10.1.3.3.
I have a ADF Faces Dialog (launch Dialog) with a form and several input text components binded to a Backing Bean.
When Dialog is opened for the second time, the values of the text components loaded with previous values which I have enterd for the first time.
Scope of the Backing Bean is Request.
All the launch Dialogs are working in the same way.
The problem exists when I run the application from Application server(10.1.2.0).
It works fine from the JDeveloper.
How to do this ? please help!
Its very urgent.
Note: I have different application with similar launch dialog and functionality which works fine on the same Server and JDeveloper.
Thanks in advance.
SupravatSupravat,
A sample of the pertinent code from a dialog that persists values would be helpful here.
-Michael -
Hi all, I'm using ADF faces + toplink. I have developed a form that first inserts mandatory fields of a record via persistEntity function and later in same page after inserting mandatory fields of record, I want to update empty fields of record that are firstly entered via persistEntity and which are not mandatory fields ... but ... in same page mergeEntity does not work as a result couldn't update the rest of the record in database. Both persistEntity and mergeEntity is binded to same field (<constructor-name.result>) of constructor.
I have watched from logs through processing of unit of work ... there is no update expression in logs like below :
[TopLink Finer]: 2006.05.11 04:30:35.546--ServerSession(1693)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--client acquired
[TopLink Finer]: 2006.05.11 04:30:35.546--ClientSession(2557)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--acquire unit of work: 2556
[TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--begin unit of work commit
[TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--end unit of work commit
[TopLink Finer]: 2006.05.11 04:30:35.546--UnitOfWork(2556)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--release unit of work
please tell me , why mergeEntity does not update the rest of the record after successful insert via persist entity in same page!?
best regards...
--barisHi Frank, thanks for your interest to my problem :-)
I have passed this problem... I'm using session facade there is no problem in this point. I'm using ADF Faces + Toplink + Session Facades model clearly.
The problem is ; there is a database table which contains 30 fields and I want to get user input in one page so first of all I designed a page which gets input for only mandatory fields (not null) after returning successfully insert (a new record), I'm using the same record for other fields which are not mandatory. Because there is a newly created record, by using this record I want to update the rest of record. But mergeEntity method does not function well. I have controlled all of the fields in pageDef of this page. All are exists, but mergeEntity which points the same constructor method with persistEntity in pageDef does not function.
anyway, I passed this problem by means of creating new object and bindings this to mergeEntity method.
best regards...
--baris -
Hi all,
I'm using JDev. 10.1.3, ADF Faces + Toplink infrastructure to build pages in my system.
My problem can be solved easily via old jsp architecture but I don't know how to achieve by using ADF Faces.
I want to create a simple form in ADF Faces just like below;
<form name="pay_form"
action="https://www.payformstore.com/servlet/payServlet"
method="post">
<input type="hidden" name="clientId" value="ABC45"/>
<input type="hidden" name="amount" value="5.00"/>
</form>
But in ADF Faces, as you know when a form created (af:form or h:form), the included command button in form is only fired to call the method in backed bean of relevant .jspx page. All things there must be achieved are handled in backed bean so I can't use the servlet address in action in simple form
(https://www.payformstore.com/servlet/payServlet). I tried to use external context to redirect to this address/ servlet (https://www.payformstore.com/servlet/payForm) but servlet does not accept this redirection, it only accepts http post and gives the HTTP 405, method not allowed error.
So I tried to use simple html <form ..> </form> tag in my adf faces page (.jspx page) in
<f:verbatim> tag but I can't pass parameter from managed bean to input type hidden fields. (<input type=hidden name="a" value="#{payForm.parameter1}"/>) Also I have used jstl to pass parameter via <c:out ...> to input type hidden field in this simple form but it was useless.
So please tell me how to create a simple form which has a action parameter and post method with dynamically binded form fields (just like input type hidden or any other fields) in adf faces pages.
If there will be no answers I may use simple jsp pages in the end.
best regards....
--barisHi frank, I solved problem in a different way.
First of all, I have developed the required form by coding with the pure JSP + HTML.
There is no <HTML>, <BODY> tags in this new jsp file. Before calling this jsp file, I stored the required managed bean into HTTP Session as an object and in this jsp file, the hidden form fields are filled by this session object. In my ADF faces file, I have included this jsp form field with,
<f:verbatim>
<jsp:include ...>
</f:verbatim>
and there is no problem, Everything is, now, ok!
thanks for your interest.
best regards...
--baris -
Hi...
I'm new in this technology but i want to learn how to use ADF Faces components like ADF MenuTree or Page component or PanelPage to build an web application...
Please help me with url's where I can find documentation like tutorials or manuals...
Thanks a lot for your quick response
Regards
PatHome Page:
http://www.oracle.com/technology/products/jdev/index.html (reference the developer guide .pdf file - would recommend you read the overview chapters to get a good context for everything else; also contains details about panelpages, etc.)
Tutorials/Overviews:
This new page had some good overviews/tutorials for getting started - seems to be geared to Oracle Forms developers converting to Jdeveloper, but is also good for new Jdeveloper users -
http://www.oracle.com/technology/products/jdev/collateral/4gl/collateral.html#odd_10_1_3
(reference Hands-On Lessons for 10.1.3 (Production) JDeveloper)
Sample App/Tutorial based on JSF / ADF Technology Scope:
http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm
Getting Started:
http://www.oracle.com/technology/new/index.html -
ADF Faces: localization problem
Hi,
after migrating from EA17 to EA19 the localization of my ADF Faces application doesn't work properly on IE anymore. If English is included in the list of languages the application will be English no matter if German is at a higher priority.
Only when I delete English and make German the only language in my browse will the application be GermanWell, for some reason this phenomenon doesn't occur anymore. I made quite some changes to my application since, so maybe it was my mistake. Sorry.
In any case the language list I meant was the browser's language setting, both on IE and Firefox -
ADF FACES: font problems on readOnly selectOneChoice
The output text from an af:selectOneChoice with readOnly="true" is a different font than with readOnly="false" and different than af:inputText with readOnly="true".
Looking at the generated html, the output from a readOnly selectOneChoice has no class associated with it. The other text elements are given class="x4" (which I think equates to a styleClass of OraFieldText).
Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html.
This seems like a bug.
Thanks.You're right that when the selectOneChoice is in readOnly mode, its selectedItem does not have a styleClass associated with it and that setting a styleClass on the readOnly selectOneChoice does not set the styleClass on its selectedItem. This is a bug. Thanks for pointing it out.
However, you said:
"Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html."
In my tests, setting the styleClass attribute on the af:selectOneChoice tag does result in correct markup with a styleClass set on the actual HTML Select control (although, the label doesn't get the user defined styleClass, which is correct behavior). Are you seeing output that doesn't match this?
Regards,
Matt Lee
ADF Faces Team -
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 skins problems using libraries
Hi,
I have been trying to use the tutorial on the following website:
http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
This shows you how to create skins and things. The only problem is that I cannot see the view that is shown in the screenshot. I.e. I get a load of garbled gabage showing me the tags in the document instead of whats visually there.
I realise this is a problem with the library but everytime I try and set up the JSF and ADF libraries in the JSP Tag libraries of Tools->Manage Libraries I click the Execute Tags in JSP Visual Editor it lets me do it but then I click refresh on the window with sample.jspx in it and JDeveloper just dies.
The libraries I am using I have downloaded and followed the instructions on
http://www.oracle.com/technology/products/jdev/howtos/10g/jsf_howto/jsf.html
To do the JSF libraries and I have followed the same instructions for the ADF libraries. If anyone has any idea I would be glad of the help
Cheers
DanielI tried the same example and it is working fine with me. May I know the JDeveloper version you are using?
-
ADF Faces: Newbee problem with table
Hello,
I try to generate a table like in the demo app:
<af:form>
<af:table allDetailsEnabled="true" var="row"
bandingInterval = "2"
banding = "row"
value="#{projectView.currentProjects}" rows="5">
<af:column sortable="true" sortProperty="proj_name">
<f:facet name="header">
<af:outputText value="#{bundle.proj_name}"/>
</f:facet>
<af:outputText value="#{row.proj_name}"/>
</af:column>
<af:column sortable="true" sortProperty="proj_descr">
<f:facet name="header">
<af:outputText value="#{bundle.proj_descr}"/>
</f:facet>
<af:outputText value="#{row.proj_descr}"/>
</af:column>
<f:facet name="detailStamp">
<af:panelGroup type="vertical">
<af:outputText value="Name: #{row.proj_name}"/>
<af:outputText value="Descr: #{row.proj_descr}"/>
<af:outputText value="Volume: #{row.proj_volume}"/>
<af:outputText value="Area: #{row.proj_area}"/>
</af:panelGroup>
</f:facet>
</af:table>
</af:form>
The currentProjects method returns a database query as a list of beans. The content of the beans is displayed. My problem is, when I click on e.g. 'Next' or 'All Details' nothing happens and I get javascript errors like this:
Error: _submitPartialChange is not defined
Source File: http://localhost:8080/timerec/faces/ADFbrowseProjects.jsp
Line: 25
I´m using EA 13. What am I doing wrong?
Thanks, AxelThe problem you're encountering is that the table view is being re-initialized whenever the underlying table model changes. Thus, the navigation appears to do nothing. The demo code doesn't "appear" to do anything special because the af:table value property is bound to a managed bean, periodicTable, that has session scope. Thus the table is built only once and the value binding is simply returning the same java object every time.
For you to accomplish the same thing, your code will need to return the SAME OBJECT (since I can't see the source code I don't really know if it's using object identity or equals()) each time unless your underlying data has actually changed.
I'm struggling with the same thing. I'm working with a small table and it's just easier to manage concurrency issues by pulling the data out of the database every time instead of building the logic to detect a change, but I'm having to build that due to this behavior.
Maybe you are looking for
-
What are the privileges required for explain plan in Oracle 11g database
I am facing the problem in doing a explain plan for a view in Oracle 11g database. When I select from the view like this: select * from zonewisearpu It does a select on the view but when I give explain plan like explain plan for select * from zonewis
-
When i use papervision in flash builder and i am doing a test, when i render a sphere using papervision with the following code it renders me the sphere. When i add a line sphere.pitch(2); || sphere.yaw(2); sphere.roll(2); i get the following er
-
JMS receiver adapter is red / error?
hi experts, i have a JMS receiver adapter and the connection to WebSphere MQseries is ok. If i sent message to Receiver JMS adapter i will get following error (red light): The XI message: 14a8be90-e8fc-11df-9103-0016353eb4a3 was already sucessfully p
-
I've reset my network settings , my wireless router is working fine, my iPhone keeps saying unable to join network.
-
Creative Zen Microphoto 8GB: Unrecognized by Creative softw
Alright, I just got the player yesterday. I believe it has an issue with Creative's software and the USB. It's noticed in Windows Media Player 0 and on my desktop. I tried using the software in my laptop and it worked fine, but I would really like to