[arquillian-issues] [JBoss JIRA] (ARQ-1777) Test hangs on remote Tomcat 6

Pramod Kankure (JIRA) issues at jboss.org
Wed May 21 16:24:57 EDT 2014


    [ https://issues.jboss.org/browse/ARQ-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969511#comment-12969511 ] 

Pramod Kankure commented on ARQ-1777:
-------------------------------------

I debugged this and it happens in copy method of IOUtils.
The reason for that is setting of setFixedLengthStreamingMode and then using buffer of 4096 size. This causes problem. Removal of setFixedLengthStreamingMode fixes the issue. Can existing contributors fix this?


> Test hangs on remote Tomcat 6
> -----------------------------
>
>                 Key: ARQ-1777
>                 URL: https://issues.jboss.org/browse/ARQ-1777
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Pramod Kankure
>
> I have observed that test hangs when executing on tomcat 6 remote container.   
> My arquillian.xml looks like below. ( I don't use authentication for jmx)
> <?xml version="1.0" encoding="UTF-8"?>
> <arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns="http://jboss.org/schema/arquillian"
> 	xsi:schemaLocation="http://jboss.org/schema/arquillian
>     http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
> 	<group qualifier="Grid" default="true">
> 		<defaultProtocol type="Servlet 3.0" />
> 		<container qualifier="remote-tomcat1" default="true">
> 			<configuration>
> 				<property name="httpPort">1776</property>
> 				<property name="host">localhost</property>
> 				<property name="jmxPort">8090</property>
> 			</configuration>
> 		</container>
> 	</group>
> </arquillian>
> The test do stops with an error when the server is down or wrong HTTP port is specified. It does execute @deployment method of the test but never comes to execute the test method annoted with [~test.todd]



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the arquillian-issues mailing list