Seam 2.2.2 deploy error JBoss as 7
chicco0386 Sep 30, 2011 6:38 AMHi all,
I'm try to deploy a generated Seam 2.2.2 project into JBoss as 7, I've follow this tutorial http://community.jboss.org/blogs/marek-novotny/2011/07/15/seam-2-jpa-example-on-jboss-as7
, but inside the log I've this error:
12:11:30,485 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/FantaFormazioneWeb7]] (MSC service thread 1-3) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: java.lang.ExceptionInInitializerError at org.jboss.seam.init.Initialization.installComponents(Initialization.java:1170) [jboss-seam.jar:] at org.jboss.seam.init.Initialization.init(Initialization.java:737) [jboss-seam.jar:] at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam.jar:] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.0.CR4.jar:7.0.0.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.0.CR4.jar:7.0.0.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765) at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25] at java.lang.Thread.run(Thread.java:662) [:1.6.0_25] Caused by: java.lang.NullPointerException at org.jboss.seam.core.Expressions.<clinit>(Expressions.java:51) [jboss-seam.jar:] ... 11 more 12:11:30,556 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Initializing Mojarra (1.2_13-b01-FCS) for context '/FantaFormazioneWeb7' 12:11:31,872 GRAVE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-3) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider. Entry will be ignored. 12:11:31,875 INFO [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-3) JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed. 12:11:32,301 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Error listenerStart 12:11:32,303 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Context [/FantaFormazioneWeb7] startup failed due to previous errors 12:11:32,305 INFO [org.jboss.web] (MSC service thread 1-3) registering web context: /FantaFormazioneWeb7 12:11:32,326 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "FantaFormazioneWeb7.war"
Can you help me?
Thank you