<html>
<body>
Hi<br>
I've integated struts into OpenCms 6rc2. and all works fine.<br><br>
I'd like to try out JSF, and I've installed a small app that runs fine
standalone. So I've copied over the libraries, classes, faces-config.xml,
updated OpenCms web.xml with a URL-mapping of /faces/*and created the
JSPs in OpenCms. Restart.<br><br>
The JSPs need to be processed by FacesServlet, so in my standalone I
use<br>
<a href="http://myhost:8080/myjsfwarname/faces/greeting.jsp" eudora="autourl">http://myhost:8080/myjsfwarname/faces/greeting.jsp</a><br>
which works fine.<br><br>
Doing this through OpenCms to a copy of greeting.jsp in OpenCms, I use
the URL:<br>
<a href="http://myhost:8080/myocmswarname/faces/opencms/test/greeting.jsp" eudora="autourl">http://myhost:8080/myocmswarname</a><u>/</u><a href="http://myhost:8080/myocmswarname/faces/opencms/test/greeting.jsp" eudora="autourl">faces/opencms/test/greeting.jsp<br>
</a>However I get: <br>
<pre><font face="Courier New, Courier" size=2>java.lang.NullPointerException
<x-tab> </x-tab>javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
<x-tab> </x-tab>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
<x-tab> </x-tab>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
<x-tab> </x-tab>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
<x-tab> </x-tab>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
<x-tab> </x-tab>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
<x-tab> </x-tab>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
<x-tab> </x-tab>java.lang.Thread.run(Thread.java:534)
</font>Obviously FacesServlet has seen a problem, but is OpenCms sending
it something funny?
Has anyone a working setup of JSF?
</pre>Jon<br>
<x-sigsep><p></x-sigsep>
<i>Jon Sharp tel: +44 1273 504004
mobile: +44 7739 430793 <br>
</i></body>
</html>