Re: [Dspace-tech] connections to db seem to be getting stuck

2007-01-19 Thread George Kozak
Jose and Dorothea:

The same thing happens to us as well.  I have to restart Tomcat about every 
morning.  I haven't found the magic combination of db connections.  We are 
using:

db.maxconnections = 50
db.maxwait = 5000
db.maxidle = 5


At 11:06 AM 1/19/2007, Jose Blanco wrote:
>So what do you do?  Restart tomcat all day long?  For some reason, it is
>happening very frequently today.  It's making the system kind of unusable
>when every 30 minutes to an hour tomcat has to be restarted.
>
>It's a bit comforting to know it's not just my problem.  Will you be at the
>Open repository conference in San Antonio next week?  I'll be there, and
>hope we can get some help on this.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Dorothea
>Salo
>Sent: Friday, January 19, 2007 11:03 AM
>Cc: dspace-tech@lists.sourceforge.net
>Subject: Re: [Dspace-tech] connections to db seem to be getting stuck
>
>Jose Blanco wrote:
> > We have our db connections set to 30.  We are being heavily crawled right
> > now, and it seems like when we get to 30 "idle in transaction" connections
> > to the db, we start getting the errors that the connection pool is being
> > exhausted, and tomcat has to be restarted to get dspace to work again.
> >
> >
> >
> > It seems like connections to the db are getting stuck.  Any suggestions
>out
> > there on how to solve this problem?
>
> No suggestions, just sympathy. It's happening to us too, though I'm
>not sure
>that our magic number is the same as yours.
>
>Dorothea
>
>--
>Dorothea Salo, Digital Repository Services Librarian
>(703)993-3742 [EMAIL PROTECTED] AIM: gmumars
>MSN 2FL, Fenwick Library
>George Mason University
>4400 University Drive, Fairfax VA 22031
>
>-
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
>-
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Acting Coordinator
Web Development and Management
Digital Media Group
504 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Weird Import Error

2007-02-13 Thread George Kozak
Hi...

I'm having a real weird error that I can't figure out.  I am doing an import:

./dsrun org.dspace.app.itemimport.ItemImport --add 
[EMAIL PROTECTED] --collection=1813/5328 
--source=/dspace/import_cor --mapfile=mapfile

It process the metadata OK and then the bitstreams.  Then I get the standard:
Processing handle file: handle
It appears there is no handle file -- generating one

And then it dies with the following error:
java.lang.NullPointerException
 at org.dspace.browse.Browse.itemAdded(Browse.java:460)
 at org.dspace.browse.Browse.itemChanged(Browse.java:399)
 at org.dspace.content.Item.update(Item.java:1318)
 at org.dspace.content.InstallItem.installItem(InstallItem.java:168)
 at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:633)
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:476)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:385)
java.lang.NullPointerException

I've done lots of imports and usually when I have an error, I get a more 
substantial error that I can work off of.  Anyone have any ideas where I 
can look to debug this?

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
504 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Weird Import Error

2007-02-15 Thread George Kozak
Hi...

I figured out my import error "java.lang.NullPointerException".  If anyone 
is interested, it was caused by a null XML field in my dublin_core.xml.  I 
generated the dublin_core.xml with a script using a template and somehow a 
field with nothing in it was created.  As luck would have it, it was in the 
middle of a lot of XML so I didn't notice it at first.

George Kozak
Coordinator
Web Development and Management
Digital Media Group
504 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
[EMAIL PROTECTED]



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Blocking an IP from accessing DSpace

2007-02-16 Thread George Kozak
Hi...

I wonder if anyone has successfully blocked an IP from accessing content in 
DSpace.  I usually block IP's in Apache, but my attempts to do so with 
DSpace have not been successful.

Does anyone have any suggestions on how I can restrict an abusive IP ?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
504 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] simple and fast submit

2007-02-21 Thread George Kozak

Hi...

We at Cornell University have a simple Submit that is a 2 step process.  It 
was locally developed.  However, it only works in version 1.3.2 and not in 
1.4.1 (I need to figure out what's different between the Submit process 
between these versions).


If you are interested, I can send you the code.

At 09:21 PM 2/21/2007, majx wrote:


Hi dsapce-tech,
 We want to simplefy the submit procedure for the researcher in just 
2 or 3 steps. That means integrate the edit metadata steps,upload file 
and license in one steps,and then verify and complete what a researcher 
submit. Is there any one carry out similar function? How to do it? Thanks



majx

2007-02-22
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


George Kozak
Coordinator
Web Development and Management
504 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
[EMAIL PROTECTED] -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Suppressing Communities and Collections with no items

2007-04-23 Thread George Kozak
Hello:

I was asked by my management to suppress the display of Communities and 
Collections with no items in them when one executes the community-list 
function.

Before I set about coding this, I was wondering if anyone had already done 
this (and I could borrow the code ;-) )

***
George Kozak
Digital Library Specialist
Library Systems
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Help with Hung Sumissions

2007-05-04 Thread George Kozak
Hi...

I am having a strange problem.  Some Grad Students submitted their Master 
Projects to our DSpace system.  The Professors (who are the approvers) are 
getting errors when they approve telling them they are not authorized (but 
they are).  I am trying to debug this, but to expedite the papers, I want 
to force the papers through.

How can I get at these papers which have not been approved and do not 
handles?  Can I force an approval via SQL?

George Kozak
Coordinator
Web Development and Management
Digital Media Group
504 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
[EMAIL PROTECTED]



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help with import - bitstream error

2007-05-07 Thread George Kozak
Susan:

I have run into this problem running big batches.  Every so often, the 
batch importer comes up with the error (at least for me).  If I then batch 
upload with smaller groups of items (without making other changes) 
everything runs fine.

At 11:38 AM 5/7/2007, susan rector wrote:
>Hi all,
>I fixed the last error with the ^M - thanks for all your help
>
>Now, I'm running into another strange import error. I run the dspace
>importer in test mode and it works fine and imports 466 distinct
>directories with metadata and files.
>Test mode: /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport --test
>--add [EMAIL PROTECTED] --collection=5
>--source=/usr/local/archive_directory --mapfile mapfile.txt
>
>When I run the same command just not in test mode, I get the following
>error stating that the contents file isn't there. In fact, it is there
>and has a listing of the files in that directory
>Add: /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport --add
>[EMAIL PROTECTED] --collection=5
>--source=/usr/local/archive_directory --mapfile mapfile.txt
>
>I've changed all the file permissions thinking that might be it - didn't
>work. It seems to get stuck on the jpeg's.
>
>Thanks for any suggestions!
>Susan Rector
>[EMAIL PROTECTED]
>
>
>Error:
>  Processing contents file:
>/usr/local/archive_directory/etd-05152006-125030/contents
> Bitstream: benitezjm_image06.jpg
> Bitstream: benitezjm_thesis.pdf
> Bitstream: benitezjm_image04.jpg
> Bitstream: benitezjm_image02.jpg
>java.io.IOException: No such file or directory
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.createNewFile(File.java:883)
> at
>edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
> at
>org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
> at org.dspace.content.Bitstream.create(Bitstream.java:184)
> at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
> at
>org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1103)
> at
>org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1030)
> at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:631)
> at
>org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:498)
> at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
>java.io.IOException: No such file or directory
>
>
>
>Contents file:
>benitezjm_image06.jpg
>benitezjm_thesis.pdf
>benitezjm_image04.jpg
>benitezjm_image02.jpg
>benitezjm_image05.jpg
>benitezjm_image01.jpg
>benitezjm_image03.jpg
>
>
>-
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with reading submitted items

2007-05-09 Thread George Kozak
Hi...

I recently created a new DSpace test system based on our production system 
(which is DSpace 1.3.2). I have started to upload some test records to this 
new test system, but I have run into a problem I can't solve.

Whether I do batch loading or use the Submit function, I successfully 
upload the items, but when I try to view them, I get the following error:
Exception:
java.lang.IllegalArgumentException: No such column viewed

Does anyone have any idea what can be causing the problem?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Upgrading from mod_webapp to mod_jk

2007-05-29 Thread George Kozak
Hi...

I have been running Apache 1.3 with mod_webapp to tomcat-4.0.6 (dspace 1.3.2)

I am planning on upgrading to Apache 2.2 with mod_jk to tomcat 5.0.28

When I tried to cutover, I found that everything worked fine EXCEPT for my URLs

Under the old configuration, the home URL was http://dspace.library.cornell.edu
Under the new configuration, the home URL became 
http://dspace.library.cornell.edu/dspace

All of the URLS needed to have the extra path of "/dspace/" added to work.
For instance http://dspace.library.cornell.edu/community-list worked under 
the old configuration.  Under the new configuration, the URL would only 
work as http://dspace.library.cornell.edu/dspace/community-list

I suspect that something in my mod_jk configuration needs to changed.  I 
currently have:

JkMount  /dspace/* ajp13
JkMount  /dspace-oai/* ajp13

I tried to change things to:
JkMount  /* ajp13

as suggested in the WIKI but that caused me other problems (I have other 
virtual servers running on the server).  Does anyone have any suggestion as 
to what I can do to drop the "/dspace/" so that my links will be like they 
were when I used mod_webapp?

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Upgrading from mod_webapp to mod_jk (update)

2007-05-30 Thread George Kozak
My thanks to Brad Teal at the University and Minnesota and Josef Bicik at 
the University of Exeter.  I have my apache/mod_jk/tomcat/dspace setup 
working properly now.

You think after 30 years of programming, I would know better, but I was 
surprised at how tricky the whole thing was.

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Arabic in an Abstract

2007-06-06 Thread George Kozak
Hi...

One of our the contributors to our DSpace site would like to have Arabic 
interspersed in the English of the Abstract.  Currently they have this on a 
personal website with the Arabic being displayed via an embedded GIF.

Can I do this with the Abstract display?  It appears to me that the 
Abstract display is simply plain-text.

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error with Approvals

2007-06-18 Thread George Kozak
Hi...

Recently we had a DSpace Approver retire, and she was replaced by 2 
people.  I added them to Approval Group in the ACCEPT/REJECT Step of the 
Collection EDIT Function (ie...there is only 1 Accept/Reject step and there 
are two userids listed...the thought being that if the first approver can't 
approve the document then the second one will).

The First Approver has no problem approving the submitted documents, but 
the second Approver cannot approve any of the documents.  When she tries, I 
see the error in the dspace logs:

  Authorization denied for action ADD on COLLECTION:22 by user 2695

I am using DSpace 1.3.2.  Does anyone have any idea what could be happening?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Sort logic for search results

2007-06-29 Thread George Kozak
Hi...

This may seem a dumb question, but what is the "sort" logic for search 
results in DSpace?  I have been looking at the results and can't quite 
figure it out.

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Flash files in DSpace

2007-07-12 Thread George Kozak
Hi...

One of our users would like to store there videos in our DSpace repository 
as Flash Files and would like them to play when people click on 
View/Open.  Is there a way to set this up to play properly?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Flash files in DSpace

2007-07-12 Thread George Kozak
Thanks, Mark...

The content type (which I forgot) helped me get closer to getting this 
going, but I have some more work to do to get this to work properly.

At 09:32 AM 7/12/2007, Mark H. Wood wrote:
>Well, the first step is to ensure that the file will be served as
>'content-type: application/x-shockwave-flash'.  You'll need to ensure
>that an appropriate entry has been made in the bitstream format
>registry and that it is applied to the Flash bitstreams.
>
>The next hurdle is that this may cause the client to download the
>entire presentation before starting it.  If the presentation is large,
>the delay may range from unpleasant to unacceptable.  With other AV
>formats I've had some success in placing a copy of the actual
>presentation on a streaming server and submitting a SMIL document
>which points to it.  This requires that the client know what to do
>with an 'application/smil' document.  RealPlayer and Quicktime
>understand these, but I don't recall whether they understand Flash.
>Depending on your specific needs, another AV format might serve better.
>
>--
>Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
>Typically when a software vendor says that a product is "intuitive" he
>means the exact opposite.
>
>
>-
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace vs Greenstone

2007-07-13 Thread George Kozak

Twaha:

We at Cornell University use both DSpace and Greenstone, but for different 
purposes.  DSpace is our institutional repository where we store videos, 
presentations, papers and books.  Greenstone is used as a Newspaper archive 
for our Campus Newspaper.  So, they are used very differently.


At 11:03 AM 7/13/2007, Twaha Daudi wrote:

Hi alll,
Good day!.
I would like to know which is the best between Dspace and Greenstone in 
terms of
easy to install and configure,learning curve,performance and usability in 
Library.

Thank you for your help
udd


Need a vacation? 
<http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ-->Get 
great deals to amazing places on Yahoo! Travel.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] need your help again - internal system error

2007-07-13 Thread George Kozak

Felix:

I'm confused as well.  How did you compile your DSpace to begin with?

At 11:59 AM 7/13/2007, Felix Mayerhofer wrote:

Ok i tried now but i doesnt work, it killed my dspace.cfg file L

Content of the file is now:

Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/lib/tools.jar

Apache Ant version 1.6.5 compiled on October 26 2005
Buildfile: build.xml does not exist!

In my /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0 folder a directory lib 
doesn't exist!


Really confused now
Von: George Kozak [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Juli 2007 17:46
An: Felix Mayerhofer
Betreff: Re: [Dspace-tech] need your help again - internal system error

Felix:

It looks to me like you need to change the DSPace hostname dspace.cfg file 
to what you are really using and then do an "ant -Dconfig=>(path-to-config 
file)/dspace.cfg update"


At 11:32 AM 7/13/2007, you wrote:

Hi folks!

Just testing around with my new installation, and it seems dspace doesn't 
run properly, evey time I try to make an upload I get an internal server error


Could this happen when visit the site via ip address, cuz the hostname I 
provided doesn't exist yet?



Hope somebody can help!


Here's the email alert:

An internal server error occurred on 
<http://dspace.myhost.com/dspace>http://dspace.myhost.com/dspace:


Date:   12.07.07 09:32
Session ID: E7EA989FF6CF5E948DB68CC33AD0621D

-- URL Was: 
<http://192.168.36.175:8080/dspace/submit>http://192.168.36.175:8080/dspace/submit

-- Method: POST
-- Parameters were:
-- dc_identifier_value_0: ""
-- step: "2"
-- dc_relation_ispartofseries_1: ""
-- dc_identifier_qualifier_0: "issn"
-- dc_relation_ispartofseries_0: ""
-- dc_contributor_author_last_0: "45645"
-- dc_language_iso: ""
-- submit_next: "Next >"
-- dc_title: "zrtztrztrzrtzrz"
-- dc_contributor_author_first_0: "ertrzrtztr"
-- workspace_item_id: "10"
-- dc_type: "Book"


Exception:
java.sql.SQLException: bad_dublin_core SchemaID=1, contributor author
  at org.dspace.content.Item.update(Item.java:1463)
  at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:473)
  at 
org.dspace.app.webui.servlet.SubmitServlet.userHasReached(SubmitServlet.java:2209)
  at 
org.dspace.app.webui.servlet.SubmitServlet.processEditMetadata(SubmitServlet.java:963)
  at 
org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:382)
  at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
  at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
  at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
  at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
  at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
  at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
  at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
  at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
  at 
org.apache.co

Re: [Dspace-tech] Running DSpace in read-only mode.

2007-07-20 Thread George Kozak
Hi, Ben and Kyle:

One way we handled this was by removing the self-registration option from 
JSPs.  This way only the Administrator can create new accounts.

At 05:59 PM 7/19/2007, Kyle Brentnell wrote:
>Hi Ben,
>
>Two possiblities come to mind right away.  Others may have more elegant
>solutions, that do not require DB or coding changes.
>
>1) In the EPerson table set the "can_log_in" column to false for all
>users(except the Administrator).  This assumes anonymous users can not make
>any changes to items (default Dspace behaviour).  To allow access reset the
>"can_log_in" flag to the original values.
>
>2) Change the authenticateInternal method in the AuthenticationManager.java
>class to always return "BAD_ARGS" or "NO_SUCH_USER", etc. to prevent users
>from logging into Dspace.  To allow access again, restore the original
>authenticateInternal code (and compile and deploy of course).
>
>Kyle
>
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Weinberg,
>Ben
>Sent: July 19, 2007 5:41 PM
>To: dspace-tech@lists.sourceforge.net
>Subject: [Dspace-tech] Running DSpace in read-only mode.
>
>  Does anyone know how I can set dspace temporarily to be a read only system.
>I will need a quick reversion to a read-write system.
>We're basically looking to provide access to dspace while we migrate the
>database and assetstore to another system.
>Thanks,
>Ben Weinberg
>HP Labs Digital Library
>Palo Alto, CA
>
>-
>This SF.net email is sponsored by: Microsoft Defy all challenges.
>Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>-
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Having A Sub-Community & Collection appear in 2 Communities?

2007-07-20 Thread George Kozak
Hi...

We are having a problem with people wanting to see the same Sub-Community 
(and it's collections) appear in 2 different Collections.

For instance, currently I have a Sub-Community called "Albert Mann 
Library".  It appears in our Community "Cornell University Library", but 
the people at Mann Library would also like their Library appearing in the 
hierarchy of "College of Agriculture and Life Sciences".  Can this be done?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Overriding the Approving of a submission

2007-08-16 Thread George Kozak
Hi...

I am having a problem with one of my collections.  Approvers in the 
Workflow are getting an error that they are not authorized to approve 
a submission after they do an approval.  I still haven't figured out 
why this is happening.  It is only in this one collection.

However, my most immediate question is this: Can I override the 
process and force an approval on this submission (as the Admin)?  Is 
this something I can do in PostGreSQL?


***
George Kozak
Digital Library Specialist
Library Systems
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with DSpace 1.4.2

2007-08-30 Thread George Kozak
Hi...

On my test server, I upgraded from DSpace 1.3.2 to DSpace 1.4.2.  I 
am having a strange problem.  Everything is working fine EXCEPT that 
when I view an item, it says: "There are no files associated with 
this item."  This even happens when I add a new item.

Has anyone else run into a problem like this?

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with indexing 1.4.2

2007-09-06 Thread George Kozak
Hi...

A week ago I wrote about a problem that I was having with DSpace 
1.4.2 (no bitstreams appeared in the Item Display, though they were 
there in 1.3.2).  Well, I decided to redo my update from 
scratch.  Now, I am having a problem indexing.

I ran "psql -f etc/database_schema_13-14.sql dspace".  That ran 
fine.  Then when I did an "index-all", I got the following error:
" Indexing all Items in DSpaceERROR:  Relation "dctyperegistry" 
does not exist
Error: Browse index NOT created
java.sql.SQLException: ERROR:  Relation "dctyperegistry" does not exist"

Does anyone have any ideas as to what I'm doing wrong?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with indexing 1.4.2

2007-09-06 Thread George Kozak
James:

Hmmm...

I copied the binaries from /dspace-1.4.2/bin to /dspace/bin
I copies the libraries from /dspace-1.4.2/lib to /dspace/lib
I changed the dspace.cfg to be 1.4 compatible
I ran ant -Dconfig=/dspace/config/dspace.cfg update

I'm still getting the error.  Thanks for the tip, though.  I must 
somehow be getting to the dspace-1.3.2 directory.  I haven't figured 
out where, yet.

At 10:55 AM 9/6/2007, James Rutherford wrote:
>On Thu, Sep 06, 2007 at 10:02:02AM -0400, George Kozak wrote:
> > I ran "psql -f etc/database_schema_13-14.sql dspace".  That ran
> > fine.  Then when I did an "index-all", I got the following error:
> > " Indexing all Items in DSpaceERROR:  Relation "dctyperegistry"
> > does not exist
> > Error: Browse index NOT created
> > java.sql.SQLException: ERROR:  Relation "dctyperegistry" does not exist"
> >
> > Does anyone have any ideas as to what I'm doing wrong?
>
>Sounds like you're still running 1.3.2 code! The 1.4 code won't look for
>dctyperegistry. What were the update steps you took? It should have
>included an ant -Dconfig=/path/to/your/dspace.cfg update.
>
>cheers,
>
>Jim
>
>--
>James Rutherford  |  Hewlett-Packard Limited registered Office:
>Research Engineer |  Cain Road,
>HP Labs   |  Bracknell,
>Bristol, UK   |  Berks
>+44 117 312 7066  |  RG12 1HN.
>[EMAIL PROTECTED]   |  Registered No: 690597 England
>
>The contents of this message and any attachments to it are confidential and
>may be legally privileged. If you have received this message in error, you
>should delete it from your system immediately and advise the sender. To any
>recipient of this message within HP, unless otherwise stated you should
>consider this message and attachments as "HP CONFIDENTIAL".
>
>-
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >>  http://get.splunk.com/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with indexing 1.4.2

2007-09-06 Thread George Kozak
Thanks, Andrea:

I did run from the correct source directory and I'm pretty sure my 
dspace.jar is the most recent, but I will check the classpath!!!

At 02:30 PM 9/6/2007, Andrea Bollini wrote:
>Have you run ant -Dconfig=/dspace/config/dspace.cfg update from source
>directory (i.e. /dspace-1.4.2./)?
>Is the timestamp of /dspace/lib/dspace.jar changed?
>double check your classpath for other dspace.jar
>Andrea
>
>George Kozak ha scritto:
> > James:
> >
> > Hmmm...
> >
> > I copied the binaries from /dspace-1.4.2/bin to /dspace/bin
> > I copies the libraries from /dspace-1.4.2/lib to /dspace/lib
> > I changed the dspace.cfg to be 1.4 compatible
> > I ran ant -Dconfig=/dspace/config/dspace.cfg update
> >
> > I'm still getting the error.  Thanks for the tip, though.  I must
> > somehow be getting to the dspace-1.3.2 directory.  I haven't figured
> > out where, yet.
> >
> > At 10:55 AM 9/6/2007, James Rutherford wrote:
> >
> >> On Thu, Sep 06, 2007 at 10:02:02AM -0400, George Kozak wrote:
> >>
> >>> I ran "psql -f etc/database_schema_13-14.sql dspace".  That ran
> >>> fine.  Then when I did an "index-all", I got the following error:
> >>> " Indexing all Items in DSpaceERROR:  Relation "dctyperegistry"
> >>> does not exist
> >>> Error: Browse index NOT created
> >>> java.sql.SQLException: ERROR:  Relation "dctyperegistry" does not exist"
> >>>
> >>> Does anyone have any ideas as to what I'm doing wrong?
> >>>
> >> Sounds like you're still running 1.3.2 code! The 1.4 code won't look for
> >> dctyperegistry. What were the update steps you took? It should have
> >> included an ant -Dconfig=/path/to/your/dspace.cfg update.
> >>
> >> cheers,
> >>
> >> Jim
> >>
> >> --
> >> James Rutherford  |  Hewlett-Packard Limited registered Office:
> >> Research Engineer |  Cain Road,
> >> HP Labs   |  Bracknell,
> >> Bristol, UK   |  Berks
> >> +44 117 312 7066  |  RG12 1HN.
> >> [EMAIL PROTECTED]   |  Registered No: 690597 England
> >>
> >> The contents of this message and any attachments to it are 
> confidential and
> >> may be legally privileged. If you have received this message in error, you
> >> should delete it from your system immediately and advise the 
> sender. To any
> >> recipient of this message within HP, unless otherwise stated you should
> >> consider this message and attachments as "HP CONFIDENTIAL".
> >>
> >> -----
> >> This SF.net email is sponsored by: Splunk Inc.
> >> Still grepping through log files to find problems?  Stop.
> >> Now Search log events and configuration files using AJAX and a browser.
> >> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >> ___
> >> DSpace-tech mailing list
> >> DSpace-tech@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>
> >
> > ***
> > George Kozak
> > Coordinator
> > Web Development and Management
> > Digital Media Group
> > 501 Olin Library
> > Cornell University
> > 607-255-8924
> > ***
> > [EMAIL PROTECTED]
> >
> >
> > -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> >
>
>
>--
>Dott. Andrea Bollini
>Responsabile tecnico sviluppo e formazione applicativi JAVA
>Sezione Servizi per le Biblioteche e l'Editoria Elettronica
>CILEA, http://www.cilea.it
>tel. +39 06-59292831  cel. +39 348-8277525
>
>
>-
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files usi

Re: [Dspace-tech] [Dspace-general] Failure on new 1.4.2 ant fresh_install

2007-09-10 Thread George Kozak

Laurence:

I think I ran into something like that early on 
in installing 1.4.2.  You need to be running the 
newest version of "ant" (Apache Ant 1.6.2 or 
later).  If you try to run with the same "ant" 
that you compiled 1.3.2 with, it will error out.  Could that be your problem?


At 10:01 AM 9/10/2007, you wrote:


Hi all,

I have been installing Dspace since 1.2.1 and 
wanted to install 1.4.2 last week.  After the 
initial experimentation with Dspace, we settled 
on running 1.3.2 (very successfully) on 
Ubuntu.  I am looking to test 1.4.2, after which 
we would like to upgrade.  However, the source 
code doesn’t seem to compile properly.  I get the following error:


[EMAIL PROTECTED]:/dspace-source/dspace-1.4.2-source-dspace$ ant fresh_install
Buildfile: build.xml

BUILD FAILED
/dspace-source/dspace-1.4.2-source-dspace/build.xml:88: 
No supported regular exp ression matcher found



I run the following setup:
· Ubuntu 6.06 in VMware (I also have a 
1.3.2 mirror of our IR running in VM)

· PostgreSQL
· Tomcat
Configured the following:
   * dspace.cfg
   * copied JDBC file to source
   * created DB and DB user
I had a look at line 88 in build.xml, but 
nothing there seems out of place.  I also 
followed the online Dspace-Ubuntu wiki just to ensure I didn’t miss anything.



I noticed there were a few 1.4.2 emails and just 
wanted to report my case as well.  Anyone?



Laurence Munro
JSG Library IT Services
Stellenbosch University
021-808 4100 (tel)
083-290 0887 (cel)

___
Dspace-general mailing list
[EMAIL PROTECTED]
http://mailman.mit.edu/mailman/listinfo/dspace-general


*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with indexing 1.4.2 (update)

2007-09-11 Thread George Kozak
Hi...

This is an update to the indexing problem that I wrote about a 
problem with DSpace 1.4.2

When I did an "index-all", I got the following error:
" Indexing all Items in DSpaceERROR:  Relation "dctyperegistry" 
does not exist"

Several people suggested that I had a CLASSPATH problem.  Sure 
enough, in my .cshrc profile in my CLASSPATH I had
"/usr/local/tomcat/webapps/dspace/WEB-INF/classes" and 
"/usr/local/tomcat/webapps/dspace-oai/WEB-INF/classes"

AND since I had compiled my 1.4.2 release BUT had not uploaded to 
Tomcat, yet, the classes of the old version of DSpace were being 
called.  Thanks to all those who wrote to me.

Does anyone have any ideas as to what I'm doing wrong?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem viewing PDFs with Firefox

2007-10-03 Thread George Kozak
Hi...

I can't recall if this has been mentioned on the list, but we (at 
Cornell) have found a problem with our users viewing PDF's larger 
that 6MB from DSpace if they are using Firefox.

For instance, the following item http://hdl.handle.net/1813/3900 has 
a PDF that is 6.4MB.  If you try to view it with IE, it's fine.  If 
you try to view it with Firefox, you get the message: "The file is 
damaged and could not be repaired".  I am not sure where the 
breakpoint is, but I know that other PDFs less than 6MB can be viewed.

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem viewing PDFs with Firefox

2007-10-03 Thread George Kozak
Thanks, Glenn and Brian:

I will have to see what our usres are using.  Probably, not the 
latest, but this helps.

I am not sure

At 10:10 AM 10/3/2007, Glenn Bunton wrote:
>Hi George,
>
>Just to let you know, I pulled up the link you put in your message with
>Firefox (2.0.0.7 and acrobat reader 8) and it came up fine after a very
>brief wait. Not sure if that helps or confuses the situation.
>
>==
>Mr. Glenn Bunton
>Head of Systems Development
>Old Dominion University Libraries
>Norfolk, Virginia 23529
>[EMAIL PROTECTED]
>(757) 683-5952
>=======
>
>
>
>  George Kozak
>  <[EMAIL PROTECTED]
>  >  To
>  Sent by:  dspace-tech@lists.sourceforge.net
>  dspace-tech-bounc  cc
>  [EMAIL PROTECTED]
>  rge.net   Subject
>[Dspace-tech] Problem viewing PDFs
>with Firefox
>  10/03/2007 09:41
>  AM
>
>
>
>
>
>
>
>
>Hi...
>
>I can't recall if this has been mentioned on the list, but we (at
>Cornell) have found a problem with our users viewing PDF's larger
>that 6MB from DSpace if they are using Firefox.
>
>For instance, the following item http://hdl.handle.net/1813/3900 has
>a PDF that is 6.4MB.  If you try to view it with IE, it's fine.  If
>you try to view it with Firefox, you get the message: "The file is
>damaged and could not be repaired".  I am not sure where the
>breakpoint is, but I know that other PDFs less than 6MB can be viewed.
>
>***
>George Kozak
>Coordinator
>Web Development and Management
>Digital Media Group
>501 Olin Library
>Cornell University
>607-255-8924
>***
>[EMAIL PROTECTED]
>
>
>-
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem viewing PDFs with Firefox

2007-10-03 Thread George Kozak

Thanks, Terry...

We are still at DSpace 1.3.2 (I am planning on moving to 1.4.2 when I 
get all of my local mods upgraded to the new code..."sigh").  I will 
add this patch to my 1.4.2 source, though.


At 10:19 AM 10/3/2007, Reese, Terry wrote:
I'm not sure what version of Dspace you are using, but there is a 
patch for this.  You can find it here: 
<https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984>https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984. 
The issue can be found in both browsers and as the patch describes, 
is related to how many pdf viewers render the content inline within 
the browser (though, truth be told, I've only ever seen this error 
show up while using Adobe's Readers in FireFox -- which is why I 
switched to the FoxIt PDF Readers long time ago).


--TR

***
Terry Reese
Cataloger for Networked Resources
Digital Production Unit Head
Oregon State University Libraries
Corvallis, OR  97331
tel: 541-737-6384
email: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
http: <http://oregonstate.edu/~reeset>http://oregonstate.edu/~reeset
*******


--
From: [EMAIL PROTECTED] on behalf of George Kozak
Sent: Wed 10/3/2007 6:41 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Problem viewing PDFs with Firefox

Hi...

I can't recall if this has been mentioned on the list, but we (at
Cornell) have found a problem with our users viewing PDF's larger
that 6MB from DSpace if they are using Firefox.

For instance, the following item 
<http://hdl.handle.net/1813/3900>http://hdl.handle.net/1813/3900 has

a PDF that is 6.4MB.  If you try to view it with IE, it's fine.  If
you try to view it with Firefox, you get the message: "The file is
damaged and could not be repaired".  I am not sure where the
breakpoint is, but I know that other PDFs less than 6MB can be viewed.

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> 
<http://get.splunk.com/>http://get.splunk.com/

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
<https://lists.sourceforge.net/lists/listinfo/dspace-tech>https://lists.sourceforge.net/lists/listinfo/dspace-tech


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Blocking a malicious user

2007-10-30 Thread George Kozak
Hi...

I am having a problem with an IP that keeps sending thousands of "GET 
/bitstream/..." requests for the same item.

I have placed the following in my Apache.conf file:


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
deny from {malicious ip}


I also placed the following in my server.xml in Tomcat:


However, this person still seems to be getting through.  My java 
process is running from 50%-80% CPU usage.  Does anyone have a good 
idea on how to shutout a malicious IP in DSpace?

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Blocking a malicious user

2007-10-30 Thread George Kozak
Thanks, V. Alex:

I just wasn't sure if I was missing some loophole.  I think I have 
another malicious harvester at work.  I blocked a second IP that was 
showing up in my logs and now my CPU usage seems to be down (keeping 
my fingers crossed).

(As an aside: I was asked today what I would do with my time if I 
wasn't an Admin for Dspace ;-) )

At 02:51 PM 10/30/2007, V. Alex Brennen wrote:
>On Tue, 2007-10-30 at 14:32 -0400, George Kozak wrote:
>
> > However, this person still seems to be getting through.  My java
> > process is running from 50%-80% CPU usage.  Does anyone have a good
> > idea on how to shutout a malicious IP in DSpace?
>
>I believe your configuration changes should be sufficient to prevent
>access if you restarted/reloaded your daemons and did not have override
>restriction directives in place on higher level directories.
>
>On our Linux systems, we attempt to throttle such users with Apache's
>mod_cband.  Mark Diggory has created a "bot class" that we regularly add
>crawlers that do not respect our robots.txt directives to.
>
>For truly malevolent clients, I drop the route to their machine, or
>network, on our production system preventing us from sending the packets
>back to them that are necessary to create any connections:
>
>bash# route add -host xxx.xxx.xxx.xxx reject
>bash# route add -net xxx.xxx.xxx.0 netmask 255.255.255.0 reject
>
>You'd need to add such routing changes to the appropriate boot scripts
>for your Linux distribution to make them persistent.
>
>
>- VAB
>-
>V. Alex Brennen      [EMAIL PROTECTED]
>UNIX Systems Administrator
>MIT Librariesx3-9327
>

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Blocking a malicious user

2007-10-30 Thread George Kozak
Tim:

Thanks.  I will give that a try.  I thought that I had this nailed, 
but I just shot up to 80% CPU usage again.

At 03:01 PM 10/30/2007, Tim Donohue wrote:
>George,
>
>We had a similar problem to this one in the past (a year or so 
>ago).  I just flat out blocked the IP altogether (not even specific 
>to /bitstream/) via this Apache configuration:
>
>
> Order Allow,Deny
>
> Deny from {malicious ip}
>
> Allow from all
>
>
>This looks similar to your config though (except it blocks all 
>access from that IP).
>
>- Tim
>
>George Kozak wrote:
>>Hi...
>>I am having a problem with an IP that keeps sending thousands of 
>>"GET /bitstream/..." requests for the same item.
>>I have placed the following in my Apache.conf file:
>>
>>Options Indexes FollowSymLinks MultiViews
>>AllowOverride All
>>Order allow,deny
>>allow from all
>>deny from {malicious ip}
>>
>>I also placed the following in my server.xml in Tomcat:
>>>deny="xxx\.xxx\.xxx\.xx" />
>>However, this person still seems to be getting through.  My java 
>>process is running from 50%-80% CPU usage.  Does anyone have a good 
>>idea on how to shutout a malicious IP in DSpace?
>>***
>>George Kozak
>>Coordinator
>>Web Development and Management
>>Digital Media Group
>>501 Olin Library
>>Cornell University
>>607-255-8924
>>***
>>[EMAIL PROTECTED]
>>-
>>This SF.net email is sponsored by: Splunk Inc.
>>Still grepping through log files to find problems?  Stop.
>>Now Search log events and configuration files using AJAX and a browser.
>>Download your FREE copy of Splunk now >> http://get.splunk.com/
>>___
>>DSpace-tech mailing list
>>DSpace-tech@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>--
>
>
>Tim Donohue
>Research Programmer, Illinois Digital Environment for
>Access to Learning and Scholarship (IDEALS)
>135 Grainger Engineering Library
>University of Illinois at Urbana-Champaign
>
>email: [EMAIL PROTECTED]
>web:   http://www.ideals.uiuc.edu
>phone: (217) 333-4648
>fax:   (217) 244-7764
>

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Blocking a malicious user

2007-10-30 Thread George Kozak
Thanks, Corey...

I discussed the firewall with our IT people, but for now, it looks 
like (keeping my fingers crossed) that the last change that I made 
(that was suggested by Tim) seems to be working.  However, if I get 
clobbered again, I will probably go with the firewall block.

At 03:14 PM 10/30/2007, Cory Snavely wrote:
>If they're nasty enough, though, they'll drown your Apache or Tomcat
>server in replying with 403s. I've had times that I needed to be
>absolutely merciless and block at the firewall level, using iptables;
>then they don't even get as far as userspace.
>
>On Tue, 2007-10-30 at 14:01 -0500, Tim Donohue wrote:
> > George,
> >
> > We had a similar problem to this one in the past (a year or so ago).  I
> > just flat out blocked the IP altogether (not even specific to
> > /bitstream/) via this Apache configuration:
> >
> > 
> >  Order Allow,Deny
> >
> >  Deny from {malicious ip}
> >
> >  Allow from all
> > 
> >
> > This looks similar to your config though (except it blocks all access
> > from that IP).
> >
> > - Tim
> >
> > George Kozak wrote:
> > > Hi...
> > >
> > > I am having a problem with an IP that keeps sending thousands of "GET
> > > /bitstream/..." requests for the same item.
> > >
> > > I have placed the following in my Apache.conf file:
> > >
> > > 
> > > Options Indexes FollowSymLinks MultiViews
> > > AllowOverride All
> > > Order allow,deny
> > > allow from all
> > > deny from {malicious ip}
> > > 
> > >
> > > I also placed the following in my server.xml in Tomcat:
> > >  > > deny="xxx\.xxx\.xxx\.xx" />
> > >
> > > However, this person still seems to be getting through.  My java
> > > process is running from 50%-80% CPU usage.  Does anyone have a good
> > > idea on how to shutout a malicious IP in DSpace?
> > >
> > > ***
> > > George Kozak
> > > Coordinator
> > > Web Development and Management
> > > Digital Media Group
> > > 501 Olin Library
> > > Cornell University
> > > 607-255-8924
> > > ***
> > > [EMAIL PROTECTED]
> > >
> > >
> > > -
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems?  Stop.
> > > Now Search log events and configuration files using AJAX and a browser.
> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > ___
> > > DSpace-tech mailing list
> > > DSpace-tech@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > >
> >
>
>-
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Blocking a malicious user

2007-10-31 Thread George Kozak

Sue:

Thanks!  I didn't know that this was possible.

Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote:

You can block ip addresses at the postgreSQL level in the pg_hba.conf
file.  Here is a person I blocked by ip address who was sending all
kinds of GET requests to our DSpace server:

hostall all malicious.ip255.255.255.255
reject

Sue Walker-Thornton
NASA Langley Research Center
ConITS Contract
757-224-4074
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mika
Stenberg
Sent: Wednesday, October 31, 2007 6:00 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Blocking a malicious user

We've had problems like that as well. Blocking specific IP's works only
for
a while since many bots and spammers seem to change their IP frequently.
We
didnt come up with a decent solution for this, but  blocking an entire
country of origin for a period of time has been on my mind. Managing the
allowed requests / timeslot for a specific IP might also do the trick.

-Mika


  

If they're nasty enough, though, they'll drown your Apache or Tomcat
server in replying with 403s. I've had times that I needed to be
absolutely merciless and block at the firewall level, using iptables;
then they don't even get as far as userspace.

On Tue, 2007-10-30 at 14:01 -0500, Tim Donohue wrote:


George,

We had a similar problem to this one in the past (a year or so ago).
  

I
  
just flat out blocked the IP altogether (not even specific to 
/bitstream/) via this Apache configuration:



 Order Allow,Deny

 Deny from {malicious ip}

 Allow from all


This looks similar to your config though (except it blocks all
  
access 
  

from that IP).

- Tim

George Kozak wrote:
  

Hi...

I am having a problem with an IP that keeps sending thousands of


"GET
  

/bitstream/..." requests for the same item.

I have placed the following in my Apache.conf file:


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
deny from {malicious ip}


I also placed the following in my server.xml in Tomcat:
deny="xxx\.xxx\.xxx\.xx" />


However, this person still seems to be getting through.  My java 
process is running from 50%-80% CPU usage.  Does anyone have a

good 
  

idea on how to shutout a malicious IP in DSpace?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 







-
  

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a


browser.


Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech





-
  

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a


browser.
  

Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech








-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.sp

[Dspace-tech] Restoring a deleted Group

2007-11-27 Thread George Kozak
Hi...

By accident, one of our Admins deleted a Group in 
DSpace.  Unfortunately, it is our largest group (the group of 
students who can submit a thesis or dissertation and the professors 
who can view those papers).  Is there a way through PostGreSQL to 
recover the group?  I really don't want to restore the database from 
backup because I will loose submissions and changes that have been made.

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Restoring a deleted Group

2007-11-27 Thread George Kozak

Mark:

Thank you...I was starting to think along those lines as well.  I 
appreciate the advice and the help.

George Kozak

Mark Diggory wrote:
Sorry, this was probibly a bit short-sighted a response, I went and 
tested it and the line numbers get reordered between submissions... 
its difficult to merge.


What I might recommend is to get a list  of all tables and sequences 
effected in a group deletion and do the following.


1.) get the previous dump prior to the deletion, restore it to a new 
db on a different machine
2.) dump only those tables and sequences to a sql dump file. 
3.) restore those tables and sequences on a new copy of the existing 
database

4.) test this, verify that it works and doesn't break anything.
5.) take your production system offline and back it up
6.) preform the task on your production system
7.) bring the production system online and test.

I believe the tables/sequences will be:

SEQUENCE epersongroup_seq;
SEQUENCE resourcepolicy_seq;
SEQUENCE epersongroup2eperson_seq;
SEQUENCE epersongroup2workspaceitem_seq;
SEQUENCE group2group_seq;
SEQUENCE group2groupcache_seq;

TABLE EPersonGroup
TABLE Group2Group
TABLE Group2GroupCache
TABLE ResourcePolicy
TABLE EPersonGroup2EPerson
TABLE epersongroup2workspaceitem 

I'm 100% sure about this list, some may be important, some may not. 
Hopefully you've not made changes to these tables since the "incident"...


-Mark

On Nov 27, 2007, at 4:55 PM, Mark Diggory wrote:

If you have a sql dump backup from just prior to the incident you 
could diff it against a new dump for comparison of what exactly is 
different.  Merging in the entries that were removed from 
epersongroups and its various tables and then do a full restore of 
the merged sql dump. But you'll want to be offline or set the 
database to read-only during the process.


-Mark

On Nov 27, 2007, at 4:35 PM, George Kozak wrote:


Hi...

By accident, one of our Admins deleted a Group in 
DSpace.  Unfortunately, it is our largest group (the group of 
students who can submit a thesis or dissertation and the professors 
who can view those papers).  Is there a way through PostGreSQL to 
recover the group?  I really don't want to restore the database from 
backup because I will loose submissions and changes that have been made.


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 



~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net 
<mailto:DSpace-tech@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Streaming audio/video files through DSpace

2007-11-29 Thread George Kozak
Sanjeev:

We have done what you are proposing in our Test DSpace environment 
and are planning on doing it in production.  I think that is the 
easiest way to handle streaming video in DSpace.

At 11:17 AM 11/29/2007, [EMAIL PROTECTED] wrote:
>Hi Everybody,
>
>I am Sanjeev, from India. I am working on a project "Streaming audio/video
>files through DSpace". I am planning to use a streaming server to stream
>the files and, in DSpace, uploading a html file, containing the rtsp
>address of the actual file in streaming server.
>
>Does any body has better idea? Please guide me.
>
>Sanjeev
>
>
>-
>SF.Net email is sponsored by: The Future of Linux Business White Paper
>from Novell.  From the desktop to the data center, Linux is going
>mainstream.  Let it simplify your IT future.
>http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Long delay in doing a Submit

2008-01-23 Thread George Kozak
Hi...

I don't recall seeing this on the list, but I may have missed it.

I recently upgraded from DSpace 1.3.2 to DSpace 1.4.2.  Everything is 
working fine EXCEPT for submit.

For some reason, executing a submit takes a long time.  I watch the 
system load averages and memory and see that when someone executes a 
Submit command, the CPU usage can rise up to 40% for PostGreSQL (I 
have a SunFire-480-R with 4GB of memory and 8GB of swap 
space.).  After clicking the Submit button, it can take up to a 
minute for the first screen to pop up.

Has anyone seen this before?  By the way, I'm using my original 
PostGreSQL 7.2.3 and Tomcat (4.0.6).

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Long delay in doing a Submit

2008-01-23 Thread George Kozak
Claudia:

Yes, clicking on the submit button from the My DSpace page.  It 
worked fine in 1.3.2 but I do have a large community/collection structure.

At 04:12 PM 1/23/2008, Claudia Juergen wrote:
>Hi George,
>
>by "clickin on submit" do you mean the starting a submission from the "My
>DSpace" page? This does not scale well on an instance with a large
>community/collection structure.
>
>Claudia
>
> > Hi...
> >
> > I don't recall seeing this on the list, but I may have missed it.
> >
> > I recently upgraded from DSpace 1.3.2 to DSpace 1.4.2.  Everything is
> > working fine EXCEPT for submit.
> >
> > For some reason, executing a submit takes a long time.  I watch the
> > system load averages and memory and see that when someone executes a
> > Submit command, the CPU usage can rise up to 40% for PostGreSQL (I
> > have a SunFire-480-R with 4GB of memory and 8GB of swap
> > space.).  After clicking the Submit button, it can take up to a
> > minute for the first screen to pop up.
> >
> > Has anyone seen this before?  By the way, I'm using my original
> > PostGreSQL 7.2.3 and Tomcat (4.0.6).
> >
> > ***
> > George Kozak
> > Coordinator
> > Web Development and Management
> > Digital Media Group
> > 501 Olin Library
> > Cornell University
> > 607-255-8924
> > ***
> > [EMAIL PROTECTED]
> >
> >
> > -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] invalid bitstream message

2008-01-28 Thread George Kozak
Hi...

A couple of weeks ago, I upgraded from DSpace 1.3.2 to DSpace 
1.4.2.  Today, I started getting e-mail from people that when they 
click on View/Open they get the following error (this is only on some 
resources):

Invalid Identifier

The identifier .pdf does not correspond to a valid 
Bitstream in eCommons. This may be because of one of the following reasons:
 * The URL of the current page is incorrect - if you followed a 
link from outside of eCommons it may be mistyped or corrupt.
 * You entered an invalid ID into a form - please try again.

In the first case, I had to reload the PDF to fix the 
problem.  Before I start doing this to teh other cases, I was 
wondering if anyone encountered this before.

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] invalid bitstream message (update!)

2008-01-28 Thread George Kozak
Hi...

I see one thing in common, with the bitstreams that aren't 
working.  The PDF's contain a "+" sign in them for 
instance:  Final_Progress_Report_01Aug06+.pdf

If I change the name to not include the "+" sign, then everything works OK.
***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Long Delay in doing Submit - Part 2

2008-02-15 Thread George Kozak
Hi...
Back in January, I wrote to the list about a problem we are having 
(at Cornell) with DSpace after we migrated from v. 1.3.2 to v. 1.4.2.

Basically, if someone logs into DSpace by clicking on "My DSpace" and 
then clicks on the "Start a New Submission" button, there can be a 
delay from anywhere from 30 seconds to several minutes before the 
"Submit: Choose Collection" screen appears.  Clicking on the "Start a 
New Submission" button in "My DSpace" can run the CPU usage up over 
40%.  This doesn't happen if one goes directly to the Collection to 
which he or she is authorized to submit and clicks on the "Submit to 
this Collection" button there.

Randall Floyd of Indiana University thought that this might be a 
cleanup program in PostGreSQL, but I run vaccumdb nightly and do a 
re-index daily.

Claudia Jurgen of TU Dortmund suggested that this may be the result 
of a complicated Community/SubCommunity/Collection structure (we have 
118 Communities/Sub-Communities and 359 Collections).

I have been looking at alternatives.  I have put a message on the My 
DSpace main page telling people to go to the collection they want to 
submit to and click on the "Submit to this Collection" button there, 
but (as you can imagine) most people aren't doing that, and I am 
beginning to receive complaints from our users.

Is anyone else having this problem?

Does anyone have any ideas as to what I can do to make this a little 
bit better?   Thank you!

(PS.  I am running a SunFire-480-R with 4GB of memory and 8GB of swap 
space.  I am running PostGreSQL 7.2.3 and Tomcat 4.0.6.)

***
George Kozak
Digital Library Specialist
Library Systems
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Long Delay in doing Submit - Part 2

2008-02-15 Thread George Kozak
Thank you, Desmond.  I will try this on our test server and 
see.  Where are the log.info() results displayed?

At 10:54 AM 2/15/2008, Desmond Elliott wrote:
>I hypothesise that retrieving the ResourcePolicy for each of the 359
>Collections and then determining if a user is a member of the Group
>associated with the Collection is why there is a long delay in
>submissions from the MyDSpace interface.
>
>George could insert log.info() method calls into the SubmitServlet.java
>file at line 306, and after line 309, and re-compile and re-deploy.
>These calls would log the time of the start and the end of the operation
>for users who are / are not administrators to attempt to help determine
>if this is the reason for long delays. If this proves there is an
>objective difference in the time then the log methods can be moved
>closer to the end of the call tree to determine exactly where most
>computation occurs.
>
>The SubmitServlet adds a Collection[] to the select-collection step of
>the submission process [-1] line 308.
>
>This Collection[] is created through a call to the
>Collection.findAuthorized(context) static method [0] line 1150.
>
>The findAuthorized() method calls the findAll() method, [0] line 273,
>which returns a list of all Collections in the collection database table
>which should not be an expensive operation since it queries the database
>and retrieves 359 rows.
>
>A line contained inside the findAll() method block, line 285, determines
>if the Collection object to be added to the Collection[] is cached in
>memory. This should not be an expensive operation since the fromCache()
>method determines if the Collection object is cached in a HashMap -
>which offers O(1) access, [1] line 289.
>
>The returned Collection[] is then examined, for each Collection object,
>to determine if the current user has authorisation to write to that
>Collection. The AuthorizeManager class method authorizeBooleanAction()
>[2] line 217, calls authorizeAction() [2] line 131, calls authorize()
>[2] line 258.
>
>The authorize() method in AuthorizeManager retrieves a ResourcePolicy
>and determines if the user is authorized as per the ResourcePolicy to
>have access to the collection.
>
>Users who are admins do have have to step through the ResourcePolicy
>stage. George states that he suffers a delay when trying to submit from
>the MyDSpace page but that it is a shorter delay than what others are
>experiencing - 30s -> 60s vs 60s -> 300s. The only stage in the process
>I can determine where there is a difference between Admins and Users is
>at this point.
>
>Having to retrieve the ResourcePolicy for each of the 359 collection
>objects and determine if a user is part of that ResourcePolicy could be
>the choke point.
>
>I appreciate any thoughts on my analysis of what could be causing the
>problem that George is experiencing.
>
>[-1]
>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/app/webui/servlet/SubmitServlet.java?view=markup
>[0]
>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/content/Collection.java?view=markup
>[1]
>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/core/Context.java?view=markup
>[2]
>http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/authorize/AuthorizeManager.java?view=markup
>
>--
>Desmond Elliott   |  Hewlett-Packard Limited registered Office:
>Research Associate|  Cain Road,
>HP Labs   |  Bracknell,
>Bristol, UK   |  Berks
>+44 117 312 8526  |  RG12 1HN.
>[EMAIL PROTECTED]|  Registered No: 690597 England
>
>The contents of this message and any attachments to it are
>confidential and may be legally privileged. If you have received this
>message in error, you should delete it from your system immediately
>and advise the sender. To any recipient of this message within HP,
>unless otherwise stated you should consider this message and
>attachments as "HP CONFIDENTIAL".
>
>
>George Kozak wrote:
>
> > Hi...
> > Back in January, I wrote to the list about a problem we are having
> > (at Cornell) with DSpace after we migrated from v. 1.3.2 to v. 1.4.2.
> >
> > Basically, if someone logs into DSpace by clicking on "My DSpace" and
> > then clicks on the "Start a New Submission" button, there can be a
> > delay from anywhere from 30 seconds to several minutes before the
> > "Submit: Choose Collection" screen appears.  Clicking on the "Start a
> > New Submission" button in "My DSpace" can run the CPU usage up over
> > 40%. 

Re: [Dspace-tech] Moving items to new collection

2008-03-04 Thread George Kozak
David:

I would do this in SQL.  Here is an example of the command I use:

update collection2item set collection_id= where 
item_id=;

Then I do the following:

update item set owning_collection= where 
item_id=;

OR run index_all after making the changes and it would fix the owning 
collections and communities.

If you have a lot of items to move, then a PERL script could be used 
(if you have DBD::Pg compiled for your PERL module).

At 09:58 AM 3/4/2008, David Reynolds wrote:
>Dear colleagues,
>
>I want to move items from one collection to another in order to 
>delete the old collection but still retain the handles on the items. 
>One colleague suggested the following, but he stressed that he had 
>not tried it before:
>
>"I would try exporting the item ( you'll get the handle ), then
>deleting the collection and then reimport the item with the handle."
>
>Does this sound like the right approach? I've searched the 
>documentation but have found nothing about moving items from one 
>collection to another. Thanks in advance for your advice.
>
>
>
>
>David Reynolds
>Manager of Scholarly Digital Initiatives
>Johns Hopkins University
>3400 N. Charles St.
>Baltimore, MD 21218-2683
>
>[EMAIL PROTECTED]
>(410) 516-7220
>
>
>-
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with scripts after PostGreSQL upgrade

2008-03-05 Thread George Kozak
Hi, Everyone...

In case anyone is wondering, I fixed my problem with PERL scripts 
after I upgraded to PostGreSQL 8.3, but discovered that the latest 
DBD::Pg Perl Module (DBD-Pg-2.2.1) doesn't work with my scripts.  It 
looks as if they changed the way that variables are addressed in the 
latest version of DBD::Pg.  After a of couple of days of messing 
around with it, I installed DBD-Pg-1.49 and everything worked fine.

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Long Delay in doing Submit

2008-03-05 Thread George Kozak
Hi...

This is a follow up on my problem (at Cornell) with DSpace after we 
migrated from v. 1.3.2 to v. 1.4.2.  The problem was that if someone 
on the "My DSpace" Home page clicked on "Start a New Submission", it 
could take several minutes for the first Submit page to appear.

What fixed my problem was upgrading from PostGreSQL 7.2.3 to 
PostGreSQL 8.3.  Our problem immediately went away.

So, if anyone is having performance problems after the upgrade to 
1.4.2, I'd suggest upgrading PostGreSQL.

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] eliminating "bots" from statistics

2008-03-06 Thread George Kozak
Hi...

I am using using DStat from Edinburgh University in my DSpace 1.4.2 
installation.  I am looking at installing the Minho Statistics patch, 
also, but I'm not there, yet.

I've been asked to eliminate all harvesting "bots" from my hits and 
downloads statistics.  I've started doing this manually using grep 
and some simple scripts against my Apache logs, and it is very time 
consuming.  I was wondering if anyone has some good strategies for 
removing "bots" from their DSpace statistics.  Thanks in advance!

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] "There are no files associated with this item" problem after upgrade - solved

2008-04-21 Thread George Kozak
Thank you, Maike:

I am going to try this in my test instance.  What caused the problem 
to appear for me was when I used a local code change that I had been 
running that allowed for us to display the number of times an item is 
viewed on the item display page.  Once I removed the local code, I 
got the bitstreams to display.  I could never figure that out, but 
your fix may be the soluton... and then I may be able to reinstate my 
piece of local code that people around here are bugging me about.

At 06:38 PM 4/20/2008, [EMAIL PROTECTED] wrote:
>Hi George and others,
>
>I realise your question is from quite some time ago, but just in 
>case someone might run
>into this problem in the future I figured it might save her or him 
>some time to post the
>solution that I found.
>
>I was upgrading from 1.2.1 to 1.5 and at 1.4 I noticed that I was 
>having the same
>problem as you describe: "There are no files associated with this 
>item." It may very
>well be that this already turned up at 1.3 - I did not really test 
>the intermediate
>stages too well.
>
>It turned out that for some reason, in the old installation there 
>was only one type of
>data in the DSpace bitstream storage: the so-called "ORIGINAL" 
>files, as opposed to
>"TEXT" or "THUMBNAIL"
>
>I have not been able to find a reason, but a quick survey of the 
>data in the dump file
>confirmed that. It may have been that because of that there was no 
>need to distinguish
>between the three types mentioned above in the table column BUNDLE.NAME
>Anyway, after setting the NULL values on BUNDLE.NAME to "ORIGINAL" 
>(in the database) it
>worked fine.
>
>UPDATE bundle SET name = 'ORIGINAL' where name is null;
>
>But mind you - don't follow this blindly. The fact that this was not 
>filled in, or
>migrated, properly may entirely be a hack of the (extremely brittle) 
>installation of
>that 1.2.1 version. There were more strange issues with it, in any case.
>But it might provide a clue.
>
>cheers
>~maike
>
>
>On 30-Aug-07, at 7:44 AM, George Kozak wrote:
>Hi...
>
>On my test server, I upgraded from DSpace 1.3.2 to DSpace 1.4.2.  I
>am having a strange problem.  Everything is working fine EXCEPT that
>when I view an item, it says: "There are no files associated with
>this item."  This even happens when I add a new item.
>
>Has anyone else run into a problem like this?
>
>***
>George Kozak
>Coordinator
>Web Development and Management
>Digital Media Group
>501 Olin Library
>Cornell University
>607-255-8924
>***
>[EMAIL PROTECTED]
>
>--
>Ms. Maike Dulk - Programmer / Analyst
>McPherson Library, University of Victoria
>(t) 250-886-5709 / (e) [EMAIL PROTECTED]
>
>-- Harthon gerithach aeair vilui / I hope you will have kind seas
>
>
>
>
>
>
>-
>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>Don't miss this year's exciting event. There's still time to save $100.
>Use priority code J8TL2D2.
>http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with replace

2008-04-26 Thread George Kozak
Hi...

After all of these years, I finally had to do a replace of something 
that I imported, but it failed.

Here is what I did:
./dsrun org.dspace.app.itemimport.ItemImport --replace 
[EMAIL PROTECTED] --collection=1813/xxx 
--source=/dspace/import --mapfile=mapfile

where mapfile had the record that I had originally imported.

The import started up but then I got the message that Permission was 
denied.  However, I am the Admin and I am able to add records to the 
collection.  Does any one have any ideas why that would happen?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] File Descriptions in Import

2008-05-08 Thread George Kozak
OK...

Mark Diggory says there are no "dumb" questions for the list...but I 
have a dumb question.

I have been doing batch imports now for almost 6 years (and on 4 
different releases), and what I've always done is upload items (and 
bitstreams) and then later go into DSpace and edit the items entering 
the descriptions for multiple bitstreams.  As I was showing this 
process to someone today, I was asked the question: "Can't the 
importer do this for you?"

So, my question is: "Can File descriptions for multiple bitstreams be 
added via the importer?"

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] File Descriptions in Import

2008-05-08 Thread George Kozak
Thanks, Shane:

I don't think Dorothea's articles describes what I want to do.
What I am wondering is if I can add descriptions to the bitstreams 
using the importer.  Let me demonstrate with an example:

Here is an excerpt of the item display of something that I uploaded :

Title:  Cornell Chronicle Vol. 26, No. 1 - No. 43, 1994-1995
Keywords:  Cornell University
Issue Date:  1995
Publisher:  Cornell University
Abstract:  The Cornell Chronicle, the official weekly of record for 
Cornell University.
URI:  http://hdl.handle.net/1813/7753
Appears in Collections: Cornell Chronicle

Files in This Item:

File   Description   SizeFormat
026_43.pdf   2.97 MB Adobe PDF View/Open
026_42.pdf   3.28 MB Adobe PDF View/Open
026_41.pdf   3.4  MB Adobe PDF View/Open
026_40.pdf   3.61 MB Adobe PDF View/Open
026_39.pdf   3.31 MB Adobe PDF View/Open

What I want to import is the descriptions of the PDFs as follows:

Title:  Cornell Chronicle Vol. 26, No. 1 - No. 43, 1994-1995
Keywords:  Cornell University
Issue Date:  1995
Publisher:  Cornell University
Abstract:  The Cornell Chronicle, the official weekly of record for 
Cornell University.
URI:  http://hdl.handle.net/1813/7753
Appears in Collections: Cornell Chronicle

Files in This Item:

File   Description   SizeFormat
026_43.pdf Volume 26, No. 43 2.97 MB Adobe PDF View/Open
026_42.pdf Volume 26, No. 42 3.28 MB Adobe PDF View/Open
026_41.pdf Volume 26, No. 41 3.4 MB Adobe PDF View/Open
026_40.pdf Volume 26, No. 40 3.61 MB Adobe PDF View/Open
026_39.pdf Volume 26, No. 39 3.31 MB Adobe PDF View/Open

That's what I don't know if we can do that with import, and I didn't 
see that mentioned in Dorothea's article.

At 04:39 PM 5/8/2008, Shane Beers wrote:
>Here is a nice post from Dorothea about using the batch importer:
>
>http://cavlec.yarinareth.net/archives/2008/01/07/the-dspace-batch-importer/
>
>And yes, you can add dublin core metadata through the importing process!
>
>Shane
>
>--
>Shane Beers
>Digital Repository Services Librarian
>George Mason University
>[EMAIL PROTECTED]
>http://mars.gmu.edu
>703-993-3742
>
>
>
>On May 8, 2008, at 1:27 PM, George Kozak wrote:
>
>>OK...
>>
>>Mark Diggory says there are no "dumb" questions for the list...but I
>>have a dumb question.
>>
>>I have been doing batch imports now for almost 6 years (and on 4
>>different releases), and what I've always done is upload items (and
>>bitstreams) and then later go into DSpace and edit the items entering
>>the descriptions for multiple bitstreams.  As I was showing this
>>process to someone today, I was asked the question: "Can't the
>>importer do this for you?"
>>
>>So, my question is: "Can File descriptions for multiple bitstreams be
>>added via the importer?"
>>
>>***
>>George Kozak
>>Coordinator
>>Web Development and Management
>>Digital Media Group
>>501 Olin Library
>>Cornell University
>>607-255-8924
>>***
>>[EMAIL PROTECTED]
>>
>>
>>-
>>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>Don't miss this year's exciting event. There's still time to save
>>$100.
>>Use priority code J8TL2D2.
>>http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>___
>>DSpace-tech mailing list
>>DSpace-tech@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem opening documents larger than 6K in DSpace using Firefox

2008-06-25 Thread George Kozak

Sue:

Yes, this is a problem with DSpace and Firefox that we at Cornell 
University have had for a while.  With DSpace 1.3.2, it was only a 
problem with older versions of Firefox.  However, once we went to 
1.4.2, the problem started happening with all the versions of Firefox.


By the way, I am assuming that you mean 6MB and not 6KB.  That is 
size where we run into problems.


The viewing of object larger than 6MB works fine in IE.  I haven't 
experimented with any other browsers.


I tell people who are having the problem to do the following:
1) Right click on the View/Open link
2) Select "Save Link As"
3) Save it on your PC and then you can open it without any problems.

I don't know if there is a fix.

At 03:10 PM 6/25/2008, Thornton, Susan M. (LARC-B702)[NCI INFORMATION 
SYSTEMS] wrote:
We have a DSpace 1.4.2 User that is having a problem opening some of 
the documents in our repository.  I noticed he was using FireFox and 
found something in the DSpace archives about an issue opening 
documents larger than 6K in DSpace using Firefox.  Can someone 
comment on this and if it is an issue, are there plans to correct 
it?  A lot of our Users use Firefox.

Thanks in advance,
Sue


Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application Administrator/DBA
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547
Email:  <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem opening documents larger than 6K in DSpace using Firefox

2008-06-26 Thread George Kozak

Thanks, Terry:

I added the patch to my test server.

What I have found is that video and other files greater than 6MB now 
can be viewed and downloaded, BUT I still get "file damaged and could 
not be repaired" when using Firefox to view a PDF greater than 6MB.


I am wondering if there is something else that is causing this PDF problem.

At 03:57 PM 6/25/2008, Reese, Terry wrote:
There was a patch posted sometime ago that forces the browser to 
initiate a download by setting the Content-Disposition header 
element rather than inline viewing if the file is over a specific 
file size.  The patch is found here:

<https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984>https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984

The patch sets the threshold to 20 mb.  I've never seen problems 
with files smaller than 10 mb, but set the threshold in the code to 5 mbs.


--TR

From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of George Kozak

Sent: Wednesday, June 25, 2008 12:49 PM
To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]; 
dspace-tech@lists.sourceforge.net
Cc: Smail, James W. (LARC-B702)[NCI INFORMATION SYSTEMS]; Lowe, 
Greta M. (LARC-B702)
Subject: Re: [Dspace-tech] Problem opening documents larger than 6K 
in DSpace using Firefox


Sue:

Yes, this is a problem with DSpace and Firefox that we at Cornell 
University have had for a while.  With DSpace 1.3.2, it was only a 
problem with older versions of Firefox.  However, once we went to 
1.4.2, the problem started happening with all the versions of Firefox.


By the way, I am assuming that you mean 6MB and not 6KB.  That is 
size where we run into problems.


The viewing of object larger than 6MB works fine in IE.  I haven't 
experimented with any other browsers.


I tell people who are having the problem to do the following:
1) Right click on the View/Open link
2) Select "Save Link As"
3) Save it on your PC and then you can open it without any problems.

I don't know if there is a fix.

At 03:10 PM 6/25/2008, Thornton, Susan M. (LARC-B702)[NCI 
INFORMATION SYSTEMS] wrote:


We have a DSpace 1.4.2 User that is having a problem opening some of 
the documents in our repository.  I noticed he was using FireFox and 
found something in the DSpace archives about an issue opening 
documents larger than 6K in DSpace using Firefox.  Can someone 
comment on this and if it is an issue, are there plans to correct 
it?  A lot of our Users use Firefox.

Thanks in advance,
Sue


Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application Administrator/DBA
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547
Email:  <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<http://sourceforge.net/services/buy/index.php>http://sourceforge.net/services/buy/index.php

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
<https://lists.sourceforge.net/lists/listinfo/dspace-tech>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem opening documents larger than 6K in DSpace using Firefox

2008-06-26 Thread George Kozak

Terry, Susan, et. al...

I responded too quickly!  I reset the threshold for the patch to 6MB, 
and now everything is working using Firefox.  Thanks again, Terry!


At 03:57 PM 6/25/2008, Reese, Terry wrote:
There was a patch posted sometime ago that forces the browser to 
initiate a download by setting the Content-Disposition header 
element rather than inline viewing if the file is over a specific 
file size.  The patch is found here:

<https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984>https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984

The patch sets the threshold to 20 mb.  I've never seen problems 
with files smaller than 10 mb, but set the threshold in the code to 5 mbs.


--TR

From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of George Kozak

Sent: Wednesday, June 25, 2008 12:49 PM
To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]; 
dspace-tech@lists.sourceforge.net
Cc: Smail, James W. (LARC-B702)[NCI INFORMATION SYSTEMS]; Lowe, 
Greta M. (LARC-B702)
Subject: Re: [Dspace-tech] Problem opening documents larger than 6K 
in DSpace using Firefox


Sue:

Yes, this is a problem with DSpace and Firefox that we at Cornell 
University have had for a while.  With DSpace 1.3.2, it was only a 
problem with older versions of Firefox.  However, once we went to 
1.4.2, the problem started happening with all the versions of Firefox.


By the way, I am assuming that you mean 6MB and not 6KB.  That is 
size where we run into problems.


The viewing of object larger than 6MB works fine in IE.  I haven't 
experimented with any other browsers.


I tell people who are having the problem to do the following:
1) Right click on the View/Open link
2) Select "Save Link As"
3) Save it on your PC and then you can open it without any problems.

I don't know if there is a fix.

At 03:10 PM 6/25/2008, Thornton, Susan M. (LARC-B702)[NCI 
INFORMATION SYSTEMS] wrote:


We have a DSpace 1.4.2 User that is having a problem opening some of 
the documents in our repository.  I noticed he was using FireFox and 
found something in the DSpace archives about an issue opening 
documents larger than 6K in DSpace using Firefox.  Can someone 
comment on this and if it is an issue, are there plans to correct 
it?  A lot of our Users use Firefox.

Thanks in advance,
Sue


Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application Administrator/DBA
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547
Email:  <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<http://sourceforge.net/services/buy/index.php>http://sourceforge.net/services/buy/index.php

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
<https://lists.sourceforge.net/lists/listinfo/dspace-tech>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Duplicating a Group

2008-07-08 Thread George Kozak
Hi...

We had a problem today which has happened to us once before.  One of 
our Admins was editing a group in DSpace and when she finished she 
said that an "unusual window" popped up with the group link in it 
(sorry, I don't know what the window looked like).  She then 
discovered that the group was deleted.  She is positive that she 
didn't actually delete the group.

In any case, she had to recreate the group from scratch and it's a 
pretty large group (all grad students submitting theses and 
dissertations).  We are wondering if anyone has a method for 
duplicating a group so that if this happened again, we would have a backup.

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Duplicating a Group (update)

2008-07-09 Thread George Kozak
Hi...

Well, I solved my own problem ;-)

I created a perl script that uses SQL commands to create a flat file 
with the data from the group that I was interested in and then 
created another script to re-insert the changes.  So, this can be 
considered closed.
***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problems with Saki connecting to DSpace

2008-07-14 Thread George Kozak

Hi...

I was wondering if anyone in the DSpace Community who has used the 
Cambridge (Caret)'s DSpace/Saki Integration could help us?  We are 
having a problem getting the interface to work.


We are using DSpace 1.4.2.  I incorporated the Cambridge patches and 
we are at the point of having Saki talk to DSpace.


We are using the following configuration in Saki:

  endpoint=" 
<http://[EMAIL PROTECTED]:[EMAIL PROTECTED]:8080/dspace-dev-lni/lni/DSpaceLNI>http://:@test-dspace.library.cornell.edu:8080/dspace-dev-lni/lni/DSpaceLNI 
"

  baseHandle="1813/182"
  searchable="false"
/>

What our saki programmer is seeing is that the handle of 1813/182 is 
showing up, but when he clicks on it the following errors appear in 
the Saki log:
WARN: Error in CHH DSpace mechanism [java.net.ConnectException: 
Connection refused] (2008-07-11 13:00:25,190 
http-11076-Processor23_org.sakaiproject.content.chh.dspace.ContentHostingHandlerImplDSpace)
WARN: Error in CHH DSpace mechanism [java.io.IOException: Server 
returned HTTP response code: 500 for URL: 
http://:@test-dspace.library.cornell.edu:8080/dspace-dev-lni/lni/DSpaceLNI] 
(2008-07-11 13:00:26,881 
http-11076-Processor23_org.sakaiproject.content.chh.dspace.ContentHostingHandlerImplDSpace)


Any ideas?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with headers/Footers

2008-08-25 Thread George Kozak
Dorothea and everyone...

I guess I've been a bad boy.  Since Dspace 1.2, I have been actually 
changing the JSP's and not using /jsp/local.  I thought at one point 
we were told to no longer use /jsp/local...but I have been wrong before ;-)

At 11:32 AM 8/25/2008, Dorothea Salo wrote:
>On Mon, Aug 25, 2008 at 10:22 AM, Eric Condic <[EMAIL PROTECTED]> wrote:
> > We have decided to alter our headers/footers in dspace and are having a
> > problem.  We've modified the header/footer files in:
> >
> > [dspace-source]/jsp/local/layout and 
> [dspace-source]/jsp/layout  (we are not
> > sure which one controls the final product).
>
>You always want to modify the appropriate files in /jsp/local; these
>override what is in /jsp. Leave /jsp alone (in fact, I used to make it
>read-only in Eclipse so that I wouldn't do something stupid).
>
>As to your problem: I've had this happen. I haven't a clue what causes
>it, but cleaning out Tomcat's compiled stuff before rebuilding seems
>to fix it for me. Get rid of the .wars and subdirectories in Tomcat's
>webapps directory, then rebuild and deploy. Anybody have a
>non-cargo-cult explanation or fix?
>
>Dorothea
>
>--
>Dorothea Salo [EMAIL PROTECTED]
>Digital Repository Librarian AIM: mindsatuw
>University of Wisconsin
>Rm 218, Memorial Library
>(608) 262-5493
>
>-
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with headers/Footers

2008-08-25 Thread George Kozak
Dorothea:

OK...I now know that I have "lost it".  I could swear that at one 
time the DSpace documentation told the user that they should no 
longer use /dspace/local but make the modifications within the actual 
JSP, but I have reviewed all of my documents from DSPace 1.2.2 to the 
present and see that it says to use /dspace/local.  I guess this is a 
perfect example of people seeing what they want see!
I have been doing this for at least 5 years...sheesh!

Fortunately, I am in the process of moving my dspace instance to a 
new (and improved) server.  I will be able to fix this on the new 
server.  Thank you for bringing this to my attention.

At 12:57 PM 8/25/2008, Dorothea Salo wrote:
>On Mon, Aug 25, 2008 at 11:38 AM, George Kozak <[EMAIL PROTECTED]> wrote:
> > Dorothea and everyone...
> >
> > I guess I've been a bad boy.  Since Dspace 1.2, I have been actually
> > changing the JSP's and not using /jsp/local.  I thought at one point
> > we were told to no longer use /jsp/local...but I have been wrong before ;-)
>
>Really? When/what/where did you hear this? That's something where we
>should probably have our story straight!
>
>If /jsp/local is still the thing to do, I suppose what you'd want to
>do is copy your /jsp to /jsp/local and put a fresh set of JSPs in
>/jsp. At that point you could do a diff to see which files are
>different, and discard any in /jsp/local that just copy from /jsp.
>
>Dorothea
>
>--
>Dorothea Salo [EMAIL PROTECTED]
>Digital Repository Librarian AIM: mindsatuw
>University of Wisconsin
>Rm 218, Memorial Library
>(608) 262-5493
>
>-
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with headers/Footers

2008-08-25 Thread George Kozak

Thank you, Larry!

It's good to know that I'm not crazy.  For those of you who don't 
want to look into the documentation, in the update sections from 
1.2.2 to the present, there is a blurb that says:


"7. Your 'localized' JSPs (those in jsp/local) now need to be 
maintained in the source directory. If you have locally
modified JSPs in your [dspace]/jsp/local directory, you will need to 
merge the changes in the new 1.4.x
versions into your locally modified ones. You can use the diff 
command to compare your JSPs against the 1.4.x

versions to do this."

What threw me was that the section on customizing your we interface 
(prior to 1.5) states to put things in /dspace/jsp/local


At 01:20 PM 8/25/2008, Palmquist, Larry E wrote:

See #7 under "3.4 Updating From 1.3.2 to 1.4.x" on p. 40 of
DSpace-1.5.1Beta1.pdf

Larry Palmquist
University of Kansas

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of George
Kozak
Sent: Monday, August 25, 2008 12:14 PM
To: Dorothea Salo; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Problem with headers/Footers


Dorothea:

OK...I now know that I have "lost it".  I could swear that at one
time the DSpace documentation told the user that they should no
longer use /dspace/local but make the modifications within the actual
JSP, but I have reviewed all of my documents from DSPace 1.2.2 to the
present and see that it says to use /dspace/local.  I guess this is a
perfect example of people seeing what they want see!
I have been doing this for at least 5 years...sheesh!

Fortunately, I am in the process of moving my dspace instance to a
new (and improved) server.  I will be able to fix this on the new
server.  Thank you for bringing this to my attention.

At 12:57 PM 8/25/2008, Dorothea Salo wrote:
>On Mon, Aug 25, 2008 at 11:38 AM, George Kozak <[EMAIL PROTECTED]>
wrote:
> > Dorothea and everyone...
> >
> > I guess I've been a bad boy.  Since Dspace 1.2, I have been actually
> > changing the JSP's and not using /jsp/local.  I thought at one point
> > we were told to no longer use /jsp/local...but I have been wrong
before ;-)
>
>Really? When/what/where did you hear this? That's something where we
>should probably have our story straight!
>
>If /jsp/local is still the thing to do, I suppose what you'd want to
>do is copy your /jsp to /jsp/local and put a fresh set of JSPs in
>/jsp. At that point you could do a diff to see which files are
>different, and discard any in /jsp/local that just copy from /jsp.
>
>Dorothea
>
>--
>Dorothea Salo [EMAIL PROTECTED]
>Digital Repository Librarian AIM: mindsatuw
>University of Wisconsin
>Rm 218, Memorial Library
>(608) 262-5493
>
>---
--
>This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
>Build the coolest Linux based applications with Moblin SDK & win great
prizes
>Grand prize is a trip for two to an Open Source event anywhere in the
world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]



-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] -
T

Re: [Dspace-tech] Managing JSPs in 1.4.x....Was Re: Problem with headers/Footers

2008-08-26 Thread George Kozak
Thanks, Tim:

I appreciate the clarification.

At 10:53 AM 8/26/2008, Tim Donohue wrote:
>All,
>
>Hopefully I can clarify a bit...sorry for the longer email, but I think
>it's worth explaining this in a bit of detail.
>
>In DSpace 1.4.x there are several locations that include your JSPs:
>
>(1) [dspace-source]/jsp/ -> the out-of-the-box JSPs
>
>(2) [dspace-source]/jsp/local/ -> an empty directory specifically for
>your local customizations.  JSPs of the same name will *override* those
>in #1 above (e.g. /jsp/local/home.jsp overrides /jsp/home.jsp)
>
>(3) [tomcat]/webapps/dspace/ -> where the final JSPs are that Tomcat
>loads your DSpace website from
>
>There's actually no true *right* way to manage all your modifications,
>with the exception of the following rule:
>
>*** Never, ever directly modify JSPs that Tomcat uses (#3 above) in your
>Production installation, as you will be changing the "live" site and may
>accidentally break it.
>
>Beyond that, you have two primary options for how you may wish to manage
>JSP modifications in DSpace 1.4.x:
>
>(A) For most folks, it's recommended (but not required!) to move your
>modified JSPs from /jsp (#1 above) to /jsp/local (#2 above), to help you
>better manage which JSPs you've modified in the past. However, when you
>upgrade, you'll still need to compare all your JSPs in /jsp/local to the
>updated JSPs in /jsp.  There *may* be changes in the latest version of
>DSpace which could cause your /jsp/local changes to break.
>
>(B) As an alternative method, many institutions have begun to store a
>copy of the entire [dspace-source] within a Version Control System
>(either CVS or SVN).  If you are using a Version Control System, you may
>find it easier to modify JSPs directly within /jsp/ (#1 above), rather
>than moving them to /jsp/local.   The main reasoning here is that the
>Version Control System can often better manage your modifications, and
>can often auto-merge your modifications during your next DSpace upgrade.
>However, this method is really only recommended for those who are *very*
>comfortable with Version Control Systems and how they work...
>
>
>Please note, that all of what I said above is *only applicable* for
>DSpace 1.4.x and lower.  DSpace 1.5.x uses the idea of Web Application
>"overlays" *instead of* the old /jsp/local/ directory.  It's a similar
>concept, but obviously JSPs are put in a different location.  More on
>"overlays" can be found in my "DSpace 1.5" tutorial from JCDL 2008:
>
>http://hdl.handle.net/2142/8755
>
>There's also some basic "overlay" examples that Graham Triggs and I
>presented at Open Repositories 2008:
>
>http://www.dspace.org/images/Training_Materials/or2008-dspace-1_5.ppt
>
>
>I hope that helps clarify a bit...
>
>
>- Tim
>
>
>--
>Tim Donohue
>Research Programmer, Illinois Digital Environment for
>Access to Learning and Scholarship (IDEALS)
>University of Illinois at Urbana-Champaign
>[EMAIL PROTECTED] | (217) 333-4648
>
>George Stanley Kozak wrote:
> > JQ:
> >
> > As a person with a MA in Theology, I know how easy it can be to
> > misinterpret text ;-)  Perhaps one of the original DSpace developers could
> > enlighten us with exactly what this passage means?
> >
> >> "7. Your 'localized' JSPs (those in jsp/local) now need to be
> >> maintained in the source directory. If you have locally
> >> modified JSPs in your [dspace]/jsp/local directory, you will need to
> >> merge the changes in the new 1.4.x
> >> versions into your locally modified ones. You can use the diff command
> >> to compare your JSPs against the 1.4.x
> >> versions to do this."
> >>
> >> My understanding is that the thrust of the first sentence is just to
> >> reiterate "never edit files in the web deployment directory."  That is,
> >> [dspace-source]/jsp/local is a source directory, though not a "src"
> >> directory.
> >>
> >> When I read the rest of the above, I interpreted it to mean that local
> >> changes should go into [dspace-source]/jsp/local, but that you can't
> >> simply copy over your changed files from 1.3.2 into a 1.4.2
> >> installation, or from 1.4.2 into 1.5.x.  You need to re-implement your
> >> changes on top of the new files, but continue to put local changes
> >> into jsp/local rather than modifying
> >> 
> jsp-
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
>

[Dspace-tech] Finding a submission in a person's "My DSpace" queue

2008-10-06 Thread George Kozak
Hi...

Is there a way for me (as Sys Admin) to see someone's "My DSpace" 
queue to guarantee that they have or have not submitted a request?  I 
have a user who insists that he made a submission, but I do not find 
it archived nor is it in the workflow.

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Finding a submission in a person's "My DSpace" queue

2008-10-06 Thread George Kozak
Claudia:

Thank you...I should have stated that I am using 1.4.2 currently.  DO 
you know of a way in that release?

At 05:04 PM 10/6/2008, Claudia Juergen wrote:
>Hi George,
>
>if you're using 1.5.x with xmlui there is a config option:
>xmlui.user.assumelogin
>If set to true the DSpace admin can login as another user.
>
>Hope that helps
>
>Claudia
>
>
> > Hi...
> >
> > Is there a way for me (as Sys Admin) to see someone's "My DSpace"
> > queue to guarantee that they have or have not submitted a request?  I
> > have a user who insists that he made a submission, but I do not find
> > it archived nor is it in the workflow.
> >
> > ***
> > George Kozak
> > Coordinator
> > Web Development and Management
> > Digital Media Group
> > 501 Olin Library
> > Cornell University
> > 607-255-8924
> > ***
> > [EMAIL PROTECTED]
> >
> >
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Finding a submission in a person's "My DSpace" queue

2008-10-07 Thread George Kozak
Claudia:

EXCELLENT!!  The SQL commands are exactly what I needed.  Thank you!

At 03:43 AM 10/7/2008, Claudia Jürgen wrote:
>Hi George,
>
>there is an old patch for the jspui
>http://sourceforge.net/tracker/index.php?func=detail&aid=1615148&group_id=19984&atid=319984
>to assume another user.
>
>You might also simply look in the db:
>
>select * from item where submitter_id=IDofYourUser,
>This will give you all items the user submitted.
>
>select w.* from workspaceitem w, item i where
>i.submitter_id=IDofYourUser and i.item_id=w.item_id;
>This will give you all the unfinished submission of a user
>
>select w.* from workflowitem w, item i where i.submitter_id=IDofYourUser
>   and i.item_id=w.item_id;
>This will give you all the submissions of a user still in the workflow.
>Workflows might also be viewed via the dspace-admin UI.
>
>To see, whether the user deleted an unfinished submission you got to
>look at the logs.
>
>Hope that helps
>
>Claudia
>
>
>
>George Kozak schrieb:
> > Claudia:
> >
> > Thank you...I should have stated that I am using 1.4.2 currently.  DO
> > you know of a way in that release?
> >
> > At 05:04 PM 10/6/2008, Claudia Juergen wrote:
> >> Hi George,
> >>
> >> if you're using 1.5.x with xmlui there is a config option:
> >> xmlui.user.assumelogin
> >> If set to true the DSpace admin can login as another user.
> >>
> >> Hope that helps
> >>
> >> Claudia
> >>
> >>
> >>> Hi...
> >>>
> >>> Is there a way for me (as Sys Admin) to see someone's "My DSpace"
> >>> queue to guarantee that they have or have not submitted a request?  I
> >>> have a user who insists that he made a submission, but I do not find
> >>> it archived nor is it in the workflow.
> >>>
> >>> ***
> >>> George Kozak
> >>> Coordinator
> >>> Web Development and Management
> >>> Digital Media Group
> >>> 501 Olin Library
> >>> Cornell University
> >>> 607-255-8924
> >>> ***
> >>> [EMAIL PROTECTED]
> >>>
> >>>
> >>> -
> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>> challenge
> >>> Build the coolest Linux based applications with Moblin SDK & win great
> >>> prizes
> >>> Grand prize is a trip for two to an Open Source event anywhere in the
> >>> world
> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>> ___
> >>> DSpace-tech mailing list
> >>> DSpace-tech@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>>
> >
> > ***
> > George Kozak
> > Coordinator
> > Web Development and Management
> > Digital Media Group
> > 501 Olin Library
> > Cornell University
> > 607-255-8924
> > ***
> > [EMAIL PROTECTED]
> >
> >
> > -
> > This SF.Net email is sponsored by the Moblin 
> Your Move Developer's challenge
> > Build the coolest Linux based applications 
> with Moblin SDK & win great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>-
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Running Handle Server after changing servers

2008-10-13 Thread George Kozak
Hi...

I just moved my DSpace instance to a new machine.  I'm confused as to 
what I need to do have CNRI contact the new machine.  At the CNRI 
site it says to run the SimpleSetup again, then send the new sitebndl 
per the instructions in the download (but of course, I don't have the 
download...I set up this handle server back in 2003).  Has anyone done this?


*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Handle Server died

2008-10-20 Thread George Kozak
Hi...

Two weeks ago I moved my DSpace instance from one server to 
another.  I set up my new sitebndl.zip and contacted CNRI and got my 
new handle-server running.  I had one day where it seemed to be 
giving me troubles, but I restarted everything and then all was 
well.  This morning, it died.  I have tried to restart it several 
times, but it keeps shutting down.  This is a snippet of the errors that I see:
"javax.crypto.BadPaddingException: Given final block not properly padded
 at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
 at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
 at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275)
 at javax.crypto.Cipher.doFinal(DashoA12275)
 at 
net.handle.security.provider.GenericProvider.decrypt_DES_ECB_PKCS5(GenericProvider.java:146)
 at net.handle.hdllib.Util.decrypt(Util.java:1078)
 at net.handle.server.HandleServer.(HandleServer.java:306)
 at 
net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
 at net.handle.server.Main.initialize(Main.java:152)
 at net.handle.server.Main.main(Main.java:75)
Unable to initialize server signature object: java.lang.Exception: 
Incorrect passphrase
java.lang.Exception: Incorrect passphrase
at net.handle.hdllib.Util.decrypt(Util.java:1083)
 at net.handle.server.HandleServer.(HandleServer.java:306)
 at 
net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
 at net.handle.server.Main.initialize(Main.java:152)
 at net.handle.server.Main.main(Main.java:75)
Shutting down...

Does anyone have any clues as to what may be wrong?  I didn't change 
anything since I started things a couple of weeks ago.


*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle Server died

2008-10-20 Thread George Kozak
Thanks, Graham:

I don't remember picking encryption when I rebuilt my handle server, 
but I must have.  In any case, I will contact CNRI.

At 10:17 AM 10/20/2008, Graham Triggs wrote:
>Hi George,
>
>So, you opted to use encryption in the simple setup?
>
>Looks like the encrypted file that was generated is/has become corrupt.
>But this is all entirely with the CNRI provided code (and the JVM).
>
>I would contact CNRI for support.
>
>G
>
>George Kozak wrote:
> > Hi...
> >
> > Two weeks ago I moved my DSpace instance from one server to
> > another.  I set up my new sitebndl.zip and contacted CNRI and got my
> > new handle-server running.  I had one day where it seemed to be
> > giving me troubles, but I restarted everything and then all was
> > well.  This morning, it died.  I have tried to restart it several
> > times, but it keeps shutting down.  This is a snippet of the 
> errors that I see:
> > "javax.crypto.BadPaddingException: Given final block not properly padded
> >   at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
> >   at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
> >   at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275)
> >   at javax.crypto.Cipher.doFinal(DashoA12275)
> >   at
> > 
> net.handle.security.provider.GenericProvider.decrypt_DES_ECB_PKCS5(GenericProvider.java:146)
> >   at net.handle.hdllib.Util.decrypt(Util.java:1078)
> >   at net.handle.server.HandleServer.(HandleServer.java:306)
> >   at
> > net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
> >   at net.handle.server.Main.initialize(Main.java:152)
> >   at net.handle.server.Main.main(Main.java:75)
> > Unable to initialize server signature object: java.lang.Exception:
> > Incorrect passphrase
> > java.lang.Exception: Incorrect passphrase
> >  at net.handle.hdllib.Util.decrypt(Util.java:1083)
> >   at net.handle.server.HandleServer.(HandleServer.java:306)
> >   at
> > net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
> >   at net.handle.server.Main.initialize(Main.java:152)
> >   at net.handle.server.Main.main(Main.java:75)
> > Shutting down...
> >
> > Does anyone have any clues as to what may be wrong?  I didn't change
> > anything since I started things a couple of weeks ago.
> >
> >
> > ***
> > George Kozak
> > Coordinator
> > Web Development and Management
> > Digital Media Group
> > 501 Olin Library
> > Cornell University
> > 607-255-8924
> > ***
> > [EMAIL PROTECTED]
> >
> >
> > -
> > This SF.Net email is sponsored by the Moblin Your Move 
> Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK&  win 
> great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
>This e-mail is confidential and should not be used by anyone who is 
>not the original intended recipient. BioMed Central Limited does not 
>accept liability for any statements made which are clearly the 
>sender's own and not expressly made on behalf of BioMed Central 
>Limited. No contracts may be concluded on behalf of BioMed Central 
>Limited by means of e-mail communication. BioMed Central Limited 
>Registered in England and Wales with registered number 3680030 
>Registered Office Middlesex House, 34-42 Cleveland Street, London W1T 4LB
>This email has been scanned by Postini.
>For more information please visit http://www.postini.com
>
>
>-
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>___
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator

Re: [Dspace-tech] Handle Server died

2008-10-20 Thread George Kozak
Hi...

It turns out that to fix my problem I had to rebuild my sitebndl.zip 
file and send it to CNRI.  Jane Euler at CNRI was very helpful and 
now my handle server is working.  I am not sure what happened since 
the timestamps had not changed on my public and private keys, but in 
any case, all is fine.


>>George Kozak wrote:
>> > Hi...
>> >
>> > Two weeks ago I moved my DSpace instance from one server to
>> > another.  I set up my new sitebndl.zip and contacted CNRI and got my
>> > new handle-server running.  I had one day where it seemed to be
>> > giving me troubles, but I restarted everything and then all was
>> > well.  This morning, it died.  I have tried to restart it several
>> > times, but it keeps shutting down.  This is a snippet of the 
>> errors that I see:
>> > "javax.crypto.BadPaddingException: Given final block not properly padded
>> >   at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
>> >   at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
>> >   at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275)
>> >   at javax.crypto.Cipher.doFinal(DashoA12275)
>> >   at
>> > 
>> net.handle.security.provider.GenericProvider.decrypt_DES_ECB_PKCS5(GenericProvider.java:146)
>> >   at net.handle.hdllib.Util.decrypt(Util.java:1078)
>> >   at net.handle.server.HandleServer.(HandleServer.java:306)
>> >   at
>> > net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
>> >   at net.handle.server.Main.initialize(Main.java:152)
>> >   at net.handle.server.Main.main(Main.java:75)
>> > Unable to initialize server signature object: java.lang.Exception:
>> > Incorrect passphrase
>> > java.lang.Exception: Incorrect passphrase
>> >  at net.handle.hdllib.Util.decrypt(Util.java:1083)
>> >   at net.handle.server.HandleServer.(HandleServer.java:306)
>> >   at
>> > net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
>> >   at net.handle.server.Main.initialize(Main.java:152)
>> >   at net.handle.server.Main.main(Main.java:75)
>> > Shutting down...
>> >
>> > Does anyone have any clues as to what may be wrong?  I didn't change
>> > anything since I started things a couple of weeks ago.
>> >
>> >
>> > ***
>> > George Kozak
>> > Coordinator
>> > Web Development and Management
>> > Digital Media Group
>> > 501 Olin Library
>> > Cornell University
>> > 607-255-8924
>> > ***
>> > [EMAIL PROTECTED]
>> >
>> >
>> > -
>> > This SF.Net email is sponsored by the Moblin Your Move 
>> Developer's challenge
>> > Build the coolest Linux based applications with Moblin SDK&  win 
>> great prizes
>> > Grand prize is a trip for two to an Open Source event anywhere 
>> in the world
>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> > ___
>> > DSpace-tech mailing list
>> > DSpace-tech@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>>
>>
>>This e-mail is confidential and should not be used by anyone who is 
>>not the original intended recipient. BioMed Central Limited does 
>>not accept liability for any statements made which are clearly the 
>>sender's own and not expressly made on behalf of BioMed Central 
>>Limited. No contracts may be concluded on behalf of BioMed Central 
>>Limited by means of e-mail communication. BioMed Central Limited 
>>Registered in England and Wales with registered number 3680030 
>>Registered Office Middlesex House, 34-42 Cleveland Street, London W1T 4LB
>>This email has been scanned by Postini.
>>For more information please visit http://www.postini.com
>>
>>
>>-
>>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>Build the coolest Linux based applications with Moblin SDK & win great prizes
>>Grand prize is a trip for two to an Open Source event anywhere in the world
>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>___
>>DSpace-tech mailing list
>>DSpace-

[Dspace-tech] I need help with memory problems

2008-12-10 Thread George Kozak
Hi...

In October I moved my DSpace 1.4.2 instance to a new server which is 
faster and has more memory.  I upgraded my Apache to 2.2.4, added 
mod_jk and Tomcat 5.5.26.

My old instance worked fine with Apache 1.3.26, mod_webapp and tomcat 
4.0.6.  In both cases I was and am using PostGreSQL 8.3.

However, ever since moving to the new server, I have had tomcat crashes with
java.lang.OutOfMemoryError: Java heap space

This seems to happen when we are hit by harvesters.  I have tried a 
number of things, but all that I have done is delay the 
crashes.  They happen...just less frequently.  I am at my wits 
end!  Does anyone have any suggestions?

In PostGreSQL, I have max_connections = 100 and shared_buffers = 32MB 
and max_fsm_pages = 204800

Here is my Tomcat configuration:
JAVA_OPTS="-server -Xms1024m -Xmx2048m -Xmn64m -Dfile.encoding=UTF-8 
-XX:+UseParallelGC -verbose:gc
-Xloggc:/dspace/dspace/log/gc.log -XX:+HeapDumpOnOutOfMemoryError
-XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:-UseGCOverheadLimit"

Here is robots.txt:
User-agent: *
Crawl-delay: 10

User-agent: *
Disallow: /browse-author
Disallow: /items-by-author
Disallow: /browse-date
Disallow: /browse-subject
Disallow: /bitstream

*******
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]  


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] I need help with memory problems

2008-12-11 Thread George Kozak

Thanks, Sue!

At 03:30 PM 12/11/2008, Thornton, Susan M. 
(LARC-B702)[NCI INFORMATION SYSTEMS] wrote:

Hi George,
 We are running 1.4.2, however with Sun 
Webserver7, and Postgres 8.2 and the only time 
we see Java Heap Space errors are in 
filter-media.  Here is what we have in our dsrun script:


java -Xmx3072m -Dfile.encoding=UTF-8 -classpath $FULLPATH "$@"

and here are some parameters from our postgresql.conf file:

max_connections = 300 (I changed it from 100 to 
300 when we kept getting errors saying, 
“connection limit exceeded for non-superusers” – haven’t seen the error since)


shared_buffers = 32MB

max_fsm_pages = 30


Hope this helps!!
Sue


Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application & Database Administrator
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547
Email:  <mailto:susan.m.thorn...@nasa.gov>susan.m.thorn...@nasa.gov




-Original Message-
From: George Kozak [mailto:g...@cornell.edu]
Sent: Wednesday, December 10, 2008 8:53 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] I need help with memory problems

Hi...

In October I moved my DSpace 1.4.2 instance to a new server which is
faster and has more memory.  I upgraded my Apache to 2.2.4, added
mod_jk and Tomcat 5.5.26.

My old instance worked fine with Apache 1.3.26, mod_webapp and tomcat
4.0.6.  In both cases I was and am using PostGreSQL 8.3.

However, ever since moving to the new server, I have had tomcat crashes with
java.lang.OutOfMemoryError: Java heap space

This seems to happen when we are hit by harvesters.  I have tried a
number of things, but all that I have done is delay the
crashes.  They happen...just less frequently.  I am at my wits
end!  Does anyone have any suggestions?

In PostGreSQL, I have max_connections = 100 and shared_buffers = 32MB
and max_fsm_pages = 204800

Here is my Tomcat configuration:
JAVA_OPTS="-server -Xms1024m -Xmx2048m -Xmn64m -Dfile.encoding=UTF-8
-XX:+UseParallelGC -verbose:gc
-Xloggc:/dspace/dspace/log/gc.log -XX:+HeapDumpOnOutOfMemoryError
-XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:-UseGCOverheadLimit"

Here is robots.txt:
User-agent: *
Crawl-delay: 10

User-agent: *
Disallow: /browse-author
Disallow: /items-by-author
Disallow: /browse-date
Disallow: /browse-subject
Disallow: /bitstream

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu --
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Google bots and web crawlers

2009-01-14 Thread George Kozak

Jeff:

What I am using is a robots.txt file that I put in the dspace webapps 
directory in tomcat.  I think it's working (at least we haven't 
crashed lately).  If you're interested in seeing my robots.txt file, 
I can send it to you.


At 01:09 PM 1/14/2009, Jeffrey Trimble wrote:
Is there something simple I can place in the jsp that will prohibit 
the crawlers from

using my server resources?

TIA,

Jeff

Jeffrey Trimble
Systems Librarian
Maag Library
Youngstown State University
330-941-2483 (Office)
<mailto:jtrim...@cc.ysu.edu>jtrim...@cc.ysu.edu
http://www.maag.ysu.edu
<http://digital.maag.ysu.edu>http://digital.maag.ysu.edu



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


*******
George Kozak
Digital Library Information Technology
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu --
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bug (?) opening a PDF in IR via firefox

2009-01-29 Thread George Kozak

Shane:

Yes, we encountered this problem as well with Firefox. Terry Reese 
from Oregon State told me that there was a patch posted sometime ago 
that forces the browser to initiate a download by setting the 
Content-Disposition header element rather than inline viewing if the 
file is over a specific file size.  The patch is found here:

<https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984>https://sourceforge.net/tracker/?func=detail&atid=319984&aid=1751638&group_id=19984

The patch sets the threshold to 20 MB.  I set our threshold to 5MB.

At 02:47 PM 1/29/2009, Shane Beers wrote:

I'm going to guess this is related to the default functionality of how
firefox opens PDFs, but I'll ask here anyway. The collection admin for
a particular section of our IR wrote me saying that she was getting an
error opening a PDF from the IR. She would get the error "The file is
damaged and could not be repaired" from Adobe Acrobat. If she right
clicked and saved as... to her computer and opened it it was fine. It
also opened fine from IE. My guess is that Acrobat is trying to open
the file before it has actually completed downloading. The file is
27mb, so that could potentially be the issue.

It works fine from my mac and firefox browser, however.

Is this a problem anyone else has run into? If so, is it something
that can be "fixed" from DSpace's end?

Thanks.


Shane Beers
Digital Repository Services Librarian
George Mason University
sbe...@gmu.edu
http://mars.gmu.edu
703-993-3742




--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


***
George Kozak
Programmer/Analyst Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu --
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Question about uploading large files

2009-03-04 Thread George Kozak
Hi...

I have a user who is uploading 1-2GB files with his 
submissions.  Even though I have my dspace.cfg set to allow any size, 
his browser times out on him during the submission process.  So, I 
have asked him to give me the files on DVD and submit his items 
without the large files.  Then I am exporting the items, adding the 
large files and doing an import (replace) of the items.

Is there any easier solution that someone else has come up with in 
dealing with large file submissions?

***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Question about changing java code in DSpace 1.5.2

2009-07-07 Thread George Kozak
Hi...

I wanted to put in a "local" change to two java programs.  This is my 
first time with DSpace .1.5.2 (I have been working with DSpace 1.4.2).  
These local mods were our modified version of Terry Owen's (U of 
Maryland) Embargo code.

I went to 
[dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/

I put in my own versions of  app/webui/serlvet/BitstreamServlet.java
and content/Bitstream.java

I ran "mvn package" and then "ant -Dconfig=[dspace 
main]/config/dspace.cfg update"
and copied the new webapps over to Tomcat.

However, when I execute my code, I do not seem to be getting my unique 
versions of BitstreamServlet.java and Bitstream.java.  It acts like it 
would if it was using the vanilla versions of these modules.

Did I do this wrong?  Does the modified java code go elsewhere?

-- 
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question about changing java code in DSpace 1.5.2

2009-07-07 Thread George Kozak

Mark:

No, they are not in the classes directories.  What do I need to do to 
get them there?  Thanks!


Mark Diggory wrote:

Hi George,

On Tue, Jul 7, 2009 at 7:30 AM, George Kozak wrote:
  

I went to
[dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/

I put in my own versions of  app/webui/serlvet/BitstreamServlet.java
and content/Bitstream.java

I ran "mvn package" and then "ant -Dconfig=[dspace
main]/config/dspace.cfg update"
and copied the new webapps over to Tomcat.



Can you verify if your classes have shown up in the following locations?

[dspace-1.5.2-src-release]/dspace/modules/jspui/target/jspui-1.5.2/WEB-INF/classes/

[dspace-1.5.2-src-release]/dspace/target/dspace-release-1.5.2/webapps/jspui/WEB-INF/classes/

They need to show up in the "classes" directory to override those in
the dspace-jspui-api jar.

Cheers,
Mark

  


--
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question about changing java code in DSpace 1.5.2

2009-07-07 Thread George Kozak

Thanks. Mark!  I will give it a try.

Mark Diggory wrote:

Ok, lets walk through your process and verify we are not missing details.

place your Bitstream.java 
in [dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/content/Bitstream.java


cd [dspace-1.5.2-src-release]/dspace


mvn clean package


ls -a 
-l [dspace-1.5.2-src-release]/dspace/target/dspace-1.5.2-build.dir/webapps/jspui/WEB-INF/classes/org/dspace/content/



This should be where your replaced Bitstream.java shows up as a 
compiled Bitstream.class.  I just copied and ran a build test doing 
this with dspace 1.5.2 successfully.


Mark

On Tue, Jul 7, 2009 at 9:08 AM, George Kozak <mailto:g...@cornell.edu>> wrote:


Mark:

No, they are not in the classes directories.  What do I need to do
to get them there?  Thanks!


Mark Diggory wrote:

Hi George,

On Tue, Jul 7, 2009 at 7:30 AM, George Kozak 
<mailto:g...@cornell.edu> wrote:
  

I went to
[dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/

I put in my own versions of  app/webui/serlvet/BitstreamServlet.java
and content/Bitstream.java

I ran "mvn package" and then "ant -Dconfig=[dspace
main]/config/dspace.cfg update"
and copied the new webapps over to Tomcat.


Can you verify if your classes have shown up in the following locations?


[dspace-1.5.2-src-release]/dspace/modules/jspui/target/jspui-1.5.2/WEB-INF/classes/


[dspace-1.5.2-src-release]/dspace/target/dspace-release-1.5.2/webapps/jspui/WEB-INF/classes/

They need to show up in the "classes" directory to override those in
the dspace-jspui-api jar.

Cheers,
Mark

  


-- 
***

George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu <mailto:g...@cornell.edu>




--
Mark R. Diggory
@mire - http://www.atmire.com



--
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question about changing java code in DSpace 1.5.2

2009-07-07 Thread George Kozak

Thanks, Mark:

It turns out that my compile of Bitstream. java is failing.  Somehow, I 
missed the error messages the first time.  Looks like the code I copied 
in has some problems.  At least I know where things are supposed to go 
and where they are supposed to be after compiling.  A big thank you to 
Mark and Bill.  Now for the hard part...debugging my code! ;-)


Mark Diggory wrote:

Ok, lets walk through your process and verify we are not missing details.

place your Bitstream.java 
in [dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/content/Bitstream.java


cd [dspace-1.5.2-src-release]/dspace


mvn clean package


ls -a 
-l [dspace-1.5.2-src-release]/dspace/target/dspace-1.5.2-build.dir/webapps/jspui/WEB-INF/classes/org/dspace/content/



This should be where your replaced Bitstream.java shows up as a 
compiled Bitstream.class.  I just copied and ran a build test doing 
this with dspace 1.5.2 successfully.


Mark

On Tue, Jul 7, 2009 at 9:08 AM, George Kozak <mailto:g...@cornell.edu>> wrote:


Mark:

No, they are not in the classes directories.  What do I need to do
to get them there?  Thanks!


Mark Diggory wrote:

Hi George,

On Tue, Jul 7, 2009 at 7:30 AM, George Kozak 
<mailto:g...@cornell.edu> wrote:
  

I went to
[dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/

I put in my own versions of  app/webui/serlvet/BitstreamServlet.java
and content/Bitstream.java

I ran "mvn package" and then "ant -Dconfig=[dspace
main]/config/dspace.cfg update"
and copied the new webapps over to Tomcat.


Can you verify if your classes have shown up in the following locations?


[dspace-1.5.2-src-release]/dspace/modules/jspui/target/jspui-1.5.2/WEB-INF/classes/


[dspace-1.5.2-src-release]/dspace/target/dspace-release-1.5.2/webapps/jspui/WEB-INF/classes/

They need to show up in the "classes" directory to override those in
the dspace-jspui-api jar.

Cheers,
Mark

  


-- 
***

George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu <mailto:g...@cornell.edu>




--
Mark R. Diggory
@mire - http://www.atmire.com



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry



___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  


--
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Question about adding new servlet

2009-07-13 Thread George Kozak
Hi...

I am working on my migration from DSpace 1.4.2 to 1.5.2.  In 1.4.2, I 
had a locally created servlet.  Besides creating the jsps for it and the 
java code, I defined the servlet in /etc/dspace-web.xml.

Where do I do that in DSpace 1.5.2? 

-- 
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Setting Primary Bitstream problem

2009-08-12 Thread George Kozak
Hi...

I am having a problem at our installation at Cornell.  I have some items 
with multiple bitstreams.  I have gone in after they have been submitted 
and set one of the bitstreams as the primary bitstream for the item.  
However, after that when the item is viewed, all of the bitstreams are 
still displayed.  Does anyone have any idea what could causing this?  I 
was pretty sure that setting the primary bitstream would suppress the 
display of all the other bitstreams.

-- 
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Setting Primary Bitstream problem

2009-08-12 Thread George Kozak
Claudia:

Ahhh...I see.  Thanks!

Claudia Jürgen wrote:
> Hi George,
>
> this works only for primary bitstreams of text/html MIME type.
>
> Hope that helps
>
> Claudia Jürgen
>
>
> George Kozak schrieb:
>> Hi...
>>
>> I am having a problem at our installation at Cornell.  I have some 
>> items with multiple bitstreams.  I have gone in after they have been 
>> submitted and set one of the bitstreams as the primary bitstream for 
>> the item.  However, after that when the item is viewed, all of the 
>> bitstreams are still displayed.  Does anyone have any idea what could 
>> causing this?  I was pretty sure that setting the primary bitstream 
>> would suppress the display of all the other bitstreams.
>>

-- 
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Database change from DSpace 1.4.2 to 1.5.2

2009-08-22 Thread George Kozak
Hello:

I just made the change from DSpace 1.4.2 to DSpace 1.5.2 and I 
discovered something that I forgot to check when I was testing.  I have 
a number of scripts that I have written to pull data from the database 
and create reports for users at our site.

In running one of the daily reports that I have (which displays the most 
recent submissions), I found that the table "itemsbydateaccessioned" is 
gone (and, of course, I used this in almost all my reports!).

Can anyone tell me where that data previously displayed in this table 
now resides?  Also, is there a  chart or listing of all of the database 
table changes?  I didn't see it in the 1.5.2 documentation, but I might 
have missed it.  Thanks!

-- 
*******
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Database change from DSpace 1.4.2 to 1.5.2

2009-08-24 Thread George Kozak

Thank you, Stuart!

Stuart Lewis wrote:

Hi George,

  

I just made the change from DSpace 1.4.2 to DSpace 1.5.2 and I
discovered something that I forgot to check when I was testing.  I have
a number of scripts that I have written to pull data from the database
and create reports for users at our site.

In running one of the daily reports that I have (which displays the most
recent submissions), I found that the table "itemsbydateaccessioned" is
gone (and, of course, I used this in almost all my reports!).

Can anyone tell me where that data previously displayed in this table
now resides?  Also, is there a  chart or listing of all of the database
table changes?  I didn't see it in the 1.5.2 documentation, but I might
have missed it.  Thanks!



Look in the table bi_item (bi = browse index).

To work out what the column names relate to (e.g. sort_1, sort_2 etc), look
in dspace.cfg for the lines:

webui.itemlist.sort-option.1 = title:dc.title:title
webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date
webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date

Hope that helps,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  


--
*******
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Adding description to batch loaded bitstream

2009-09-01 Thread George Kozak
Hi...

I am having a problem with batch loading descriptions with my bitstreams.
In the contents file I have "file.pdf\tdescription:File description"

When I do the import, it works fine, but when I view the item display, 
the description does not appear.  If I go to the Admin function and 
bring up the item under "Edit", I see the description, but it doesn't 
appear on the item display.

Am I doing something wrong?

-- 
*******
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding description to batch loaded bitstream

2009-09-01 Thread George Kozak

Stuart:

No, I am using JSPUI.  Is this patch specific to XMLUI or does it also 
apply to JSPUI?


Stuart Lewis wrote:

Hi George,

  

I am having a problem with batch loading descriptions with my bitstreams.
In the contents file I have "file.pdf\tdescription:File description"

When I do the import, it works fine, but when I view the item display,
the description does not appear.  If I go to the Admin function and
bring up the item under "Edit", I see the description, but it doesn't
appear on the item display.

Am I doing something wrong?



Are you using XMLUI? See:

 - http://jira.dspace.org/jira/browse/DS-156

This has been included in the upcoming 1.6 release.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

  


--
*******
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding description to batch loaded bitstream

2009-09-03 Thread George Kozak

Stuart, and everyone else:

Here is what I have discovered with my test of my instance of DSpace 1.5.2:
If I batch load anything into my system using:

./dsrun org.dspace.app.itemimport.ItemImport --add 
--eperson=g...@cornell.edu --collection=1813/ 
--source=/dspace/import --mapfile=mapfileTop of Form 1



The item is imported fine, but when I display the item, the description 
field for the bitstream does not appear...not even the title for the 
description field. 

However, after I run Filter-media, the description field appears for 
these batch loaded items.  I don't recall this being an issue with 
1.4.2.  Has anyone else experienced this?


Stuart Lewis wrote:

Hi George,

That issues was just for XMLUI. JSPUI should work fine.

Have you modified much of your DSpace installation? It seems strange 
that it must be accepting the description OK as you see it in the edit 
view, but not in the normal viewing mode.


Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
_http://www.library.auckland.ac.nz/

_

On 2/09/09 9:12 AM, "George Kozak"  wrote:

Stuart:

No, I am using JSPUI.  Is this patch specific to XMLUI or does it
also apply to JSPUI?

Stuart Lewis wrote:


Hi George,

  
 



I am having a problem with batch loading descriptions with
my bitstreams.
In the contents file I have "file.pdf\tdescription:File
description"

When I do the import, it works fine, but when I view the
item display,
the description does not appear.  If I go to the Admin
function and
bring up the item under "Edit", I see the description, but
it doesn't
appear on the item display.

Am I doing something wrong?

 




Are you using XMLUI? See:

 - http://jira.dspace.org/jira/browse/DS-156

This has been included in the upcoming 1.6 release.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New
Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

  



--
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Weird problem with Google Harvesting

2009-09-24 Thread George Kozak
Hi...

We (at Cornell) have discovered a weird problem with Google harvesting 
and wonder if anyone else has seen this.  One of our collections is 
called Cornell Alumni News and it contains PDF versions of archived 
editions of our Alumni News Magazine (dating back to the 1800's).  Each 
of the PDFs contain scanned images with underlining OCR.  Each item is 
one volume with 12-18 bitstreams (PDFs) which represent an issue.

We have found that Google has harvested these issues inconsistently.  
For instance, for one volume we will find that 5 of the bitstreams 
appear in Google but 7 do not. 

Has anyone else seen anything like this?  We are wondering if it may be 
a product of the size of the PDFs.  The ones which weren't harvested 
seem consistently large (around 30MB). 

P.S.  I did go through the Google WebMaster Tools, but I couldn't find 
anything that indicated a problem on their end.

-- 
*******
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Statistics in DSpace

2009-10-05 Thread George Kozak
Hi...

As much as I hate to say this...I'm confused ;-)

A few weeks ago we switched from running DSpace 1.4.2 to DSpace 1.5.2

On September 30th, I ran my regular stats job:
0 11 *  * * /dspace/dspace/bin/stat-general > /dev/null 2>&1
30 11 *  * * /dspace/dspace/bin/stat-monthly > /dev/null 2>&1
45 11 * * * /dspace/dspace/bin/stat-report-general > /dev/null 2>&1
55 11 * * * /dspace/dspace/bin/stat-report-monthly > /dev/null 2>&1

What I ended up was a report that claimed to be from September 1 - 
September 30th, but actually it appears to only have the data for 
September 30th.  All the stats numbers are really low.  I thought to 
re-run it, but discovered that the dspace log files had been deleted.  
Do the new stats programs delete the log files they use?

Any help anyone could give me would be great.  Stats are very important 
at our site and it looks like I lost the data for September.

P.S.  Does the statistics program remove robots from the counts?  I 
thought it did, but I couldn't find anything in the code that indicated it.

-- 
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Statistics in DSpace

2009-10-05 Thread George Kozak

Stuart:

Thanks!  I was confused to see the files deleted. I will check log4j.

Stuart Lewis wrote:

Hi George,

  

A few weeks ago we switched from running DSpace 1.4.2 to DSpace 1.5.2

On September 30th, I ran my regular stats job:

What I ended up was a report that claimed to be from September 1 -
September 30th, but actually it appears to only have the data for
September 30th.  All the stats numbers are really low.  I thought to
re-run it, but discovered that the dspace log files had been deleted.
Do the new stats programs delete the log files they use?



The stats scripts do not delete any files. The new stats scripts  
introduced in 1.5 are Java replacements for the previous Perl scripts.  
They were added to try and make DSpace 100% java (and therefore cross- 
platform compatible).


A possible culprit for deleting old log files (dspace.log*) is the  
logger itself, log4j. Look in [dspace]/config/log4j.properties to find  
out how many files it is configured to keep before deleting old files.


  

P.S.  Does the statistics program remove robots from the counts?  I
thought it did, but I couldn't find anything in the code that  
indicated it.



The current out-the-box installation does not remove robots.

I hope this helps,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

  


--
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] OAI Harvesting problem

2009-10-13 Thread George Kozak
Hi...

Someone contacted me and told me that they can only harvest 199 records 
from our various collections.  We are using DSpace 1.5.2.  They said 
that they only get 1 resumption token in the harvest.

I know in the config file it says:
# Optional: DSpace uses 100 records as the limit for the oai responses. 
You can
# alter this by changing 
$DSPACE_SOURCE_DIR/src/org/dspace/app/oai/DSpaceOAICatalog.java to 
modify the
# declaration:
# private final int MAX_RECORDS = 100 to private final int MAX_RECORDS = 30
# oai.didl.maxresponse = 0

But does that limit the number of resumption tokens as well?

-- 
***
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
g...@cornell.edu


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech