On May 24, 2007, at 7:31 AM, Taber, Guthrie wrote:


I figured this was due to the conflict of the jsf-12.jar shipped with Resin 3.1.1 and the jsf .jars shipped with the adf sample application.

Yes, you should delete the jsf-12.jar. That's not supposed to be released yet.

I just removed the jsf jar from <Resin_home>/lib and restarted. Upon this I get the following error:


[13:38:43.621] java.lang.NullPointerException
[13:38:43.621] at javax.faces.webapp.FacesServlet.init (FacesServlet.java:144)

You need to add a <listener listener-class="..."/> to the web.xml to force JSF to initialize the default implementation. The classname would depend on which JSF implementation you're using.

-- Scott


[13:38:43.621] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl (ServletConfigImpl.java:776) [13:38:43.621] at com.caucho.server.dispatch.ServletConfigImpl.createServlet (ServletConfigImpl.java:707) [13:38:43.621] at com.caucho.server.dispatch.ServletManager.init (ServletManager.java:150) [13:38:43.621] at com.caucho.server.webapp.WebApp.start (WebApp.java:1726) [13:38:43.621] at com.caucho.server.deploy.DeployController.startImpl (DeployController.java:623) [13:38:43.621] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit (StartAutoRedeployAutoStrategy.java:72) [13:38:43.621] at com.caucho.server.deploy.DeployController.startOnInit (DeployController.java:505) [13:38:43.621] at com.caucho.server.deploy.DeployContainer.start (DeployContainer.java:155) [13:38:43.621] at com.caucho.server.webapp.WebAppContainer.start (WebAppContainer.java:671)
[13:38:43.621]  at com.caucho.server.host.Host.start(Host.java:437)
[13:38:43.621] at com.caucho.server.deploy.DeployController.startImpl (DeployController.java:623) [13:38:43.621] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit (StartAutoRedeployAutoStrategy.java:72) [13:38:43.621] at com.caucho.server.deploy.DeployController.startOnInit (DeployController.java:505) [13:38:43.621] at com.caucho.server.deploy.DeployContainer.start (DeployContainer.java:155) [13:38:43.621] at com.caucho.server.host.HostContainer.start (HostContainer.java:473) [13:38:43.621] at com.caucho.server.cluster.Server.start (Server.java:1092) [13:38:43.621] at com.caucho.server.cluster.Cluster.startServer (Cluster.java:689) [13:38:43.621] at com.caucho.server.cluster.ClusterServer.startServer (ClusterServer.java:431)
[13:38:43.621]  at com.caucho.server.resin.Resin.start(Resin.java:710)
[13:38:43.621] at com.caucho.server.resin.Resin.initMain (Resin.java:1146)
[13:38:43.621]  at com.caucho.server.resin.Resin.main(Resin.java:1343)
[13:38:43.627] javax.servlet.ServletException: java.lang.NullPointerException [13:38:43.627] at com.caucho.server.dispatch.ServletConfigImpl.createServlet (ServletConfigImpl.java:745) [13:38:43.627] at com.caucho.server.dispatch.ServletManager.init (ServletManager.java:150) [13:38:43.627] at com.caucho.server.webapp.WebApp.start (WebApp.java:1726) [13:38:43.627] at com.caucho.server.deploy.DeployController.startImpl (DeployController.java:623) [13:38:43.627] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit (StartAutoRedeployAutoStrategy.java:72) [13:38:43.627] at com.caucho.server.deploy.DeployController.startOnInit (DeployController.java:505) [13:38:43.627] at com.caucho.server.deploy.DeployContainer.start (DeployContainer.java:155) [13:38:43.627] at com.caucho.server.webapp.WebAppContainer.start (WebAppContainer.java:671)
[13:38:43.627]  at com.caucho.server.host.Host.start(Host.java:437)
[13:38:43.627] at com.caucho.server.deploy.DeployController.startImpl (DeployController.java:623) [13:38:43.627] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit (StartAutoRedeployAutoStrategy.java:72) [13:38:43.627] at com.caucho.server.deploy.DeployController.startOnInit (DeployController.java:505) [13:38:43.627] at com.caucho.server.deploy.DeployContainer.start (DeployContainer.java:155) [13:38:43.627] at com.caucho.server.host.HostContainer.start (HostContainer.java:473) [13:38:43.627] at com.caucho.server.cluster.Server.start (Server.java:1092) [13:38:43.627] at com.caucho.server.cluster.Cluster.startServer (Cluster.java:689) [13:38:43.627] at com.caucho.server.cluster.ClusterServer.startServer (ClusterServer.java:431)
[13:38:43.627]  at com.caucho.server.resin.Resin.start(Resin.java:710)
[13:38:43.627] at com.caucho.server.resin.Resin.initMain (Resin.java:1146)
[13:38:43.627]  at com.caucho.server.resin.Resin.main(Resin.java:1343)
[13:38:43.627] Caused by: java.lang.NullPointerException
[13:38:43.627] at javax.faces.webapp.FacesServlet.init (FacesServlet.java:144) [13:38:43.627] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl (ServletConfigImpl.java:776) [13:38:43.627] at com.caucho.server.dispatch.ServletConfigImpl.createServlet (ServletConfigImpl.java:707)
[13:38:43.627]  ... 19 more


Any help would be appreciated.

-GT


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to