[Dspace-tech] how to upgrade handle server after upgrade from rrelease 1.6.1 to 1.6.2

2010-12-07 Thread amutsikiwa
Hi I have upgraded my dspace instance  from release 1.6.1 to 1.6.2 to fix
the handle server issue as mentioned in  http://www.duraspace.org/node/946 .
Now I am at a loss as on how to update the handle application. Should I copy
the handle file from [dspace-source]/dspace/bin to the [dspace]/bin
directory?

 

Regards,

Admire Mutsikiwa

--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem installing 1.7

2010-12-07 Thread Steve Swinsburg
Hi Glenn,

What user are you starting Tomcat as?

Steve


On 04/12/2010, at 6:57 AM, Bunton, Glenn A. wrote:

> Below is what I find in the tomcat6 log after trying to connect to the newly 
> installed dspace 1.7. I noticed the access denied item so I went back and 
> opened all the permissions for everything in the dspace directory inward, 
> then restarted everything but still received the same errors. I don't 
> understand how it can say access denied to the /dspace/config/dspace.cfg file 
> when it's got full open permissions.
> 
> Any suggestions will be greatly appreciated. Thanks.
> 
> 
> 
> Dec 3, 2010 1:06:32 PM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of 
> class org.dspace.app.util.DSpaceContextListener
> java.security.AccessControlException: access denied (java.io.FilePermission 
> /dspace/config/dspace.cfg read)
>   at 
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
>   at 
> java.security.AccessController.checkPermission(AccessController.java:553)
>   at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>   at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
>   at java.io.File.isDirectory(File.java:769)
>   at java.io.File.toURI(File.java:678)
>   at 
> org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:888)
>   at 
> org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:100)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123)
>   at 
> org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:145)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:769)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>   at 
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1039)
>   at 
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:961)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1258)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:616)
>   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:616)
>   at 
> org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
> Dec 3, 2010 1:06:32 PM org.apache.catalina.core.StandardContext listenerStop
> SEVERE: Exception sending context destroyed event to listener instance of 
> class org.dspace.app.util.DSpaceContextListener
> java.lang.ExceptionInInitializerError
>   at 
> org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:129)
>   at 
> org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3973)
>   at 
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4577)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4474)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123)
>   at 
> org

Re: [Dspace-tech] [Dspace-general] Dspace OAI

2010-12-07 Thread Stuart Lewis
Hi Matt,

> 1. Does the DSpace OAI export function support mapping from qualified Dublin 
> Core to standard Dublin Core?

Yes, when exposing via the oai_dc metadata prefix it does this.  How it 
performs the mapping is configurable.  See the config file for details:

 - 
http://scm.dspace.org/trac/dspace/browser/dspace/trunk/dspace/config/crosswalks/oaidc.properties

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928


--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace New Installation: can browse http://locahost/jspui but not with http://ipaddress/jspui

2010-12-07 Thread Stuart Lewis
Hi Sudan,

> I have just install Dspace on windows 2008 server. All the installation 
> went perfectly without error.
> 
> I can browse using http://localhost/jspui but not with 
> http://ipaddress/jspui. I turned firewall "off". Tried firewall "ON" 
> with access to all ports. But still could not browse.

Tomcat may be binding to your IPv6 address instead of your IPv4 
(xxx.xxx.xxx.xxx) address.

If this is the case, you can force it to bind to your IPv4 address by 
explicitly setting it in Tomcat's server.xml file:



(replace your IP address as appropriate)

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928


--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Slow response to submitting/deleting items and editing metadata

2010-12-07 Thread Mark H. Wood
On Tue, Dec 07, 2010 at 03:00:59PM -0500, Spencer Lamm wrote:
> We're running DSpace 1.5.1 and Postgres 8.1.11 on a Linux machine. In the
> last week we've been experiencing significant slowdowns; it now takes about
> 30 seconds to add or delete items or metadata. If anybody has suggestions
> for how to start tackling this, they would be greatly appreciated.

Upgrading Pg would be a good idea.  8.1 is no longer maintained.

Should we understand that *only* adding and deleting items has slowed
down?  Or is your DSpace slower all over?

> To date, we have done the following:
>  - ensured that extraneous/idle postgres processes are not slowing things
> down. We do see what looks to be a high number of idle processes but killing
> them and restarting tomcat does not address the speed issue.
>  - ensured that vacuumdb is running on the dspace database
>  - from the command line verified that simple adds/deletes to the item and
> metadata tables in the database are working fine.
>  - turned on DEBUG for log4j.properties and saw a number of select
> statements

First:  is the machine busy?  What is it busy with?

You've checked that the machine is not doing a lot of swapping? that
your servlet container (e.g. Tomcat) is not starved of memory and
spending too much time collecting garbage? that your Pg configuration
is appropriate to the available memory and number of connections?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Balance your desire for bells and whistles with the reality that only a 
little more than 2 percent of world population has broadband.
-- Ledford and Tyler, _Google Analytics 2.0_


pgp779gNQiH7W.pgp
Description: PGP signature
--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Slow response to submitting/deleting items and editing metadata

2010-12-07 Thread Andrea Schweer
Hi Spencer,

On 08/12/10 09:00, Spencer Lamm wrote:
> We're running DSpace 1.5.1 and Postgres 8.1.11 on a Linux machine.
> In the last week we've been experiencing significant slowdowns; it
> now takes about 30 seconds to add or delete items or metadata. If
> anybody has suggestions for how to start tackling this, they would be
> greatly appreciated. To date, we have done the following:

I was having similar issues with one of my DSpace instances the other
day. In my case it turned out that there was a stale lock file in the
index directory, which led to delays when DSpace tried (and failed) to
update the search/browse indexes.

Have a look in your [dspace]/search directory (or wherever else your
search.dir parameter in dspace.cfg points to). In particular, check
- when the files in the directory were last modified (as far as I know,
these files should be updated basically whenever you add/delete an item
or change an item's metadata)
- whether there is a file in that directory with the extension .lock or
.lck (sorry I can't remember which one it was)

I could solve this by manually deleting the lock file and then manually
updating the indexes once ([dspace]/bin/index-update).

Also, make sure you always update the indexes as the standard dspace
user (in our case tomcat, but I think it'd be dspace if you followed the
standard installation instructions) so that the file permissions in
[dspace]/search are correct. Incorrect permissions for this directory
and its files may be another reason for the delays you're seeing, if
indeed they are linked to index updates.

Hope this helps.

cheers,
Andrea

-- 
Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand

--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Slow response to submitting/deleting items and editing metadata

2010-12-07 Thread Spencer Lamm
Hi-
We're running DSpace 1.5.1 and Postgres 8.1.11 on a Linux machine. In the
last week we've been experiencing significant slowdowns; it now takes about
30 seconds to add or delete items or metadata. If anybody has suggestions
for how to start tackling this, they would be greatly appreciated. To date,
we have done the following:
 - ensured that extraneous/idle postgres processes are not slowing things
down. We do see what looks to be a high number of idle processes but killing
them and restarting tomcat does not address the speed issue.
 - ensured that vacuumdb is running on the dspace database
 - from the command line verified that simple adds/deletes to the item and
metadata tables in the database are working fine.
 - turned on DEBUG for log4j.properties and saw a number of select
statements

We have about 4,200 items in our repository.

Thanks!
Spencer

-- 
Spencer Lamm
Digital Initiatives Librarian
Swarthmore College Library
sla...@swarthmore.edu
610-328-8541
--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace New Installation: can browse http://locahost/jspui but not with http://ipaddress/jspui

2010-12-07 Thread Sudan Bhattarai
Hello,
I have just install Dspace on windows 2008 server. All the installation 
went perfectly without error.

I can browse using http://localhost/jspui but not with 
http://ipaddress/jspui. I turned firewall "off". Tried firewall "ON" 
with access to all ports. But still could not browse.

Thank you for your help.

Sudan

--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech