[Dspace-tech] Migrating Dspace 1.5.0 to new server runing 1.5.2

2009-08-07 Thread Lewatle Phaladi
Hi All

What we have done is :

We restored our postgres database to a new server, installed Dspace 1.5.2 and 
when we view our application, most of the customization from the production 
website are available to our new site, 

the problem is with the assetstore we cant access any pdf, word or any 
previously added files, 

all previous e-pesons are there in a new web but only the assetstore is our 
last step then we will be done with this migration,

help us Guys

Regards

Lewatle 
 

htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] ant fresh_install error

2009-08-07 Thread Emilios Hadjiprokopi
I am getting the following error when I am runninh ant fresh_install 

 [java] 2009-08-07 14:30:46,031 WARN  
org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: 
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique 
constraint checksum_results_pkey  
   
 [java] org.postgresql.util.PSQLException: ERROR: duplicate key value 
violates unique constraint checksum_results_pkey   

I have comment out in pg_hba.conf

#hostall all 127.0.0.1/32 ident sameuser 

I have also change TOMCAT_USER=dspace in tomcat6.conf

I am login as dspace user.

A hint will be helpfull as for what the error might be.

Thanks



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


[Dspace-tech] Migrating Dspace to new physical server

2009-08-07 Thread Lewatle Phaladi
Hi All

We have production Dspace 1.5.0 site and new phisical server that we want to 
setup Dspace 1.5.2 on it, we restored data fine from production server database 
to our postgres database on new server and when i open web browser i can view 
it perfect with the customazation that are on production site (1.5.2), 

The only problem is any files from the assetstore we are unable to see or 
access them on our dspace system.

does anybody encountered such a problem or have an idea on how to solve this 
errors.

Regards

Lewatle

htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ant fresh_install error

2009-08-07 Thread Lewatle Phaladi
use 

sudo ant update
or 
# ant update

then :
sudo chown dspace [dspace]/webapps
cd [dspace]/webapps
cp -r jspui xmlui  tomcat/webapps

tomcat/webapps = location of your tomcat like on my system is 
/usr/local/tomcat/webapps

sudo service tomcat restart

i hope that will help



-Original Message-
From: Emilios Hadjiprokopi [mailto:hadjiprokopi.emil...@ucy.ac.cy]
Sent: Fri 8/7/2009 1:24 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] ant fresh_install error
 
I am getting the following error when I am runninh ant fresh_install 

 [java] 2009-08-07 14:30:46,031 WARN  
org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: 
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique 
constraint checksum_results_pkey  
   
 [java] org.postgresql.util.PSQLException: ERROR: duplicate key value 
violates unique constraint checksum_results_pkey   

I have comment out in pg_hba.conf

#hostall all 127.0.0.1/32 ident sameuser 

I have also change TOMCAT_USER=dspace in tomcat6.conf

I am login as dspace user.

A hint will be helpfull as for what the error might be.

Thanks



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


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] messages.xml changes not being reflected

2009-08-07 Thread Shane Beers
Thanks for the advice. Strangely, every other text change appears to  
reflect correctly besides the DSpace/Manakin Repository heading on  
the front page of /xmlui

I'm working from the Reference theme, so perhaps there is something  
in this theme that pulls this text from somewhere else than  
messages.xml I know that I'm very confused about where the very  
large font styling for the headings is coming from, because it's not  
the style.css file.

Thanks!
Shane

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




On Aug 6, 2009, at 5:29 PM, Gabriela Mircea wrote:

 Hi Shane,

 Try removing the folder $CATALINA_HOME/work/Catalina/localhost/ 
 xmlui. It will probably solve your problem.

 Best Regards,
 Gabriela

 -Original Message-
 From: Shane Beers [mailto:sbe...@gmu.edu]
 Sent: Thursday, August 06, 2009 4:06 PM
 To: Dspace Tech
 Subject: [Dspace-tech] messages.xml changes not being reflected

 I am working on a new theme for our instance of DSpace 1.5.2, and
 editing the files directly in the test installation's [dspace]/ 
 webapps/
 xmlui/ directory, which is where Tomcat is pointed to load  localhost:
 8080/xmlui from. This avoids having to constantly update the dspace
 webapps with ant.

 My changes to the .css files within the /themes/[customtheme]/lib
 directory are reflected on a reload of the page, which is great.
 However, if I edit the messages.xml file in /xmlui/i18n/, these
 changes are not reflected on a reload, nor are they reflected after I
 restart Tomcat.

 Am I missing something obvious?

 Thanks!
 Shane

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





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


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


[Dspace-tech] question about ItemImport processing in DSpace 1.5.1

2009-08-07 Thread Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
 Can anyone tell me if, as delivered and by default, ItemImport.java in 
DSpace 1.5.1 updates both the browse and search indices for each new record it 
adds/imports to DSpace?  If so, can these real-time updates be turned off in 
order to speed up import processing time?  We do run index-update every night 
so our indices would be updated prior to the next day.

 I am thinking that maybe this is all configurable via the dspace.cfg file, 
but I'm not exactly sure.

Thanks in advance,
Sue



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

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


Re: [Dspace-tech] ant fresh_install error

2009-08-07 Thread Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Sounds like maybe you have already run fresh_install or at least part of it...? 
 It's getting an error trying to insert new rows into table(s) in the database. 
 The good news is that, if this is what is happening, it won't hurt anything - 
the queries will just fail, but won't mess anything up.  Try running ant update.
Best,
Sue

-Original Message-
From: Emilios Hadjiprokopi [mailto:hadjiprokopi.emil...@ucy.ac.cy] 
Sent: Friday, August 07, 2009 7:24 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] ant fresh_install error

I am getting the following error when I am runninh ant fresh_install 

 [java] 2009-08-07 14:30:46,031 WARN  
org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: 
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique 
constraint checksum_results_pkey  
   
 [java] org.postgresql.util.PSQLException: ERROR: duplicate key value 
violates unique constraint checksum_results_pkey   

I have comment out in pg_hba.conf

#hostall all 127.0.0.1/32 ident sameuser 

I have also change TOMCAT_USER=dspace in tomcat6.conf

I am login as dspace user.

A hint will be helpfull as for what the error might be.

Thanks



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

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


Re: [Dspace-tech] Migrating Dspace to new physical server

2009-08-07 Thread Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]

Documents are stored on the server, usually in /dspace/assetstore while 
metadata is stored in the dspace database.  You'll need to copy the assetstore 
directory(s) from the old server to the new as well as restoring the database.

Hope I'm understanding your question and that this may help you!
Best,
Sue

From: Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
Sent: Friday, August 07, 2009 7:35 AM
To: dspace-gene...@mit.edu; dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Migrating Dspace to new physical server


Hi All

We have production Dspace 1.5.0 site and new phisical server that we want to 
setup Dspace 1.5.2 on it, we restored data fine from production server database 
to our postgres database on new server and when i open web browser i can view 
it perfect with the customazation that are on production site (1.5.2),

The only problem is any files from the assetstore we are unable to see or 
access them on our dspace system.

does anybody encountered such a problem or have an idea on how to solve this 
errors.

Regards

Lewatle

This communication is intended for the addressee only. It is confidential. If 
you have received this communication in error, please notify us immediately and 
destroy the original message. You may not copy or disseminate this 
communication without the permission of the University. Only authorized 
signatories are competent to enter into agreements on behalf of the University 
and recipients are thus advised that the content of this message may not be 
legally binding on the University and may contain the personal views and 
opinions of the author, which are not necessarily the views and opinions of The 
University of the Witwatersrand, Johannesburg. All agreements between the 
University and outsiders are subject to South African Law unless the University 
agrees in writing to the contrary.

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


Re: [Dspace-tech] messages.xml changes not being reflected

2009-08-07 Thread Williams, Steven D
Hello Shane,
DId you change the following line in message.xml...
message key=xmlui.dri2xhtml.structural.head-subtitleDspace/Manakin 
Repository/message

The larger font size is transformed in the structural.xsl file in 
themes/dri2xhtml starting on line 1337.
//
!-- The font-sizing variable is the result of a linear function applied to the 
character count of the heading text --
xsl:template match=dri:div/dri:head priority=3
xsl:variable name=head_count select=count(ancestor::dri:div)/
!-- with the help of the font-sizing variable, the font-size of our 
header text is made continuously variable based on the character count --
xsl:variable name=font-sizing select=365 - $head_count * 80 - 
string-length(current())/xsl:variable
xsl:element name=h{$head_count}
!-- in case the chosen size is less than 120%, don't let it go 
below. Shrinking stops at 120% --
xsl:choose
xsl:when test=$font-sizing lt; 120


You can override (or copy) this template into your theme XSL file and make your 
changes.

I believe the template theme has an example of a theme XSL file. 
Note you will need to reference your theme XSL file in the theme sitemap.xmap. 
Look at step three in sitemap.xmap of the template theme.

Hope this helps 

Steve Williams
Webmaster
University of Texas Libraries
University of Texas at Austin
PCL 1.128
512-495-4384


From: Shane Beers [sbe...@gmu.edu]
Sent: Friday, August 07, 2009 10:38 AM
To: Gabriela Mircea
Cc: Dspace Tech
Subject: Re: [Dspace-tech] messages.xml changes not being reflected

Thanks for the advice. Strangely, every other text change appears to
reflect correctly besides the DSpace/Manakin Repository heading on
the front page of /xmlui

I'm working from the Reference theme, so perhaps there is something
in this theme that pulls this text from somewhere else than
messages.xml I know that I'm very confused about where the very
large font styling for the headings is coming from, because it's not
the style.css file.

Thanks!
Shane

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




On Aug 6, 2009, at 5:29 PM, Gabriela Mircea wrote:

 Hi Shane,

 Try removing the folder $CATALINA_HOME/work/Catalina/localhost/
 xmlui. It will probably solve your problem.

 Best Regards,
 Gabriela

 -Original Message-
 From: Shane Beers [mailto:sbe...@gmu.edu]
 Sent: Thursday, August 06, 2009 4:06 PM
 To: Dspace Tech
 Subject: [Dspace-tech] messages.xml changes not being reflected

 I am working on a new theme for our instance of DSpace 1.5.2, and
 editing the files directly in the test installation's [dspace]/
 webapps/
 xmlui/ directory, which is where Tomcat is pointed to load  localhost:
 8080/xmlui from. This avoids having to constantly update the dspace
 webapps with ant.

 My changes to the .css files within the /themes/[customtheme]/lib
 directory are reflected on a reload of the page, which is great.
 However, if I edit the messages.xml file in /xmlui/i18n/, these
 changes are not reflected on a reload, nor are they reflected after I
 restart Tomcat.

 Am I missing something obvious?

 Thanks!
 Shane

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





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


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

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

[Dspace-tech] DSpace registration URL change?

2009-08-07 Thread Stan Orlov
Greetings,

We have DSpace 1.5.1 on Windows 2003.  When a user registers, they receive
the following email:

===

To complete registration for a DSpace account, please click the link
below:


http://localhost:8080/jspui/register?token=987b0108249d84cf400cca9263aad1c3

If you need assistance with your account, please email
dspace-h...@myu.edu or call us at xxx-555-.

The DSpace Team
===

I found where to change some parts of this email - in
C:\DSpace\config\emails\register.  But where could I change the URL to point
to the official URL (as opposed to localhost).  I understand that this:

# Parameters: {0} is expanded to a special registration URL

should be accessible somewhere, right?

Thank you in advance!

Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.orlov at msvu.ca stan.or...@msvu.ca
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace registration URL change?

2009-08-07 Thread Gabriela Mircea
Hi Stan,

You need to change the values for

dspace.url
dspace.hostname

in [dspace-install]/config/dspace.cfg and then restart tomcat.

You can find more details on dspace.cfg at 
http://www.dspace.org/1_5_2Documentation/ch05.html#N11633.

I hope this helps,
Gabriela

From: Stan Orlov [mailto:stan.or...@msvu.ca]
Sent: Friday, August 07, 2009 2:07 PM
To: Dspace Tech
Subject: [Dspace-tech] DSpace registration URL change?

Greetings,

We have DSpace 1.5.1 on Windows 2003.  When a user registers, they receive the 
following email:

===

To complete registration for a DSpace account, please click the link
below:

  http://localhost:8080/jspui/register?token=987b0108249d84cf400cca9263aad1c3

If you need assistance with your account, please email
dspace-h...@myu.edumailto:dspace-h...@myu.edu or call us at xxx-555-.

The DSpace Team
===

I found where to change some parts of this email - in 
C:\DSpace\config\emails\register.  But where could I change the URL to point to 
the official URL (as opposed to localhost).  I understand that this:

# Parameters: {0} is expanded to a special registration URL

should be accessible somewhere, right?

Thank you in advance!

Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.orlov at msvu.camailto:stan.or...@msvu.ca
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace registration URL change?

2009-08-07 Thread Claudia Juergen
Hi Stan,

this comes from the dspace.url in [dspace-source]/dspace/config/dspace.cfg

Check the following section:

# DSpace base URL.  Include port number etc., but NOT trailing slash
# Change to xmlui if you wish to use the xmlui as the default, or remove
# /jspui and set webapp of your choice as the ROOT webapp in
# the servlet engine.
dspace.url = http://localhost:8080/jspui

# DSpace host name - should match base URL.  Do not include port number
dspace.hostname = localhost


Hope that helps

Claudia Jürgen


 Greetings,

 We have DSpace 1.5.1 on Windows 2003.  When a user registers, they receive
 the following email:

 ===

 To complete registration for a DSpace account, please click the link
 below:


 http://localhost:8080/jspui/register?token=987b0108249d84cf400cca9263aad1c3

 If you need assistance with your account, please email
 dspace-h...@myu.edu or call us at xxx-555-.

 The DSpace Team
 ===

 I found where to change some parts of this email - in
 C:\DSpace\config\emails\register.  But where could I change the URL to
 point
 to the official URL (as opposed to localhost).  I understand that
 this:

 # Parameters: {0} is expanded to a special registration URL

 should be accessible somewhere, right?

 Thank you in advance!

 Cheers,
 Stan
 
 Stanislav Orlov, MEd, MISt
 Systems Librarian
 Mount Saint Vincent University
 Halifax, NS, B3M 2J6
 - Tel:  902-457-6212
 - Fax: 902-457-6445
 stan.orlov at msvu.ca stan.or...@msvu.ca
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.
 http://p.sf.net/sfu/bobj-july___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




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


Re: [Dspace-tech] DSpace registration URL change?

2009-08-07 Thread Stan Orlov
Thank you Gabriela and Claudia,

Worked like a charm!

Cheers,
Stan


On Fri, Aug 7, 2009 at 3:19 PM, Claudia Juergen 
claudia.juer...@ub.uni-dortmund.de wrote:

 Hi Stan,

 this comes from the dspace.url in [dspace-source]/dspace/config/dspace.cfg

 Check the following section:

 # DSpace base URL.  Include port number etc., but NOT trailing slash
 # Change to xmlui if you wish to use the xmlui as the default, or remove
 # /jspui and set webapp of your choice as the ROOT webapp in
 # the servlet engine.
 dspace.url = http://localhost:8080/jspui

 # DSpace host name - should match base URL.  Do not include port number
 dspace.hostname = localhost


 Hope that helps

 Claudia Jürgen


  Greetings,
 
  We have DSpace 1.5.1 on Windows 2003.  When a user registers, they
 receive
  the following email:
 
  ===
 
  To complete registration for a DSpace account, please click the link
  below:
 
 
 
 http://localhost:8080/jspui/register?token=987b0108249d84cf400cca9263aad1c3
 
  If you need assistance with your account, please email
  dspace-h...@myu.edu or call us at xxx-555-.
 
  The DSpace Team
  ===
 
  I found where to change some parts of this email - in
  C:\DSpace\config\emails\register.  But where could I change the URL to
  point
  to the official URL (as opposed to localhost).  I understand that
  this:
 
  # Parameters: {0} is expanded to a special registration URL
 
  should be accessible somewhere, right?
 
  Thank you in advance!
 
  Cheers,
  Stan
  
  Stanislav Orlov, MEd, MISt
  Systems Librarian
  Mount Saint Vincent University
  Halifax, NS, B3M 2J6
  - Tel:  902-457-6212
  - Fax: 902-457-6445
  stan.orlov at msvu.ca stan.or...@msvu.ca
 
 --
  Let Crystal Reports handle the reporting - Free Crystal Reports 2008
  30-Day
  trial. Simplify your report design, integration and deployment - and
 focus
  on
  what you do best, core application coding. Discover what's new with
  Crystal Reports now.
 
 http://p.sf.net/sfu/bobj-july___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 



 This communication, including any attached documentation, is intended only
 for the person or entity to which it is addressed, and may contain
 confidential, personal, and/or privileged information. Any unauthorized
 disclosure, copying, or taking action on the contents is strictly
 prohibited. If you have received this message in error, please contact us
 immediately so we may correct our records.
 Please then delete or destroy the original transmission and any subsequent
 reply.
 Thank you.


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


Re: [Dspace-tech] messages.xml changes not being reflected

2009-08-07 Thread Shane Beers
Yes, I changed that line, along with many others. However, that's the  
only change that isn't working, so I'm guessing that text must be  
coming from some other document... but I'm not sure how that is  
happening.

Your pointer to the heading size worked great, thank you.

Thanks!
Shane

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




On Aug 7, 2009, at 2:03 PM, Williams, Steven D wrote:

 Hello Shane,
 DId you change the following line in message.xml...
 message key=xmlui.dri2xhtml.structural.head-subtitleDspace/ 
 Manakin Repository/message

 The larger font size is transformed in the structural.xsl file in  
 themes/dri2xhtml starting on line 1337.
 //
 !-- The font-sizing variable is the result of a linear function  
 applied to the character count of the heading text --
xsl:template match=dri:div/dri:head priority=3
xsl:variable name=head_count  
 select=count(ancestor::dri:div)/
!-- with the help of the font-sizing variable, the font-size  
 of our header text is made continuously variable based on the  
 character count --
xsl:variable name=font-sizing select=365 - $head_count *  
 80 - string-length(current())/xsl:variable
xsl:element name=h{$head_count}
!-- in case the chosen size is less than 120%, don't let  
 it go below. Shrinking stops at 120% --
xsl:choose
xsl:when test=$font-sizing lt; 120
 

 You can override (or copy) this template into your theme XSL file  
 and make your changes.

 I believe the template theme has an example of a theme XSL file.
 Note you will need to reference your theme XSL file in the theme  
 sitemap.xmap. Look at step three in sitemap.xmap of the template  
 theme.

 Hope this helps

 Steve Williams
 Webmaster
 University of Texas Libraries
 University of Texas at Austin
 PCL 1.128
 512-495-4384

 
 From: Shane Beers [sbe...@gmu.edu]
 Sent: Friday, August 07, 2009 10:38 AM
 To: Gabriela Mircea
 Cc: Dspace Tech
 Subject: Re: [Dspace-tech] messages.xml changes not being reflected

 Thanks for the advice. Strangely, every other text change appears to
 reflect correctly besides the DSpace/Manakin Repository heading on
 the front page of /xmlui

 I'm working from the Reference theme, so perhaps there is something
 in this theme that pulls this text from somewhere else than
 messages.xml I know that I'm very confused about where the very
 large font styling for the headings is coming from, because it's not
 the style.css file.

 Thanks!
 Shane

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




 On Aug 6, 2009, at 5:29 PM, Gabriela Mircea wrote:

 Hi Shane,

 Try removing the folder $CATALINA_HOME/work/Catalina/localhost/
 xmlui. It will probably solve your problem.

 Best Regards,
 Gabriela

 -Original Message-
 From: Shane Beers [mailto:sbe...@gmu.edu]
 Sent: Thursday, August 06, 2009 4:06 PM
 To: Dspace Tech
 Subject: [Dspace-tech] messages.xml changes not being reflected

 I am working on a new theme for our instance of DSpace 1.5.2, and
 editing the files directly in the test installation's [dspace]/
 webapps/
 xmlui/ directory, which is where Tomcat is pointed to load   
 localhost:
 8080/xmlui from. This avoids having to constantly update the dspace
 webapps with ant.

 My changes to the .css files within the /themes/[customtheme]/lib
 directory are reflected on a reload of the page, which is great.
 However, if I edit the messages.xml file in /xmlui/i18n/, these
 changes are not reflected on a reload, nor are they reflected after I
 restart Tomcat.

 Am I missing something obvious?

 Thanks!
 Shane

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





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


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

Re: [Dspace-tech] messages.xml changes not being reflected

2009-08-07 Thread Williams, Steven D
Shane,
Not sure if this will help, but the style.css in the Reference theme is set to 
not display the header text and instead display an image.


div#ds-header  a span#ds-header-logo {
width: 190px;
height: 80px;
float: right;
background-image: url(../images/manakin_logo.jpg);
background-repeat: no-repeat;
background-position: 85% 40%;
color: inherit;
background-color: white;
} 

div#ds-header h1,div#ds-header h2 {
display: none; 
}
//

If you already changed the style sheet you could copy over the buildHeader 
template into your themes XSL and make changes.

Steve


From: sbe...@gmu.edu [sbe...@gmu.edu]
Sent: Friday, August 07, 2009 2:01 PM
To: Williams, Steven D
Cc: Dspace Tech
Subject: Re: [Dspace-tech] messages.xml changes not being reflected

Yes, I changed that line, along with many others. However, that's the
only change that isn't working, so I'm guessing that text must be
coming from some other document... but I'm not sure how that is
happening.

Your pointer to the heading size worked great, thank you.

Thanks!
Shane

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




On Aug 7, 2009, at 2:03 PM, Williams, Steven D wrote:

 Hello Shane,
 DId you change the following line in message.xml...
 message key=xmlui.dri2xhtml.structural.head-subtitleDspace/
 Manakin Repository/message

 The larger font size is transformed in the structural.xsl file in
 themes/dri2xhtml starting on line 1337.
 //
 !-- The font-sizing variable is the result of a linear function
 applied to the character count of the heading text --
xsl:template match=dri:div/dri:head priority=3
xsl:variable name=head_count
 select=count(ancestor::dri:div)/
!-- with the help of the font-sizing variable, the font-size
 of our header text is made continuously variable based on the
 character count --
xsl:variable name=font-sizing select=365 - $head_count *
 80 - string-length(current())/xsl:variable
xsl:element name=h{$head_count}
!-- in case the chosen size is less than 120%, don't let
 it go below. Shrinking stops at 120% --
xsl:choose
xsl:when test=$font-sizing lt; 120
 

 You can override (or copy) this template into your theme XSL file
 and make your changes.

 I believe the template theme has an example of a theme XSL file.
 Note you will need to reference your theme XSL file in the theme
 sitemap.xmap. Look at step three in sitemap.xmap of the template
 theme.

 Hope this helps

 Steve Williams
 Webmaster
 University of Texas Libraries
 University of Texas at Austin
 PCL 1.128
 512-495-4384

 
 From: Shane Beers [sbe...@gmu.edu]
 Sent: Friday, August 07, 2009 10:38 AM
 To: Gabriela Mircea
 Cc: Dspace Tech
 Subject: Re: [Dspace-tech] messages.xml changes not being reflected

 Thanks for the advice. Strangely, every other text change appears to
 reflect correctly besides the DSpace/Manakin Repository heading on
 the front page of /xmlui

 I'm working from the Reference theme, so perhaps there is something
 in this theme that pulls this text from somewhere else than
 messages.xml I know that I'm very confused about where the very
 large font styling for the headings is coming from, because it's not
 the style.css file.

 Thanks!
 Shane

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




 On Aug 6, 2009, at 5:29 PM, Gabriela Mircea wrote:

 Hi Shane,

 Try removing the folder $CATALINA_HOME/work/Catalina/localhost/
 xmlui. It will probably solve your problem.

 Best Regards,
 Gabriela

 -Original Message-
 From: Shane Beers [mailto:sbe...@gmu.edu]
 Sent: Thursday, August 06, 2009 4:06 PM
 To: Dspace Tech
 Subject: [Dspace-tech] messages.xml changes not being reflected

 I am working on a new theme for our instance of DSpace 1.5.2, and
 editing the files directly in the test installation's [dspace]/
 webapps/
 xmlui/ directory, which is where Tomcat is pointed to load
 localhost:
 8080/xmlui from. This avoids having to constantly update the dspace
 webapps with ant.

 My changes to the .css files within the /themes/[customtheme]/lib
 directory are reflected on a reload of the page, which is great.
 However, if I edit the messages.xml file in /xmlui/i18n/, these
 changes are not reflected on a reload, nor are they reflected after I
 restart Tomcat.

 Am I missing something obvious?

 Thanks!
 Shane

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





 

Re: [Dspace-tech] messages.xml changes not being reflected

2009-08-07 Thread Williams, Steven D
O, that is stored in the config file as news-xmlui.xml and you will have to 
restart the server to see the changes. You can also override this in your theme 
XSL. 

 !-- Replace Home Page Welcome text--
xsl:template match=//dri:body/dri:d...@n='news']
!-- Your content here --
/xsl:template

Steve

From: sbe...@gmu.edu [sbe...@gmu.edu]
Sent: Friday, August 07, 2009 3:16 PM
To: Williams, Steven D
Cc: Dspace Tech
Subject: Re: [Dspace-tech] messages.xml changes not being reflected

Unfortunately it's not the header text, it's the text right on the
front page in the main section, which states:

DSpace/Manakin Repository

Welcome to the new Manakin interface to the DSpace digital repository.
DSpace is a digital service that collects, preserves, and distributes
digital material. Repositories are important tools for preserving an
organization's legacy; they facilitate digital preservation and
scholarly communication.

none of this text can be found in messages.xml, and as I said other
changes I have made to messages.xml have worked correctly. It's a
conundrum that is frustrating me quite a bit.

Thanks again.

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




On Aug 7, 2009, at 3:52 PM, Williams, Steven D wrote:

 Shane,
 Not sure if this will help, but the style.css in the Reference theme
 is set to not display the header text and instead display an image.

 
 div#ds-header  a span#ds-header-logo {
width: 190px;
height: 80px;
float: right;
background-image: url(../images/manakin_logo.jpg);
background-repeat: no-repeat;
background-position: 85% 40%;
color: inherit;
background-color: white;
 }

 div#ds-header h1,div#ds-header h2 {
display: none;
 }
 //

 If you already changed the style sheet you could copy over the
 buildHeader template into your themes XSL and make changes.

 Steve

 
 From: sbe...@gmu.edu [sbe...@gmu.edu]
 Sent: Friday, August 07, 2009 2:01 PM
 To: Williams, Steven D
 Cc: Dspace Tech
 Subject: Re: [Dspace-tech] messages.xml changes not being reflected

 Yes, I changed that line, along with many others. However, that's the
 only change that isn't working, so I'm guessing that text must be
 coming from some other document... but I'm not sure how that is
 happening.

 Your pointer to the heading size worked great, thank you.

 Thanks!
 Shane

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




 On Aug 7, 2009, at 2:03 PM, Williams, Steven D wrote:

 Hello Shane,
 DId you change the following line in message.xml...
 message key=xmlui.dri2xhtml.structural.head-subtitleDspace/
 Manakin Repository/message

 The larger font size is transformed in the structural.xsl file in
 themes/dri2xhtml starting on line 1337.
 //
 !-- The font-sizing variable is the result of a linear function
 applied to the character count of the heading text --
   xsl:template match=dri:div/dri:head priority=3
   xsl:variable name=head_count
 select=count(ancestor::dri:div)/
   !-- with the help of the font-sizing variable, the font-size
 of our header text is made continuously variable based on the
 character count --
   xsl:variable name=font-sizing select=365 - $head_count *
 80 - string-length(current())/xsl:variable
   xsl:element name=h{$head_count}
   !-- in case the chosen size is less than 120%, don't let
 it go below. Shrinking stops at 120% --
   xsl:choose
   xsl:when test=$font-sizing lt; 120
 

 You can override (or copy) this template into your theme XSL file
 and make your changes.

 I believe the template theme has an example of a theme XSL file.
 Note you will need to reference your theme XSL file in the theme
 sitemap.xmap. Look at step three in sitemap.xmap of the template
 theme.

 Hope this helps

 Steve Williams
 Webmaster
 University of Texas Libraries
 University of Texas at Austin
 PCL 1.128
 512-495-4384

 
 From: Shane Beers [sbe...@gmu.edu]
 Sent: Friday, August 07, 2009 10:38 AM
 To: Gabriela Mircea
 Cc: Dspace Tech
 Subject: Re: [Dspace-tech] messages.xml changes not being reflected

 Thanks for the advice. Strangely, every other text change appears to
 reflect correctly besides the DSpace/Manakin Repository heading on
 the front page of /xmlui

 I'm working from the Reference theme, so perhaps there is something
 in this theme that pulls this text from somewhere else than
 messages.xml I know that I'm very confused about where the very
 large font styling for the headings is coming from, because it's not
 the style.css file.

 Thanks!
 Shane

 

Re: [Dspace-tech] messages.xml changes not being reflected

2009-08-07 Thread Gabriela Mircea
Hi Shane,

The text you mention below is controlled from the news-xmlui.xml file found in 
your DSpace configuration directory.

Gabriela

-Original Message-
From: Shane Beers [mailto:sbe...@gmu.edu] 
Sent: Friday, August 07, 2009 4:17 PM
To: Williams, Steven D
Cc: Dspace Tech
Subject: Re: [Dspace-tech] messages.xml changes not being reflected

Unfortunately it's not the header text, it's the text right on the  
front page in the main section, which states:

DSpace/Manakin Repository

Welcome to the new Manakin interface to the DSpace digital repository.  
DSpace is a digital service that collects, preserves, and distributes  
digital material. Repositories are important tools for preserving an  
organization's legacy; they facilitate digital preservation and  
scholarly communication.

none of this text can be found in messages.xml, and as I said other  
changes I have made to messages.xml have worked correctly. It's a  
conundrum that is frustrating me quite a bit.

Thanks again.

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




On Aug 7, 2009, at 3:52 PM, Williams, Steven D wrote:

 Shane,
 Not sure if this will help, but the style.css in the Reference theme  
 is set to not display the header text and instead display an image.

 
 div#ds-header  a span#ds-header-logo {
width: 190px;
height: 80px;
float: right;
background-image: url(../images/manakin_logo.jpg);
background-repeat: no-repeat;
background-position: 85% 40%;
color: inherit;
background-color: white;
 }

 div#ds-header h1,div#ds-header h2 {
display: none;
 }
 //

 If you already changed the style sheet you could copy over the  
 buildHeader template into your themes XSL and make changes.

 Steve

 
 From: sbe...@gmu.edu [sbe...@gmu.edu]
 Sent: Friday, August 07, 2009 2:01 PM
 To: Williams, Steven D
 Cc: Dspace Tech
 Subject: Re: [Dspace-tech] messages.xml changes not being reflected

 Yes, I changed that line, along with many others. However, that's the
 only change that isn't working, so I'm guessing that text must be
 coming from some other document... but I'm not sure how that is
 happening.

 Your pointer to the heading size worked great, thank you.

 Thanks!
 Shane

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




 On Aug 7, 2009, at 2:03 PM, Williams, Steven D wrote:

 Hello Shane,
 DId you change the following line in message.xml...
 message key=xmlui.dri2xhtml.structural.head-subtitleDspace/
 Manakin Repository/message

 The larger font size is transformed in the structural.xsl file in
 themes/dri2xhtml starting on line 1337.
 //
 !-- The font-sizing variable is the result of a linear function
 applied to the character count of the heading text --
   xsl:template match=dri:div/dri:head priority=3
   xsl:variable name=head_count
 select=count(ancestor::dri:div)/
   !-- with the help of the font-sizing variable, the font-size
 of our header text is made continuously variable based on the
 character count --
   xsl:variable name=font-sizing select=365 - $head_count *
 80 - string-length(current())/xsl:variable
   xsl:element name=h{$head_count}
   !-- in case the chosen size is less than 120%, don't let
 it go below. Shrinking stops at 120% --
   xsl:choose
   xsl:when test=$font-sizing lt; 120
 

 You can override (or copy) this template into your theme XSL file
 and make your changes.

 I believe the template theme has an example of a theme XSL file.
 Note you will need to reference your theme XSL file in the theme
 sitemap.xmap. Look at step three in sitemap.xmap of the template
 theme.

 Hope this helps

 Steve Williams
 Webmaster
 University of Texas Libraries
 University of Texas at Austin
 PCL 1.128
 512-495-4384

 
 From: Shane Beers [sbe...@gmu.edu]
 Sent: Friday, August 07, 2009 10:38 AM
 To: Gabriela Mircea
 Cc: Dspace Tech
 Subject: Re: [Dspace-tech] messages.xml changes not being reflected

 Thanks for the advice. Strangely, every other text change appears to
 reflect correctly besides the DSpace/Manakin Repository heading on
 the front page of /xmlui

 I'm working from the Reference theme, so perhaps there is something
 in this theme that pulls this text from somewhere else than
 messages.xml I know that I'm very confused about where the very
 large font styling for the headings is coming from, because it's not
 the style.css file.

 Thanks!
 Shane

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




 On Aug 6, 2009, at 5:29 PM,