[Dspace-tech] Changing http://localhost to http://mydomain in Dspace

2011-07-11 Thread Paul Mulinge
How does one change http://localhost/xmlui or jspui to
http://mydomain using  NGINX ? or in Tomcat Virtual Server/ Aliases
setting  or any other
proxying?  in Dspace
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Open GTS vs Dspace

2011-07-11 Thread Paul Mulinge
Setting up Open GTS seems to be the same as setting up Dspace... anyone with
an idea on how to successfully set it up on Ubuntu 11.04 via Eclipse..

This is giving me an idea that Dspace can be set up on Eclipse on both
Windows and Linux platforms   . AM I RIGHT?
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Having problems with installation of dspace in windows 7 find attach details

2011-07-11 Thread helix84
On Mon, Jul 11, 2011 at 10:42, Akeredolu Joshua akeredoluj...@gmail.com wrote:
 the attach is extracted from cmd and also I could not find target folder in
 my dspace dir and build.dir is not there either. please give concise detail
 solution please and let your explaination be easy even for a novice to
 understand. thanks

Looks like Maven has a problem connecting to the internet to download
dependencies. If you use proxy to connect to internet, you have to set
it up in Maven configuration. Look at this thread which dealt with the
same problem:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/index.html#14602

Regards,
~~helix84

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Can license be selectable

2011-07-11 Thread Amir Pourabdollah
Hi,
I would like users be able to select a license from a list when submitting an 
item. I know that the license can be defined for each community but I don't 
want the users to see different communities or collections for different 
licenses.
Any suggestion?

Thanks,
Amir.

This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Tomcat not publishing webpages

2011-07-11 Thread Lewatle Phaladi
Hi All



I have installed copy of dspace on the server  with all Successful
results and when I change my ROOT.xml file to point to the new
installation directory dspace1.7.2/webapps/xmlui  the only thing that
appear on the browser is tomcat welcome page, this copy of tomcat has
been installed long time ago but the version is  6 and I want to know if
this is the problem and it needs to be updated,



On my tomcat home I see bellow it says Copyright 1999 - 2007, I don't
know if this software also needs to be upgraded, I have did the same
installation on test machine successfully,



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
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding cosing to manakin

2011-07-11 Thread Blanco, Jose
Any suggestions?  Really stuck here.

From: Blanco, Jose [mailto:blan...@umich.edu]
Sent: Wednesday, July 06, 2011 3:09 PM
To: Mark Diggory
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] adding cosing to manakin

Mark, I’m getting closer, now I can get the cosign page and login successfully, 
but what I did is map the /webiso-login to the servlet Cocoon.

  servlet-mapping
servlet-nameCocoon/servlet-name
url-pattern/webiso-login/url-pattern
  /servlet-mapping

In the jsp environment I had it mapped to a specifc servlet that did some 
special things, but I’m not sure how to do this in the xmlui environment.  In 
the xmlui area there is only one servlet – Cocoon.   Where do I put my jspui 
servlet code to handle auth?  As you can tell I’m new to Cocoon.

Thank you!
Jose

From: mdigg...@gmail.com [mailto:mdigg...@gmail.com] On Behalf Of Mark Diggory
Sent: Monday, June 27, 2011 8:26 PM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] adding cosing to manakin

No, each webapp needs to list its needed dependencies separately. Listing 
cosign as a dependency in dspace/pom.xml will only place it into the 
commandline application lib directory.
On Fri, Jun 24, 2011 at 8:33 AM, Blanco, Jose 
blan...@umich.edumailto:blan...@umich.edu wrote:
Mark,  the dspace/pom.xml is the only place that the jscosign is listed, and it 
seems like it would hold for all the apps.

Take a look.

From: Mark Diggory [mailto:mdigg...@atmire.commailto:mdigg...@atmire.com]
Sent: Friday, June 24, 2011 1:48 AM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] adding cosing to manakin

Yes, you need to look for the dependency for cosign in your jspui pom.xml and 
add it to your xmlui pom.xml

Best,
Mark
On Thu, Jun 23, 2011 at 12:00 PM, Blanco, Jose 
blan...@umich.edumailto:blan...@umich.edu wrote:
I have cosign running in my jspui, and I'm trying to run it now in xmlui, so I 
added the following to the xmui web.xml file:

filter
   filter-nameCosign Authentication Filter/filter-name
   
filter-classedu.umich.auth.cosign.CosignAuthenticationFilterIII/filter-class
   init-param
 param-nameCosign.ConfigurationFile/param-name
 
param-value/l1/dspace/repository/dev/config/cosignConfigBlancoj.xml/param-value
   /init-param

   init-param
 param-nameAuth.JAASConfigurationFile/param-name
 param-value/l/local/apache-tomcat/conf/jaas.conf/param-value
   /init-param

 /filter

 servlet-mapping
   servlet-namewebiso-login/servlet-name
   url-pattern/webiso-login/url-pattern
 /servlet-mapping

 filter-mapping
   filter-nameCosign Authentication Filter/filter-name
   url-pattern/webiso-login/url-pattern
 /filter-mapping

And I'm getting this error:

SEVERE: Parse error in application web.xml file at 
jndi:/blancoj.dev.deepblue.lib.umich.edu/WEB-INF/web.xmlhttp://blancoj.dev.deepblue.lib.umich.edu/WEB-INF/web.xml
java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter 
name Cosign Authentication Filter
   at 
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726)
   at 
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752)
   at 
org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061)
   at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)


===
I don't kwow why it can't find it.  It finds it just fine in jspui.  Do I need 
to change something in one of the pom.xml files?

-Jose

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Mark R. Diggory
@mire - www.atmire.comhttp://www.atmire.com/
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium

--
All the data continuously 

Re: [Dspace-tech] Tomcat not publishing webpages

2011-07-11 Thread helix84
On Mon, Jul 11, 2011 at 15:20, Lewatle Phaladi
lewatle.phal...@wits.ac.za wrote:
 I have installed copy of dspace on the server  with all Successful results 
 and when I change my ROOT.xml file to point to the new installation directory 
 ”dspace1.7.2/webapps/xmlui “ the only thing that appear on the browser is 
 tomcat welcome page, this copy of tomcat has been installed long time ago but 
 the version is  6 and I want to know if this is the problem and it needs to 
 be updated,

Hi Lewatle,

DSpace documentation says it should work with Tomcat 5.5 and newer, so
the problem shouldn't be with Tomcat version. That said, your tomcat
configuration may be broken so a reinstall might help.

But I would check the obvious things first:
1) check that your dspace1.7.2 directory  (including all
subdirectories and files) is owned by the same user as tomcat runs
under
2) check tomcat logs for any errors and warnings

Regards,
~~helix84

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat not publishing webpages

2011-07-11 Thread Verdonck Christof




Dear


which ROOT.xml? Do you mean server.xml?


Yours Sincerely



Christof Verdonck



helix84 wrote:

  On Mon, Jul 11, 2011 at 15:20, Lewatle Phaladi
lewatle.phal...@wits.ac.za wrote:
  
  
I have installed copy of dspace on the server  with all Successful results and when I change my ROOT.xml file to point to the new installation directory ”dspace1.7.2/webapps/xmlui “ the only thing that appear on the browser is tomcat welcome page, this copy of tomcat has been installed long time ago but the version is  6 and I want to know if this is the problem and it needs to be updated,

  
  
Hi Lewatle,

DSpace documentation says it should work with Tomcat 5.5 and newer, so
the problem shouldn't be with Tomcat version. That said, your tomcat
configuration may be broken so a reinstall might help.

But I would check the obvious things first:
1) check that your dspace1.7.2 directory  (including all
subdirectories and files) is owned by the same user as tomcat runs
under
2) check tomcat logs for any errors and warnings

Regards,
~~helix84

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  





--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat not publishing webpages

2011-07-11 Thread Lewatle Phaladi
Hi 

 

I am using a file ROOT.xml placed in a folder /tomcat6/conf/Catalina/localhost

 

# cat ROOT.xml

Context path=/ docBase=/home/dspace/dspace1.7.2_install/webapps/xmlui

 debug=0 privileged=true allowLinking=true

/Context

#

 

Regards,

Lewatle

 

From: Verdonck Christof [mailto:verdonck.chris...@eurodyn.com] 
Sent: 11 July 2011 03:55 PM
To: heli...@centrum.sk; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Tomcat not publishing webpages

 

Dear


which ROOT.xml? Do you mean server.xml?


Yours Sincerely






Christof Verdonck



helix84 wrote: 

On Mon, Jul 11, 2011 at 15:20, Lewatle Phaladi
lewatle.phal...@wits.ac.za mailto:lewatle.phal...@wits.ac.za  wrote:
  

I have installed copy of dspace on the server  with all Successful 
results and when I change my ROOT.xml file to point to the new installation 
directory ”dspace1.7.2/webapps/xmlui “ the only thing that appear on the 
browser is tomcat welcome page, this copy of tomcat has been installed long 
time ago but the version is  6 and I want to know if this is the problem and it 
needs to be updated,


 
Hi Lewatle,
 
DSpace documentation says it should work with Tomcat 5.5 and newer, so
the problem shouldn't be with Tomcat version. That said, your tomcat
configuration may be broken so a reinstall might help.
 
But I would check the obvious things first:
1) check that your dspace1.7.2 directory  (including all
subdirectories and files) is owned by the same user as tomcat runs
under
2) check tomcat logs for any errors and warnings
 
Regards,
~~helix84
 
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat not publishing webpages

2011-07-11 Thread helix84
On Mon, Jul 11, 2011 at 16:21, Lewatle Phaladi
lewatle.phal...@wits.ac.za wrote:
 Context path=/ docBase=/home/dspace/dspace1.7.2_install/webapps/xmlui

While this should work as I wrote, I see you have
dspace1.7.2_install in your ROOT.xml file, but you mentioned in your
first email that dspace is in ”dspace1.7.2/webapps/xmlui “.

If this is not the problem and you want to try, you can put this
context into server.xml instead (I don't think it will make a difference but
tomcat made me wonder about some things before).

Regards,
~~helix84

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Open GTS vs Dspace

2011-07-11 Thread Tim Donohue
Hi Paul,

General DSpace Installation instructions are available at:
https://wiki.duraspace.org/display/DSDOC/Installation

Installation hints for installing DSpace on Ubuntu is available at:
https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu

We also have hints/tips on running DSpace via Eclipse (or NetBeans or 
IDEA) at:
https://wiki.duraspace.org/display/DSPACE/Developer+Guidelines+and+Tools

Finally, you are correct, DSpace can be run on any Operating System 
(Windows, Linux, Mac OSX, etc).  We have some operating system specific 
instructions on our Wiki at: 
https://wiki.duraspace.org/display/DSPACE/Installation

- Tim

On 7/11/2011 2:17 AM, Paul Mulinge wrote:
 Setting up Open GTS seems to be the same as setting up Dspace... anyone
 with an idea on how to successfully set it up on Ubuntu 11.04 via Eclipse..

 This is giving me an idea that Dspace can be set up on Eclipse on both
 Windows and Linux platforms   . AM I RIGHT?


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] indexing error: too many open files

2011-07-11 Thread Joshua Gomez
I ran across the following error last week while trying to run the media filter 
(I'm using DSpace 1.7.2, on Ubuntu 10.04.2):
 
Exception in thread Thread-2 java.lang.UnsatisfiedLinkError: 
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libmanagement.so: 
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libmanagement.so: cannot open shared 
object file: Too many open files
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1667)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at sun.management.ManagementFactory.clinit(ManagementFactory.java:485)
at 
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:521)
at 
org.dspace.kernel.DSpaceKernelManager.unregisterMBean(DSpaceKernelManager.java:178)
at 
org.dspace.servicemanager.DSpaceKernelImpl.destroy(DSpaceKernelImpl.java:211)
at 
org.dspace.servicemanager.DSpaceKernelImpl.doDestroy(DSpaceKernelImpl.java:233)
at 
org.dspace.servicemanager.DSpaceKernelImpl$1.run(DSpaceKernelImpl.java:78)
 
It appears this error is not a problem with DSpace so much as the server 
environment, but I'm wondering if anyone else has come across such an error 
before?  
 
This error occurred after the new items had been filtered and the script was in 
the process of updating the index. I recently added about a thousand items that 
had very poor OCR (they were very old documents) and our index word limit is 
not set, so I am wondering if the index has become too large due to all the new 
words from the bad OCR. Many of the pdfs we added are pretty large so I'm 
also wondering if it's just a memory issue.
 
Any thoughts?
 
Joshua
 
 
Joshua Gomez
Digital Library Programmer Analyst
Gelman Library
George Washington University
(202) 994-8267
jngo...@library.gwu.edu
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding cosing to manakin

2011-07-11 Thread Tim Donohue
Hi Jose,

It seems like there are few options (that come to my mind):

(1) The more official way: Create your own XMLUI Aspect which can 
handle the Cosign authentication. This would be similar to the existing 
EPerson Aspect (see the org.dspace.app.xmlui.aspect.eperson.* classes) 
which handles authentication via LDAP, Shib, etc.  This XMLUI Aspect 
also uses the DSpace Authentication Plugins from 
org.dspace.authenticate.* to actually perform the authentication  
report whether it was successful or not.

For more info on creating aspects, see some of the XMLUI Customization 
guides here:
https://wiki.duraspace.org/display/DSPACE/DSpaceResources#DSpaceResources-Guides

The official way is the way the core Committers would likely do this, 
as it's something that would be supported across all DSpace sites, and 
actually uses the Authentication Plugins which also work for JSPUI, etc.

But, if you just wanted to get it working for Michigan, then you could 
also choose...

(2) The unofficial way: As you mentioned, Cocoon is really just a 
servlet. So, it is possible to run other servlets alongside it. So, you 
can run your existing cosign servlet alongside Cocoon as a completely 
separate servlet (e.g. at /webiso-login path). I think this would work 
as long as you were able to pass back some flag to let DSpace know the 
person authenticated correctly. (You've probably already done this in 
some way in your JSPUI implementation of this work...so, it likely would 
be similar logic to that)

Again, that's just off the top of my head.  Which way you choose is 
entirely up to you.

Good luck,

- Tim

On 7/11/2011 8:36 AM, Blanco, Jose wrote:
 Any suggestions?  Really stuck here.

 *From:*Blanco, Jose [mailto:blan...@umich.edu]
 *Sent:* Wednesday, July 06, 2011 3:09 PM
 *To:* Mark Diggory
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] adding cosing to manakin

 Mark, I’m getting closer, now I can get the cosign page and login
 successfully, but what I did is map the /webiso-login to the servlet Cocoon.

 servlet-mapping

 servlet-nameCocoon/servlet-name

 url-pattern/webiso-login/url-pattern

 /servlet-mapping

 In the jsp environment I had it mapped to a specifc servlet that did
 some special things, but I’m not sure how to do this in the xmlui
 environment. In the xmlui area there is only one servlet – Cocoon. Where
 do I put my jspui servlet code to handle auth? As you can tell I’m new
 to Cocoon.

 Thank you!

 Jose

 *From:*mdigg...@gmail.com [mailto:mdigg...@gmail.com] *On Behalf Of
 *Mark Diggory
 *Sent:* Monday, June 27, 2011 8:26 PM
 *To:* Blanco, Jose
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] adding cosing to manakin

 No, each webapp needs to list its needed dependencies separately.
 Listing cosign as a dependency in dspace/pom.xml will only place it into
 the commandline application lib directory.

 On Fri, Jun 24, 2011 at 8:33 AM, Blanco, Jose blan...@umich.edu
 mailto:blan...@umich.edu wrote:

 Mark, the dspace/pom.xml is the only place that the jscosign is listed,
 and it seems like it would hold for all the apps.

 Take a look.

 *From:*Mark Diggory [mailto:mdigg...@atmire.com
 mailto:mdigg...@atmire.com]
 *Sent:* Friday, June 24, 2011 1:48 AM
 *To:* Blanco, Jose
 *Cc:* dspace-tech@lists.sourceforge.net
 mailto:dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] adding cosing to manakin

 Yes, you need to look for the dependency for cosign in your jspui
 pom.xml and add it to your xmlui pom.xml

 Best,

 Mark

 On Thu, Jun 23, 2011 at 12:00 PM, Blanco, Jose blan...@umich.edu
 mailto:blan...@umich.edu wrote:

 I have cosign running in my jspui, and I'm trying to run it now in
 xmlui, so I added the following to the xmui web.xml file:

 filter
 filter-nameCosign Authentication Filter/filter-name
 filter-classedu.umich.auth.cosign.CosignAuthenticationFilterIII/filter-class
 init-param
 param-nameCosign.ConfigurationFile/param-name
 param-value/l1/dspace/repository/dev/config/cosignConfigBlancoj.xml/param-value
 /init-param

 init-param
 param-nameAuth.JAASConfigurationFile/param-name
 param-value/l/local/apache-tomcat/conf/jaas.conf/param-value
 /init-param

 /filter

 servlet-mapping
 servlet-namewebiso-login/servlet-name
 url-pattern/webiso-login/url-pattern
 /servlet-mapping

 filter-mapping
 filter-nameCosign Authentication Filter/filter-name
 url-pattern/webiso-login/url-pattern
 /filter-mapping

 And I'm getting this error:

 SEVERE: Parse error in application web.xml file at
 jndi:/blancoj.dev.deepblue.lib.umich.edu/WEB-INF/web.xml
 http://blancoj.dev.deepblue.lib.umich.edu/WEB-INF/web.xml
 java.lang.IllegalArgumentException: Filter mapping specifies an unknown
 filter name Cosign Authentication Filter
 at
 org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726)
 at
 org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752)
 at 

[Dspace-tech] Upgrading de Database

2011-07-11 Thread Guillermo Esteban Murillo Goussen
Hi all! I have two differents installations of Dspace.  One is a totally
functional 1.5.2 and the other one is a fresh install, in a totally new
server, of the latest release 1.7.2.

I tried to restore the data base from the older version to the new one but,
it failed 'cause there is a sequence (dctyperegistry_seq) which is now
deprecated.

My question is: can I upgrade de 1.5.2 database using the script
database_schema_15-16.sql and still run the 1.5.2 version (or backup the
latest state of the database and then restore it)  or I must upgrade all the
now totally functional 1.5.2 to 1.6.0 and then to 1.7.2?

Thanks!

-- 
La pureza del alma no se pierde sin consentimiento
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] indexing error: too many open files

2011-07-11 Thread Stuart Lewis
Hi Joshua,

The error message below suggests that you are running the openjdk.  Instead, 
try installing the official Sun JDK:

 - 
https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu#InstallingDSpace1.7onUbuntu-%28OPTIONAL%29ChangetousingSun%2FOracleJavaJDK

This will hopefully help.

Thanks,


Stuart Lewis
Digital Development Manager
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


On 12/07/2011, at 3:33 AM, Joshua Gomez wrote:

 I ran across the following error last week while trying to run the media 
 filter (I'm using DSpace 1.7.2, on Ubuntu 10.04.2):
  
 Exception in thread Thread-2 java.lang.UnsatisfiedLinkError: 
 /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libmanagement.so: 
 /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libmanagement.so: cannot open 
 shared object file: Too many open files
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1667)
 at java.lang.Runtime.loadLibrary0(Runtime.java:840)
 at java.lang.System.loadLibrary(System.java:1047)
 at 
 sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
 at 
 sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
 sun.management.ManagementFactory.clinit(ManagementFactory.java:485)
 at 
 java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:521)
 at 
 org.dspace.kernel.DSpaceKernelManager.unregisterMBean(DSpaceKernelManager.java:178)
 at 
 org.dspace.servicemanager.DSpaceKernelImpl.destroy(DSpaceKernelImpl.java:211)
 at 
 org.dspace.servicemanager.DSpaceKernelImpl.doDestroy(DSpaceKernelImpl.java:233)
 at 
 org.dspace.servicemanager.DSpaceKernelImpl$1.run(DSpaceKernelImpl.java:78)
  
 It appears this error is not a problem with DSpace so much as the server 
 environment, but I'm wondering if anyone else has come across such an error 
 before? 
  
 This error occurred after the new items had been filtered and the script was 
 in the process of updating the index. I recently added about a thousand items 
 that had very poor OCR (they were very old documents) and our index word 
 limit is not set, so I am wondering if the index has become too large due to 
 all the new words from the bad OCR. Many of the pdfs we added are pretty 
 large so I'm also wondering if it's just a memory issue.
  
 Any thoughts?
  
 Joshua
  
  
 Joshua Gomez
 Digital Library Programmer Analyst
 Gelman Library
 George Washington University
 (202) 994-8267
 jngo...@library.gwu.edu
 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security 
 threats, fraudulent activity, and more. Splunk takes this data and makes 
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech