[arquillian-issues] [JBoss JIRA] Issue Comment Edited: (ARQ-569) Archive for remote GF-3.1 should not be saved to disk prior to deployment
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Wed Sep 21 12:51:26 EDT 2011
[ https://issues.jboss.org/browse/ARQ-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629692#comment-12629692 ]
Aslak Knutsen edited comment on ARQ-569 at 9/21/11 12:49 PM:
-------------------------------------------------------------
Wouldn't Stream support make more sense then byte[] ? Pass a InputStream to the FormBodyPart and it will be streamed as the HTTP request goes along, instead of having to 'cache' it up in memory before sending ?
was (Author: aslak):
Wouldn't Stream support make more sense then byte[] ? Pass a InputStream to the FormBodyPart and it will be streamed as the HTTP request goes along, instead of having to 'cache' it up memory before sending. ?
> Archive for remote GF-3.1 should not be saved to disk prior to deployment
> -------------------------------------------------------------------------
>
> Key: ARQ-569
> URL: https://issues.jboss.org/browse/ARQ-569
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: GlassFish Containers
> Affects Versions: glassfish_1.0.0.CR1
> Environment: Ubuntu 11.04 x86, GlassFish Server Open Source Edition 3.1.1 (build 12)
> Reporter: Pedro Kowalski
>
> When I build the deployment archive, it is saved it /tmp/ARCHIVE_FILENAME (I'm running on GNU/Linux box) with chmod 444 (-r--r--r--). If I run the glassfish server as a root or as the same user as the maven than there is no problem. But actually I run a Jenkins build task (user: jenkins) and run the server as another user (user: pedro).
> In such case, the Arquillian remote tests fail because the Glassfish cannot use the /tmp/ARCHIVE_FILENAME (permission denied). If you change the chmod and give others the write permission - it will work fine.
> Aslak suggested avoiding the FileDataBodyPart during deployment.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list