[JBoss JIRA] Created: (ARQ-86) Cannot run TestNG getting started tutorial test from inside m2eclipse
by Pete Muir (JIRA)
Cannot run TestNG getting started tutorial test from inside m2eclipse
---------------------------------------------------------------------
Key: ARQ-86
URL: https://jira.jboss.org/jira/browse/ARQ-86
Project: Arquillian
Issue Type: Bug
Components: Documentation
Reporter: Pete Muir
Priority: Critical
Fix For: 1.0.0.Alpha1
Set up the project as described in the ref guide, and try to run any test
FAILED: testConvertToCelsius
java.lang.ClassCastException: java.lang.String cannot be cast to org.testng.xml.XmlInclude
at org.jboss.arquillian.testng.TestNGTestRunner.execute(TestNGTestRunner.java:70)
at org.jboss.arquillian.protocol.servlet.ServletTestRunner.doGet(ServletTestRunner.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:872)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:637)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months
[JBoss JIRA] Created: (ARQ-97) Load classes and resources from ShrinkWrap archive
by Dan Allen (JIRA)
Load classes and resources from ShrinkWrap archive
--------------------------------------------------
Key: ARQ-97
URL: https://jira.jboss.org/jira/browse/ARQ-97
Project: Arquillian
Issue Type: Bug
Components: Weld Containers
Affects Versions: 1.0.0.Alpha1
Reporter: Dan Allen
Fix For: 1.0.0.Alpha2
When the test, or libraries used by the test, attempt to load a class or resource from the classpath, that request should be diverted to look in the ShrinkWrap archive defined by the test. Currently, this classloading operation is looking in the classpath visible to the test runner. This causes two problems:
1. resources in the ShrinkWrap archive are not found
2. the classpath available to the test case is leaking (only resources in the ShrinkWrap archive should be visible)
The classpath needs to be constrained/protected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months