[
https://issues.jboss.org/browse/SEAMREMOTING-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shane Bryzak closed SEAMREMOTING-28.
------------------------------------
Assignee: Shane Bryzak
Resolution: Done
Fixed by adding seam-conversation-weld to the dependencies, however the
seam-conversation module should support the lack of any implementation (I'll
ask Ales if he can implement this)
> Helloworld example throws "No matching CDI environment available: interface
> javax.servlet.http.HttpServletRequest"
> ------------------------------------------------------------------------------------------------------------------
>
> Key: SEAMREMOTING-28
> URL: https://issues.jboss.org/browse/SEAMREMOTING-28
> Project: Seam Remoting
> Issue Type: Bug
> Affects Versions: 3.0.0.CR1
> Reporter: Martin Gencur
> Assignee: Shane Bryzak
> Fix For: 3.0.0.Final
>
>
> After deploying the app and trying to test the Casual+Localized(English)
> combination - no alert windows is displayed. What is displayed is the
> following exception on JBossAS console:
> 09:43:43,859 ERROR [org.jboss.seam.remoting.Remoting] Error:
> java.lang.IllegalArgumentException: No matching CDI environment available:
> interface javax.servlet.http.HttpServletRequest
> at
> org.jboss.seam.conversation.spi.SeamConversationContextFactory.create(SeamConversationContextFactory.java:114)
> [:3.0.0.Beta1]
> at
> org.jboss.seam.conversation.spi.SeamConversationContextFactory.getContext(SeamConversationContextFactory.java:93)
> [:3.0.0.Beta1]
> at
> org.jboss.seam.conversation.spi.SeamConversationContextFactory.produce(SeamConversationContextFactory.java:69)
> [:3.0.0.Beta1]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [:1.6.0_21]
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [:1.6.0_21]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [:1.6.0_21]
> at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
> at
> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> [:6.0.0.Final]
> at
> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> [:6.0.0.Final]
> at
> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> [:6.0.0.Final]
> at
> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> [:6.0.0.Final]
> at
> org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)
> [:6.0.0.Final]
> at
> org.jboss.weld.injection.MethodInjectionPoint.invoke(MethodInjectionPoint.java:127)
> [:6.0.0.Final]
> at
> org.jboss.weld.bean.ProducerMethod$1.produce(ProducerMethod.java:153)
> [:6.0.0.Final]
> at
> org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:361)
> [:6.0.0.Final]
> at
> org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:67)
> [:6.0.0.Final]
> at
> org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:669)
> [:6.0.0.Final]
> at
> org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:751)
> [:6.0.0.Final]
> at
> org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
> [:6.0.0.Final]
> at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
> [:6.0.0.Final]
> at
> org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
> [:6.0.0.Final]
> at
> org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1$1.proceed(ManagedBean.java:182)
> [:6.0.0.Final]
> at
> org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:54)
> [:6.0.0.Final]
> at
> org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1.work(ManagedBean.java:176)
> [:6.0.0.Final]
> at
> org.jboss.weld.bean.ManagedBean$FixInjectionPoint.run(ManagedBean.java:142)
> [:6.0.0.Final]
> at
> org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.inject(ManagedBean.java:170)
> [:6.0.0.Final]
> at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:339)
> [:6.0.0.Final]
> at
> org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:67)
> [:6.0.0.Final]
> at
> org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:669)
> [:6.0.0.Final]
> at
> org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:707)
> [:6.0.0.Final]
> at org.jboss.weld.bean.builtin.InstanceImpl.get(InstanceImpl.java:87)
> [:6.0.0.Final]
> at
> org.jboss.seam.remoting.Remoting.getExecutionHandler(Remoting.java:254)
> [:3.0.0.CR1]
> at org.jboss.seam.remoting.Remoting.service(Remoting.java:289)
> [:3.0.0.CR1]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [:1.0.0.Final]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
> [:6.0.0.Final]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> [:6.0.0.Final]
> at
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
> [:6.0.0.Final]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> [:6.0.0.Final]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> [:6.0.0.Final]
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> [:6.0.0.Final]
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [:6.0.0.Final]
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
> [:6.0.0.Final]
> at
> org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
> [:1.1.0.Final]
> at
> org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
> [:1.1.0.Final]
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
> [:6.0.0.Final]
> at
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
> [:6.0.0.Final]
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [:6.0.0.Final]
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [:6.0.0.Final]
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> [:6.0.0.Final]
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [:6.0.0.Final]
> at
> org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
> [:6.0.0.Final]
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
> [:6.0.0.Final]
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
> [:6.0.0.Final]
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
> [:6.0.0.Final]
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
> [:6.0.0.Final]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
> and a debug window for the application shows the following:
> Mon Feb 28 2011 09:43:43 GMT+0100 (CET): Request packet:
> <envelope><header><context><callId>4</callId></context></header><body><call><target>org.jboss.seam.remoting.examples.helloworld.HelloAction</target><qualifiers>@Formal,@Localized(RUSSIAN)</qualifiers><method>sayHello</method><params><param><str>Martin</str></param></params><refs></refs></call></body></envelope>
> Mon Feb 28 2011 09:43:44 GMT+0100 (CET): Response packet:
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues