[Dspace-tech] changing messages (Glenn Bunton)

2008-04-21 Thread Tint Hla Hla Htoo
Dear Mr. Bunton

I've experienced that changing messages problem before too. Below is
how I solve that problem.   

(1) Messages.properties file is located in two places - one in dspace
source folder(C:\DSpace142\config\language-packs\) and the other in
dspace installation folder(C:\DSpace\config). Please make changes in
Messages.properties file in source folder not in the installation
folder.

(2) Rebuild DSpace
-open command prompt and change directory to dspace-source
[C:\DSpace142]. And run the following command
-ant clean
-ant update 

(3)stop tomcat
-copy 2 .war files from C:\DSpace142\build\ to [tomcat]\webapps
- remove any dspace or dspace-oai directories in
[tomcat]\webapps {when you restart tomcat, these folders will be
created automatically}
- remove any dspace or dspace-oai directories in
[tomcat]\work\catalina\localhost {when you restart tomcat, these
folders will be created automatically}

(4)restart tomcat

Hope this will help.

Thank you.

=
Tint Hla Hla Htoo
Librarian (Library Technology and Systems Division)
Nanyang Technological University Library
50 Nanyang Avenue | Singapore 639798
==


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Sunday, April 20, 2008 3:09 AM
To: dspace-tech@lists.sourceforge.net
Subject: DSpace-tech Digest, Vol 24, Issue 37

Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. changing messages (Glenn Bunton)
   2. Re: Statistics not getting displayed (pavan krishnamurthy)
   3. Re: System Internal Error (majid kalkatechi)
   4. Re: Statistics not getting displayed (Stuart Lewis)
   5. Re: Upload and password problem (Stuart Lewis)
   6. Re: System Internal Error (Stuart Lewis)
   7. Re: changing messages (Bernard lim)
   8. Re: changing messages (Claudia Juergen)


--

Message: 1
Date: Sat, 19 Apr 2008 01:17:22 -0400
From: Glenn Bunton [EMAIL PROTECTED]
Subject: [Dspace-tech] changing messages
To: dspace-tech@lists.sourceforge.net
Message-ID:

[EMAIL PROTECTED]


Content-Type: text/plain; charset=US-ASCII


probably been asked a thousand times - sorry

Using 1.4.2

If I make changes in the Messages.properties file what do I need to do
to
have them show up? I've restarted Tomcat but that didn't do it.

Thanks in advance.

==
Mr. Glenn Bunton
Head of Systems Development
Old Dominion University Libraries
Norfolk, Virginia 23529
[EMAIL PROTECTED]
(757) 683-5952
===




--

Message: 2
Date: Fri, 18 Apr 2008 22:37:22 -0700
From: pavan krishnamurthy [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] Statistics not getting displayed
To: dspace-tech@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

bouncing it ...

On Thu, Apr 17, 2008 at 10:46 AM, pavan krishnamurthy
[EMAIL PROTECTED]
wrote:

 Hi all,

 I installed dspace recently and generated few statistics html pages by
 running stat* jobs in bin dir . But i am still not able to see those
in my
 website , it says

 There are currently no reports available for this service. Please
check
 back later.
 Has anybody faced this problem and resolved it.  I am using dspace
1.4.2
 ..

 Thanks
 Pavan



-- next part --
An HTML attachment was scrubbed...

--

Message: 3
Date: Sat, 19 Apr 2008 10:30:11 +0430
From: majid kalkatechi [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] System Internal Error
To: Hossein Hamam [EMAIL PROTECTED]
Cc: dspace-tech@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

hi Hossein,
Internal System error might be caused by a variety of exceptions, you
can reproduce the error and then send the error log to the list. The
log file for dspace 1.5 is located in : dspace/log/dspace.log
If you set the Log4j mode to DEBUG, you'll get more comprehensive logs
to send. To do this, open dspace/config/log4j.properties and insert
a line like this at the bottom : log4j.rootLogger=DEBUG , A1.
hi,
Internal System error might be caused by variety of exceptions. try to
reproduce the error and send the log files messages. The log file for
dspace 1.5 is located in [dspace]/log/ directory. If you set the Log4j
mode to DEBUG, dspace will  generate much more 

Re: [Dspace-tech] System Internal Error

2008-04-21 Thread Hossein Hamam
Hi Majid, 
Thank you very much for your reply, bellow is the error log. Also note that
Dspace was working but whenever I try to enable this option:
tcpip_socket=true, postgresql fails to startup.


2008-04-16 14:57:29,709 WARN  org.dspace.app.webui.servlet.DSpaceServlet @
anonymous:no_context:database_error:org.postgresql.util.PSQLException:
Connection 
refused. Check that the hostname and port are correct and that the
postmaster is accepting TCP/IP connections.
org.postgresql.util.PSQLException: Connection refused. Check that the
hostname and port are correct and that the postmaster is accepting TCP/IP
connections.
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFa
ctoryImpl.java:122)
at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:
65)
at
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.
java:116)
at
org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.
java:30)
at
org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:369)
at org.postgresql.Driver.connect(Driver.java:245)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(Driv
erManagerConnectionFactory.java:48)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnect
ionFactory.java:290)
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPoo
l.java:840)
at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:
514)
at org.dspace.core.Context.init(Context.java:117)
at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:113)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:132)
at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.init(Socket.java:366)
at java.net.Socket.init(Socket.java:180)
at org.postgresql.core.PGStream.init(PGStream.java:58)
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFa
ctoryImpl.java:77)
... 33 more



-Original Message-
From: majid kalkatechi [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 19, 2008 9:00 AM
To: Hossein Hamam
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] System Internal Error

hi Hossein,
Internal System error might be caused by a variety of exceptions, you
can reproduce the error and then send the error log to the list. The
log file for dspace 1.5 is located in : dspace/log/dspace.log
If you set the Log4j mode to DEBUG, you'll get more comprehensive logs
to send. To do this, open dspace/config/log4j.properties and 

Re: [Dspace-tech] System Internal Error

2008-04-21 Thread Hossein Hamam
Hi Jayan, Thank you very much for your reply. 

Yeah postgresql is in the correct location, Dspace was successfully
installed and was running at first. And then after the start up we started
getting that error.

 

 

From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 18, 2008 5:22 PM
To: Hossein Hamam; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] System Internal Error

 

Just a thought.

have you copied in the postgresql driver at the correct location.

  _  

From: [EMAIL PROTECTED] on behalf of Hossein Hamam
Sent: Fri 4/18/2008 9:17 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] System Internal Error

Dear All,

Dspace was successfully installed and was up and running.

However, upon a server restart, and after tomcat and postgresql successfully
started, Dspace was givin a page saying the message below. Clicking on any
link in Dspace was still giving the same page with the same below error.

Internal System Error

The system has experienced an internal error. Please try to do what you were
doing again, and if the problem persists, please contact us so we can fix
the problem.


P.S.: I recognized that this page appears whether postgresql was started or
not.

Did anyone face this problem? Is it probably that Dspace is not
communicating with postgresql?

thank you for your reply,

Hossein





-
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] security issues in dspace 1.4.2

2008-04-21 Thread Veena
Sir, We are using dspace 1.4.2 , Apache Tomcat 5.5.17 web server , ORACLE 10g back end database on MS Windows2003 server for digital collection of high court judgements project. Wewant to know any security issues need to be addressed in the current setup.Veena P Oak Scientist-E National Informatics Centre Karnataka State Unit 6th and 7th floor , Mini tower Dr Ambedkar Road Bangalore-01 Ph 22865882/22863218

-
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] security issues in dspace 1.4.2

2008-04-21 Thread James Rutherford
On Mon, Apr 21, 2008 at 06:47:24AM +, Veena wrote:
 We are using dspace 1.4.2 , Apache Tomcat  5.5.17 web server , ORACLE
 10g back end database on MS Windows 2003 server for digital collection
 of high court judgements project. We want to know any security issues
 need to be addressed in the current setup.

There are no known security issues in DSpace 1.4.2.

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 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] How do I set the handle to local ?

2008-04-21 Thread Vishal Kakapuri
There could be two things you may need to check:

1) Are you updating the files on the dspace directory.. using ant update
2) check handle table in your dspace database on the new machine and
what are the handles it is showing. Does it still point to the old
one.. If so change that in the table - I mean changing handle id with
123456789 or try re-indexing your database.. using
/dspace/bin/index-all script..

Regards,
Vishal




On 4/7/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi,

 another problem with the 1.2.1 - 1.4 upgrade:

 I am installing the upgrade on another server. I made a fresh environment 
 with new
 versions of Tomcat (5.5) and Postgres (8.1) and copied the whole thing over: 
 dspace
 directory, assetstores, database dump.

 It seems to work pretty well until now, except a few issues that I am slowly 
 staring
 myself blind upon. The first one is  in that previous mail .. the incorrect 
 rendering of
 some characters in the titles, and the other one is this:


 I get an error upon clicking on a displayed entry. I *assume* that this is 
 because it is
 not possible to port the handle over to another machine just like that, and 
 want to at
 least get a fresh start by starting out with the handle set to the default 
 123456789/ .

 But when I change the handle setting in dspace.cnf to 123456789 - nothing 
 changes. It
 keeps generating URL's like

 http://lib-ir.lib.sfu.ca:8080/dspace/handle/1892/3409

 and not

 http://lib-ir.lib.sfu.ca:8080/dspace/handle/123456789/3409

 after clicking one of those, dspace.log shows this:
 2008-04-07 00:59:55,393 INFO  org.dspace.app.webui.servlet.DSpaceServlet @
 anonymous:session_id=CF40451CD0DCBD8596A6F02F0C189E22:ip_addr=64.180.221.18:view_i
 tem:handle=1892/3390
 2008-04-07 00:59:55,430 WARN  
 org.dspace.app.webui.servlet.InternalErrorServlet @
 :session_id=CF40451CD0DCBD8596A6F02F0C189E22:internal_error:-- URL Was: htt
 p://lib-ir.lib.sfu.ca:8080/dspace/handle/1892/3390
 -- Method: GET
 -- Parameters were:

 java.lang.NullPointerException
at 
 org.dspace.app.webui.servlet.HandleServlet.displayItem(HandleServlet.java:286)
at 
 org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:164)
at
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151)
at 
 org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
(etcetera)

 and DSpace displays:

 Internal System Error

 The system has experienced an internal error. Please try to do what you were 
 doing
 again, and if the problem persists, please contact us so we can fix the 
 problem.

 any hint as to what might be causing this persistent memory of the old handle 
 prefix ..
 and how to wipe that?

 (or other suggestions ... maybe I am all wrong in thinking it is caused by 
 the fact that
 I cannot use the same handle prefix on another server?)

 TIA


 --
 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
 Register now and save $200. Hurry, offer ends at 11:59 p.m.,
 Monday, April 7! Use priority code J8TLD2.
 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


-
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] User statistics+javau

2008-04-21 Thread Zico
I have successfully setup my dspace server. It is running nice. Now, i want
to add the user statistics there. I was on the way of doing that. I have
downloaded Stats-addon-2.0 and tried to install that from source.

Here is my procedure:

1. Install de plpgsql language on dspace schema as the postgres user by
doing:
createlang -U postgres plpgsql dspace

2. Installing statistics database schema with:
$ psql -U dspace -d dspace -f $ADDON_SRC/etc/stats-database-schema.sql
$ psql –U postgres –d dspace -f
$ADDON_SRC/etc/stats-database-schema-admin.sql

Here, the first command ran fine, but at the second time, it showed that...

javau language didn`t found

Please help me.


-- 
Best,
Z
-
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] security issues in dspace 1.4.2

2008-04-21 Thread NS Hashmi, Information Systems and Computing
Hi,

There maybe no security issues with the DSpace application but you need to 
be aware of issues with those services that DSpace depends upon, e.g. your 
web server, servlet container, version of JDK, database server etc. For 
example, there is a known security vulnerability with your Tomcat version: 
http://secunia.com/advisories/28878/

Naveed


Message: 4
Date: Mon, 21 Apr 2008 09:06:56 +0100
From: James Rutherford [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] security issues in dspace 1.4.2
To: Veena [EMAIL PROTECTED]
Cc: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net,[EMAIL PROTECTED] [EMAIL 
PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

On Mon, Apr 21, 2008 at 06:47:24AM +, Veena wrote:
 We are using dspace 1.4.2 , Apache Tomcat  5.5.17 web server , ORACLE
 10g back end database on MS Windows 2003 server for digital collection
 of high court judgements project. We want to know any security issues
 need to be addressed in the current setup.

There are no known security issues in DSpace 1.4.2.

cheers,

Jim



Naveed Hashmi
Information Systems and Computing
University of Bristol
[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] Ingesting to DSpace1.5-not successful

2008-04-21 Thread Surinder Kumar Gaba
After successful installing DSpace 1.5, while ingesting to DSpace, at
the process of uploading the file, it gives the internal system error.
The log is enclosed.

04-21 15:08:34,672 ERROR
org.dspace.app.webui.servlet.SubmissionController @ Error loading step
class'org.dspace.submit.step.UploadStep':
java.sql.SQLException:
org.apache.commons.dbcp.DelegatingPreparedStatement is closed.
at 
org.apache.commons.dbcp.DelegatingStatement.checkOpen(DelegatingStatement.java:136)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at 
org.dspace.storage.rdbms.DatabaseManager.execute_oo(DatabaseManager.java:1243)
at 
org.dspace.storage.rdbms.DatabaseManager.update_OO(DatabaseManager.java:637)
at org.dspace.content.Bundle.update(Bundle.java:537)
at org.dspace.content.Item.createBundle(Item.java:1092)
at org.dspace.content.Item.createSingleBitstream(Item.java:1226)
at 
org.dspace.submit.step.UploadStep.processUploadFile(UploadStep.java:514)
at org.dspace.submit.step.UploadStep.doProcessing(UploadStep.java:264)
at 
org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:424)
at 
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:281)
at 
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:407)
at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:345)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
at

Please look into it and help in locating the required error.

regards

-- 
Surinder Kumar Gaba
Technical Director
Bibliographic Informatics Division
National Informatics Centre
A-Block, CGO Complex, Lodhi Road
New Delhi-110 003
Tel : 011-24362359 (o)
 : 011-27865224 (r)

-
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] new browse field

2008-04-21 Thread Veena
Sir, I need following custamisation to dspace 1.4.21. I want to add dc.contributor.editor and dc.contributor.illustrator fields in BROWSE 2. I want to make collection administrator to have permission to remove the bit stram file only , currently it is not happening.with regardsVeena P Oak Scientist-E National Informatics Centre Karnataka State Unit 6th and 7th floor , Mini tower Dr Ambedkar Road Bangalore-01 Ph 22865882/22863218

-
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] encoding issue - again?

2008-04-21 Thread Dorothea Salo
  (tr etc) #146;Feel It, Don#146;t Think: snip
  which displays like
  'Feel It, Don't Think: snip

This isn't UTF-8. This is a mangled horror from Microsoft.
Windows-1252, I think it's called; see
http://www.alanwood.net/demos/ansi.html.

You have two choices: fix the encoding in your items (if what is
supposed to appear above is a right single quote, #146; should be
#8217;), or switch out of UTF-8 back to Windows-1252. I recommend the
former; it's more up-front hassle, but far less hassle as future items
appear in UTF-8.

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 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] 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] Dspace database creation error

2008-04-21 Thread Hossein Hamam
Dear All, 
Upon issuing the below command, while logged in as postgres user, i am
getting the following error:

createdb -U dspace -E UNICODE dspace
createdb: could not connect to database postgres: FATAL:  Ident
authentication failed for user dspace

Did this occur with anyone? Any clue how to solve it?
 
Thank you for the urgent help!
Hossein


-
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] Dspace database creation error

2008-04-21 Thread Desmond Elliott
Hossein Hamam wrote:
 Dear All,
 Upon issuing the below command, while logged in as postgres user, i am
 getting the following error:

 createdb -U dspace -E UNICODE dspace
 createdb: could not connect to database postgres: FATAL:  Ident
 authentication failed for user dspace

 Did this occur with anyone? Any clue how to solve it?

 Thank you for the urgent help!
 Hossein


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

In this response, I am assuming you are not using Windows. If this is 
not the case, hopefully somebody running DSpace under Windows can respond.

Have you created the database user 'dspace' and have you configured your 
database server to allow connections for the database user 'dspace'? The 
installation documentation section Relational Database: (PostgreSQL or 
Oracle) describes some changes you need to make to your postgresql.conf 
and pg_hba.conf to allow connections.

- Desmond

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


-
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] Dspace database creation error

2008-04-21 Thread Robin Taylor
Hi Hossein,

Create the user first (a postgres user as opposed to a unix/windows user)

createuser -U postgres -W -d -S -P dspace 

Cheers, Robin. 


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hossein
Hamam
Sent: 21 April 2008 14:38
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Dspace database creation error

Dear All,
Upon issuing the below command, while logged in as postgres user, i am
getting the following error:

createdb -U dspace -E UNICODE dspace
createdb: could not connect to database postgres: FATAL:  Ident
authentication failed for user dspace

Did this occur with anyone? Any clue how to solve it?
 
Thank you for the urgent help!
Hossein


-
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/javao
ne
___
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 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] Dspace database creation error

2008-04-21 Thread Mark H. Wood
The problem is most likely in pg_hba and nothing to do with DSpace.
I've never used Ident authentication with PostgreSQL so I have little
specific advice.

Are you sure that the host running DSpace also runs an Ident server,
and that the Ident server hasn't stopped?

Beyond that, the PostgreSQL documentation on Ident authentication is
probably the best place for help.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is intuitive he
means the exact opposite.



pgpvx3hgBFDXg.pgp
Description: PGP signature
-
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] Maven

2008-04-21 Thread Mark Diggory
Hello,

There is plenty of documentation about Maven on its website. http:// 
maven.apache.org/

You just need to install it in a directory somewhere and add the bin  
directory to the path, not unlike most applications.

Note: the first time Maven runs it download a number of dependencies  
from the central repository, expect to require an internet connection  
to use it (unlike Ant).

Cheers,
Mark

On Apr 21, 2008, at 6:20 AM, Jeffrey Trimble wrote:
 This may seem to be a stupid question, but here goes.  I've  
 downloaded Maven.  Is there anything
 besides placing the binaries in the correct directory I need to do  
 to make it work for Dspace?
 That is, do I need to do much configuration of Maven before I start  
 to build my DSpace installation
 with Maven?

 The Documentation is scant to say the least.

 --Jeff

 Jeffrey Trimble
 Systems Librarian
 Maag Library
 Youngstown State University
 330-941-2483 (Office)
 [EMAIL PROTECTED]
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu



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


-
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] [Dspace-general] Change displayed item metadata (XMLUI)

2008-04-21 Thread Dorothea Salo
  Thank you, Dorothea for your help - i found that by commenting out or adding
  block below in webapps/xmlui/themes/dri2xhtml/DIM-Handler.xsl i can
  remove/add metadata from default itemSummaryView.

Right.

  However, i need to add metadata from our custom shceme to itemSummaryView -
  how do i do that?

Well, the first question is whether it's showing up in your DIM, or
whether the metadata Aspect isn't smart enough to pull in metadata
outside the DC schema. One of the Manakin devs will have a better read
on this than I do, but to find out for yourself, navigate to an item
page that has metadata from your custom schema and add ?XML to its
URL. The result will be the DIM. Search that for your custom metadata.
If it's there, you're fine. If not... you'll need to do some Aspect
programming, which is a bit above my knowledge level at present.

 And there is my custom metadata kept?

It should be in the metadatavalues table in the database with everything else.

What you're looking to do is add more rows while changing the
dim:[EMAIL PROTECTED]'myelement' and @qualifier='myqualifier'] piece.
If you compare the XSLT code you pasted to the DIM, you should see
pretty quickly how that works.

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 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] mvn package build failure.

2008-04-21 Thread Jeffrey Trimble
We are attempting to build from scratch a Dspace installation to  
begin the

task of learning Maven and its capabilities.

We ran into this error and wanted to know if there is something we have
done wrong.  I haven't seen this one out there before.

[INFO] [compiler:compile]
[INFO] Compiling 63 source files to /dspace-1.5.0-src-release/dspace- 
xmlui/dspace-xmlui-wing/target/classes
[INFO]  


[ERROR] BUILD FAILURE
[INFO]  


[INFO] Compilation failure
Failure executing javac, but could not parse the error:
javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ 
dspace-xmlui-wing/target/classes

Usage: javac options source files
use -help for a list of possible options



Failure executing javac, but could not parse the error:
javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ 
dspace-xmlui-wing/target/classes

Usage: javac options source files
use -help for a list of possible options
[INFO]  


[INFO] For more information, run Maven with the -e switch
[INFO]  


[INFO] Total time: 9 minutes 39 seconds
[INFO] Finished at: Mon Apr 21 11:12:43 EDT 2008
[INFO] Final Memory: 11M/23M
[INFO]  




Again, Thanks in Advance for all your assistance out there.

Jeffrey Trimble
Systems Librarian
Maag Library
Youngstown State University
330-941-2483 (Office)
[EMAIL PROTECTED]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu



-
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] Implicit authentication issues . . .

2008-04-21 Thread Michael White
Hi,

Unfortunately I've been sidetracked with other tasks, so only just
coming back to look at my implicit authentication problems first raised
a couple of weeks ago . . . 

Using DSpace v1.4.2. This DSpace is being used as a Learning Object
repository and all the items in the repository are protected (only
accessible to Stirling staff and students).

Summary of main problem, when accessing a protected bitstream with the
token required for implicit authentication in place (a cookie from our
portal in this case), instead of being authenticated/authorised and
routed to the requested bitstream, the user is authenticated but then
routed to Authorisation Required page (even though they are now
authenticated!) 

This doesn't happen if accessing My DSpace with the required token in
place - user is authenticated and then seamlessly routed to My DSpace.

It's also worth noting that this problem doesn't occur if you use an
explicit authentication method - when the unauthenticated user attempts
to access a protected bitstream, they are correctly routed to the login
page, and then on to the requested bitstream.

I've been digging a little deeper into the code and I think this
behaviour may be caused by a bug - if there is anyone out there using an
implicit authentication method I would be interested to know if you have
this problem as well (i.e. is it a reproducible bug?). If there is
anyone who is more familiar with the authentication flow than I, I could
do with a little help (to confirm whether the problem definitely is a
bug and to help me fix it if possible!) . . .


Jim Rutherford responded to my original posting:

 This sounds a little odd. Try checking the ordering of the 
 authorization processes in the two servlets (BitstreamServlet 
 and MyDSpaceServlet if my memory serves me correctly). 

OK - looking at the code - the reason My DSpace works but the bitstream
access doesn't seems to be because accessing My DSpace invokes the
RegisteredOnlyFilter which puts the authentication context in place
before continuing on to MyDSpaceServlet.

The bitstream access is handled by DSpaceServlet using the doDSGet in
BitstreamServlet - when the BitstreamServlet attempts to retrieve the
required item object using Bitstream.retrieve, the retrieve method calls
AuthorizeManager.authorizeAction, which throws an authorizationException
if the user is not authorised (fair enough).

This authorizationException is caught by DSpaceServlet:
--
catch (AuthorizeException ae)
{
  /*
 * If no user is logged in, we will start authentication,
since if
 * they authenticate, they might be allowed to do what they
tried to
 * do. If someone IS logged in, and we got this exception,
we know
 * they tried to do something they aren't allowed to, so we
display
 * an error in that case.
 */
if (context.getCurrentUser() != null ||
Authenticate.startAuthentication(context, request,
response))
{
// FIXME: Log the right info?
// Log the error
log.info(LogManager.getHeader(context,
authorize_error, ae
.toString()));

JSPManager.showAuthorizeError(request, response, ae);
}
}
--

So, if the user isn't logged in, this will call
Authenticate.startAuthentication in order to authenticate the user.

It is in Authenticate.startAuthentication where I believe the problem
lies - this does different things for implicit and for explicit
authentication:

- for implicit authentication, if authentication is successful, it
simply returns true.
- for explicit authentication, it stores the current request and
redirects to the login page. The login page passes the credentials to
PasswordServlet which, once authentication is complete, resumes the
interrupted request, so we go round the circle again, but this time with
the appropriate user context in place so they get access.

 Looking at the logs, it seems you are challenged to authenticate, 
 you are logged in implicitly, but something doesn't quite work 
 correctly:

 2008-03-28 16:09:12,594 INFO  
 org.dspace.app.webui.servlet.DSpaceServlet @ 

[EMAIL PROTECTED]:session_id=1C92899D8684656C55C3EE88796A86CF:ip_addr=139
 .153.92.71:authorize_error:org.dspace.authorize.AuthorizeException: 
 Authorization denied for action READ on BITSTREAM:232 by user 0

 The logging code has your email address, but not your user ID. 
 Can you figure out why this is? This really shouldn't be possible, 
 and the reason it's failing is because the auth check is using 
 your ID, not your email address to do the resource policy lookup.

Looking at the code above this becomes (fairly) obvious - the
authorisation exception is thrown for the unauthenticated user (as
described above), so the catch block calls the authentication code - the
implicit 

Re: [Dspace-tech] mvn package build failure.

2008-04-21 Thread James Rutherford
Exactly which command are you running from which directory?

cheers,

Jim

On Mon, Apr 21, 2008 at 03:57:50PM +, Jeffrey Trimble wrote:
 We are attempting to build from scratch a Dspace installation to begin the
 task of learning Maven and its capabilities.
 
 We ran into this error and wanted to know if there is something we have
 done wrong.  I haven't seen this one out there before.
 
 [INFO] [compiler:compile]
 [INFO] Compiling 63 source files to 
 /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes
 [INFO] 
 
 [ERROR] BUILD FAILURE
 [INFO] 
 
 [INFO] Compilation failure
 Failure executing javac, but could not parse the error:
 javac: directory not found: 
 /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes
 Usage: javac options source files
 use -help for a list of possible options
 
 
 
 Failure executing javac, but could not parse the error:
 javac: directory not found: 
 /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes
 Usage: javac options source files
 use -help for a list of possible options
 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 9 minutes 39 seconds
 [INFO] Finished at: Mon Apr 21 11:12:43 EDT 2008
 [INFO] Final Memory: 11M/23M
 [INFO] 
 
 
 
 Again, Thanks in Advance for all your assistance out there.
 
 Jeffrey Trimble
 Systems Librarian
 Maag Library
 Youngstown State University
 330-941-2483 (Office)
 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu
 
 
 

Content-Description: ATT1.txt
 -
 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
Content-Description: ATT2.txt
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
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 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] Implicit authentication issues . . .

2008-04-21 Thread Mark Diggory

On Mar 28, 2008, at 3:26 PM, Christophe Dupriez wrote:

 But beware:
 1) Standard JNDI Authentication and Realm Login Module does not  
 implement recursive gathering of groups to which user belongs  
 (groups of groups are not found)

Recursive Groups are bad, I'm sorry to see DSpace supporting this, I  
did the same mistake in another app I designed and it was a big  
nightmare once you attempt what your wanting to do.  If someone  
proposed to drop  Recursive groups in 2.x I'd be totally on board.  
The deviation from standard practices and the added complexity are  
just not worth it. UI's and automation can be written to support  
creating the appropriate groups and roles without such nesting.

 So my question: Does anyone has worked on using standard Tomcat  
 authentication (JAAS or JNDI) instead of DSpace Authentication  
 plugins?

No, but again, I'd support any attempt to do so.

-Mark

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






-
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] new browse field

2008-04-21 Thread Mark Diggory

On Apr 21, 2008, at 4:59 AM, Veena wrote:
 Sir,
  I need following custamisation to dspace 1.4.2

 1. I want to add dc.contributor.editor and  
 dc.contributor.illustrator fields in BROWSE

Look to your dspace.cfg and the configuration docs to learn how to do  
this, it is possible.


 2. I want to make collection administrator to have permission to  
 remove the bit stram file only , currently it is not happening

Unfortunately, at this time, only EPeople in the Administrators group  
can delete bitstreams, Collection Managers can't be delegated that  
right ATM.

Cheers,
Mark

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






-
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] [Dspace-general] Change displayed item metadata(XMLUI)

2008-04-21 Thread vg_us
- Original Message - 
From: Dorothea Salo [EMAIL PROTECTED]
To: DSpace Tech-List DSpace-tech@lists.sourceforge.net
Sent: Monday, April 21, 2008 10:50 AM
Subject: Re: [Dspace-tech] [Dspace-general] Change displayed item 
metadata(XMLUI)


  Thank you, Dorothea for your help - i found that by commenting out or 
 adding
  block below in webapps/xmlui/themes/dri2xhtml/DIM-Handler.xsl i can
  remove/add metadata from default itemSummaryView.

 Right.

  However, i need to add metadata from our custom shceme to 
 itemSummaryView -
  how do i do that?

 Well, the first question is whether it's showing up in your DIM, or
 whether the metadata Aspect isn't smart enough to pull in metadata
 outside the DC schema. One of the Manakin devs will have a better read
 on this than I do, but to find out for yourself, navigate to an item
 page that has metadata from your custom schema and add ?XML to its
 URL. The result will be the DIM. Search that for your custom metadata.

so, my metadata appears in full item view (url - 
handle/123456789/9?show=full) and if i append ?XML nothing happens.
i can get xml with handle/123456789/9?XML, but that doesn't have my 
metadata.
am i doing something wrong?

Vadim

 If it's there, you're fine. If not... you'll need to do some Aspect
 programming, which is a bit above my knowledge level at present.

 And there is my custom metadata kept?

 It should be in the metadatavalues table in the database with everything 
 else.

 What you're looking to do is add more rows while changing the
 dim:[EMAIL PROTECTED]'myelement' and @qualifier='myqualifier'] piece.
 If you compare the XSLT code you pasted to the DIM, you should see
 pretty quickly how that works.

 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 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] mvn package build failure.

2008-04-21 Thread Jeffrey Trimble

Mark and Jim asked for some details, and so I submit:


1.  As per documentation we  ran mvn package in the [dsace-source]/ 
dspace directory, as the dspace user


2.  Environment.  We are running Tomcat 5.5., JDK 6 [i.e. 1.6],  
postgresl 8.0.12, mavin 2.0.9


3.  PATH settings:  bash: /usr/local/pgsql/bin:/usr/local/apache- 
maven/apache-maven-2.0.9/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/ 
usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/ 
jdk1.6.0/bin:/usr/local/ant/bin:/usr/local/tomcat/apache- 
tomcat-5.5.20/bin:/root/bin:


4.  I re-ran mvn package, and here are the results:

[EMAIL PROTECTED] dspace]$ mvn package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   DSpace XML-UI (Manakin)
[INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
[INFO]   DSpace Kernel :: API and Implementation
[INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
[INFO]   DSpace Addon Modules
[INFO]   DSpace XML-UI (Manakin) :: Web Application
[INFO]   DSpace LNI
[INFO]   DSpace LNI :: Core Implementation
[INFO]   DSpace LNI :: Web Application Resources
[INFO]   DSpace LNI :: Web Application
[INFO]   DSpace OAI
[INFO]   DSpace OAI :: API and Implementation
[INFO]   DSpace OAI :: Web Application Resources
[INFO]   DSpace OAI :: Web Application
[INFO]   DSpace JSP-UI
[INFO]   DSpace JSP-UI :: API and Implementation
[INFO]   DSpace JSP-UI :: Web Application Resources
[INFO]   DSpace JSP-UI :: Web Application
[INFO]   DSpace SWORD
[INFO]   DSpace SWORD :: API and Implementation
[INFO]   DSpace SWORD :: Web Application Resources
[INFO]   DSpace SWORD :: Web Application
[INFO]   DSpace LNI :: CLI Client Application
[INFO]   DSpace Assembly and Configuration
[INFO]  


[INFO] Building DSpace XML-UI (Manakin)
[INFO]task-segment: [package]
[INFO]  


[INFO] [site:attach-descriptor]
[INFO]  


[INFO] Building DSpace XML-UI (Manakin) :: Wing-Framework
[INFO]task-segment: [package]
[INFO]  


[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 63 source files to /dspace-1.5.0-src-release/dspace- 
xmlui/dspace-xmlui-wing/target/classes
[INFO]  


[ERROR] BUILD FAILURE
[INFO]  


[INFO] Compilation failure
Failure executing javac, but could not parse the error:
javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ 
dspace-xmlui-wing/target/classes

Usage: javac options source files
use -help for a list of possible options



Failure executing javac, but could not parse the error:
javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ 
dspace-xmlui-wing/target/classes

Usage: javac options source files
use -help for a list of possible options


[INFO]  


[INFO] For more information, run Maven with the -e switch
[INFO]  


[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Apr 21 12:41:30 EDT 2008
[INFO] Final Memory: 11M/22M
[INFO]  


[EMAIL PROTECTED] dspace]$


I didn't run Maven with the -e switch.



Jeffrey Trimble
Systems Librarian
Maag Library
Youngstown State University
330-941-2483 (Office)
[EMAIL PROTECTED]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu



-
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] [Dspace-general] Change displayed item metadata(XMLUI)

2008-04-21 Thread Scott Phillips

Use the URLs:

handle/123456789/9?XML
handle/123456789/9?show=fullXML

Scott--


On Apr 21, 2008, at 12:04 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]  
wrote:

 so, my metadata appears in full item view (url -
 handle/123456789/9?show=full) and if i append ?XML nothing happens.
 i can get xml with handle/123456789/9?XML, but that doesn't have my
 metadata.
 am i doing something wrong?


-
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] [Dspace-general] Change displayed itemmetadata(XMLUI)

2008-04-21 Thread vg_us

- Original Message - 
From: [EMAIL PROTECTED]
To: DSpace Tech-List DSpace-tech@lists.sourceforge.net
Sent: Monday, April 21, 2008 1:04 PM
Subject: Re: [Dspace-tech] [Dspace-general] Change displayed 
itemmetadata(XMLUI)


 - Original Message - 
 From: Dorothea Salo [EMAIL PROTECTED]
 To: DSpace Tech-List DSpace-tech@lists.sourceforge.net
 Sent: Monday, April 21, 2008 10:50 AM
 Subject: Re: [Dspace-tech] [Dspace-general] Change displayed item
 metadata(XMLUI)


  Thank you, Dorothea for your help - i found that by commenting out or
 adding
  block below in webapps/xmlui/themes/dri2xhtml/DIM-Handler.xsl i can
  remove/add metadata from default itemSummaryView.

 Right.

  However, i need to add metadata from our custom shceme to
 itemSummaryView -
  how do i do that?

 Well, the first question is whether it's showing up in your DIM, or
 whether the metadata Aspect isn't smart enough to pull in metadata
 outside the DC schema. One of the Manakin devs will have a better read
 on this than I do, but to find out for yourself, navigate to an item
 page that has metadata from your custom schema and add ?XML to its
 URL. The result will be the DIM. Search that for your custom metadata.

 so, my metadata appears in full item view (url -
 handle/123456789/9?show=full) and if i append ?XML nothing happens.
 i can get xml with handle/123456789/9?XML, but that doesn't have my
 metadata.
 am i doing something wrong?

 Vadim

Got the xml with handle/123456789/9?show=fullXML - no metadata references 
on that page - not even standard DC metadata. Same goes for 
handle/123456789/9?XML  - can't find references even for what's displayed.
Below is XML for the record (everything between togle Simple/Full view. 
Any idea where it's pulling metadata from?

div id=aspect.artifactbrowser.ItemViewer.div.item-view rend=primary 
n=item-view
headJane Smith student record/head !-- record title i guess --
 p rend=item-view-toggle item-view-toggle-top !-- togle view link --
 xref target=/dspace-bc/handle/123456789/9?show=full
i18n:text 
catalogue=defaultxmlui.ArtifactBrowser.ItemViewer.show_full/i18n:text
/xref
/p
 referenceSet 
id=aspect.artifactbrowser.ItemViewer.referenceSet.collection-viewer 
n=collection-viewer type=summaryView
 reference repositoryID=123456789 type=DSpace Item 
url=/metadata/handle/123456789/9/mets.xml
 referenceSet rend=hierarchy type=detailList
 head
 i18n:text catalogue=default
xmlui.ArtifactBrowser.ItemViewer.head_parent_collections
/i18n:text
/head
reference repositoryID=123456789 type=DSpace Collection 
url=/metadata/handle/123456789/3/mets.xml/
/referenceSet
/reference
/referenceSet
 p rend=item-view-toggle item-view-toggle-bottom
 xref target=/dspace-bc/handle/123456789/9?show=full
i18n:text 
catalogue=defaultxmlui.ArtifactBrowser.ItemViewer.show_full/i18n:text
/xref
/p
/div


 If it's there, you're fine. If not... you'll need to do some Aspect
 programming, which is a bit above my knowledge level at present.

 And there is my custom metadata kept?

 It should be in the metadatavalues table in the database with everything
 else.

 What you're looking to do is add more rows while changing the
 dim:[EMAIL PROTECTED]'myelement' and @qualifier='myqualifier'] piece.
 If you compare the XSLT code you pasted to the DIM, you should see
 pretty quickly how that works.

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


-
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] [Dspace-general] Change displayed itemmetadata(XMLUI)

2008-04-21 Thread Dorothea Salo
I think you need to be looking at an item page, not the collection
page. Item metadata included on the collection page is minimal at
best.

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 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] [Dspace-general] Change displayed itemmetadata(XMLUI)

2008-04-21 Thread Scott Phillips

Oh, sorry. I thought have thought a step a head in answering your  
question. Yes, adding the XML will give you the DRI page. However the  
DRI page no longer includes proper metadata, instead it includes a  
reference to the metadata. So you see the line:
 reference repositoryID=123456789 type=DSpace Collection
 url=/metadata/handle/123456789/3/mets.xml/

Use the URL here to resolve to the mets document for the item, this  
document is what is being processed by the DIM handler.

Scott--


On Apr 21, 2008, at 2:18 PM, [EMAIL PROTECTED] wrote:


 - Original Message -
 From: [EMAIL PROTECTED]
 To: DSpace Tech-List DSpace-tech@lists.sourceforge.net
 Sent: Monday, April 21, 2008 1:04 PM
 Subject: Re: [Dspace-tech] [Dspace-general] Change displayed
 itemmetadata(XMLUI)


 - Original Message -
 From: Dorothea Salo [EMAIL PROTECTED]
 To: DSpace Tech-List DSpace-tech@lists.sourceforge.net
 Sent: Monday, April 21, 2008 10:50 AM
 Subject: Re: [Dspace-tech] [Dspace-general] Change displayed item
 metadata(XMLUI)


 Thank you, Dorothea for your help - i found that by commenting  
 out or
 adding
 block below in webapps/xmlui/themes/dri2xhtml/DIM-Handler.xsl i can
 remove/add metadata from default itemSummaryView.

 Right.

 However, i need to add metadata from our custom shceme to
 itemSummaryView -
 how do i do that?

 Well, the first question is whether it's showing up in your DIM, or
 whether the metadata Aspect isn't smart enough to pull in metadata
 outside the DC schema. One of the Manakin devs will have a better  
 read
 on this than I do, but to find out for yourself, navigate to an item
 page that has metadata from your custom schema and add ?XML to its
 URL. The result will be the DIM. Search that for your custom  
 metadata.

 so, my metadata appears in full item view (url -
 handle/123456789/9?show=full) and if i append ?XML nothing happens.
 i can get xml with handle/123456789/9?XML, but that doesn't have my
 metadata.
 am i doing something wrong?

 Vadim

 Got the xml with handle/123456789/9?show=fullXML - no metadata  
 references
 on that page - not even standard DC metadata. Same goes for
 handle/123456789/9?XML  - can't find references even for what's  
 displayed.
 Below is XML for the record (everything between togle Simple/Full  
 view.
 Any idea where it's pulling metadata from?

 div id=aspect.artifactbrowser.ItemViewer.div.item-view  
 rend=primary
 n=item-view
 headJane Smith student record/head !-- record title i guess --
 p rend=item-view-toggle item-view-toggle-top !-- togle view  
 link --
 xref target=/dspace-bc/handle/123456789/9?show=full
 i18n:text
 catalogue=defaultxmlui.ArtifactBrowser.ItemViewer.show_full/ 
 i18n:text
 /xref
 /p
 referenceSet
 id=aspect.artifactbrowser.ItemViewer.referenceSet.collection-viewer
 n=collection-viewer type=summaryView
 reference repositoryID=123456789 type=DSpace Item
 url=/metadata/handle/123456789/9/mets.xml
 referenceSet rend=hierarchy type=detailList
 head
 i18n:text catalogue=default
 xmlui.ArtifactBrowser.ItemViewer.head_parent_collections
 /i18n:text
 /head
 reference repositoryID=123456789 type=DSpace Collection
 url=/metadata/handle/123456789/3/mets.xml/
 /referenceSet
 /reference
 /referenceSet
 p rend=item-view-toggle item-view-toggle-bottom
 xref target=/dspace-bc/handle/123456789/9?show=full
 i18n:text
 catalogue=defaultxmlui.ArtifactBrowser.ItemViewer.show_full/ 
 i18n:text
 /xref
 /p
 /div


 If it's there, you're fine. If not... you'll need to do some Aspect
 programming, which is a bit above my knowledge level at present.

 And there is my custom metadata kept?

 It should be in the metadatavalues table in the database with  
 everything
 else.

 What you're looking to do is add more rows while changing the
 dim:[EMAIL PROTECTED]'myelement' and @qualifier='myqualifier']  
 piece.
 If you compare the XSLT code you pasted to the DIM, you should see
 pretty quickly how that works.

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



 -
 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 

Re: [Dspace-tech] mvn package build failure.

2008-04-21 Thread Mark Diggory
Sounds like Maven having issues on compilation, I'd check your file  
permissions and make sure its able to produce dspace-xmlui/dspace- 
xmlui-wing/target/classes ?

Otherwise, something is very wrong with your javac install.

-Mark


On Apr 21, 2008, at 10:04 AM, Jeffrey Trimble wrote:
 Mark and Jim asked for some details, and so I submit:


 1.  As per documentation we  ran mvn package in the [dsace-source]/ 
 dspace directory, as the dspace user

 2.  Environment.  We are running Tomcat 5.5., JDK 6 [i.e. 1.6],  
 postgresl 8.0.12, mavin 2.0.9

 3.  PATH settings:  bash: /usr/local/pgsql/bin:/usr/local/apache- 
 maven/apache-maven-2.0.9/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/ 
 usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/ 
 java/jdk1.6.0/bin:/usr/local/ant/bin:/usr/local/tomcat/apache- 
 tomcat-5.5.20/bin:/root/bin:

 4.  I re-ran mvn package, and here are the results:

 [EMAIL PROTECTED] dspace]$ mvn package
 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   DSpace XML-UI (Manakin)
 [INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
 [INFO]   DSpace Kernel :: API and Implementation
 [INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
 [INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
 [INFO]   DSpace Addon Modules
 [INFO]   DSpace XML-UI (Manakin) :: Web Application
 [INFO]   DSpace LNI
 [INFO]   DSpace LNI :: Core Implementation
 [INFO]   DSpace LNI :: Web Application Resources
 [INFO]   DSpace LNI :: Web Application
 [INFO]   DSpace OAI
 [INFO]   DSpace OAI :: API and Implementation
 [INFO]   DSpace OAI :: Web Application Resources
 [INFO]   DSpace OAI :: Web Application
 [INFO]   DSpace JSP-UI
 [INFO]   DSpace JSP-UI :: API and Implementation
 [INFO]   DSpace JSP-UI :: Web Application Resources
 [INFO]   DSpace JSP-UI :: Web Application
 [INFO]   DSpace SWORD
 [INFO]   DSpace SWORD :: API and Implementation
 [INFO]   DSpace SWORD :: Web Application Resources
 [INFO]   DSpace SWORD :: Web Application
 [INFO]   DSpace LNI :: CLI Client Application
 [INFO]   DSpace Assembly and Configuration
 [INFO]  
 -- 
 --
 [INFO] Building DSpace XML-UI (Manakin)
 [INFO]task-segment: [package]
 [INFO]  
 -- 
 --
 [INFO] [site:attach-descriptor]
 [INFO]  
 -- 
 --
 [INFO] Building DSpace XML-UI (Manakin) :: Wing-Framework
 [INFO]task-segment: [package]
 [INFO]  
 -- 
 --
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:compile]
 [INFO] Compiling 63 source files to /dspace-1.5.0-src-release/ 
 dspace-xmlui/dspace-xmlui-wing/target/classes
 [INFO]  
 -- 
 --
 [ERROR] BUILD FAILURE
 [INFO]  
 -- 
 --
 [INFO] Compilation failure
 Failure executing javac, but could not parse the error:
 javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ 
 dspace-xmlui-wing/target/classes
 Usage: javac options source files
 use -help for a list of possible options



 Failure executing javac, but could not parse the error:
 javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ 
 dspace-xmlui-wing/target/classes
 Usage: javac options source files
 use -help for a list of possible options


 [INFO]  
 -- 
 --
 [INFO] For more information, run Maven with the -e switch
 [INFO]  
 -- 
 --
 [INFO] Total time: 5 seconds
 [INFO] Finished at: Mon Apr 21 12:41:30 EDT 2008
 [INFO] Final Memory: 11M/22M
 [INFO]  
 -- 
 --
 [EMAIL PROTECTED] dspace]$


 I didn't run Maven with the -e switch.



 Jeffrey Trimble
 Systems Librarian
 Maag Library
 Youngstown State University
 330-941-2483 (Office)
 [EMAIL PROTECTED]
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu



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


-
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 

Re: [Dspace-tech] [Dspace-general] Change displayed itemmetadata(XMLUI)

2008-04-21 Thread vg_us
- Original Message - 
From: Scott Phillips [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: DSpace Tech-List DSpace-tech@lists.sourceforge.net
Sent: Monday, April 21, 2008 3:22 PM
Subject: Re: [Dspace-tech] [Dspace-general] Change displayed 
itemmetadata(XMLUI)



 Oh, sorry. I thought have thought a step a head in answering your 
 question. Yes, adding the XML will give you the DRI page. However the 
 DRI page no longer includes proper metadata, instead it includes a 
 reference to the metadata. So you see the line:
 reference repositoryID=123456789 type=DSpace Collection
 url=/metadata/handle/123456789/3/mets.xml/

 Use the URL here to resolve to the mets document for the item, this 
 document is what is being processed by the DIM handler.

Ah - much better. Still few questions though. So if substitute with my 
custom metadate whereever i can i get this (see below):

Now, sisnce my metadata is from custom scheme, what do i sub 
xmlui.dri2xhtml.METS-1.0.item-date and xsl:copy-of 
select=substring(./node(),1,10)/ with?

Thanks you again for all your help...

xsl:if test=dim:[EMAIL PROTECTED]'person' and @qualifier='startterm']
  tr class=ds-table-row odd
   tdspan 
class=boldi18n:textxmlui.dri2xhtml.METS-1.0.item-date/i18n:text:/span/td
   td
xsl:for-each select=dim:[EMAIL PROTECTED]'person' and 
@qualifier='startterm']
  xsl:copy-of select=substring(./node(),1,10)/
  xsl:if test=count(following-sibling::dim:[EMAIL PROTECTED]'person' and 
@qualifier='startterm']) != 0
   br/
/xsl:if
/xsl:for-each
 /td
/tr
/xsl:if


 Scott--




-
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] [Dspace-general] Change displayeditemmetadata(XMLUI)

2008-04-21 Thread vg_us
- Original Message - 
From: [EMAIL PROTECTED]
To: DSpace Tech-List DSpace-tech@lists.sourceforge.net
Sent: Monday, April 21, 2008 4:38 PM
Subject: Re: [Dspace-tech] [Dspace-general] Change 
displayeditemmetadata(XMLUI)


 - Original Message - 
 From: Scott Phillips [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: DSpace Tech-List DSpace-tech@lists.sourceforge.net
 Sent: Monday, April 21, 2008 3:22 PM
 Subject: Re: [Dspace-tech] [Dspace-general] Change displayed
 itemmetadata(XMLUI)



 Oh, sorry. I thought have thought a step a head in answering your
 question. Yes, adding the XML will give you the DRI page. However the
 DRI page no longer includes proper metadata, instead it includes a
 reference to the metadata. So you see the line:
 reference repositoryID=123456789 type=DSpace Collection
 url=/metadata/handle/123456789/3/mets.xml/

 Use the URL here to resolve to the mets document for the item, this
 document is what is being processed by the DIM handler.

 Ah - much better. Still few questions though. So if substitute with my
 custom metadate whereever i can i get this (see below):

 Now, sisnce my metadata is from custom scheme, what do i sub
 xmlui.dri2xhtml.METS-1.0.item-date and xsl:copy-of
 select=substring(./node(),1,10)/ with?

 Thanks you again for all your help...

This works of course - realized too late that 
xmlui.dri2xhtml.METS-1.0.item-date is just a text for element name.
Thank you all so much.
Now - how to properly spin it off into include file so future upgrades don't 
overwite it? I made my changes to xsl:template match=dim:dim 
mode=itemSummaryView-DIM template in hemes/dri2xhtml/DIM-Handler.xsl can 
i somehow insclude my changes by item from outside file? Sorry if it's a 
newbie question - i really know next to nothing about XLS...

Vadim



 xsl:if test=dim:[EMAIL PROTECTED]'person' and @qualifier='startterm']
  tr class=ds-table-row odd
   tdspan
 class=boldi18n:textxmlui.dri2xhtml.METS-1.0.item-date/i18n:text:/span/td
   td
 xsl:for-each select=dim:[EMAIL PROTECTED]'person' and
 @qualifier='startterm']
  xsl:copy-of select=substring(./node(),1,10)/
  xsl:if test=count(following-sibling::dim:[EMAIL PROTECTED]'person' and
 @qualifier='startterm']) != 0
   br/
 /xsl:if
 /xsl:for-each
 /td
 /tr
 /xsl:if


 Scott--




 -
 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
 


-
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] Accepted GSoC Student Proposals for 2008 Announced

2008-04-21 Thread Mark Diggory
Hello DSpace Community,

(Please excuse the cross posting)

Google has made its announcement and the results are public.

http://code.google.com/soc/2008/dspace/about.html

I would like to congratulate all the students that were accepted, say  
thank you to everyone that applied. All the applications were all  
very interesting this year. We had some serious decision making to  
do, it came right down to the wire and as the last votes came in this  
morning, the ranking changed yet again.

I would like to thank Xiaofei Dou and Adam Mikeal for what were  
excellent and well ranked applications that did get mentoring  
interest, but unfortunately we only received four slots this year and  
those could not be accepted. To everyone else who applied thank you  
and we wish you the best in your education and careers.

Note: while we have listed individuals as mentors on these  
applications, it really takes a village to make these projects work  
and mentorship may change when we sit down and discuss who and how  
many will be participating.  We will more officially announce mentors  
and backup mentors in the near future.  We most certainly need and  
welcome the communities input on these projects.

To all those interested, I would like to recommend that you join the  
various dspace listservs (http://wiki.dspace.org/index.php/ 
DspaceResources#Mailing_Lists) and join us at irc:// 
irc.freenode.net#dspace when you have a moment to vist with everyone  
online!

I'm looking forward to the great discussions and creative energy that  
the DSpace community will benefit from in this coming year thanks to  
these Google Summer of Code projects.

Sincerely,
Mark

Begin forwarded message:
 From: LH (Leslie Hawthorn) [EMAIL PROTECTED]
 Date: April 21, 2008 1:26:46 PM PDT

 Hello everyone,

 We've announced accepted student proposals for 2008 at http:// 
 code.google.com/soc/2008/

 For those who are interested in a few program stats for this year as
 compared to last year, please see the announcement on the Google Open
 Source Blog:

 http://google-opensource.blogspot.com/2008/04/announcing-accepted- 
 student-proposals.html

 Cheers,
 LH


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






-
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