6 Replies Latest reply on Aug 1, 2011 11:14 AM by Agustin Sivoplás Ferrari

    JBoss AS 7 + Richfaces 3.3.3

    Agustin Sivoplás Ferrari Expert

      I'm trying to run my app in JBoss AS7 but i'm obtaining this error when server  is started.

       

      INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Initializing Mojarra (1.2_13-b01-FCS) for context '/ITIL'

      14:06:11,847 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.

      14:06:11,847 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.

      14:06:12,050 INFO  [org.ajax4jsf.cache.CacheManager] (MSC service thread 1-3) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

      14:06:12,052 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-3) Creating LRUMap cache instance using parameters: {com.sun.faces.responseBufferSize=500000, org.jboss.jbossfaces.JSF_CONFIG_NAME=Mojarra-1.2, facelets.DEVELOPMENT=false, facelets.BUILD_BEFORE_RESTORE=false, org.ajax4jsf.COMPRESS_STYLE=true, org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, org.ajax4jsf.COMPRESS_SCRIPT=true, javax.faces.CONFIG_FILES=/WEB-INF/faces-managed-beans.xml, /WEB-INF/faces-navigation.xml, org.richfaces.queue.global.enabled=true, facelets.RECREATE_VALUE_EXPRESSION_ON_BUILD_BEFORE_RESTORE=false, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, facelets.REFRESH_PERIOD=2, com.sun.faces.verifyObjects=false, javax.faces.STATE_SAVING_METHOD=server, javax.faces.DEFAULT_SUFFIX=.xhtml, com.sun.faces.enableRestoreView11Compatibility=true}

      14:06:12,052 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-3) Creating LRUMap cache instance of default capacity

      14:06:12,056 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ITIL]] (MSC service thread 1-3) Excepción arrancando filtro richfaces: java.lang.NoClassDefFoundError: org/xml/sax/SAXException

                at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:129) [richfaces-impl-3.3.3.Final.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)]

                at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:172) [richfaces-impl-3.3.3.Final.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)]

                at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]

                at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3245) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3836) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.1.0.Alpha1-SNAPSHOT.jar:7.1.0.Alpha1-SNAPSHOT]

                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(Unknown Source) [:1.6.0_22]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_22]

                at java.lang.Thread.run(Unknown Source) [:1.6.0_22]

      Caused by: java.lang.ClassNotFoundException: org.xml.sax.SAXException from [Module "itil.librerias:main" from local module loader @a6d51e (roots: C:\jboss-as-7.1.0.Alpha1-SNAPSHOT\modules)]

                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)

                at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)

                ... 11 more

       

       

       

       

      Anyone can help me?

       

      Thanks in advanced