Hi @all!

There`s still a problem with the struts-faces.war example.

The hint of Matthias was correct and very helpful: The BEA Weblogic 8.1 is a
J2EE 1.3 compliant app server and so the jstl.jar has to be another one.

There`s also a problem with the ServletContextListener. This listener has to
be initialized before JSF-Servlet init-methods are called, but BEA won`t do
this. So you have to force it to by programming a Servlet which is running
before all JSF-Servlets.

After all these improvements I`ve got the following exception:
<stacktrace>
javax.faces.FacesException: javax.servlet.ServletException:
javax/servlet/jsp/el/ELException
        at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
327)
        at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:14
7)
        at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:87)
        at
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
        at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
        at
org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(Fac
esTilesRequestProcessor.java:148)
        at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRe
questProcessor.java:254)
        at
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
TilesRequestProcessor.java:341)
        at
org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.ja
va:582)
        at
org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwar
d(FacesTilesRequestProcessor.java:245)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
        at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
patcherImpl.java:382)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:286)
        at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:151)
        at jsp_servlet.__index._jspService(__index.java:127)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:431)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:6310)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3622)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2569)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: javax.servlet.ServletException: javax/servlet/jsp/el/ELException
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:307)
        at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
322)
        at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:14
7)
        at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:87)
        at
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
        at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
        at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
patcherImpl.java:382)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:286)
        at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
322)
        ... 35 more
</stacktrace>

Because the EL-package is introduced in JSP 2.0 (J2EE 1.4) I think it fails
because of lack of EL-classes, doesn't it?!

I packed the commons-el.jar additionally to the WEB-INF\lib - directory but
nothing has been changed.

I`m not sure if anybody has ever achieved a running JSF-Tiles-Struts -
example.
If it is so, please contact me.

Thanks in advance,
Michael
http://www.struts-it.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to