Re: [Dspace-tech] dspace java upload limit

2012-05-24 Thread Jimmy Ghaphery
yes, very helpful, thanks. I'll add a comment in our dspace.cfg file to 
this effect to avoid confusion in the future.

--Jimmy


On 5/24/2012 5:35 AM, Bram Luyten wrote:
> Hi Jimmy,
>
> assuming you are using XMLUI:
>
> in DSpace 1.8.2, the limit was increased to Apache Cocoon's maximum
> value of 2GB
> https://jira.duraspace.org/browse/DS-1124
>
> If you are using a pre 1.8.2 version you could change this yourself in
> the core.properties file.
>
> hope this helps,
>
> Bram Luyten
>
> --
> logo
>   *Bram Luyten*/@mire/
> /2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010/
> /Esperantolaan 4, Heverlee 3001, Belgium/
> <http://www.atmire.com/>www.atmire.com
> <http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>
>
>
>
>
> On Wed, May 23, 2012 at 7:44 PM, Jimmy Ghaphery  <mailto:jghap...@vcu.edu>> wrote:
>
> I'm running into the same problems described below, I don't see an
> answer to this question. Any ideas or guidance appreciated.
>
> Is there a separate java upload limit in addition to the limit expressed
> in dspace.cfg?
>
> thanks
>
> Jimmy
>
>  >
>  > [Dspace-tech] dspace java upload limit
>  > From: Mark Ludwig  -2011-01-04 21:25
>  > I am trying to archive some filesystems
>  > as zip files in DSpace.
>  > It's unable to upload files of one Gbyte or more.
>  > I set the upload.max parm in dspace.cfg to 4 Gbytes
>  > but it has no effect, so I think this is some Java
>  > restriction.
>  > I'm getting:
>  > java.io.IOException: Multipart element is too large and was
> discarded.
>  > This is Tomcat 5.5.26
>  > dspace 1.5.1
>  > and  jre-1.6.0-openjdk.x86_64
>  > on Fedora.
>  > Is there some obvious java setting I need to make?
>  > If so, how high can/should it go?
>  > I have multi-gig files but wonder how
>  > much to chop it up.
>  > Thanks,
>  >
>  > Mark Ludwig
>  > University Libraries
>  > SUNY at Buffalo
>  > Buffalo, NY 14260
>  > 716 645 5952
>
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions
> will include endpoint security, mobile security and the latest in
> malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> <mailto:DSpace-tech@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>

-- 
Jimmy Ghaphery
Head, Library Information Systems
VCU Libraries

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] dspace java upload limit

2012-05-23 Thread Jimmy Ghaphery
I'm running into the same problems described below, I don't see an 
answer to this question. Any ideas or guidance appreciated.

Is there a separate java upload limit in addition to the limit expressed 
in dspace.cfg?

thanks

Jimmy

>
> [Dspace-tech] dspace java upload limit
> From: Mark Ludwig  -2011-01-04 21:25
> I am trying to archive some filesystems
> as zip files in DSpace.
> It's unable to upload files of one Gbyte or more.
> I set the upload.max parm in dspace.cfg to 4 Gbytes
> but it has no effect, so I think this is some Java
> restriction.
> I'm getting:
> java.io.IOException: Multipart element is too large and was discarded.
> This is Tomcat 5.5.26
> dspace 1.5.1
> and  jre-1.6.0-openjdk.x86_64
> on Fedora.
> Is there some obvious java setting I need to make?
> If so, how high can/should it go?
> I have multi-gig files but wonder how
> much to chop it up.
> Thanks,
>
> Mark Ludwig
> University Libraries
> SUNY at Buffalo
> Buffalo, NY 14260
> 716 645 5952

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Upgrading form DSpace 1.3.2 to 1.6

2011-04-19 Thread Jimmy Ghaphery
If you are working with two servers, production (1.4) and 
future-production (1.7), would it be possible or advisable to

1. Copy 1.4 to the future-production server, and go through the full 
upgrade steps until there is a working copy of 1.6 or 1.7
2. Before switching to future production, import the database and asset 
store from 1.4
3. Run database upgrade steps
version 1.4 to 1.5:
/|psql -U dspace -f
|/[dspace-source]/|/dspace/etc/postgres/database_schema_14_15.sql dspace
|/version 1.5 to 1.6:
/|psql -U dspace -f
|/[dspace-source]/|/dspace/etc/postgres/database_schema_15_16.sql dspace
|/version 1.6 to 1.71:/|
|/
psql -U [dspace-user] -f
[dspace-source]/dspace/etc/postgres/database_schema_16_17.sql /|dspace|/

Would this work in principle so that the new version could be fully 
customized and tested while reducing downtime for the switch to production?

Thanks for any direction on this.

--Jimmy

--
Jimmy Ghaphery
Head, Library Information Systems
VCU Libraries
http://www.library.vcu.edu
--


> Date: Tue, 19 Apr 2011 09:48:07 -0400 From: "Mark H. Wood"  
> Subject: Re: [Dspace-tech] Upgrading form DSpace 1.3.2 to 1.6 To: 
> dspace-tech@lists.sourceforge.net Message-ID: 
> <20110419134807.gb21...@iupui.edu> Content-Type: text/plain; 
> charset="us-ascii" On Tue, Apr 19, 2011 at 09:55:20AM -0300, Jason Nugent 
> wrote:
>>>> > >> Currently i have a running installation of Dpsace and it is thought 
>>>> > >> to be
>>>> > >> of ver 1.3.2.
>>>> > >>
>>>> > >> Few things i like to get advice from u guys are as follows:
>>>> > >>
>>>> > >> First:
>>>> > >>
>>>> > >> Is there any way to find the correct dspace version from the 
>>>> > >> installation
>>>> > >> directory files(we do't have any records of previous Dspace 
>>>> > >> installation)
>> >
>> > You can examine the HTML output of your existing DSpace site, and look for 
>> > the  tag in the top part of the document.  It will say something like
>> >
>> > 
>> > And from that you will have your version number.
> That was added somewhere in the 1.6 line.  It doesn't exist in 1.3.
>
> If you still have the source code for what you are running, you could
> look for:
>
> o  a README file.  I have a copy of 1.4.2 and the README says "DSpace
>Version 1.4.2, 8-May-2007" near the top.
>
> o  a CHANGES file.  The version number nearest the top should be the
>one represented by the source kit you have.
>
>>>> > >> Second:
>>>> > >>
>>>> > >> Does a simple copying and restoring of asseststore and database wrks 
>>>> > >> for
>>>> > >> the upgrading process..?
>> >
>> > The assetstore directory simply exists on disk and you can just copy it 
>> > with standard unix commands.  I'd suggest backing it up, and then copying 
>> > it into the assetstore directory (maintaining permissions in the process), 
>> > for the upgrade. Likewise, there are Postgres tools for backing up your 
>> > database.  Please have a look at the pg_dump command, which will export 
>> > the SQL and database structure out to disk.
> Those tools work well for backup and restore *to the same version*,
> but dumping and loading a DSpace 1.3 schema will result in a new copy
> of a 1.3 schema.  You need to follow the upgrade instructions in the
> manual:
>
>   http://www.dspace.org/1_6_2Documentation/ch04.html
>
> to upgrade the database schema, and you need to update the dspace.cfg
> as documented in the manual.  You need to carry out the schema and
> configuration updates in order for each version between the one you
> start with and the one you end at, but you don't need to install all
> of those intermediate versions.  This is explained in the Upgrading
> chapter of the documentation.  If that leaves you with further
> questions, ask!
>
> The assetstore layout hasn't changed in years and should require no
> updates.  We've been running DSpace since 1.2 or so and I don't recall
> ever having to do anything with the assetstore except protect it
> as-is.  (That includes backing it up regularly and before upgrades!)
>
> -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether 
> markets are efficient is like asking whether people are smart. -- 
> next part -- A non-text attachment was scrubbed... Name: not 
> available Type: application/pgp-signature Size: 198 bytes Desc: not available 
> --
> --


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Retrieving handle from resource policy

2011-03-23 Thread Jimmy Ghaphery
Greetings,

I'm slugging through the table relationships trying to figure out how 
the resource_id in the resourcepolicy table relates to the resource_id 
in the handle table and the item_id in the metadatavalue table. 
Currently I'm going through 4 tables 
(resourcepolicy->bundle2bitstream->item2bundle->handle/metadatavalue)

resource_id.resourcepolicy = bitstream_id.bundle2bitstream
bundle_id.bundle2bitstream = bundle_id.item2bundle
item_id.item2bundle = item_id.metadatavalue = resource_id.handle

Is there an easier way? Any handy sql to pull up handle from resource_id 
field in the resourcepolicy table would get me a good part of the way 
there..

I need this as part of a DSpace upgrade where embargo data from the 
start_date field in resourcepolicy needs to find its way into the 
metadatavalue table.

thanks,

Jimmy


-- 
Jimmy Ghaphery
Head, Library Information Systems
VCU Libraries
http://www.library.vcu.edu
--

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Recommendations for DSpace consultants

2010-08-25 Thread Jimmy Ghaphery
I'm interested in hearing from anyone who has successfully worked with a 
consultant for DSpace. I am familiar with the list posted here:
http://www.dspace.org/service-providers/Service-Providers.html

In particular I am looking for assistance with an upgrade to 1.6 
including the migration of a custom embargo to the new embargo 
mechanism, troubleshooting some ongoing bugs we have with 
case-sensitivity display of jpg's, and knowledge transfer for our staff.

Thanks for anything you can share on or off list.

--Jimmy

-- 
Jimmy Ghaphery
Head, Library Information Systems
VCU Libraries
http://www.library.vcu.edu
--

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Case issue with extensions 1.4.2

2010-02-11 Thread Jimmy Ghaphery
We have a puzzling case sensitivity issue with lower case file 
extensions for .jpg and .html files on version 1.4.2. Files uploaded 
with uppercase JPG and HTML work fine, but we have problems if they are 
lowercase. Files uploaded with extensions txt/TXT and pdf/PDF work
either upper or lower case.

If we look at the files through the admin interface they display fine:
http://digarchive.library.vcu.edu/retrieve/2580

On the public side however we get a 404 not found: 
http://digarchive.library.vcu.edu/bitstream/10156/1349/1/nielsenl_image07.jpg

Samples from logs:

lowercase:
access_log:128.172.xxx - - [09/Feb/2010:10:11:46 -0500] "GET 
/retrieve/7005/hz9.jpg HTTP/1.0" 404 309 
"http://digarchive.library.vcu.edu/mydspace"; "Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET 
CLR 3.5.30729)"

uppercase:
access_log:128.172.xxx - - [09/Feb/2010:12:21:44 -0500] "GET 
/retrieve/7005/hz9.JPG HTTP/1.0" 302 - "-" "Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET 
CLR 3.5.30729)"


any ideas are appreciated,

Jimmy

-- 
Jimmy Ghaphery
Head, Library Information Systems
VCU Libraries
http://www.library.vcu.edu
--

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech