JBoss Community

Re: Running Seam 2 archives on Jboss 7

created by Nitin Khekare in JBoss AS7 Development - View the full discussion

I am getting an error while deploying an seam ear to jboss-as-web-7.0.0.Final, sea mversion is 2.2.0

 

The error stack trace is

 

 

09:53:51,992 WARN  [org.jboss.modules] (MSC service thread 1-3) Failed to define class org.jboss.seam.integration.jbossas.vfs.VFSScanner in Module "deployment.commonconsole.ear:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/integration/jbossas/vfs/VFSScanne

(Module "deployment.sample.ear:main" from Service Module Loader)

        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401)

        at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)

        at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)

        at org.jboss.modules.Module.loadModuleClass(Module.java:588)

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

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

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

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

        at org.jboss.seam.deployment.DeploymentStrategy.instantiateScanner(DeploymentStrategy.java:114) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.deployment.DeploymentStrategy.initScanner(DeploymentStrategy.java:98) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.deployment.DeploymentStrategy.getScanner(DeploymentStrategy.java:59) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:113) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.init.Initialization.create(Initialization.java:132) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam.jar:2.2.0.GA]

        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_22]

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

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

Caused by: java.lang.NoClassDefFoundError: org/jboss/seam/deployment/AbstractScanner

        at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_22]

        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_22]

        at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_22]

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_22]

        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)

        ... 21 more

Caused by: java.lang.ClassNotFoundException: org.jboss.seam.deployment.AbstractScanner from [Module "deployment.sample.ear:main" from Service Module Loader]

        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)

        ... 26 more

 

09:53:52,086 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/SMGR]] (MSC service thread 1-3) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: java.lang.LinkageError: Failed to link org/jboss/seam/integration/j

ssas/vfs/VFSScanner (Module "deployment.sample.ear:main" from Service Module Loader)

        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401)

        at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)

        at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)

        at org.jboss.modules.Module.loadModuleClass(Module.java:588)

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

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

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

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

        at org.jboss.seam.deployment.DeploymentStrategy.instantiateScanner(DeploymentStrategy.java:114) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.deployment.DeploymentStrategy.initScanner(DeploymentStrategy.java:98) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.deployment.DeploymentStrategy.getScanner(DeploymentStrategy.java:59) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:113) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.init.Initialization.create(Initialization.java:132) [jboss-seam.jar:2.2.0.GA]

        at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam.jar:2.2.0.GA]

        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_22]

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

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

Caused by: java.lang.NoClassDefFoundError: org/jboss/seam/deployment/AbstractScanner

        at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_22]

        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_22]

        at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_22]

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_22]

        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)

        ... 21 more

Caused by: java.lang.ClassNotFoundException: org.jboss.seam.deployment.AbstractScanner from [Module "deployment.sample.ear:main" from Service Module Loader]

        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)

        ... 26 more

 

 

Can anybody help me in this?

 

Thanks

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community