Re: [Dspace-tech] 1.4.2 installation problem

2007-07-11 Thread Stuart Lewis [sdl]
Hi Glen,

 After doing the preliminaries when I do ant fresh_install in the
dspace
 source directory I get the following error message:
 
 No supported regular expression matcher found

This usually means you have to install an extra package for ant which
contains the regular expression dependencies - often called something
like 'ant-optional' or 'ant-apache-regexp'.

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED] 
 Ffon / Tel: (01970) 622860
_



-
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] DSpace backup

2007-07-11 Thread Jayan Chirayath Kurian
Hi!,

 

●I was trying the normal pg_dump and works fine. while trying with $ 
pg_dump -Ft -b mydb  db.tar and using pg_restore, it was giving an error

 

pg_restore: [archiver (db)] Error while PROCESSING TOC:

pg_restore: [archiver (db)] Error from TOC entry 366; 2612 16386 PROCEDURAL LA

UAGE plpgsql postgres

pg_restore: [archiver (db)] could not execute query: ERROR:  language plpgsql

already exists

Command was: CREATE PROCEDURAL LANGUAGE plpgsql;

WARNING: errors ignored on restore: 1

 

(1) Dspace normally wont have any large objects since bitstream storage is 
in Assetstore

(2) For backup, using pg_dump is fine? 

(3) I was thinking to use $ pg_dump -Ft -b mydb  db.tar due to several GB 
of items in the repository.

 

Thanks for your suggestion

 

Rgds,

Jayan

 

-
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] newbie question

2007-07-11 Thread Graham Triggs
You changed the user that Tomcat is being launched as, right? ;)

If so, then the '/var/lib/tomcat5/work' folder will still have the old
tomcat5:root permissions. You will need to 'chown -hR' it for Tomcat to
be able to compile the JSP files.

G

On Wed, 2007-07-11 at 10:44 +0200, Felix Mayerhofer wrote:
 Hi all!
 
  
 
 I just got through the turorial “Installing Dspace on ubuntu 6.06”
 
  
 
 Everything worked fine so far but when I try to start the web
 interface I get an internal server error:
 
  
 
 HTTP Status 500 - 
 

 __
 typeException report
 
 message 
 
 description The server encountered an internal error () that prevented
 it from fulfilling this request.
 
 exception 
 
 java.io.FileNotFoundException: 
 /var/lib/tomcat5/work/Catalina/localhost/dspace/org/apache/jsp/index_jsp.java 
 (No such file or directory)
 
 java.io.FileOutputStream.open(Native Method)
 
 java.io.FileOutputStream.init(FileOutputStream.java:179)
 
 java.io.FileOutputStream.init(FileOutputStream.java:70)
 
 
 org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
 
 
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
 
 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
 
 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
 
 
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
 note The full stack trace of the root cause is available in the Apache
 Tomcat/5.0 logs.
 

 __
 Apache Tomcat/5.0
 
  
 
  
 
 The directory org/apache/jsp/ doesn’t exist on my server, what did I
 do wrong?
 
  
 
  
 
 Greetz from Austria
 
 Felix Mayerhofer
 
 
 -
 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 
 
 
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 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] WG: newbie question

2007-07-11 Thread Felix Mayerhofer


-Ursprüngliche Nachricht-
Von: Felix Mayerhofer 
Gesendet: Mittwoch, 11. Juli 2007 13:40
An: 'Graham Triggs'
Betreff: AW: [Dspace-tech] newbie question

Tomcat5 is running at user tomcat5

Still no change, same error, any other ideas?

Thanks for the help!

-Ursprüngliche Nachricht-
Von: Graham Triggs [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 11. Juli 2007 12:37
An: Felix Mayerhofer
Cc: dspace-tech@lists.sourceforge.net
Betreff: Re: [Dspace-tech] newbie question

You changed the user that Tomcat is being launched as, right? ;)

If so, then the '/var/lib/tomcat5/work' folder will still have the old
tomcat5:root permissions. You will need to 'chown -hR' it for Tomcat to
be able to compile the JSP files.

G

On Wed, 2007-07-11 at 10:44 +0200, Felix Mayerhofer wrote:
 Hi all!
 
  
 
 I just got through the turorial “Installing Dspace on ubuntu 6.06”
 
  
 
 Everything worked fine so far but when I try to start the web
 interface I get an internal server error:
 
  
 
 HTTP Status 500 - 
 

 __
 typeException report
 
 message 
 
 description The server encountered an internal error () that prevented
 it from fulfilling this request.
 
 exception 
 
 java.io.FileNotFoundException: 
 /var/lib/tomcat5/work/Catalina/localhost/dspace/org/apache/jsp/index_jsp.java 
 (No such file or directory)
 
 java.io.FileOutputStream.open(Native Method)
 
 java.io.FileOutputStream.init(FileOutputStream.java:179)
 
 java.io.FileOutputStream.init(FileOutputStream.java:70)
 
 
 org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
 
 
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
 
 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
 
 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
 
 
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
 note The full stack trace of the root cause is available in the Apache
 Tomcat/5.0 logs.
 

 __
 Apache Tomcat/5.0
 
  
 
  
 
 The directory org/apache/jsp/ doesn’t exist on my server, what did I
 do wrong?
 
  
 
  
 
 Greetz from Austria
 
 Felix Mayerhofer
 
 
 -
 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 
 
 
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 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] Content format MXF

2007-07-11 Thread Dorothea Salo
 Has anyone ever received content in the MXF format?

snip/

I haven't, but I'd recommend you ask your student to convert to AVI,
and then ingest both. A quick Google indicates that MXF has severe
interoperability problems, and I'd be very leery of having it as my
only copy of a video.

Rutgers did a very nice advice-sheet on digital-video preservation
recently: 
http://rucore.libraries.rutgers.edu/collab/ref/dos_avwg_video_obj_standard.pdf

Has anyone ever loaded a
 zip collection of files in dspace?

I have -- Apple's Keynote format is a composite. What I've done is
upload the original as a zip, but also shove it out to PPT and PDF and
ingest those as well. It's perhaps not the most thrilling or
innovative solution, but from a preservation perspective it's not
completely horrible.

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 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] WG: newbie question

2007-07-11 Thread Dan Scott
Hi Felix:

I wrote the Ubuntu install instructions and have confirmed with other
people that they work, if followed step by step.

If tomcat is running under the tomcat5 user, then you must have missed
step 8 (the second step 8; I wasn't able to figure out how to get
mediawiki to continue numbering, unfortunately).

Assuming that making those changes, stopping, and restarting tomcat5
service doesn't resolve the problem, It might help us help you if you
could send the results of the following commands

$ ps wuax | grep tomcat
$ ls -lR /var/lib/tomcat5
$ ls -lR /var/cache/tomcat5

Thanks,
Dan

On 11/07/07, Felix Mayerhofer [EMAIL PROTECTED] wrote:


 -Ursprüngliche Nachricht-
 Von: Felix Mayerhofer
 Gesendet: Mittwoch, 11. Juli 2007 13:40
 An: 'Graham Triggs'
 Betreff: AW: [Dspace-tech] newbie question

 Tomcat5 is running at user tomcat5

 Still no change, same error, any other ideas?

 Thanks for the help!

 -Ursprüngliche Nachricht-
 Von: Graham Triggs [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 11. Juli 2007 12:37
 An: Felix Mayerhofer
 Cc: dspace-tech@lists.sourceforge.net
 Betreff: Re: [Dspace-tech] newbie question

 You changed the user that Tomcat is being launched as, right? ;)

 If so, then the '/var/lib/tomcat5/work' folder will still have the old
 tomcat5:root permissions. You will need to 'chown -hR' it for Tomcat to
 be able to compile the JSP files.

 G

 On Wed, 2007-07-11 at 10:44 +0200, Felix Mayerhofer wrote:
  Hi all!
 
 
 
  I just got through the turorial Installing Dspace on ubuntu 6.06
 
 
 
  Everything worked fine so far but when I try to start the web
  interface I get an internal server error:
 
 
 
  HTTP Status 500 -
 
 
  __
  typeException report
 
  message
 
  description The server encountered an internal error () that prevented
  it from fulfilling this request.
 
  exception
 
  java.io.FileNotFoundException: 
  /var/lib/tomcat5/work/Catalina/localhost/dspace/org/apache/jsp/index_jsp.java
   (No such file or directory)
 
  java.io.FileOutputStream.open(Native Method)
 
  java.io.FileOutputStream.init(FileOutputStream.java:179)
 
  java.io.FileOutputStream.init(FileOutputStream.java:70)
 
 
  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
 
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
 
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
 
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
 
 
  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
 
 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
 
 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
 
 
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
  note The full stack trace of the root cause is available in the Apache
  Tomcat/5.0 logs.
 
 
  __
  Apache Tomcat/5.0
 
 
 
 
 
  The directory org/apache/jsp/ doesn't exist on my server, what did I
  do wrong?
 
 
 
 
 
  Greetz from Austria
 
  Felix Mayerhofer
 
 
  -
  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


 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 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



-- 
Dan Scott
Laurentian University

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 

[Dspace-tech] Obsolete code Fragment?

2007-07-11 Thread Christian Voelker
Hello,

I am currently updating our DSpace from 1.3.2 to 1.4.2
which BTW turns out to be a tremendous task given that
our former coder decided to juggle around code at will.

I stumbled across this code fragment which is still in
the current code:

/trunk/dspace-jspui/src/main/webapp/feedback/form.jsp

74 String fromPage = request.getParameter(fromPage);
75 if (fromPage == null)
76 {
77  fromPage = ;
78 }

I believe that it is not in use any more and should be
removed without further ado. Am I wrong? I think it did
not work properly even back in 1.3.2 and was already
replaced by the same line in FeedbackServlet.java:

 String fromPage = request.getParameter(fromPage);

This has been further spiced up for spam avoidance mean-
while (thanks). If my understanding of the code is alright,
the old solution relied on passing the originating page of
the feedback request by URL. The Feedback link has moved
throughout our Site from footer to header to navbar where
it is placed right now. The code fragment containing the
frompage variable has left detritus in all of these files.
I have commented out every instance I found in JSPs and
everything still works fine for me. But I may be wrong and
it still acts from some file I have not visited yet. This
is why I am not completely sure when saying that its ob-
solete.

If the gurus would decide to remove it from trunk, I would
feel comfortable to do a search all over our current code
and remove it from every JSP file where I can find it.

Thanks, Christian


-
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] Item mapper : Changing Import by Author Match

2007-07-11 Thread Sunyeen Pai
Hi there,

Has anyone successfully changed this tool to search by another field, such as 
dc.creator?

If so, how is this done?

Thank you in advance,
Sunny Pai
UH at Manoa Library

-
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] input-forms.xml : including a url in the submissions form

2007-07-11 Thread Sunyeen Pai
Hello,

Has anyone succeeded in including a live link in the submissions form?  I can 
get the url to display as text, but it will not work as a link.  I know of one 
other person who has tried this and has had difficulty.

Thank you,
Sunny Pai
UH at Manoa Library

-
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] Item mapper : Changing Import by Author Match

2007-07-11 Thread Claudia Juergen
Hello Sunyeen,

at the moment it is not possible to search by other fields  than the
creator in the item mapper.

There is a patch at Sourceforge for this:
http://sourceforge.net/tracker/index.php?func=detailaid=1739899group_id=19984atid=319984

You might try this.


Claudia Jürgen
University of Dortmund


 Hi there,

 Has anyone successfully changed this tool to search by another field, such
 as dc.creator?

 If so, how is this done?

 Thank you in advance,
 Sunny Pai
 UH at Manoa Library

 -
 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




-
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] input-forms.xml : including a url in the submissionsform

2007-07-11 Thread Stuart Lewis [sdl]
Hi,

 Has anyone succeeded in including a live link in the submissions form?  I can
 get the url to display as text, but it will not work as a link.  I know of one
 other person who has tried this and has had difficulty.

Do you mean in the 'hint' section?

If so, you can do it by using html codes. E.g.:

hintEnter the full bibliographic details of the item to be deposited, in
Harvard APA 5th edition format (guidance is available on the lt;a
href=http://www.port.ac.uk/departments/studentsupport/library/supportandadv
ice/Informationstudyskillssupportmaterial/harvardapaformat/
target=_newgt;Portsmouth University library sitelt;/agt;)/hint

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
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