[
https://issues.jboss.org/browse/SEAMREMOTING-38?page=com.atlassian.jira.p...
]
Jozef Hartinger commented on SEAMREMOTING-38:
---------------------------------------------
The issue is caused by remoting which assumes that the dom4j dependency is provided on
JBoss AS. While this is true with JBoss AS 6, dom4j is not available at AS 7. Generally,
the remoting module should not expect any non-JEE dependency as provided. The dependency
should rather be excluded explicitly within sample applications' build files.
Remoting broken on AS7
----------------------
Key: SEAMREMOTING-38
URL:
https://issues.jboss.org/browse/SEAMREMOTING-38
Project: Seam Remoting
Issue Type: Bug
Environment: Seam Remoting 3.0.1-SNAPSHOT (2011-06-09)
JBoss AS 7.0.0-Beta4-SNAPSHOT (2011-06-07)
Reporter: Jozef Hartinger
Fix For: 3.1.0.Final
Invoking any remote action I am getting the following exception. This can be reproduced
on both remoting-helloworld and remoting-model examples. Note that you need to change the
datasource definition to java:/H2DS for the remoting-model example to deploy to AS.
15:06:34,372 ERROR [org.jboss.seam.remoting.Remoting] (http-localhost-127.0.0.1-8080-3)
Error: org.jboss.weld.exceptions.UnsatisfiedResolutionException: WELD-001308 Unable to
resolve any beans for Types: [class org.jboss.seam.remoting.ExecutionHandler]; Bindings:
[@javax.enterprise.inject.Default()]
at org.jboss.weld.manager.BeanManagerImpl.getBean(BeanManagerImpl.java:809)
[weld-core-1.1.1.Final.jar:2011-04-06 13:26]
at org.jboss.weld.bean.builtin.InstanceImpl.get(InstanceImpl.java:108)
[weld-core-1.1.1.Final.jar:2011-04-06 13:26]
at org.jboss.seam.remoting.Remoting.getExecutionHandler(Remoting.java:221)
[seam-remoting-3.0.1-SNAPSHOT.jar:]
at org.jboss.seam.remoting.Remoting.service(Remoting.java:251)
[seam-remoting-3.0.1-SNAPSHOT.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[weld-core-1.1.1.Final.jar:2011-04-06 13:26]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:658)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira