Re: [Dspace-tech] Upload Directory Issue

2010-12-06 Thread Keith Gilbertson

On Dec 6, 2010, at 1:21 AM, Hardik Mishra wrote:

 Hello
 
 I have seen some strange behavior with Dspace-1.5.2 on Linux.
 
 I have observed in 2 different linux systems, when we upload any file. It is 
 not showing in upload
 directory.
 
There is some code in the uploadFiles(...) method in SubmissionController.java 
file in DSpace that deletes files after they are uploaded to the temporary 
directory:

// cleanup our temp file
if (!temp.delete())
{
log.error(Unable to delete temporary file);
}

So, this appears to be a normal situation.  I do see some files in  
${upload.temp.dir} on some DSpace systems, but they are from SWORD submissions.



 Though Dspace works fine as files are getting stored in bitstream format in 
 /assetstore directory.
 
 Under
 # Upload File settings #
 
 # Where to temporarily store uploaded files
 upload.temp.dir = ${dspace.dir}/upload
 
 # Maximum size of uploaded files in bytes, negative setting will result in no 
 limit being set
 # 512Mb
 upload.max = 536870912
 
 I have above values and directory also exists at /dspace/upload. But I can't 
 see file in it.
 
 In windows XP and windows 2003 the same confg. is running fine.
 
 Can anyone please help me ?
 
 Thanks   Regards
 Hardik Mishra
 Software Engineer
 Webinito Networks
 
 Give a man a fish, and you feed him for a day. Teach a man to catch fish and 
 you feed him for a lifetime.
 --
 What happens now with your Lotus Notes apps - do you make another costly 
 upgrade, or settle for being marooned without product support? Time to move
 off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
 use, and manage than apps on traditional platforms. Sign up for the Lotus 
 Notes Migration Kit to learn more. 
 http://p.sf.net/sfu/salesforce-d2d___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Upload Directory Issue

2010-12-06 Thread Keith Gilbertson
I'm noticing that you said the files are still there in Windows.  I'm confused, 
but I wonder if this might be some difference between Windows and Linux.  In 
Linux, it appears to be no problem to delete file while a process has it open 
for reading (in DSpace, there's an InputStream open on the temporary file when 
it is deleted),  but maybe this doesn't work in Windows

On the Windows systems, do you haveUnable to delete temporary file messages 
in your dspace log files after an upload? 


On Dec 6, 2010, at 1:21 AM, Hardik Mishra wrote:

 Hello
 
 I have seen some strange behavior with Dspace-1.5.2 on Linux.
 
 I have observed in 2 different linux systems, when we upload any file. It is 
 not showing in upload
 directory.
 
 Though Dspace works fine as files are getting stored in bitstream format in 
 /assetstore directory.
 
 Under
 # Upload File settings #
 
 # Where to temporarily store uploaded files
 upload.temp.dir = ${dspace.dir}/upload
 
 # Maximum size of uploaded files in bytes, negative setting will result in no 
 limit being set
 # 512Mb
 upload.max = 536870912
 
 I have above values and directory also exists at /dspace/upload. But I can't 
 see file in it.
 
 In windows XP and windows 2003 the same confg. is running fine.
 
 Can anyone please help me ?
 
 Thanks   Regards
 Hardik Mishra
 Software Engineer
 Webinito Networks
 
 Give a man a fish, and you feed him for a day. Teach a man to catch fish and 
 you feed him for a lifetime.
 --
 What happens now with your Lotus Notes apps - do you make another costly 
 upgrade, or settle for being marooned without product support? Time to move
 off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
 use, and manage than apps on traditional platforms. Sign up for the Lotus 
 Notes Migration Kit to learn more. 
 http://p.sf.net/sfu/salesforce-d2d___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech