5 Replies Latest reply on Dec 13, 2006 12:28 AM by Joshua Jackson

    Update Seam JSF library againts JBoss5

    Joshua Jackson Master

      Hi all,

      Would it be possible in the next Seam generator version not to use myfaces listener when generating the web.xml and not to use myfaces library?

      I think this is better to avoid conflict with JBoss 5 since JBoss 5 is not using the myfaces library anymore.

      Just a two cents.

        • 1. Re: Update Seam JSF library againts JBoss5
          Maurice Zeijen Master

          Good idea. I also believe that using the myfaces library isn't recommended anymore from Gavin because the quality isn't that great.

          • 2. Re: Update Seam JSF library againts JBoss5
            Maurice Zeijen Master

            Or are only the Tomahawk components not recommended?

            • 3. Re: Update Seam JSF library againts JBoss5
              Norman Richards Master

              We want to move away from using myfaces, but JBoss 4 only ships with myfaces. I think the hope is to get the JBoss installer to install the RI instead of myfaces. When/if that happens, I'm sure we'll switch seam-gen to using that by default. Otherwise, it might not be until there is a usable JBoss 5. Right now JBoss 5 is very, very beta.

              • 4. Re: Update Seam JSF library againts JBoss5
                Joshua Jackson Master

                Hi guys,

                I shall put problems related to library that I found when deploying Seam apps on JBoss AS 5 here. Actually I am quite confused whether to put this topic on Seam sub-forum or the EJB container sub-forum. But since Norman asked, here it goes.

                Currently I am testing Seam 1.1.0CR1 on JBoss AS 5.0.0Beta1

                I found this error stack when deploying seam-numberguess example from Seam 1.1.0CR1

                2006-12-13 11:15:37,167 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-numberguess]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
                java.lang.NoClassDefFoundError: net/sf/cglib/proxy/MethodInterceptor
                 at org.jboss.seam.init.Initialization.addComponent(Initialization.java:724)
                 at org.jboss.seam.init.Initialization.addComponents(Initialization.java:605)
                 at org.jboss.seam.init.Initialization.init(Initialization.java:407)
                 at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
                 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:589)
                 at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                 at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
                 at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
                 at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
                 at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
                 at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:589)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                 at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
                 at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                 at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
                 at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
                 at org.jboss.system.ServiceController.start(ServiceController.java:431)
                 at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
                 at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
                 at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
                 at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
                 at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
                 at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
                 at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
                 at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
                 at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
                 at org.jboss.Main.boot(Main.java:210)
                 at org.jboss.Main$1.run(Main.java:508)
                 at java.lang.Thread.run(Thread.java:619)
                2006-12-13 11:15:37,347 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart
                2006-12-13 11:15:37,347 ERROR [org.apache.catalina.core.StandardContext] Context [/seam-numberguess] startup failed due to previous errors
                2006-12-13 11:15:37,357 DEBUG [org.jboss.seam.contexts.Lifecycle] Undeploying, destroying application context
                2006-12-13 11:15:37,357 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-numberguess]] Exception sending context destroyed event to listener instance of class org.jboss.seam.servlet.SeamListener
                java.lang.NoClassDefFoundError: net/sf/cglib/proxy/MethodInterceptor
                 at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:179)
                 at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:163)
                 at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:37)
                 at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3866)
                 at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4502)
                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4366)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:589)
                 at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                 at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
                 at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
                 at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
                 at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
                 at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:589)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                 at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
                 at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                 at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
                 at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
                 at org.jboss.system.ServiceController.start(ServiceController.java:431)
                 at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
                 at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
                 at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
                 at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
                 at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
                 at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
                 at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
                 at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
                 at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
                 at org.jboss.Main.boot(Main.java:210)
                 at org.jboss.Main$1.run(Main.java:508)
                 at java.lang.Thread.run(Thread.java:619)
                2006-12-13 11:15:37,718 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@1eb8f6d
                2006-12-13 11:15:37,718 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..org.jboss.mx.loading.UnifiedClassLoader3@1b4d679{ url=file:/C:/javasoft/jboss/jboss-5.0.0.Beta1/server/default/deploy/jboss-seam-numberguess.ear ,addedOrder=22}
                2006-12-13 11:15:37,718 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..org.jboss.system.server.NoAnnotationURLClassLoader@19106c7
                2006-12-13 11:15:37,718 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..sun.misc.Launcher$AppClassLoader@df6ccd
                2006-12-13 11:15:37,718 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..sun.misc.Launcher$ExtClassLoader@601bb1
                2006-12-13 11:15:37,718 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/seam-numberguess state=Create mode=Manual requiredState=Installed
                javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory]
                 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
                 at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                 at javax.naming.InitialContext.init(InitialContext.java:223)
                 at javax.naming.InitialContext.<init>(InitialContext.java:175)
                 at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:338)
                 at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
                 at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
                 at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
                 at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:589)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                 at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
                 at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                 at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
                 at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
                 at org.jboss.system.ServiceController.start(ServiceController.java:431)
                 at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
                 at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
                 at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
                 at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
                 at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
                 at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
                 at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
                 at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
                 at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
                 at org.jboss.Main.boot(Main.java:210)
                 at org.jboss.Main$1.run(Main.java:508)
                 at java.lang.Thread.run(Thread.java:619)
                Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory
                 at java.lang.Class.forName0(Native Method)
                 at java.lang.Class.forName(Class.java:247)
                 at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
                 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
                 ... 48 more
                


                Now this is related to the cglib library that is not found in JBoss AS 5 classpath. This problem didn't arise when I put cglib library in $JBOSS_HOME/server/default/lib

                Questions that arised from me:
                1. Shall this cglib library be put under server's classpath or jbossweb.deployer?
                2. Shouldn't Seam use javassist library instead? Rather than having two library that has same functionality?

                • 5. Re: Update Seam JSF library againts JBoss5
                  Joshua Jackson Master

                  Again from the same example (seam-numberguess). This error stack arise when I hit the application from the browser.

                  2006-12-13 12:27:00,680 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-numberguess].[jsp]] Servlet.service() for servlet jsp threw exception
                  java.lang.NullPointerException
                   at com.sun.faces.taglib.jsf_core.ValidateLongRangeTag.<init>(ValidateLongRangeTag.java:75)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                   at java.lang.reflect.Constructor.newInstance(Constructor.java:506)
                   at java.lang.Class.newInstance0(Class.java:355)
                   at java.lang.Class.newInstance(Class.java:308)
                   at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_f_005fvalidateLongRange_005f0(numberGuess_jspx.java:435)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_h_005finputText_005f0(numberGuess_jspx.java:407)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_h_005fform_005f0(numberGuess_jspx.java:193)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_f_005fview_005f0(numberGuess_jspx.java:127)
                   at org.apache.jsp.numberGuess_jspx._jspService(numberGuess_jspx.java:94)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:390)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:404)
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
                   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413)
                   at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:480)
                   at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)
                   at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
                   at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
                   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
                   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
                   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:86)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
                   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
                   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
                   at java.lang.Thread.run(Thread.java:619)
                  2006-12-13 12:27:00,990 WARN [javax.enterprise.resource.webcontainer.jsf.lifecycle] executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@3e07bd) threw exception
                  javax.faces.FacesException: org.apache.jasper.JasperException: An exception occurred processing JSP page /numberGuess.jspx at line 32
                  29: Your guess:
                  30: <h:inputText value="#{numberGuess.currentGuess}" id="guess" required="true">
                  31: <f:validateLongRange maximum="#{numberGuess.biggest}"
                  32: minimum="#{numberGuess.smallest}"/>
                  33: </h:inputText>
                  34: <h:commandButton value="Guess" action="guess"/>
                  35: <s:button value="Cheat" view="/confirm.jspx"/>
                  
                   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:418)
                   at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:480)
                   at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)
                   at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
                   at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
                   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
                   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
                   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:86)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
                   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
                   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
                   at java.lang.Thread.run(Thread.java:619)
                  Caused by: org.apache.jasper.JasperException: An exception occurred processing JSP page /numberGuess.jspx at line 32
                  29: Your guess:
                  30: <h:inputText value="#{numberGuess.currentGuess}" id="guess" required="true">
                  31: <f:validateLongRange maximum="#{numberGuess.biggest}"
                  32: minimum="#{numberGuess.smallest}"/>
                  33: </h:inputText>
                  34: <h:commandButton value="Guess" action="guess"/>
                  35: <s:button value="Cheat" view="/confirm.jspx"/>
                  
                   at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:555)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:414)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:404)
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
                   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413)
                   ... 27 more
                  Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: null
                   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:851)
                   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)
                   at org.apache.jsp.numberGuess_jspx._jspService(numberGuess_jspx.java:102)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:390)
                   ... 37 more
                  Caused by: java.lang.NullPointerException
                   at com.sun.faces.taglib.jsf_core.ValidateLongRangeTag.<init>(ValidateLongRangeTag.java:75)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                   at java.lang.reflect.Constructor.newInstance(Constructor.java:506)
                   at java.lang.Class.newInstance0(Class.java:355)
                   at java.lang.Class.newInstance(Class.java:308)
                   at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_f_005fvalidateLongRange_005f0(numberGuess_jspx.java:435)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_h_005finputText_005f0(numberGuess_jspx.java:407)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_h_005fform_005f0(numberGuess_jspx.java:193)
                   at org.apache.jsp.numberGuess_jspx._jspx_meth_f_005fview_005f0(numberGuess_jspx.java:127)
                   at org.apache.jsp.numberGuess_jspx._jspService(numberGuess_jspx.java:94)
                   ... 40 more


                  I don't if my workaround is the right thing to do, but this error didn't arise when I put
                  1. el-api.jar
                  2. el.ri.jar
                  3. jsf-facelets.jar

                  Either under $JBOSS_HOME/server/default/lib or jbossweb.deployer/jsf-libs