[Dspace-tech] item display page in XMLUI

2010-07-08 Thread Hardik Mishra
Hello Everyone,

I have some working experience on JSPUI.

Now, I want to test some code on XMLUI.

Can anyone pass some information that where should i change , if i would
like to add some functionality in item display page(XMLUI).

If we want to change anything in item display page, we can use jsptag in
JSPUI to add functionality but for XMLUI i need some help.

Thanks   Regards
Hardik Mishra
Software Engineer

Give a man a fish, and you feed him for a day. Teach a man to catch fish and
you feed him for a lifetime.
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Messages.properties customisation

2010-07-08 Thread Michael White
 I'm trying to edit some items in Messages.properties (and add some new ones) 
 for a new v1.6 development instance but I'm struggling to understand how to 
 get 
 my updated Messages.properties file picked up by DSpace.

Thanks everyone for the thoughts and pointers - turned out to be the old 
chestnut, permissions :-)

Poking around my install directory I discovered a few files owned by root - 
which made me think that I must have done a rebuild/redeploy at some point 
under root yesterday by mistake (rather than my dspace/tomcat user). I wasn't 
seeing any obvious errors or warnings when rebuilding so this wasn't 
immediately apparent.

I chown -Red the src and install directories back to my tomcat user, and it 
started working like a charm - my updated Messages.properties file is now being 
picked up and the changes are being reflected in DSpace.

Cheers,

Mike

Michael White 
eLearning Developer
eLearning Liaison  Development (eLD) 
3V3a, Cottrell
University of Stirling 
Stirling SCOTLAND 
FK9 4LA 
Email: michael.wh...@stir.ac.uk 
Tel: +44 (0) 1786 466877 
Fax: +44 (0) 1786 466880
http://www.is.stir.ac.uk/aboutis/teams/aldt/eld.php


-- 
The Sunday Times Scottish University of the Year 2009/2010
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Messages.properties customisation

2010-07-08 Thread Claudia Jürgen
Hi Michael,

good to hear, that you solved it.

There is one caveat though with using the jspui overlay message 
catalogue. This will only affect the jspui and not the api part, so 
parts of the emails for workflow notifications or subscriptions will 
still be pulled from the orginal Messages.properties.

Hope that helps

Claudia Jürgen


Am 08.07.2010 11:24, schrieb Michael White:
 I'm trying to edit some items in Messages.properties (and add some new ones)
 for a new v1.6 development instance but I'm struggling to understand how to 
 get
 my updated Messages.properties file picked up by DSpace.

 Thanks everyone for the thoughts and pointers - turned out to be the old 
 chestnut, permissions :-)

 Poking around my install directory I discovered a few files owned by root - 
 which made me think that I must have done a rebuild/redeploy at some point 
 under root yesterday by mistake (rather than my dspace/tomcat user). I wasn't 
 seeing any obvious errors or warnings when rebuilding so this wasn't 
 immediately apparent.

 I chown -Red the src and install directories back to my tomcat user, and it 
 started working like a charm - my updated Messages.properties file is now 
 being picked up and the changes are being reflected in DSpace.

 Cheers,

 Mike

 Michael White
 eLearning Developer
 eLearning Liaison  Development (eLD)
 3V3a, Cottrell
 University of Stirling
 Stirling SCOTLAND
 FK9 4LA
 Email: michael.wh...@stir.ac.uk
 Tel: +44 (0) 1786 466877
 Fax: +44 (0) 1786 466880
 http://www.is.stir.ac.uk/aboutis/teams/aldt/eld.php



-- 
Mit freundlichen Gruessen

Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Install dspace unsucessful

2010-07-08 Thread Volodymyr_G


Sean Carte wrote:
 
 On 5 July 2010 19:16, Volodymyr_G greyknightn...@gmail.com wrote:
 Hi Sean
 I did exactly as you wrote, but issued an error.


  [java] Exception in thread main java.lang.ExceptionInInitializerError
    [java] Caused by: java.lang.NullPointerException
    [java] at java.io.File.init(File.java:222)
    [java] at
 org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:484)
    [java] at org.dspace.search.DSIndexer.clinit(DSIndexer.java:235)
    [java] Could not find the main class: org.dspace.search.DSIndexer.
 Program will exit.

 BUILD FAILED
 /opt/dspace/dspace-src/dspace/target/dspace-1.6.2-build.dir/build.xml:745:
 Java returned: 1


 Can you tell me what to do?
 
 *I* no longer do exactly as I wrote: not only was that for 1.5.x, but
 I now keep my /dspace directory owned by the tomcat user to avoid
 having to do chown all the tomcat directories.
 
 I'd highly recommend that you start again, and this time rather follow
 the installation documentation than the lunatic advice you might find
 in the list archives!
 
 Sean
 

Thanks for the reply. But I did as in the documentation and the instructions
which I found in the internet and always had this error. I do not know what
to do, and nobody responsible on the forum.
-- 
View this message in context: 
http://old.nabble.com/internal-system-error-occurs-while-submitting-an-item-for-collection-tp22743840p29105435.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Install dspace unsucessful

2010-07-08 Thread Sean Carte
On 8 July 2010 12:21, Volodymyr_G greyknightn...@gmail.com wrote:
 On 5 July 2010 19:16, Volodymyr_G greyknightn...@gmail.com wrote:
 Hi Sean
 I did exactly as you wrote, but issued an error.


  [java] Exception in thread main java.lang.ExceptionInInitializerError
    [java] Caused by: java.lang.NullPointerException
    [java] at java.io.File.init(File.java:222)
    [java] at
 org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:484)
    [java] at org.dspace.search.DSIndexer.clinit(DSIndexer.java:235)
    [java] Could not find the main class: org.dspace.search.DSIndexer.
 Program will exit.

 BUILD FAILED
 /opt/dspace/dspace-src/dspace/target/dspace-1.6.2-build.dir/build.xml:745:
 Java returned: 1

 Thanks for the reply. But I did as in the documentation and the instructions
 which I found in the internet and always had this error. I do not know what
 to do, and nobody responsible on the forum.

When does this error occur, during `ant fresh_install`?

If so, you probably just need to drop and recreate your database.
 *N.B. I'm assuming you don't have anything in there yet!*

As the dspace user (who owns the database):

dropdb dspace
createdb -U dspace -E UNICODE dspace

Then run the ant command again from within your target/dspace-build.dir/.

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Install dspace unsucessful

2010-07-08 Thread Volodymyr_G



Sean Carte wrote:
 
 
 When does this error occur, during `ant fresh_install`?
 
 If so, you probably just need to drop and recreate your database.
  *N.B. I'm assuming you don't have anything in there yet!*
 
 As the dspace user (who owns the database):
 
 dropdb dspace
 createdb -U dspace -E UNICODE dspace
 
 Then run the ant command again from within your target/dspace-build.dir/.
 
 Sean
 
 

Yes, this error occur after ant fresh_install. I run this comand from
/target/dspace-build.dir/.
I recreate database, but this error:

[java] Could not find the main class: org.dspace.search.DSIndexer.
 Program will exit. 

always appeared.
Please, Can you tell what does this error mean and how resolve this problem?

Thanks
-- 
View this message in context: 
http://old.nabble.com/internal-system-error-occurs-while-submitting-an-item-for-collection-tp22743840p29105651.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Install dspace unsucessful

2010-07-08 Thread Sean Carte
On 8 July 2010 12:52, Volodymyr_G greyknightn...@gmail.com wrote:
 Yes, this error occur after ant fresh_install. I run this comand from
 /target/dspace-build.dir/.

You mean: target/dspace-1.6.2-build.dir/
?

 I recreate database, but this error:

    [java] Could not find the main class: org.dspace.search.DSIndexer.
 Program will exit.

 always appeared.
 Please, Can you tell what does this error mean and how resolve this problem?


Another stab in the dark: did you get any errors during `mvn package`?

I would try the following as the dspace user:

dropdb dspace
createdb -U dspace -E UNICODE dspace

cd [dspace-src]/dspace
mvn clean
mvn package

cd target/dspace-1.6.2-build.dir/
ant fresh_install


Also check that your dspace directory as defined in dspace.cfg is
owned by the dspace user.

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Install dspace unsucessful

2010-07-08 Thread Panyarak Ngamsritragul


Dear Volodymyr,

I followed what Sean has suggested and everything was OK.
Could you please let us know some more basic information, e.g. what is 
your base OS? which version.


I recently install DSpace 1.6.2 in Ubuntu 10.04LTS with no problem.
The important steps are:

1. Install all necessary components
sudo apt-get install tomcat6 maven2 ant-optional postgresql sun-java6-jdk 
apache2 libapache2-mod-jk

2. Add a line like 'host dspace tomcat6 127.0.0.1/32 md5'
to /etc/postgresql/8.3/main/pg_hba.conf (or 
/etc/postgresql/8.4/main/pg_hba.conf)
In this case your DSpace database name is 'dspace' and DSpace instance is 
run by user 'tomcat6'


3. Create a user name 'tomcat6' for postgreSQL
sudo su postgres
createuser -U postgres -d -A -P tomcat6
exit
(Remember your password for tomcat6 here, you need it for step 11)

4. Modify 'shell' of user 'tomcat6' and create a database 'dspace'
sudo chsh -s /bin/bash tomcat6
sudo chown -R tomcat6.tomcat6 /usr/share/tomcat6
sudo su tomcat6
createdb -U tomcat6 -E UNICODE dspace
exit

5. Make sure that settings in /etc/default/tomcat6 look like this
TOMCAT6_USER=tomcat6
JAVA_HOME=/usr/lib/jvm/java-6-sun
CATALINA_BASE=/var/lib/tomcat6
JAVA_OPTS=-Xmx1024M -Xms64M -Dfile.encoding=UTF-8
JSP_COMPILER=jikes
TOMCAT6_SECURITY=no
LOGFILE_DAYS=180

6. at URIEncoding=UTF-8 to a tag in /etc/tomcat6/server.xml so that it 
looks like:

Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
URIEncoding=UTF-8   redirectPort=8443 /

7. Tell the system to use correct 'java'
sudo update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java

8. Test if tomcat6 runs correctly
sudo /etc/init.d/tomcat6 restart
or
sudo /etc/init.d/tomcat6 start

The following steps invlove installation of DSpace, and started from 
step 10, all commands must be run by user 'tomcat6'.

9. Create the install location (I chose /opt/dspace here)
sudo mkdir /opt/dspace
sudo chown tomcat6.tomcat6 /opt/dspace

10. Download DSpace source (I chose /usr/share/tomcat6 as my working 
directory, you can make your own choice)

sudo su tomcat6
cd
wget 
http://nchc.dl.sourceforge.net/sourceforge/dspace/dspace-1.6.2-src-release.tar.bz2
bzip2 -dc dspace-1.6.2-src-release.tar.bz2|tar xf -
(You should have DSpace source codes reside in ./dspace-1.6.2-src-release)

11. Modify some settings in ./dspace-1.6.2-src-release/dspace/config/dspace.cfg
dspace.dir=/opt/dspace
dspace.hostname={put your host name here}
dspace.baseUrl = http://${dspace.hostname}:8080
dspace.url = ${dspace.baseUrl}/jspui
dspace.oai.url = ${dspace.baseUrl}/oai
dspace.name=Your DSpace Instance Name
db.name = postgres
db.url = jdbc:postgresql://localhost:5432/dspace
db.username = tomcat6
db.password = (Your password entered in step 3)
mail.server={set this if you have one}
mail.from.address=ds-nore...@domain.name
feedback.recipient=ds-ad...@domain.name
mail.admin=ds-ad...@domain.name
alert.recipient=ds-h...@domain.name
registration.notify=ds-h...@domain.name
handle.canonical.prefix = ${dspace.url}/handle/handle/
handle.prefix = 123456
handle.dir = ${dspace.dir}/handle-server
webui.submit.enable-cc = true
webui.submit.cc-jurisdiction = {your country, e.g. en}
webui.strengths.show = true
webui.strengths.cache = false
webui.feed.localresolve = true
webui.session.invalidate = false
webui.supported.locales = en, ja
xmlui.supported.locales = en, ja
xmlui.force.ssl = true
solr.log.server = http://localhost:8080/solr/statistics

12. Build the package.  (You can run this command either in 
./dspace-1.6.2-src-release/dspace or ./dspace-1.6.2-src-release)

mvn package

13. If there is no error in previous step, proceed to install your 
DSpace instance:

cd target/dspace-1.6.2-build.dir
ant fresh_install

The last 2 lines of step 13 should read like:
BUILD SUCCESSFUL
Total time: 2 minutes 0 seconds

Hope this helps.

Panyarak Ngamsritragul
Prince of Songkla University.

On Thu, 8 Jul 2010, Volodymyr_G wrote:


Yes, this error occur after ant fresh_install. I run this comand from
/target/dspace-build.dir/.
I recreate database, but this error:


   [java] Could not find the main class: org.dspace.search.DSIndexer.
Program will exit.


always appeared.
Please, Can you tell what does this error mean and how resolve this problem?

Thanks

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace functionalities

2010-07-08 Thread Despoina Kanellopoulou






Dear DSpace Team,

we are contacting you on behalf of the CARPET Project
to inform you about the results of the CARPET Project Repository
Software Survey, according to which there is a desire for additional
DSpace functionalities. 

We have entered these in our CARPET discussion forum
and you can find them here.

We hereby cordially invite you to use the CARPET forum to discuss
additional
functionalities desired by your users and to share your future
development plans with the CARPET Community and DSpace users
within it. We would be delighted to welcome you into our ePublishing
community!


Best regards,
Despoina Kanellopoulou
-- 
Despoina Kanellopoulou, LL.M.
Max Planck Digital Library (MPDL)
CARPET Project
Amalienstrasse 33
80799 Munich, Germany
http://www.carpet-project.net
http://www.mpdl.mpg.de


E-Mail: kanellopou...@mpdl.mpg.de
Phone:  +49-89-38602-275
Fax:+49-89-38602-280 


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech