George Stanley Kozak | 1 Mar 2008 06:38
Picon
Favicon

Problem with scripts after PostGreSQL upgrade

Hi...

I just upgraded from PostGReSQL 7.2.3 to 8.3 (I am using DSpace 1.4.2).

I have a number of PERL scripts that I run that get data from the
PostGreSQL database.  These scripts use the DBI connect command:
$dbh = DBI->connect('DBI:Pg:dbname=dspace', 'xxxxx', '');

This worked under the old PostGreSQL but under the new one, I get this error:

install_driver(Pg) failed: Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Pg/Pg.so' for
module DBD::Pg: ld.so.1: list_users.pl: fatal: libpq.so.2: open failed:

Do I need to get new libraries for the new PostGreSQL?
****************************************
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University 14853
gsk5@...
607-255-8924

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
(Continue reading)

Urban Andersson | 2 Mar 2008 12:16
Picon
Picon
Favicon

Re: Problem with scripts after PostGreSQL upgrade

You need the libraries for 8.3 (and possibly you will have to rebuild the
DBD::Pg against these, I'm not sure. At least you have to have the
libraries).

**********************
Urban Andersson
Digital library
University of Gothenburg
Sweden

> Hi...
>
> I just upgraded from PostGReSQL 7.2.3 to 8.3 (I am using DSpace 1.4.2).
>
> I have a number of PERL scripts that I run that get data from the
> PostGreSQL database.  These scripts use the DBI connect command:
> $dbh = DBI->connect('DBI:Pg:dbname=dspace', 'xxxxx', '');
>
> This worked under the old PostGreSQL but under the new one, I get this
> error:
>
> install_driver(Pg) failed: Can't load
> '/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Pg/Pg.so' for
> module DBD::Pg: ld.so.1: list_users.pl: fatal: libpq.so.2: open failed:
>
> Do I need to get new libraries for the new PostGreSQL?
> ****************************************
> George Kozak
> Coordinator
> Web Development and Management
(Continue reading)

Valorie Hollister | 2 Mar 2008 16:27

Service Provider Grid

DSpace Community -

DSpace Foundation has posted a new reference on www.dspace.org for  
service providers:   
http://www.dspace.org/index.php?option=com_content&task=view&id=548&Itemid=174

These companies/individuals have been vetted by the foundation and can  
provide assistance with repository design, development,  
installation/configuration, integration, customization, hosting,  
training and analysis.

It is our goal to keep the information current -- please let us know  
if you find discrepancies.  We would like to expand this list of  
service providers, so if you have any recommendations of whom we  
should be talking to, let us know.

Thank you!

Valorie Hollister
Community Outreach Manager
DSpace Foundation

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Mika Stenberg | 3 Mar 2008 09:31
Picon
Picon

Re: javascript.evaluator.exception

This fixed it! Thanks a lot!

-Mika

> Hi Mika,
> 
> line 47-49 in eperson.js
> 
> should read:
> 
> importClass(Packages.org.dspace.eperson.EPerson);
> importClass(Packages.org.dspace.eperson.AccountManager);
> importClass(Packages.org.dspace.eperson.Subscribe);
> 
> instead of
> 
> importClass(Packages.org.dspace.aspect.eperson.EPerson);
> importClass(Packages.org.dspace.aspect.eperson.AccountManager);
> importClass(Packages.org.dspace.aspect.eperson.Subscribe);
> 
> This works for me!
> 
> --Andi
> 
> 
> [Dspace-tech] javascript.evaluator.exception
> From: Mika Stenberg <mika.stenberg <at> he...> - 2008-01-10 12:59
> 
> Im trying this again. Running Manakin 1.1a and DSpace 1.4.2. Im getting
> error below when clicking "forgot password" or trying to register as new
(Continue reading)

Mika Stenberg | 3 Mar 2008 10:42
Picon
Picon

PSQL Error

We are experiencing the following PSQL errors quite often:

An error has occured org.postgresql.util.PSQLException: This statement 
has been closed.

I remember there has been discussion that this error itself is harmless. 
However when it occurs and Manakin throws the error dump on the screen 
for the user it creates a very unpleasant use-case experience.

Is there a way to get around this?

Thanks,
Mika

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Satya Ranjan Sahu | 3 Mar 2008 12:48
Favicon

File upload problem

I didn't get any response to my previous mails. So reposting my problem of uploading file (bitstream). When I am trying to upload the file for a new item it is showing error in the browser. But uploads bitstream from editing option of an exiting item. 
 
I checked the permission to the webapps directory as 'dspace'. Dspace log file shows the following error:
 
 
2008-03-03 15:51:38,037 WARN  org.dspace.app.webui.servlet.InternalErrorServlet <at> :session_id=292943768978A592C8FDCBDD3126B6D5:internal_error:-- URL Was: http://drs.nio.org/drs/submit
-- Method: POST
-- Parameters were:
 
java.lang.NoSuchMethodError: org.dspace.content.Bitstream.getSize()I
        at org.apache.jsp.submit.show_002duploaded_002dfile_jsp._jspService(org.apache.jsp.submit.show_002duploaded_002dfile_jsp:258)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91)
        at org.dspace.app.webui.servlet.SubmitServlet.showProgressAwareJSP(SubmitServlet.java:2053)
        at org.dspace.app.webui.servlet.SubmitServlet.showUploadFileList(SubmitServlet.java:1987)
        at org.dspace.app.webui.servlet.SubmitServlet.processChooseFile(SubmitServlet.java:1136)
        at org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:332)
        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:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
 
 
With regards
Satya
 
-----Original Message-----
From: dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]On Behalf Of Satya Ranjan Sahu
Sent: Friday, February 29, 2008 5:30 PM
To: DSpace
Subject: [Dspace-tech] Error in Submitting the Bitstream - Need help

Dear members,
    I am facing problem at the step of file uploading. When I click on next after browsing the file, it shows the following error. Please help me to sort out the problem.
 
-----Original Message-----
From: Satya Ranjan Sahu [mailto:satya-xaO8zITrcGQ@public.gmane.org]
Sent: Thursday, February 28, 2008 3:34 PM
To: DSpace
Subject: Error in submitting the Bitsream

When I am trying to upload the bitsteam it is showing the following error. The problem started showing after fresh_install today due to modification in some configuration. The DSpace version is 1.4.2.
java.lang.NoSuchMethodError: org.dspace.content.Bitstream.getSize()I org.apache.jsp.submit.show_002duploaded_002dfile_jsp._jspService(org.apache.jsp.submit.show_002duploaded_002dfile_jsp:258) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91) org.dspace.app.webui.servlet.SubmitServlet.showProgressAwareJSP(SubmitServlet.java:2053) org.dspace.app.webui.servlet.SubmitServlet.showUploadFileList(SubmitServlet.java:1987) org.dspace.app.webui.servlet.SubmitServlet.processChooseFile(SubmitServlet.java:1136) org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:332) org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98) Thanking youWith regards

--------------------------------------------
Satya Ranjan Sahu
National Information Centre for Marine Sciences
National Institute of Oceanography
Dona Paula, Goa - 403 004
Phone: 0832-2450370 (O)
--------------------------------------------------

 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Jeffrey Trimble | 3 Mar 2008 19:00

Authorization GROUPS

To the great DSpace programming gods,

The documentation on the GROUPS authorization is a little vague, so here's the 
question:

Is it necessary to create new groups to create a collection policy that allows someone
to upload/delete bitstreams to a particular record?  People can edit metadata, but not
necessarily change the bitstreams.

If so, creating a new group, such as BITSTREAM_39_EDIT would be appropriate?  
How about a BUNDLE_39_EDIT would be appropriate?

I've got users who need to update a record with more bitstreams or delete a bitstream
and cannot do this.

TIA,

Jeff

Jeffrey Trimble
Systems Librarian
Maag Library
Youngstown State University
330-941-2483 (Office)



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Jayan Chirayath Kurian | 4 Mar 2008 06:40
Picon

Easy way to Import Metadata from Excel into DSpace

Hello,

 

If you have metadata (title, author, ABSTRACT, date, department, rights) stored in an Excel sheet and want to import metadata and corresponding record/file into DSpace, we have an improved version of our program to share. Please feel free to contact me if you want to use this for batch importing items into DSpace. Recently we used this for our test import of items at http://repository.ntu.edu.sg/

 

Advantages:-

(1)     It generates sequential names to metadata folders corresponding to records in the excel sheet. It would be easy to identify and rectify errors incase the import halts at some special characters.  

(2)     A general set of metadata can be defined and those not required can be left blank in the excel sheet.

 

Cheers!

Jayan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Charlotte Pollock | 4 Mar 2008 09:40
Picon
Favicon

SQLException how can I see the offending raw SQL

Hi

I'm getting an the following intermittent error

database_error:org.postgresql.util.PSQLException: ERROR: current transaction
is aborted, commands ignored until end of transaction block

With no clear pattern as to why

What I really would like to do is to see the raw SQL that is causing
postgres to error

Does anyone know of a way to debug this error?

Many thnaks 

Charlotte

-- 
Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi,
gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig
gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y
neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar
unwaith a dilëwch y neges. Os na fwriadwyd anfon y neges atoch chi,
rhaid i chi beidio â defnyddio, cadw neu ddatgelu unrhyw wybodaeth a
gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i
hanfonodd yn unig  ac nid yw o anghenraid yn cynrychioli barn
Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu
bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu
100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn
nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract
rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa
Cyllid Prifysgol Bangor.  www.bangor.ac.uk

This email and any attachments may contain confidential material and
is solely for the use of the intended recipient(s).  If you have
received this email in error, please notify the sender immediately
and delete this email.  If you are not the intended recipient(s), you
must not use, retain or disclose any information contained in this
email.  Any views or opinions are solely those of the sender and do
not necessarily represent those of the Bangor University.
Bangor University does not guarantee that this email or
any attachments are free from viruses or 100% secure.  Unless
expressly stated in the body of the text of the email, this email is
not intended to form a binding contract - a list of authorised
signatories is available from the Bangor University Finance
Office.  www.bangor.ac.uk

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
James Rutherford | 4 Mar 2008 09:47
Picon
Favicon

Re: SQLException how can I see the offending raw SQL

On Tue, Mar 04, 2008 at 08:40:32AM +0000, Charlotte Pollock wrote:
> I'm getting an the following intermittent error
> 
> database_error:org.postgresql.util.PSQLException: ERROR: current transaction
> is aborted, commands ignored until end of transaction block
> 
> With no clear pattern as to why
> 
> What I really would like to do is to see the raw SQL that is causing
> postgres to error
>
> Does anyone know of a way to debug this error?

The only way to do this is to change your logging level from INFO to
DEBUG in your log4j.properties (you'll need to redeploy DSpace after
making the change, of course). Once you've done that, your dspace.log
should contain all the queries sent to the db.

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.
james.rutherford@...   |  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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane