AW: Book recommendations

2004-07-06 Thread Albrecht, Michael
Hi Nick!

I think on http://wiki.apache.org/struts/StrutsBooks you will find, what
you`re looking for.

Bye,
Michael
http://www.struts-it.de

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



Struts-faces2.war do not run with BEA Weblogic 8.1SP1

2004-07-05 Thread Albrecht, Michael
Hi @all!

The example struts-faces2.war (and the other example struts-faces.war)
doesn't run on my BEA weblogic 8.1 SP1.

During startup of the server the following exception is thrown:

05.07.2004 12.19 Uhr CEST Error HTTP BEA-101216 Servlet: faces
failed to preload on startup in Web application: struts-faces2.
javax.servlet.ServletException
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:906)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:842)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:782)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:3236)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3181)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
tContext.java:3154)
at
weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:654)
at
weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
at
weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:
30)
at
weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
at weblogic.Server.main(Server.java:32)
 

Is there anybody having the same problem or better knowing the solution? ;-)

Thanks in advance for help.

Michael


AW: Struts-faces2.war do not run with BEA Weblogic 8.1SP1

2004-07-05 Thread Albrecht, Michael
Hi James!

Did you copy the JSF jar files into the directory where the
struts-faces*.war files are expanded to?  The JSF jars are not packaged
inside the .war files.

Yes, I`ve done this. Not directly, but I`ve unzipped the war-file and zipped
after copying the three-jsf-jars into (jsf-api.jar, jsf-impl.jar, jstl.jar).
Though it`s not running.

If I`m debugging the first call of the example app, the LifeCycleFactory
returns null in the RequestProcessor and so nothing can go on.

Other hints?

Michael
http://www.struts-it.de

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



AW: Struts-faces2.war do not run with BEA Weblogic 8.1SP1

2004-07-05 Thread Albrecht, Michael
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