IceFaces 1.5.3 and JDeveloper
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
IceFaces 1.5.3 and JDeveloper  XML
Forum Index -> Tools
Author Message
paulossilva

Joined: 05/07/2007 00:00:00
Messages: 3
Offline


Hi,

I tried the JDeveloper and IceFaces integration tutorial (available at http://www.oracle.com/technology/products/jdev/howtos/1013/icefaces/jpaicefaces.html) and at trying running the application got the following error message:

Target URL -- http://10.21.1.83:8988/iceFacesDemo/faces/departments.jspx
07/07/20 09:38:59 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
20/07/2007 09:39:01 com.icesoft.faces.application.D2DViewHandler <clinit>
INFO:
ICEsoft Technologies, Inc.
ICEfaces 1.5.3
Build number: 5
Revision: 13132

20/07/2007 09:39:01 com.icesoft.faces.webapp.xmlhttp.ResponseStateManager getResponseStateManager
INFO: using response state manager: com.icesoft.faces.webapp.xmlhttp.ResponseStateManager
20/07/2007 09:39:02 com.icesoft.faces.webapp.parser.Parser parse
SEVERE: Failed to execute JSP lifecycle.
javax.servlet.jsp.JspException: com.sun.faces.context.FacesContextImpl
at com.icesoft.faces.component.ext.taglib.FormTag.doStartTag(FormTag.java:524)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:162)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:134)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:550)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)


It seems that the Persistent Servelt is started and invoked ok but it fails to parse the ice:form tag for some reason.

I've double checked tha app code, conf files and libs and everything seems fine. Web.xml file is attached. JDev is 10.1.3.2, JDK is 1.5.06 and IceFaces is 1.5.3. I also looked at jira for any reported bug or bugfix. Not yet tried Ice 1.6.

Any helpfull clue?

Thanks,

Paulo
 Filename web.xml [Disk] Download
 Description
 Filesize 3 Kbytes
 Downloaded:  47 time(s)

ted.goddard

Joined: 26/10/2004 00:00:00
Messages: 684
Offline


How about the following page:

http://10.21.1.83:8988/iceFacesDemo/faces/departments.iface

[Email]
paulossilva

Joined: 05/07/2007 00:00:00
Messages: 3
Offline


I tried it but still same problem.

I've notice that in web.xml there are some appearently conflicting servlet mappings:

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.iface</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>

To my knowledge, the mapping to .jspx is not necessary and neither is the mapping for the Faces Servlet to /faces/*. Someone please correct me if I am wrong!

Anyway, I tried many different changes in web.xml avoiding these confusing mappings, including calling urls with and without /faces/ in them, but no success at all!

Any hope?!

Paulo

ted.goddard

Joined: 26/10/2004 00:00:00
Messages: 684
Offline


When you invoke the ICEfaces URL, does

Code:
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214) 
 


still appear in the stack? This is the warning sign that the wrong Servlet is handling the request.

[Email]
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team