[Dspace-tech] Migrating DSpace from Fedora to Ubuntu

2011-06-24 Thread amutsikiwa
Hi 

I have an instance of dspace 1.7.2 runing on  Fedora 8 using JDK  6U26. I
now want to have  the same instance running on my laptop which is running
Ubuntu 10.10 but using the same java version from Oracle Java. I followed
the instruction for updating a dspace instance. When I run the command  for
Generate Browse and Search Indexes, Iam getting the following error message:

 

 

Started: 1308909872821

Ended: 1308909872857

Elapsed time: 0 secs (36 msecs)

Exception: java.lang.ClassNotFoundException: 

java.sql.SQLException: java.lang.ClassNotFoundException: 

at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:14
9)

at
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:151
3)

at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:
585)

at org.dspace.core.Context.init(Context.java:95)

at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:624)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

Caused by: java.lang.ClassNotFoundException: 

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:169)

at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:38
)

 

Any pointers?

 

Regards,

Admire Mutsikiwa

University of Zimbabwe

 

 

--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Error searching the Entire Dspace (Anitha Paruchuri)

2011-06-24 Thread Anupriya
Hi Anitha,

Try recreating the search indexes.
Regrads,
Anu

--

Message: 2
Date: Thu, 23 Jun 2011 16:41:09 -0500
From: Anitha Paruchuri ani...@niu.edu
Subject: [Dspace-tech] Error searching the Entire Dspace
To: dspace-tech@lists.sourceforge.net
Message-ID: 4e036ca502cc000d0...@wpo.cso.niu.edu
Content-Type: text/plain; charset=us-ascii

I get an Internal System Error when I try to Search my entire Dspace but
searching inside the individual communities works.

Here is my dspace error log searching the word 'art' under a general search
and then under a specific community

2011-06-23 16:35:53,682 WARN  org.dspace.app.webui.servlet.DSpaceServlet @
anonymous:session_id=4E049BE66D914F3A0B823619F0B67BAF:ip_addr=***.***.***.***:database_error:java.sql.SQLException\colon;
Query art returned unresolvable item
java.sql.SQLException: Query art returned unresolvable item
   at
org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:274)
   at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
   at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:636)
2011-06-23 16:36:00,089 INFO  org.dspace.usage.LoggerUsageEventListener @
anonymous:session_id=4E049BE66D914F3A0B823619F0B67BAF:ip_addr=***.***.***.***:view_community:community_id=6
2011-06-23 16:36:00,102 INFO
org.dspace.app.webui.servlet.SimpleSearchServlet @
anonymous:session_id=4E049BE66D914F3A0B823619F0B67BAF:ip_addr=***.***.***.***:search:community_id=6,query=((art)),results=(0,0,1)

Any ideas why it wont return results when doing an overall search?

Thanks,
Anitha
--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1___
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-06-24 Thread Blanco, Jose
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]
Sent: Friday, June 24, 2011 1:48 AM
To: Blanco, Jose
Cc: 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
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
groupIdorg.dspace/groupId
artifactIddspace/artifactId
nameDSpace Assembly and Configuration/name
packagingpom/packaging
description
The DSpace Project provides all the functionality required to
build, install and upgrade and dspace instance.
/description
urlhttp://projects.dspace.org/dspace/url
!--
   A Parent POM that Maven inherits DSpace Default
   POM atrributes from.
--
parent
groupIdorg.dspace/groupId
artifactIddspace-parent/artifactId
version1.7.0/version
/parent

!--
 The Subversion repository location is used by Continuum to update against
 when changes have occured, this spawns a new build cycle and releases snapshots
 into the snapshot repository below.
--
scm
connectionscm:svn:http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.0/dspace/connection
developerConnectionscm:svn:https://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.0/dspace/developerConnection
urlhttp://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.0/dspace/url
/scm

profiles

!--
   This profile is used by all children such that
   when activated a dspace.config configuration

[Dspace-tech] Small Item Mapping Problem

2011-06-24 Thread Cameron, Jacob
Has anyone encountered a problem where an item is mapped to a
collection, it shows up in the collection but the item doesn't say it is
mapped to the any other collections if you look at the item metadata.
BUT if you login, edit the item and click on view item, it shows that
the collection is mapped to multiple collections.

--
Jake Cameron, BCS(UNB)
Technical Specialist III
Information Systems and Technical Services 
University of Lethbridge Library
Phone:(403)329-2756

This e-mail, including any and all attachments, is only for the use of
the intended recipient(s) and may contain information that is
confidential or privileged. If you are not the intended recipient, you
are advised that any dissemination, copying or other use of this e-mail
is prohibited. Please notify the sender of the error in communication by
return e-mail and destroy all copies of this e-mail.  Thank you. 


--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech