I've done a manual copy of the large file from the shell, and it works 
perfectly fine.
This rules out a filesystem or NFS limitation. 

i.e
cp /opt/home/servera/abc.log abc.log

I'm suspecting it's due to a time out because of the duration taken to do the 
copy, but the error message does not indicate so. 

-----Original Message-----
From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] 
Sent: 18 November 2009 21:46
To: user@ant.apache.org
Subject: AW: Copy task failed to copy due to invalid argument

The underlying exception is an IOException with that "Illegal Argumen" message.
I did a quick search and found [1] - "problems with file system".

Does that help?


Jan

[1] 
http://stackoverflow.com/questions/780543/java-io-ioexception-invalid-argument 

>-----Ursprüngliche Nachricht-----
>Von: Andy Stevens [mailto:insomniacpeng...@googlemail.com] 
>Gesendet: Mittwoch, 18. November 2009 14:00
>An: Ant Users List
>Betreff: Re: Copy task failed to copy due to invalid argument
>
>2009/11/18 Sim Soon Huat <si...@psa.com.sg>:
>> Hi,
>>
>> I've a server which is mounting a nfs share. When I do a 
>copy on a file
>> larger than 2GB, the following error comes up. It works perfectly for
>> smaller files.
>
>What file system is used on the partition containing the server's
>exported directory?  It may be there's a maximum supported file size
>which the file system on your local machine doesn't have, or vice
>versa (I'm assuming you're copying the files from one machine to the
>other).
>Are there any user storage quotas set on the server?
>
>
>Andy
>-- 
>http://pseudoq.sourceforge.net/
>
>
>> [copy] Failed to copy /opt/home/servera/abc.log to abc.log due to
>> Invalid argument
>>
>> Does anyone know where the limitation is at?
>>
>>
>> Thanks in advance,
>> Sim
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
>For additional commands, e-mail: user-h...@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org



Disclaimer:
This communication contains confidential or privileged information. If you are 
not the intended recipient, please notify us IMMEDIATELY that you have received 
it and destroy it. We are not liable for any unauthorised sending of or 
interference with this communication.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to