2 Replies Latest reply on Nov 4, 2011 11:15 AM by Raymond Eperen

    Exception deploying seam-security.jar

    Raymond Eperen Newbie

      I have a clean install of JBoss AS 7.2 (other than configuring a datasource).  It started fine with my application deployed.  I then added the seam-security.jar and get the following error.  I am using seam-security-3.0.0.Final.jar.  I don't see anything in the docs about having to configure anything, so I'm not sure where to start looking.

       

      20:01:04,268 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."projecthub.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."projecthub.war".WeldService: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.projecthub.war:main" from Service Module Loader]; location: <class>org.jboss.seam.transaction.TransactionInterceptor</class> in vfs:/content/projecthub.war/WEB-INF/lib/seam-security-3.0.0.Final.jar/META-INF/beans.xml@8

                at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]

                at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]

      Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.projecthub.war:main" from Service Module Loader]; location: <class>org.jboss.seam.transaction.TransactionInterceptor</class> in vfs:/content/projecthub.war/WEB-INF/lib/seam-security-3.0.0.Final.jar/META-INF/beans.xml@8

                at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:75)

                at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:56)

                at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:435)

                at java.util.AbstractList$Itr.next(AbstractList.java:345) [:1.6.0_26]

                at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:143)

                at org.jboss.weld.manager.Enabled.<init>(Enabled.java:113)

                at org.jboss.weld.manager.Enabled.of(Enabled.java:95)

                at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:104)

                at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:185)

                at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)

                at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)

                at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:156)

                at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:293)

                at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:79)

                at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)

                ... 5 more

      Caused by: java.lang.ClassNotFoundException: org.jboss.seam.transaction.TransactionInterceptor from [Module "deployment.projecthub.war:main" from Service Module Loader]

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

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

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

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

                at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68)

                at org.jboss.weld.manager.Enabled$ClassLoader.apply(Enabled.java:71)

                ... 19 more