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 Kotsovoulou

Dear 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???)

Similar Messages

  • 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!
    David

    Dear 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)

  • 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.

  • Weblogic Portal 10.3.5 using JSF 1.2 portlets with ADF faces

    We are developing Portal site using Weblogic Portal 10.3.5 with JSF portlet 1.2 and ADF faces (ADF Application runtime 11.1.1.5 ). But the JSF portlets not supporting ADF faces. Please let me know how we use ADF faces in JSF portlet 1.2 in Weblogic Portal.

    Hi Murthy,
    We did a detailed analysis.
    (1) How do we add ADF taskflows, JSF in to weblogic portal desktop/pages? Do we create portlet out of JSF, and display on desktop/page? If this is the case, what about ADf task flows?
    --> Taskflows can be deployed as WSRP2.0 portlets. Note 2 options are there JSF page as portlet or taskflow itself as portlets.
    (2) How do we integrate weblogic user profiles and UUP (unified user profiles) with ADF and JSF?
    --> ADF Security can use Weblogic Server realm as the security provider. Entitlements in WLP will have to be provided based on Weblogic Server roles. In case you are using external LDAP then both can be integrated withe external LDAP
    (3) Can anybody shed some light which this better?
    (a) weblogic portal with JPF (Java page flows), NetUI --Legacy approach
    Pros:
    -Easy Development
    -Well tested integrated
    Cons:
    -Future support
    -Enhancements may not be available
    -Not really portable or standards based
    (b) weblogic portal with ADF, JSF?
    Pros:
    -If your on Oracle stack then great
    -Standards based
    Cons:
    -JSF Portlet bridge issues
    -ADF Faces does not work on IE6!
    Well what we are going for is JSR 286, Trinidad components (Supports IE6), JSF.
    Difficult choice.
    Venkat

  • 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,
    Jim

    Sorry - 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

  • Anyone using facelets with ADF Faces and myfaces implementation?

    There is a Howto document for using facelets with ADF Faces, but it assumes you're using Sun's RI. I'd like to use the Apache myfaces implementation of JSF with ADF and facelets, but I keep getting a NoSuchElementException thrown when the pages are accessed.
    Here's the error and stack trace:
    09:15:18,790 INFO [STDOUT] Jan 19, 2006 9:15:18 AM com.sun.facelets.FaceletViewHandler handleRenderException
    SEVERE: Error Rendering View
    java.util.NoSuchElementException
         at java.util.AbstractList$Itr.next(AbstractList.java:426)
         at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:520)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:450)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
         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: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)
    09:15:18,790 INFO [STDOUT] Jan 19, 2006 9:15:18 AM com.sun.facelets.FaceletViewHandler handleRenderException
    SEVERE: Took Type: java.io.PrintWriter
    I followed Adam Winer's instructions for incorporating ADF with facelets (using Sun's RI) and this works fine. But when I try to swap out the Sun RI for the Apache myfaces 1.1.1 implementation I get the exception.
    Here's the info from my web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Facelets</display-name>
    <description>Facelets StarterKit</description>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/applicationContext*.xml</param-value>
    </context-param>
    <context-param>
    <param-name>facelets.REFRESH_PERIOD</param-name>
    <param-value>2</param-value>
    </context-param>
    <context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
         <context-param>
              <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
              <param-value>.xhtml</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
    <param-name>oracle.adf.view.faces.ALTERNATE_VIEW_HANDLER</param-name>
         <param-value>com.sun.facelets.FaceletViewHandler</param-value>
         </context-param>
         <filter>
         <filter-name>adfFaces</filter-name>
         <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
         </filter>
    <filter>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
         <init-param>
         <param-name>maxFileSize</param-name>
         <param-value>20m</param-value>
         </init-param>
         </filter>
         <filter-mapping>
         <filter-name>adfFaces</filter-name>
         <servlet-name>faces</servlet-name>
         </filter-mapping>
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
    <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
         <listener>
              <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
         </listener>
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <listener>
    <listener-class>net.sf.acegisecurity.ui.session.HttpSessionEventPublisher</listener-class>
    </listener>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
         <!-- resource loader servlet -->
         <servlet>
         <servlet-name>resources</servlet-name>
         <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
         </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
         <servlet-mapping>
         <servlet-name>faces</servlet-name>
         <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
         <servlet-name>resources</servlet-name>
         <url-pattern>/adf/*</url-pattern>
         </servlet-mapping>
    </web-app>
    And in my faces-config.xml, I have set it to use the oracle.adf.core render kit:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
    <!-- from project setup -->
    <application>
    <!-- Use the ADF RenderKit -->
    <default-render-kit-id>
    oracle.adf.core
    </default-render-kit-id>
    <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>
    <managed-bean>
         <managed-bean-name>keyTable</managed-bean-name>
         <managed-bean-class>example.KeyInfoNodeData</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </faces-config>
    It doesn't seem to matter whether I use <jsp:root xmlns..> tags or <html xmlns ..> tags or whether I use the facelet ui tags or not. I've tried it with several of the ADF components. I always get the pretty facelets exception at the bottom of the page after the ADF component displays.
    Am I missing something? Has anyone gotten these three (ADF w/ myfaces impl and facelets) to work together properly?

    Hi,
    It is supposed to work fine and is working okay, in general, for me. I was setting up a test app yesterday and logged the steps in my blog (http://www.jroller.com/page/mjdenham). I think I logged everything.
    Regards
    Martin

  • Create dynamic code on a JSF with ADF Faces

    Hi,
    the next is just sample, nothing to production system, but if I can do the sample I can do something to production system.
    Fine.
    let's suppose that I want to create a html link
    in run-time over a JSF page with ADF Faces component.
    I can do that, I did using javascript and Custom tag,
    but the html link is placed out of the body of the page instead of put it over the place that I put it in development-time
    so, now my question is:
    how I can generate dynamic code using ADF FACES component commandButton or any others.
    any suggestion??
    P.D. if you need more info ask me.

    Hello Jeanne.
    You are right, I used <f:verbatim> element to wrap all my non-JSF elements and it work. :)
    so good so far.
    but, dynamic code mean generate code in this case HTML in run-time.
    That is to say: write code HTML just in time I invoke a page.
    That is posible through Custom Tags.
    You create a Custom Tags this tag generate HTML code after to process any Business Logic. then you put the tag in the page that you want to use it
    someting like this:
    <afh:rowLayout halign="center">
    <afh:cellFormat halign="center">
    <ESE-utilities:populateMenu/>
    </afh:cellFormat>
    </afh:rowLayout>
    the just above bold line is my Custom Tag that generate HTML code
    and not work.
    but, if I replace the tag directly using HTML code in the page, for example:
    <afh:rowLayout halign="center">
    <afh:cellFormat halign="center">
    <f:verbatim>
    prueba
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    it work
    so, now my new question is:
    ¿How can I use a Custom Tagthat generate HTML code, and that code have been written inside of my body page?
    Thanks in advantage for your reply.
    Mauricio

  • Develop a user interface in Lecroy1451 by Labview

    Hello everybody:
    I currently working with LabVIEW and I develop a user interface to the
    hardware.
    I have finished with most of the instruments and I now have to dialog
    with a LeCroy HV1451 High Voltage multichannel power supply.
    It has a simple dedicated language and communicates via RS232.
    For instance, if we send ‘'‘ 28 LD RUP 11 500'' to HV-Lecroy 1451, it
    will answer " 28 DMP 11 -0.1 -12.1 -20.0 488.6 488.6 -2550.0 1 ". This
    is clear and simple but there is a lot of work to extract each piece of
    information.
    I wonder if Labview could help me with a starting program using this
    device ?
    Or with general tips or general examples to disentangle all the sub chains.
    Thank you very much, any answer will be appreciated.
    Yang

    Hi Yang,
    Alan from LeCroy here..  The company Universal Voltronics purchased this product line from LeCroy ~10 years ago. You might want to contact them for support - http://www.voltronics.com.
    Regards,
    Alan
    Alan Blankman, Technical Product Marketing Manager and LabVIEW Developer
    LeCroy Corporation
    800-553-2769 x 4412
    http://www.lecroy.com
    [email protected]

  • How to use JavaScript Calendar with ADF Faces ?

    Hi All,
    Our application is running under limited bandwidth so that we want to use clientside/javascript calendar instead of the ADF Faces calendar (server side).
    I already have the javascript that will pop-up calendar selection dialog when invoked.
    Using JSP, this is working perfectly, BUT I don't know how to integrate this Javascript calendar with ADF Faces form.
    How can I do that ?
    Attached below is the JSP that works with script :
    <f:view>
    <html>
    <head>
    <script language="JavaScript" src="ts_picker.js">
    </script>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>Calendar</title>
    </head>
    <body>
    <form name="tstest">
    <input type="Text" name="timestamp" value="">
    <img src="cal.gif" width="16" height="16" border="0" alt="Click here to get the date">
    </form>
    <h:form>
    </h:form>
    </body>
    </html>
    </f:view>

    Hi,
    ADF Faces does not provide a method that allows you to call JavaScript on the client. This may change in upcoming versions
    Frank

  • Hi, I want to open dialog window with ADF Faces

    Hi, I want to open dialog window with ADF Faces when commandButton pressed, but the window opended at same window, not opened new window.
    my command button is follow,
    <af:commandButton text="Ücret Girişi"
    binding="#{backing_rezervasyonlar.rez_iptal}"
    id="rez_iptal"
    action="dialog:ucret"
    windowHeight="200"
    windowWidth="300"/>
    I am waiting your help....

    Remove the partialSubmit attribute from the declaration of your command button. Therefore, the code you posted should be:
    <af:commandButton text="Ücret Girişi"
    binding="#{backing_rezervasyonlar.rez_iptal}"
    id="rez_iptal"
    action="dialog:ucret"
    useWindow="true"
    windowHeight="200"
    windowWidth="300"/> NOT:
    <af:commandButton text="Ücret Girişi"
    binding="#{backing_rezervasyonlar.rez_iptal}"
    id="rez_iptal"
    action="dialog:ucret"
    partialSubmit="true"
    useWindow="true"
    windowHeight="200"
    windowWidth="300"/> --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is anyone know how to run the examples in 3d user interfaces with java 3d

    hi dear ,
    I am trying to run the examples in 3d user interfaces with java 3d.
    I hope i can load the library in jcreator. but the libarary for this book are classes files , it do not have jar file for it . the jcreator do not read these classes . i do not know why ? i am wonder if there any one run these code before can give me some idear .
    thanks so much .
    the code u can get from this link.
    http://www.manning.com/books/barrilleaux/source
    thank you for u to have a look for me .
    regards
    xiaocui

    <h2>{color:red}CROSS POSTED{color}</h2>
    [t-5289810]
    Cross posting is rude.
    db

  • Jdev11g: How to use a Ord.image data type with ADF Faces 11g

    Where to find an example about Ord.image data type with ADF Faces 11g preview3

    Hi,
    such a sample doesn't yet exist.
    Frank
    Btw.: The Jdeveloper 11 forum is JDeveloper and OC4J 11g Technology Preview

  • Aggregating table - how to solve this with ADF Faces

    Hello.
    I am trying to solve something that would typically be really simple. However, now i' using ADF faces which is new to me and i'm stuck.
    I want to show a table of rows with aggregated numbers (department in example below) and then "open up" any row by clicking on it to display the numbers that make up the aggregate (the guys in the helpdesk department in the example below).
    Something like this:
    DEPARTMENT SALARIES
    +Sales                  1.234.567
    +Warehouse         3.425.553
    -Helpdesk 655.000
    Joe 155.000
    Jill 300.001
    Burt 199.999
    +Personnel           546.225
    +Management     9.646.383
    And to make things more complicated, some of the aggregate rows in my real life example don't have any underlying rows. They just have the total. Can anyone give me hint about how to do this with an ADF Faces-control? I need to show management this can be solved quick and simple with ADF Faces, so i can convince them that it is the way we should be working in the future.
    Edited by: GoodCoffee on Jun 2, 2009 4:15 AM. Trying to indent the three rows under "Helpdesk"

    Hi,
    if you use ADF BC as the business Service then you can create a transient attribute (one that does not ave a database column ) and compute the total. Using JDeveloper 11g, you can use a Groovy expression. The below example calculates the Overall Salary paid by an department. The transient attribute is defined on the Department Entity Object
    XML View
    <Attribute
        Name="SumSalary"
        ColumnName="SUMSALARY"
        SQLType="NUMERIC"
        Type="java.lang.Long"
        ColumnType="NUMBER"
        IsQueriable="false"
        IsPersistent="false">
        <TransientExpression><![CDATA[Employees1.sum("Salary")]]></TransientExpression>
      </Attribute>The Employees1.sum("Salary") string is the Groovy expression that you need to add for the attribute. You select the created transient attribute in the EO editor and press the pencil icon. Then you select "Expression" as the value type and add the string.
    See: http://www.oracle.com/technology/products/jdev/11/how-tos/groovy/introduction_to_groovy.pdf
    Frank

  • Difficulty with ADF Faces/ADF Essentials and Glassfish

    Hi all,
    I've got a web application written with ADF Faces, and it runs just fine within jDeveloper 11.1.2.3 but when I deploy it to Glassfish 3.1.2 (with ADF Essentials installed) something curious happens.
    My application has no difficulty performing database reads, but when it tried to write to the database and commit, it fails.
    I've seen only a couple of other people with this problem, and none of them seem to have found a solution - so I'm assuming it's something stupid that I'm doing or misunderstanding.
    Here is the log file:
    [#|2013-11-10T11:45:17.601-0500|WARNING|glassfish3.1.2|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=79;_ThreadName=Thread-2;|ADF: Adding the following JSF error message: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
    java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
      at oracle.jbo.server.BaseSQLBuilderImpl.isSQLRecoverableException(BaseSQLBuilderImpl.java:4575)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3380)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at app.AppModuleImpl.commitOperation(AppModuleImpl.java:50)
      at com.methods.lrc.view.VendorBean.createPaymentReceived(VendorBean.java:509)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at com.methods.lrc.view.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:42)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:724)
    Here is the method where it fails:
        public String createPaymentReceived() {
            AppModuleImpl appModule = this.getAppModule();
            ViewObjectImpl paymentReceivedVOI = appModule.getPaymentsReceivedView3();
            Row paymentRow = paymentReceivedVOI.createRow();
            paymentRow.setAttribute("CheckNumber", prCheckNumber);
            paymentRow.setAttribute("PaymAmount", totalSelectedValue);
            paymentRow.setAttribute("PaymentComment", prComment);
            paymentRow.setAttribute("PaymentDate", prPaymentDate);
            paymentRow.setAttribute("PaymentType", prPaymentType);
            paymentRow.setAttribute("TrackId", prTrackId);
            appModule.commitOperation();
            DBSequence paymentsReceivedId = (DBSequence)paymentRow.getAttribute("PaymentsReceivedId");
            Iterator selectionIt = unpaidPaymentItemsTable.getSelectedRowKeys().iterator();
            while (selectionIt.hasNext()) {
                Object rowKey = selectionIt.next();
                unpaidPaymentItemsTable.setRowKey(rowKey);
                int index = unpaidPaymentItemsTable.getRowIndex();
                JUCtrlHierNodeBinding row = (JUCtrlHierNodeBinding)unpaidPaymentItemsTable.getRowData(index);
                Row selectedRow = row.getRow();
                selectedRow.setAttribute("PaymentsReceivedId", paymentsReceivedId.getSequenceNumber());
                selectedRow.setAttribute("PaymentDate", prPaymentDate);
            appModule.commitOperation();
            prCheckNumber = null;
            totalSelectedValue = 0;
            prComment = null;
            prPaymentDate = new Date();
            prTrackId = null;
            prPaymentType = "K";
            refreshTableIterator("VendorPaymentItemsView1Iterator");
            refreshTableIterator("VendorPaymentsReceived1Iterator");
            return null;
    it fails on the second appModule.commitOperation() (which I've bolded)
    if anyone can give a clue to what I'm misunderstanding I'd really appreciate it.  I'm sure that if I had the course for BaseSQLBuilderImpl.java and/or DBTransactionImpl it would be easier to see what the actual error was - unfortunately java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception doesn't tell me much of anything.
    Thanks so much to anyone who's got the time/knowledge to help.
    Bob

    That doesn't seem to make any difference.  It works just fine within jDeveloper, but as soon as I deploy it, I can no longer write to the database.
    A few more details that seem relevant - it's not only this method that fails.  Even on screens which were designed without any backing code (where I used the wizards to create my forms and commit buttons) the same exact thing happens.
    I've also replicated this behavior in Tomcat.
    Part of what is happening is that something is throwing a NoClassDefFoundError, which is caught by a catch (Throwable thEx) clause within DBTransactionImpl.  This passes the Error to a method (isSQLRecoverableException) within the BaseSQLBuilderImpl class.  The problem is that this method takes only Exceptions for arguments, and NoClassDefFoundError is not a subclass of Exception (only of Throwable.)
    It seems obvious to me that there's somewhere a jar missing, but I cannot find it without knowing which class was not found.

  • Can we use applets as user interfaces with sockets, RMI and J2EE

    Dear Sir or Madam,
    Since I am a TA for software architecture class, some one ask me the following question: I think the answer is "No" based on the document on http://java.sun.com/sfaq/
    How I answer the quesions? Looking forward your help!!!
    1.You may have 2 applets and 2 html files. One applet with one html file may stay at a client PC and run on this PC, and the other applet with the other html file may stay at a server PC and run on this PC. In this case, all the applets are run locally.
    2.Could applets works with sockets, RMI and J2EE?
    3.Can we use applets as user interfaces with sockets, RMI and J2EE?
    Thank you very much!
    Best regards,
    Jing

    The scenario you paint doesn't quite make sense. The "server PC" wouldn't be running an applet, normally, since applets are by definition in a web browser page, and most likely involve user interaction, and "server processes" generally are done without user interaction.
    The security rules around applets are that -- by default -- applets can connect with sockets ONLY to the server from whence the applet was loaded. RMI uses sockets (J2EE is too broad a spec) and hence RMI calls would also be limited to the server from whence the applet was loaded. Within that limitation, an applet could open all the sockets it wants, so long as they are all on the server from whence the applet was loaded.
    If you want two applets on two different systems to communicate with each other, the simplest way is to have them rendevous through a server process on the server(s) from whence each applet was loaded. Maybe it's PC-a <-> server-a <-> server-b <-> PC-b ...? Or maybe PC-a and PC-b both are talking to the same server.
    The limitation is rooted in the security subsystem. You can specify a policy file and override anything in the security subsystem. That does mean signing the applet and then cajoling the user into agreeing to grant greater levels of security than the default. In such a case you can open sockets more broadly and then PC-a could talk directly to PC-b without going through any servers.
    - David

Maybe you are looking for

  • Restoring System from Time Machine backup - only option is older backup

    I have two drives in a Mac Pro - a system drive and a data drive. Yesterday morning the system drive died. The computer hung and when I manually restarted it, I got the circle with a line icon, and then on a subsequent restart, after resetting the PR

  • How do I print on both sides of the paper on microsoft word, excel for mac?

    My printer supports printing in both sides of the paper, and prints fine on both sides any pdf file. But there is no way to make it print on both sides when using Microsft Word or Excel How do I set it up?

  • Rolling out SSL cert on CAS array

    Hi there,  I have an exchange 2010 CAS array with 2 servers in it. I need to roll out an updated SSL certificate as the old one has expired however, it only seems to allow me to install this certificate on the CAS1 server.  When I did was I (using th

  • 2821 CCME K9 best practice regarding ADSL

    Hi. Im in the process of speccing up a replacement for our UC500. Im wondering if it is wise to use the 2821 as our Internet gateway (ADSL) aswell as our phone system (so general day to day web design, remote VPN connections to customer sites and all

  • Java.lang.UnsupportedClassVersionError: - Please do help !

    Hi, I am trying to run the following program. I am using Windows XP and using java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) public class OutFi