[JBoss JIRA] (ARQ-1683) Warp: fails execute on WildFly because mixes up RequestContext objects
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQ-1683:
-------------------------------
Summary: Warp: fails execute on WildFly because mixes up RequestContext objects
Key: ARQ-1683
URL: https://issues.jboss.org/browse/ARQ-1683
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Warp
Affects Versions: warp_1.0.0.Alpha6
Reporter: Lukáš Fryč
HttpServletRequest, HttpServletResponse and FilterChain objects are samples of objects stored in RequestContext.
We are getting this exception:
{code}
20:10:05,423 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /ITResourceOptimization/org.richfaces.resources/javax.faces.resource/org.richfaces.optimized/5.0.0-SNAPSHOT/PackedCompressed/DEFAULT/org.richfaces.css/skinning.css: java.lang.IllegalArgumentException: UT010023: Request io.undertow.servlet.spec.HttpServletRequestImpl@31772f73 was not original or a wrapper
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:117) [undertow-servlet-1.0.0.Beta30.jar:1.0.0.Beta30]
at org.jboss.arquillian.warp.impl.server.execution.HttpRequestProcessor.processHttpRequest(HttpRequestProcessor.java:73) [arquillian-warp.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135) [arquillian-core.jar:]
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115) [arquillian-core.jar:]
at org.jboss.arquillian.warp.impl.server.execution.WarpFilter.doFilterWarp(WarpFilter.java:144) [arquillian-warp.jar:]
{code}
The problem here is that Warp stores these objects in WarpFilter and it injects them to WarpExecutionObserver where it calls #doFilterChain.
Undertow detects that the objects are mixed up.
--
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: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1656) Propogate Contextual operations on HttpFilters
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQ-1656?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated ARQ-1656:
----------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: warp_1.0.0.Beta1
Resolution: Done
> Propogate Contextual operations on HttpFilters
> ----------------------------------------------
>
> Key: ARQ-1656
> URL: https://issues.jboss.org/browse/ARQ-1656
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha6
> Environment: Arquillian Core 1.1.3
> Reporter: Aslak Knutsen
> Assignee: Aslak Knutsen
> Fix For: warp_1.0.0.Beta1
>
>
> Warp reactivates Context's when creating the client side HttpFilters, but not when executing the actual filtering.
> In Arquillian Core 1.1.3 the InheritableThreadLocal were removed which now expose this bug.
--
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: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1681) Implement multilanguage support in Arquillian Exporter
by Alex Soto (JIRA)
Alex Soto created ARQ-1681:
------------------------------
Summary: Implement multilanguage support in Arquillian Exporter
Key: ARQ-1681
URL: https://issues.jboss.org/browse/ARQ-1681
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Recorder
Affects Versions: recorder_1.0.0.Alpha1
Reporter: Alex Soto
Priority: Optional
Currently Reports are generated in English. In reports there are some static information like some labels or footnotes, ...
Because test results are also documentation, it has sense that the report may be a part of rendered final documents, but if for example all of them are written in Spanish, then it is strange to have one document in English.
For this reason I think we should add some internal and external default directories where to find translations so people can collaborate in translations, but also allowing users to provide their own.
--
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: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1680) Tomcat 7 embedded adapter should be built against 7.0.52
by Tommy Tynjä (JIRA)
[ https://issues.jboss.org/browse/ARQ-1680?page=com.atlassian.jira.plugin.s... ]
Tommy Tynjä updated ARQ-1680:
-----------------------------
Summary: Tomcat 7 embedded adapter should be built against 7.0.52 (was: Tomcat 7 embedded should be built against 7.0.52)
> Tomcat 7 embedded adapter should be built against 7.0.52
> --------------------------------------------------------
>
> Key: ARQ-1680
> URL: https://issues.jboss.org/browse/ARQ-1680
> Project: Arquillian
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Tomcat Containers
> Affects Versions: tomcat_1.0.0.CR6
> Environment: Tomcat 7.0.52, JDK 1.7
> Reporter: Tommy Tynjä
> Assignee: Tommy Tynjä
>
> Tomcat 7 embedded container is built with a dependency on Tomcat 7.0.20, which was released 2011-08-11. The latest version of Tomcat is 7.0.52, and a lot of patches have been applied since 7.0.20 (see [changelog|http://tomcat.apache.org/tomcat-7.0-doc/changelog.html]). When relying on the 7.0.52 version of Tomcat 7 embedded in your project, it would be preferable to use an adapter that is built using that version, as in some (at least theoretical) corner cases, Arquillian could fail running tests in a 7.0.52 embedded container.
--
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: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1680) Tomcat 7 embedded should be built against 7.0.52
by Tommy Tynjä (JIRA)
Tommy Tynjä created ARQ-1680:
--------------------------------
Summary: Tomcat 7 embedded should be built against 7.0.52
Key: ARQ-1680
URL: https://issues.jboss.org/browse/ARQ-1680
Project: Arquillian
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Tomcat Containers
Affects Versions: tomcat_1.0.0.CR6
Environment: Tomcat 7.0.52, JDK 1.7
Reporter: Tommy Tynjä
Tomcat 7 embedded container is built with a dependency on Tomcat 7.0.20, which was released 2011-08-11. The latest version of Tomcat is 7.0.52, and a lot of patches have been applied since 7.0.20 (see [changelog|http://tomcat.apache.org/tomcat-7.0-doc/changelog.html]). When relying on the 7.0.52 version of Tomcat 7 embedded in your project, it would be preferable to use an adapter that is built using that version, as in some (at least theoretical) corner cases, Arquillian could fail running tests in a 7.0.52 embedded container.
--
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: http://www.atlassian.com/software/jira
12 years, 1 month