Re: [Dspace-tech] Multiple DSpace 3.2 instances on same server - tomcat and dspace config settings

2013-12-12 Thread Bram Luyten
Hi Charlene,

are you doing this setup for test/development purposes or for actual
production usage?
We generally advise against deploying multiple DSpaces in the same Tomcat
because:

- If you need to update or restart one of your DSpaces, you will often need
to restart your entire tomcat. In this setup, it would mean that an update
to one DSpace will also bring down  restart the other DSpace as well.
- When you experience performance issues, it becomes much harder to debug 
find the culprit when running 2 dspaces in the same tomcat.

This could also be the reason why documentation on this kind of setup is
scarce.

As an alternative, you could run 2 tomcats and deploy them on different
ports.

best regards,

Bram

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Thu, Dec 12, 2013 at 4:27 AM, Charlene Chinda Barina cbar...@uw.eduwrote:

 For posterity's sake, here's what I ended up doing to make this work - I
 edited the server.xml file for Tomcat to look something like this:

 Right before /Host I put these two lines:

 Context path=/instance1 docBase=/dspace/instance1/webapps/xmlui
 allowLinking=true/
 Context path=/instance2 docBase=/dspace/instance2/webapps/xmlui
 allowLinking=true/

 And as a result when I go to http://mydomain/instance1 xmlui version for
 instance1 loads up, and same situation for http://mydomain/instance2.

 I didn't have to change any URLs in dspace config files, but I'm getting
 incorrect password reset links and all, so I may reconfirm that for later.

 --Charlene


 On Wed, Dec 11, 2013 at 10:15 AM, Charlene Chinda Barina 
 cbar...@uw.eduwrote:

 Hi all,

 A question about multiple DSpace instances. I looked through the
 documentation and there's a bit - but from a 1.8 release and referring to
 .war files, which doesn't seem to be applicable to the default situation of
 uncompressed directories for 3.2.

 What I have is:

1. Two separate source directories, which I'm building separately for
each instance.
2. Two separate databases, with their separate users
3. The install directory being subdirectories for each under /dspace,
e.g., /dspace/instance1 and /dspace/instance2
4. dspace.install.dir being set to these subdirectories for each
source directory in build.properties.
5. In tomcat (/usr/share/tomcat7/conf/Catalina/localhost/instance2,
for example) I have a instance2.xml file that has this:
?xml version=1.0 encoding=UTF-8?
Context docBase=/dspace/instance2/webapps path=/instance2 /

 Every things to build and install/update fine, but I can't see anything
 when loading under http://localhost/instance2 or
 http://localhost/instance2/xmlui.

 Things I'm not sure about:

1. Not sure what to set dspace.baseURL to be in this situation in
build.properties and what dspace.url should be in dspace.cfg.
2. If I've set up tomcat properly to look in the right places when
going to that URL in regards to webapps.
3. Something else I'm completely unaware of

 Appreciate any guidance in this, and I'll happily update documentation on
 the DSpace site once I can make sure it's working...

 Thanks,
 Charlene

 1. Set the Dspace.install.dir to be

 --
 Charlene Barina, MPH
 Research Analyst 2, U.S. IMPACT Study
 The Information School
 303-359-6347 | Skype: cbarina
 facebook.com/ImpactSurvey | twitter.com/impactsurvey




 --
 Charlene Barina, MPH
 Research Analyst 2, U.S. IMPACT Study
 The Information School
 303-359-6347 | Skype: cbarina
 facebook.com/ImpactSurvey | twitter.com/impactsurvey


 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
DSpace-tech mailing list

[Dspace-tech] Question about registry format update for CC License.

2013-12-12 Thread Sergio Belkin
Hi,

I've upgrade from 1.5.2 to 1.6..2 but I forgot to run  registry format
update for CC License.

When I try to run this what happens:


 /usr/share/dspace/bin/dspace registry-loader -bitstream
/usr/share/dspace/etc/upgrades/15-16/new-bitstream-formats.xml
Error:
 - java.lang.ClassNotFoundException:

Any ideas?
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about registry format update for CC License.

2013-12-12 Thread Sergio Belkin
Well I don't know how but error disappears after running
stats-log-converter

HTH


2013/12/12 Sergio Belkin seb...@gmail.com

 Hi,

 I've upgrade from 1.5.2 to 1.6..2 but I forgot to run  registry format
 update for CC License.

 When I try to run this what happens:


  /usr/share/dspace/bin/dspace registry-loader -bitstream
 /usr/share/dspace/etc/upgrades/15-16/new-bitstream-formats.xml
 Error:
  - java.lang.ClassNotFoundException:

 Any ideas?
 --
 --
 Sergio Belkin  http://www.sergiobelkin.com
 Watch More TV http://sebelk.blogspot.com
 LPIC-2 Certified - http://www.lpi.org




-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Multiple DSpace 3.2 instances on same server - tomcat and dspace config settings

2013-12-12 Thread Mark H. Wood
On Wed, Dec 11, 2013 at 10:15:43AM -0700, Charlene Chinda Barina wrote:
 A question about multiple DSpace instances. I looked through the
 documentation and there's a bit - but from a 1.8 release and referring to
 .war files, which doesn't seem to be applicable to the default situation of
 uncompressed directories for 3.2.
 
 What I have is:
 
1. Two separate source directories, which I'm building separately for
each instance.
2. Two separate databases, with their separate users

Correct.

3. The install directory being subdirectories for each under /dspace,
e.g., /dspace/instance1 and /dspace/instance2

This seems reasonable.

4. dspace.install.dir being set to these subdirectories for each source
directory in build.properties.

Correct.

5. In tomcat (/usr/share/tomcat7/conf/Catalina/localhost/instance2, for
example) I have a instance2.xml file that has this:
?xml version=1.0 encoding=UTF-8?
Context docBase=/dspace/instance2/webapps path=/instance2 /

I think the problem is here in (5).  It appears that you have one
Host element in /usr/share/tomcat7/conf/server.xml, named
localhost, and you want both instances to appear as separate paths
on that Host.  In that case, instance2.xml (and instance1.xml) should
both be in /usr/share/tomcat7/conf/Catalina/localhost.  Tomcat is not
seeing the Context files because they are not where it looks for them.

If you place the Contexts in
/usr/share/tomcat7/conf/Catalina/localhost/instance1.xml and
/usr/share/tomcat7/conf/Catalina/localhost/instance2.xml, you should
see two instances of DSpace at /instance1 and /instance2.

The 'path' attribute is not defined for use in these files.  It is
only defined for a Context declared in server.xml.  An external Context
file's name (minus the .xml) determines the path being described.

I see that you solved the problem another way, but I wanted to explain
why the problem occurred.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Error on creating Community and collections

2013-12-12 Thread Shazia Sathar
Thanks! You were right about the indexes. I was finally able to resolve the
issue. The problem was with the solr.server property in build.properties
file. I had set it to http://lucene.apache.ord/solr. Now, I have modified
that to:
solr.server=http://localhost:8080/solr

Regarding my second query, any ideas on how I can go about creating a set
of Collections for every sub-community that is created? I am unsure as to
what files to modify or even look at to begin with. Thanks!

Regards,
Shazia



On Thu, Dec 12, 2013 at 1:38 AM, Hilton Gibson hilton.gib...@gmail.comwrote:


 On 11 December 2013 19:49, Shazia Sathar ssat...@uic.edu wrote:

 Caused by: java.lang.NoClassDefFoundError: Could not initialize class
 org.dspace.search.DSIndexer


 Hi Shazia

 This Caused by: java.lang.NoClassDefFoundError: Could not initialize
 class org.dspace.search.DSIndexer leads me to think something is not right
 with the indexes.
 Perhaps this will help:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes

 Cheers

 hg


 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 http://library.sun.ac.za
 http://za.linkedin.com/in/hiltongibson

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Dspace 4 release date reg.

2013-12-12 Thread Tim Donohue
Hi Ribin  all,

We are in the final stages of the DSpace 4 release. Assuming no last 
minute issues pop up, the expectation is that DSpace 4 will likely be 
released/announced early next week.

More information on the 4.0 release is at:
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+4.0+Notes

Expect to hear more very soon!

- Tim

On 12/12/2013 1:22 AM, ribin.jo...@niist.res.in wrote:
 Hi,

 When can we expect the new dspace version 4 stable release? I understand it 
 has got a lot more exciting new looks and features.

 Ribin Jones




 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Remote storage of bitstreams

2013-12-12 Thread Peter Dietz
I'm guessing the content not showing up is just regular DSpace stuff, and
not entirely related to the location of your assetstore. I'm guessing that
this is related to your index being out-of-date. i.e. You should reindex.
I'm guessing that the reindex previously got interupted, in which many
items got indexed, but the collections (which usually get indexed last)
didn't get indexed.

If you were using the lucene index. Then this is /dspace/bin/dspace
index-init (or index-update, if you prefer)



If you are using discovery, then do: /dspace/bin/dspace
update-discovery-index

dietz72m1:staffd peterdietz$ /dspace/bin/dspace update-discovery-index -h

usage: org.dspace.discovery.IndexClient [-cbhf[r item handle]] or

nothing to update/clean an

existing index.

 -b (re)build index, wiping out current one if it exists

 -c clean existing index removing any documents that no

longer exist in the db

 -f if updating existing index, force each handle to be

reindexed even if uptodate

 -h print this help message

 -o optimize search core

 -r item handle   remove an Item, Collection or Community from index

based on its handle


Peter Dietz


On Wed, Dec 11, 2013 at 11:08 PM, Charlene Chinda Barina cbar...@uw.eduwrote:

 Hi Peter,

 Thanks for the ideas and suggestions. I think the last time I tried I may
 have just been impatient with tomcat restarting - it takes quite a while.

 Anyway, some progress - I do believe I the mount working, and confirmed
 items showing up when doing ls's on both ends. For some reason, though, no
 items show up in the collection summary page. They show up when browsing by
 author, subject, issue date, etc., but just not by collections.

 Any ideas?

 Regards,
 Charlene


 On Wed, Dec 11, 2013 at 10:52 AM, Peter Dietz pdiet...@gmail.com wrote:

 Hi Charlene,

 I would test that /mnt/assetstore, or /dspace/assetstore contains the
 data that is supposedly mounted there. LS /dspace/assetstore.

 Your site should work just fine without the assetstore, it will just
 throw tons of exceptions/errors when the requested asset had an
 IOException. Check your dspace logs.

 Also, while ssh'ed into your ec2 instance, install lynx. And try to visit
 lynx http://localhost:8080/xmlui, and see if the site works there. This
 might just be basic troubleshooting advice.

 I'm not sure how bulletproof of a solution that the sshfs will end up
 being. It seems reasonable.

 I did a quick price check, and it looks like EBS is $100/TB/month. If
 someone wrote an S3 gateway, the price of that ranges from $95-$76/TB/month
 (2nd+ TB of data is cheaper). I guess what I'm saying, is that if using the
 Amazon storage is in your budget, maybe you'll want to keep the assetstore
 locally in the cloud, and then some type of roll-your-own duracloud, or
 rsync to keep a copy of your assets on your university's storage array.

 Peter Dietz


 On Wed, Dec 11, 2013 at 12:00 PM, Charlene Chinda Barina 
 cbar...@uw.eduwrote:

 Thanks for the ideas - we actually are trying to put the DSpace
 installations on AWS, and the files on the university network. As far as I
 understand the only way to mount the assetstore in this situation is with
 something like sshfs. It didn't seem to take very well - what I did was
 mount /dspace/assetstore to the sshfs connection, and the site wasn't
 working properly (e.g., site not coming up). I may try it again, though, to
 see if I had configured something wrong or if it's more related to just
 slow connection/overhead.

 --Charlene


 On Mon, Dec 9, 2013 at 8:58 AM, helix84 heli...@centrum.sk wrote:

 On Wed, Dec 4, 2013 at 11:54 PM, Charlene Chinda Barina cbar...@uw.edu
 wrote:
  Hi, per what I understand about bitstream storage, the two options
 are a
  local directory and via SRB (or iRODS, if I want to go an unsupported
  route). Is that a correct understanding?

 Hi Charlene,

 that is correct, those are the two ways DSpace recognizes and
 supports. However, by local storage we mean *anything* that can be
 represented as a local filesystem path (i.e. mounts in unix-like
 systems and whatever the Windows equivalent is - drive mapping, hard
 links, DFS?). So if you already have a NAS or a server at your
 institution that exports directories, you can simply mount them at
 OS-level and point DSpace assetstore to the mounted directory. DSpace
 will work happily with it and won't care where it resides. Same goes
 for mostly anything else you can think of, like SMB/CIFS shares - they
 can be mounted locally and completely transparently to DSpace. The one
 thing I'd recommend against is sshfs as Peter suggested - while this
 is simply another protocol that can be used to mount remote
 directories, I'm pretty sure don't want the overhead of encryption to
 transfer files 

Re: [Dspace-tech] Remote storage of bitstreams

2013-12-12 Thread Charlene Chinda Barina
Nevermind - realized I hadn't configured recent submissions properly. It
works!


On Wed, Dec 11, 2013 at 9:08 PM, Charlene Chinda Barina cbar...@uw.eduwrote:

 Hi Peter,

 Thanks for the ideas and suggestions. I think the last time I tried I may
 have just been impatient with tomcat restarting - it takes quite a while.

 Anyway, some progress - I do believe I the mount working, and confirmed
 items showing up when doing ls's on both ends. For some reason, though, no
 items show up in the collection summary page. They show up when browsing by
 author, subject, issue date, etc., but just not by collections.

 Any ideas?

 Regards,
 Charlene


 On Wed, Dec 11, 2013 at 10:52 AM, Peter Dietz pdiet...@gmail.com wrote:

 Hi Charlene,

 I would test that /mnt/assetstore, or /dspace/assetstore contains the
 data that is supposedly mounted there. LS /dspace/assetstore.

 Your site should work just fine without the assetstore, it will just
 throw tons of exceptions/errors when the requested asset had an
 IOException. Check your dspace logs.

 Also, while ssh'ed into your ec2 instance, install lynx. And try to visit
 lynx http://localhost:8080/xmlui, and see if the site works there. This
 might just be basic troubleshooting advice.

 I'm not sure how bulletproof of a solution that the sshfs will end up
 being. It seems reasonable.

 I did a quick price check, and it looks like EBS is $100/TB/month. If
 someone wrote an S3 gateway, the price of that ranges from $95-$76/TB/month
 (2nd+ TB of data is cheaper). I guess what I'm saying, is that if using the
 Amazon storage is in your budget, maybe you'll want to keep the assetstore
 locally in the cloud, and then some type of roll-your-own duracloud, or
 rsync to keep a copy of your assets on your university's storage array.

 Peter Dietz


 On Wed, Dec 11, 2013 at 12:00 PM, Charlene Chinda Barina 
 cbar...@uw.eduwrote:

 Thanks for the ideas - we actually are trying to put the DSpace
 installations on AWS, and the files on the university network. As far as I
 understand the only way to mount the assetstore in this situation is with
 something like sshfs. It didn't seem to take very well - what I did was
 mount /dspace/assetstore to the sshfs connection, and the site wasn't
 working properly (e.g., site not coming up). I may try it again, though, to
 see if I had configured something wrong or if it's more related to just
 slow connection/overhead.

 --Charlene


 On Mon, Dec 9, 2013 at 8:58 AM, helix84 heli...@centrum.sk wrote:

 On Wed, Dec 4, 2013 at 11:54 PM, Charlene Chinda Barina cbar...@uw.edu
 wrote:
  Hi, per what I understand about bitstream storage, the two options
 are a
  local directory and via SRB (or iRODS, if I want to go an unsupported
  route). Is that a correct understanding?

 Hi Charlene,

 that is correct, those are the two ways DSpace recognizes and
 supports. However, by local storage we mean *anything* that can be
 represented as a local filesystem path (i.e. mounts in unix-like
 systems and whatever the Windows equivalent is - drive mapping, hard
 links, DFS?). So if you already have a NAS or a server at your
 institution that exports directories, you can simply mount them at
 OS-level and point DSpace assetstore to the mounted directory. DSpace
 will work happily with it and won't care where it resides. Same goes
 for mostly anything else you can think of, like SMB/CIFS shares - they
 can be mounted locally and completely transparently to DSpace. The one
 thing I'd recommend against is sshfs as Peter suggested - while this
 is simply another protocol that can be used to mount remote
 directories, I'm pretty sure don't want the overhead of encryption to
 transfer files within your institution. If you had a SAN with iSCSI
 targets that you want to use, you'd connect to it from your DSpace
 system as a local block device, create a filesystem on it and mount it
 within your regular directory structure. From there it's the same
 local FS story again.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Charlene Barina, MPH
 Research Analyst 2, U.S. IMPACT Study
 The Information School
 303-359-6347 | Skype: cbarina
  facebook.com/ImpactSurvey | twitter.com/impactsurvey


 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into
 your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of
 AppDynamics Pro!

 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 

Re: [Dspace-tech] Remote storage of bitstreams

2013-12-12 Thread Charlene Chinda Barina
Hi Peter,

Well...this did reveal something else, too - that search isn't working
properly. You're right; it wasn't sshfs-related, but configuration about
what path to find solr. I updated that, ran the relevant command above (I'm
using discovery) and it worked. Thanks!

--Charlene


On Thu, Dec 12, 2013 at 11:31 AM, Peter Dietz pdiet...@gmail.com wrote:

 I'm guessing the content not showing up is just regular DSpace stuff, and
 not entirely related to the location of your assetstore. I'm guessing that
 this is related to your index being out-of-date. i.e. You should reindex.
 I'm guessing that the reindex previously got interupted, in which many
 items got indexed, but the collections (which usually get indexed last)
 didn't get indexed.

 If you were using the lucene index. Then this is /dspace/bin/dspace
 index-init (or index-update, if you prefer)



 If you are using discovery, then do: /dspace/bin/dspace
 update-discovery-index

 dietz72m1:staffd peterdietz$ /dspace/bin/dspace update-discovery-index -h

 usage: org.dspace.discovery.IndexClient [-cbhf[r item handle]] or

 nothing to update/clean an

 existing index.

  -b (re)build index, wiping out current one if it exists

  -c clean existing index removing any documents that no

 longer exist in the db

  -f if updating existing index, force each handle to be

 reindexed even if uptodate

  -h print this help message

  -o optimize search core

  -r item handle   remove an Item, Collection or Community from index

 based on its handle


 Peter Dietz


 On Wed, Dec 11, 2013 at 11:08 PM, Charlene Chinda Barina 
 cbar...@uw.eduwrote:

 Hi Peter,

 Thanks for the ideas and suggestions. I think the last time I tried I may
 have just been impatient with tomcat restarting - it takes quite a while.

 Anyway, some progress - I do believe I the mount working, and confirmed
 items showing up when doing ls's on both ends. For some reason, though, no
 items show up in the collection summary page. They show up when browsing by
 author, subject, issue date, etc., but just not by collections.

 Any ideas?

 Regards,
 Charlene


 On Wed, Dec 11, 2013 at 10:52 AM, Peter Dietz pdiet...@gmail.com wrote:

 Hi Charlene,

 I would test that /mnt/assetstore, or /dspace/assetstore contains the
 data that is supposedly mounted there. LS /dspace/assetstore.

 Your site should work just fine without the assetstore, it will just
 throw tons of exceptions/errors when the requested asset had an
 IOException. Check your dspace logs.

 Also, while ssh'ed into your ec2 instance, install lynx. And try to
 visit lynx http://localhost:8080/xmlui, and see if the site works
 there. This might just be basic troubleshooting advice.

 I'm not sure how bulletproof of a solution that the sshfs will end up
 being. It seems reasonable.

 I did a quick price check, and it looks like EBS is $100/TB/month. If
 someone wrote an S3 gateway, the price of that ranges from $95-$76/TB/month
 (2nd+ TB of data is cheaper). I guess what I'm saying, is that if using the
 Amazon storage is in your budget, maybe you'll want to keep the assetstore
 locally in the cloud, and then some type of roll-your-own duracloud, or
 rsync to keep a copy of your assets on your university's storage array.

 Peter Dietz


 On Wed, Dec 11, 2013 at 12:00 PM, Charlene Chinda Barina cbar...@uw.edu
  wrote:

 Thanks for the ideas - we actually are trying to put the DSpace
 installations on AWS, and the files on the university network. As far as I
 understand the only way to mount the assetstore in this situation is with
 something like sshfs. It didn't seem to take very well - what I did was
 mount /dspace/assetstore to the sshfs connection, and the site wasn't
 working properly (e.g., site not coming up). I may try it again, though, to
 see if I had configured something wrong or if it's more related to just
 slow connection/overhead.

 --Charlene


 On Mon, Dec 9, 2013 at 8:58 AM, helix84 heli...@centrum.sk wrote:

 On Wed, Dec 4, 2013 at 11:54 PM, Charlene Chinda Barina 
 cbar...@uw.edu wrote:
  Hi, per what I understand about bitstream storage, the two options
 are a
  local directory and via SRB (or iRODS, if I want to go an unsupported
  route). Is that a correct understanding?

 Hi Charlene,

 that is correct, those are the two ways DSpace recognizes and
 supports. However, by local storage we mean *anything* that can be
 represented as a local filesystem path (i.e. mounts in unix-like
 systems and whatever the Windows equivalent is - drive mapping, hard
 links, DFS?). So if you already have a NAS or a server at your
 institution that exports directories, you can simply mount them at
 OS-level and point DSpace assetstore to the mounted directory. DSpace
 will work happily with it and won't care where 

Re: [Dspace-tech] Dspace 4 release date reg.

2013-12-12 Thread ribin . jones
Thanks for the info, Tim.

Regards,

Ribin Jones 


- Original Message -
From: Tim Donohue tdono...@duraspace.org
To: ribin jones ribin.jo...@niist.res.in, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Thursday, 12 December, 2013 10:06:29 PM
Subject: Re: [Dspace-tech] Dspace 4 release date reg.

Hi Ribin  all,

We are in the final stages of the DSpace 4 release. Assuming no last 
minute issues pop up, the expectation is that DSpace 4 will likely be 
released/announced early next week.

More information on the 4.0 release is at:
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+4.0+Notes

Expect to hear more very soon!

- Tim

On 12/12/2013 1:22 AM, ribin.jo...@niist.res.in wrote:
 Hi,

 When can we expect the new dspace version 4 stable release? I understand it 
 has got a lot more exciting new looks and features.

 Ribin Jones




 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] How to install dpsace-CRIS in existing DSpace 3.x

2013-12-12 Thread LifeH2O
Thank you very much. I have installed it successfully finally and got it
running. Making all the changes back into this system is hectic though. Will
do that later.

After running it, when I click anything other than Communities and
Collections in Browse panel it gives Internal System Error and error log
is full of SOLR errors.

My Dspace page shows:
Researcher profile status: loading... [Edit Icon]

Few Database permission errors e.g.
ERROR org.hibernate.util.JDBCExceptionReporter @ ERROR: permission denied
for relation cris_rpage
...
Caused by: org.postgresql.util.PSQLException: ERROR: permission denied for
relation cris_rpage
...
ERROR: permission denied for relation cris_do_tp
...
Caused by: org.postgresql.util.PSQLException: ERROR: permission denied for
relation cris_rpage
...


What is wrong?



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/How-to-install-dpsace-CRIS-in-existing-DSpace-3-x-tp4668527p4669772.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette