Re: [Resin-interest] Problems with ADF faces application on JBoss 3.1.1
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 /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 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.62
Re: [Resin-interest] Problems with ADF faces application on JBoss 3.1.1
I am now getting a common error on both JBoss 3.0 and 3.1.1 when I access the adf-faces-demo application. [08:08:11.048] javax.servlet.ServletException: java.lang.NullPointerException [08:08:11.048] at com.caucho.server.dispatch.ExceptionFilterChain.(ExceptionFilterCh ain.java:54) [08:08:11.048] at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:1933) [08:08:11.048] at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer .java:721) [08:08:11.048] at com.caucho.server.host.Host.buildInvocation(Host.java:476) [08:08:11.048] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java: 314) [08:08:11.048] at com.caucho.server.cluster.Server.buildInvocation(Server.java:839) [08:08:11.048] at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer .java:200) [08:08:11.048] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:258) [08:08:11.048] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477) [08:08:11.048] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600) [08:08:11.048] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522) [08:08:11.048] at java.lang.Thread.run(Thread.java:595) [08:08:11.048] Caused by: java.lang.NullPointerException [08:08:11.048] at com.caucho.server.dispatch.FilterMapping.isMatch(FilterMapping.java:169) [08:08:11.048] at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper. java:140) [08:08:11.048] at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:1902) [08:08:11.048] ... 10 more From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taber, Guthrie Sent: Thursday, May 24, 2007 10:31 AM To: resin-interest@caucho.com Subject: [Resin-interest] Problems with ADF faces application on JBoss 3.1.1 Hi, I have been attempting to get the adf sample application working on JBoss 3.1.1. The first error I got was: [13:31:32.697] javax.faces.FacesException: com.caucho.jsf.context.FacesContextFactoryImpl [13:31:32.697] at javax.faces.FactoryFinder.createFactory(FactoryFinder.java:216) [13:31:32.697] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101) [13:31:32.697] at javax.faces.webapp.FacesServlet.init(FacesServlet.java:102) [13:31:32.697] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo nfigImpl.java:776) [13:31:32.697] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig Impl.java:707) [13:31:32.697] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150) [13:31:32.697] at com.caucho.server.webapp.WebApp.start(WebApp.java:1726) [13:31:32.697] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:31:32.697] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:31:32.697] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:31:32.697] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:31:32.697] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:671) [13:31:32.697] at com.caucho.server.host.Host.start(Host.java:437) [13:31:32.697] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:31:32.697] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:31:32.697] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:31:32.697] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:31:32.697] at com.caucho.server.host.HostContainer.start(HostContainer.java:473) [13:31:32.697] at com.caucho.server.cluster.Server.start(Server.java:1092) [13:31:32.697] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:689) [13:31:32.697] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:4 31) [13:31:32.697] at com.caucho.server.resin.Resin.start(Resin.java:710) [13:31:32.697] at com.caucho.server.resin.Resin.initMain(Resin.java:1146) [13:31:32.697] at com.caucho.server.resin.Resin.main(Resin.java:1343) [13:31:32.697] Caused by: java.lang.ClassNotFoundException: com.caucho.jsf.context.FacesContextFactoryImpl [13:31:32.697] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1 164) [13:31:32.697] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1 103) [13:31:32.697] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1 052) [13:31:32.697] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [13:31:32.697] at java.lang.Class.forName0(Native Method) [13:31:32.697] at java.lang.Class.forName(Class.java:242) [13:31:32.697] at javax.faces.FactoryFinder.createFactory(FactoryFinder.java:194) [13:31:32.697] ... 23 more I figured this was due to the conflict of the