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 jsf-12.jar shipped with
Resin 3.1.1 and the jsf .jars shipped with the adf sample application. 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)
[13:38:43.621]  at
com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo
nfigImpl.java:776)
[13:38:43.621]  at
com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig
Impl.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.jav
a:623)
[13:38:43.621]  at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start
AutoRedeployAutoStrategy.java:72)
[13:38:43.621]  at
com.caucho.server.deploy.DeployController.startOnInit(DeployController.j
ava: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.jav
a:623)
[13:38:43.621]  at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start
AutoRedeployAutoStrategy.java:72)
[13:38:43.621]  at
com.caucho.server.deploy.DeployController.startOnInit(DeployController.j
ava: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:4
31)
[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(ServletConfig
Impl.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.jav
a:623)
[13:38:43.627]  at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start
AutoRedeployAutoStrategy.java:72)
[13:38:43.627]  at
com.caucho.server.deploy.DeployController.startOnInit(DeployController.j
ava: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.jav
a:623)
[13:38:43.627]  at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start
AutoRedeployAutoStrategy.java:72)
[13:38:43.627]  at
com.caucho.server.deploy.DeployController.startOnInit(DeployController.j
ava: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:4
31)
[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(ServletCo
nfigImpl.java:776)
[13:38:43.627]  at
com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig
Impl.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

Reply via email to