]
RH Bugzilla Integration updated JBSEAM-5111:
--------------------------------------------
Bugzilla Update: Perform
Bugzilla References:
seambay example fails to deploy on EAP 6.1
------------------------------------------
Key: JBSEAM-5111
URL:
https://issues.jboss.org/browse/JBSEAM-5111
Project: Seam 2
Issue Type: Bug
Components: Core
Affects Versions: 2.3.1.CR1
Environment: EAP 6.1
Reporter: Marek Schmidt
Priority: Critical
seambay example fails to deploy on EAP 6.1 because of unhandled LinkageError caused by
the GWT servlet missing dependency.
The root of the problem is that in several places where Seam catches
ClassNotFoundException, NoClassDefFoundError, ... it doesn't catch the general
LinkageError, which is thrown in these cases by the EAP 6.1 classloader.
{CODE}
12:00:12,303 WARN [org.jboss.seam.integration.jbossas.vfs.VFSScanner] (ServerService
Thread Pool -- 61) Cannot read resource: META-INF/components.xml: java.io.IOException
at org.jboss.seam.integration.jbossas.vfs.VFSScanner.handleItem(VFSScanner.java:212)
[jboss-seam-int.jar:6.0.0.GA-redhat-2]
at org.jboss.seam.integration.jbossas.vfs.VFSScanner.handleRoot(VFSScanner.java:190)
[jboss-seam-int.jar:6.0.0.GA-redhat-2]
at org.jboss.seam.integration.jbossas.vfs.VFSScanner.scanResources(VFSScanner.java:153)
[jboss-seam-int.jar:6.0.0.GA-redhat-2]
at
org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:119)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.init.Initialization.create(Initialization.java:131)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
[jboss-seam.jar:2.3.1.CR1]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_19]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_19]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_19]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_19]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_19]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_19]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) [:1.7.0_19]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_19]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_19]
at org.jboss.seam.integration.jbossas.vfs.VFSScanner.handleItem(VFSScanner.java:208)
[jboss-seam-int.jar:6.0.0.GA-redhat-2]
... 17 more
Caused by: java.lang.LinkageError: Failed to link org/jboss/seam/remoting/gwt/GWTService
(Module "deployment.seam-seambay.ear:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:427)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:260)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:526)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:188)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_19]
at java.lang.ClassLoader.defineClass(ClassLoader.java:791) [rt.jar:1.7.0_19]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:344)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:422)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:260)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:526)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:188)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.seam.deployment.ClassDescriptor.<init>(ClassDescriptor.java:30)
[jboss-seam.jar:2.3.1.CR1]
at
org.jboss.seam.deployment.AbstractScanner$Handler.getClassDescriptor(AbstractScanner.java:125)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.deployment.AbstractScanner$Handler.handle(AbstractScanner.java:67)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.deployment.AbstractScanner$Handler.handle(AbstractScanner.java:97)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.deployment.AbstractScanner.handle(AbstractScanner.java:225)
[jboss-seam.jar:2.3.1.CR1]
... 21 more
Caused by: java.lang.NoClassDefFoundError:
com/google/gwt/user/server/rpc/SerializationPolicyProvider
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_19]
at java.lang.ClassLoader.defineClass(ClassLoader.java:791) [rt.jar:1.7.0_19]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:344)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:422)
[jboss-modules.jar:1.2.0.Final-redhat-1]
... 46 more
Caused by: java.lang.ClassNotFoundException:
com.google.gwt.user.server.rpc.SerializationPolicyProvider from [Module
"deployment.seam-seambay.ear:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374)
[jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119)
[jboss-modules.jar:1.2.0.Final-redhat-1]
... 50 more
12:00:12,331 INFO [org.jboss.seam.init.Initialization] (ServerService Thread Pool -- 61)
reading /WEB-INF/components.xml
12:00:12,374 INFO [org.jboss.seam.init.Initialization] (ServerService Thread Pool -- 61)
reading properties from: /seam.properties
12:00:12,408 INFO [org.jboss.seam.Component] (ServerService Thread Pool -- 61)
Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.Init
12:00:12,430 INFO [org.jboss.seam.Component] (ServerService Thread Pool -- 61)
Component: aargh, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.example.seambay.Aargh
12:00:12,437 INFO [org.jboss.seam.Component] (ServerService Thread Pool -- 61)
Component: auctionAction, scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.example.seambay.AuctionAction
12:00:12,467 INFO [org.jboss.seam.Component] (ServerService Thread Pool -- 61)
Component: auctionDetail, scope: EVENT, type: JAVA_BEAN, class:
org.jboss.seam.example.seambay.AuctionDetailAction
12:00:12,479 INFO [org.jboss.seam.Component] (ServerService Thread Pool -- 61)
Component: auctionEnd, scope: EVENT, type: JAVA_BEAN, class:
org.jboss.seam.example.seambay.AuctionEndAction
12:00:12,492 INFO [org.jboss.seam.Component] (ServerService Thread Pool -- 61)
Component: auctionSearch, scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.example.seambay.AuctionSearchAction
12:00:12,541 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/seam-seambay]]
(ServerService Thread Pool -- 61) JBWEB000287: Exception sending context initialized event
to listener instance of class org.jboss.seam.servlet.SeamListener:
java.lang.RuntimeException: Could not create Component: auctionService
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1271)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.init.Initialization.installComponents(Initialization.java:1187)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.init.Initialization.init(Initialization.java:806)
[jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
[jboss-seam.jar:2.3.1.CR1]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_19]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_19]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_19]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_19]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_19]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_19]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.IllegalArgumentException: You must specify
org.jboss.seam.core.init.jndiPattern or use @JndiName: auctionService
at org.jboss.seam.Component.getJndiName(Component.java:456) [jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.Component.<init>(Component.java:233) [jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.Component.<init>(Component.java:205) [jboss-seam.jar:2.3.1.CR1]
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1255)
[jboss-seam.jar:2.3.1.CR1]
... 15 more
{CODE}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: