Make sure you don't start Tomcat as root, otherwise files uploaded will be 
owned as root. You'll need to chown them to the dspace user to work with them.

cheers,
Steve


On 23/11/2010, at 7:49 PM, Mark Melia wrote:

> Hi Debashree,
> 
> Thanks for sharing your experience. I can confirm that the bitstream is 
> present, but is owned by root. How do you stop it been owned by root?
> 
> Thanks,
> Mark
> 
> On 22/11/10 19:33, Debashree Pati wrote:
>> Hi Mark,
>> 
>> I remember encountering this one time and it made no sense at all as the
>> assetstore did contain the bitstream. If I remember correctly, I just
>> re-executed the build/install commands in the appropriate directories.
>> 
>>  mvn -Pxpdf-mediafilter-support package
>>      ant -Dconfig=etc. ...
>> 
>> For mvn I also use the Dconfig = /* path to dspace install dspace.cfg */
>> 
>>  mvn -Dconfig=... -Pxpdf-mediafilter-support package
>> 
>> First make sure the bitstream of the item is present in the assetstore and
>> is not owned by root (since the filter-media command is run by dspace
>> user).
>> 
>> Someone else might have better insight. Hope the above will help.
>> - Debashree
>> 
>> 
>> 
>>> Hi all,
>>> 
>>> I am trying to debug the XPDF media filter - I keep getting the
>>> following exception:
>>> java.io.IOException: Unknown failure while transforming file to preview:
>>> no image produced.
>>> This seems to be caused by the XPDF2Thumbnail.java when it tries to
>>> create a BufferedImage named source but the method call on ImageIO just
>>> returns null:
>>> 
>>> source = ImageIO.read(outf); //returns null
>>> 
>>> I am not sure how to attach a debugger - as this is a script running?
>>> Does anyone know? Or perhaps someone has has the problem I have outlined
>>> before and knows how to solve it?
>>> 
>>> Thanks,
>>> Mark
>>> 
>>> ------------------------------------------------------------------------------
>>> Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
>>> _______________________________________________
>>> DSpace-tech mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>> 
> 
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to