[Dspace-tech] I wonder if anyone knows how to install a language pack when using MANAKIN/XMLUI?

2010-04-21 Thread Magnus Norberg

Hello everyone,

I wonder if anyone knows how to install a language pack when using 
MANAKIN/XMLUI?

Thank you!

/Greetings from Magnus Norberg, Sweden
_
Klicka här!
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.6 upgrade DB constraint errors

2010-04-21 Thread Claudia Jürgen

Hello Peter,

a bit late, but just ran into the same problem while testing an upgrade.
Rather than uncommenting the lines you should drop the constraints with:

ALTER TABLE community2collection DROP CONSTRAINT $2;
ALTER TABLE collection2item DROP CONSTRAINT $2;
ALTER TABLE community2community DROP CONSTRAINT $2;

Hope that helps

Claudia Jürgen



Am 18.12.2009 00:33, schrieb Peter Dietz:

I wanted to see if anyone else has run into the issue when upgrading to 1.6
(rc1) from 1.5.2, that

ERROR:  constraint community2collection_collection_id_fkey of relation
community2collection does not exist
ERROR:  constraint community2community_child_comm_id_fkey of relation
community2community does not exist
ERROR:  constraint collection2item_item_id_fkey of relation
collection2item does not exist

Only by commenting out three lines in
/dspace/etc/postgres/database_schema_15-16.sql does the db script execute
successfully.
-- ALTER TABLE community2collection DROP CONSTRAINT
community2collection_collection_id_fkey;
...
-- ALTER TABLE community2community DROP CONSTRAINT
community2community_child_comm_id_fkey;
...
-- ALTER TABLE collection2item DROP CONSTRAINT collection2item_item_id_fkey;

I cloned (backup/restore) the production server's dspace table for local
testing/development. The server version is PostgreSQL 8.1.11. My workstation
is 8.4.1




--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev



___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
attachment: Claudia_Juergen.vcf--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SOLR startup failure

2010-04-21 Thread Tonny Hjelmberg Laursen
Im having a problem with SOLR when I start tomcat5. In my catalina.out I 
receive the error below. It's on a upraded installation from 1.5.2 to 
1.6. Everything else seems to work in Dspace. It's running on a Redhat 
ES 5.4,  Java 1.5.0_22, Tomcat 5-5.5.23.

My DSpace install location is /www/dspace

Any ideas?

Thanks,
Tonny


INFO: Loading provided config file: /www/dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /www/dspace/config/log4j.properties
- Loading provided config file: /www/dspace/config/dspace.cfg
- Using dspace provided log configuration (log.init.config)
- Loading: /www/dspace/config/log4j.properties
Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader 
locateInstanceDir
INFO: Using JNDI solr.home: /www/dspace/solr
Apr 21, 2010 11:51:35 AM org.apache.solr.core.CoreContainer$Initializer 
initialize
INFO: looking for solr.xml: /www/dspace/solr/solr.xml
Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader init
INFO: Solr home set to '/www/dspace/solr/'
Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader 
createClassLoader
INFO: Reusing parent classloader
Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter init
SEVERE: Could not start SOLR. Check solr/home property
java.lang.ExceptionInInitializerError
 at org.apache.solr.core.CoreContainer.load(CoreContainer.java:169)
 at 
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:104)
 at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)
 at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
 at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
 at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:78)
 at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
 at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4218)
 at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at 
org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 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:592)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed 
to create an XPathFactory for the default object model: 
http://java.sun.com/jaxp/xpath/dom with the 
XPathFactoryConfigurationException: 
javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory 
implementation found for the object model: 
http://java.sun.com/jaxp/xpath/dom
 at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
 at org.apache.solr.core.Config.clinit(Config.java:41)
 ... 21 more
Apr 21, 2010 11:51:35 AM org.apache.catalina.core.StandardContext 
filterStart
SEVERE: Exception starting filter SolrRequestFilter
java.lang.NoClassDefFoundError: org.apache.solr.core.Config
 at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:76)
 at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
 at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
 at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:78)
 at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
 at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4218)
 at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at 
org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at 

Re: [Dspace-tech] SOLR startup failure

2010-04-21 Thread Tonny Hjelmberg Laursen

It was a problem with xalan.jar, it did not exist in the Tomcat CLASS 
PATH. I added/copied the file and now is SOLR working.

#cp [dspace]/lib/xalan-2.7.0.jar /usr/share/tomcat5/shared/lib



-- 
Venlig hilsen | Kind Regards

Tonny Hjelmberg Laursen
Systemadministrator

CBS Library IT
Copenhagen Business School
Solbjerg Plads 3 (D2.30), DK-2000 Frederiksberg
Tel.: (+45) 3815 3697 | Mob.: (+45) 2427 3242 | thl@cbs.dk




Den 21-04-2010 13:14, Tonny Hjelmberg Laursen skrev:
 Im having a problem with SOLR when I start tomcat5. In my catalina.out I
 receive the error below. It's on a upraded installation from 1.5.2 to
 1.6. Everything else seems to work in Dspace. It's running on a Redhat
 ES 5.4,  Java 1.5.0_22, Tomcat 5-5.5.23.

 My DSpace install location is /www/dspace

 Any ideas?

 Thanks,
 Tonny


 INFO: Loading provided config file: /www/dspace/config/dspace.cfg
 INFO: Using dspace provided log configuration (log.init.config)
 INFO: Loading: /www/dspace/config/log4j.properties
 - Loading provided config file: /www/dspace/config/dspace.cfg
 - Using dspace provided log configuration (log.init.config)
 - Loading: /www/dspace/config/log4j.properties
 Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter init
 INFO: SolrDispatchFilter.init()
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader
 locateInstanceDir
 INFO: Using JNDI solr.home: /www/dspace/solr
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.CoreContainer$Initializer
 initialize
 INFO: looking for solr.xml: /www/dspace/solr/solr.xml
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoaderinit
 INFO: Solr home set to '/www/dspace/solr/'
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader
 createClassLoader
 INFO: Reusing parent classloader
 Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter init
 SEVERE: Could not start SOLR. Check solr/home property
 java.lang.ExceptionInInitializerError
   at org.apache.solr.core.CoreContainer.load(CoreContainer.java:169)
   at
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:104)
   at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)
   at
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
   at
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
   at
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:78)
   at
 org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
   at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:4218)
   at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
   at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
   at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
   at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at
 org.apache.catalina.core.StandardService.start(StandardService.java:448)
   at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
   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:592)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
 Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed
 to create an XPathFactory for the default object model:
 http://java.sun.com/jaxp/xpath/dom with the
 XPathFactoryConfigurationException:
 javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
 implementation found for the object model:
 http://java.sun.com/jaxp/xpath/dom
   at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
   at org.apache.solr.core.Config.clinit(Config.java:41)
   ... 21 more
 Apr 21, 2010 11:51:35 AM org.apache.catalina.core.StandardContext
 filterStart
 SEVERE: Exception starting filter SolrRequestFilter
 java.lang.NoClassDefFoundError: org.apache.solr.core.Config
   at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:76)
   at
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
   at
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
   at
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:78)
   at
 

[Dspace-tech] Solr error: moved temporarily

2010-04-21 Thread Trude Eikebrokk
I'm joining the wave of SOLR-error reports.
As I'm unfortunately not a programmer, I'd appreciate any help!

I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version 1.6.0_20.

Whenever I try to use solr I get an Moved Temporarily.exception. Below 
is what happens when I try to convert the log-files.

[r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i 
/opt/dspace/dspace.dir/log/solr.log -m
Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics
solr.log.2010-03-24
Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24
Line:2010032431852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2
ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city =
Moved Temporarily

Moved Temporarily

request: 
http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2
org.apache.solr.common.SolrException: Moved Temporarily

Moved Temporarily

request: 
http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
 at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
 at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361)
 at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493)
 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:194)
Processed 1 log lines
  - 0 entries added to solr: 0%
  - 1 errors: 100%
  - 0 search engine activity skipped: 0%
About to commit data to solr...Exception: Moved Temporarily

Moved Temporarily

request: http://dspace-test.hio.no:8080/solr/statistics/update
org.apache.solr.common.SolrException: Moved Temporarily

Moved Temporarily

request: http://dspace-test.hio.no:8080/solr/statistics/update
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
 at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
 at 
org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85)
 at 
org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:74)
 at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:387)
 at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493)
 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:194)


-- 
Mvh
Trude Eikebrokk
Oslo University College
trude.eikebr...@hio.no
22 45 35 70
p48/S336


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


Re: [Dspace-tech] Solr error: moved temporarily

2010-04-21 Thread keith . gilbertson
Hi,

I think that part of what's happening is that your request to 
http://dspace-test.hio.no:8080/solr/statistics is being forwarded to somewhere 
else.

See this output from the command line:

wget http://dspace-test.hio.no/solr/statistics
--2010-04-21 09:12:25--  http://dspace-test.hio.no/solr/statistics
Resolving dspace-test.hio.no... 158.36.78.39
Connecting to dspace-test.hio.no|158.36.78.39|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://dspace-test.hio.no/solr/statistics [following]


The last couple of lines show my http request being forwarded to https, with a 
Moved Temporarily message.  Is it possible something similar is happening on 
your end?

If that's the case, you might need to 
  - make an adjustment to solr.log.server in your dspace.cfg file and set it to 
the final url 

   OR
 

   - make an adjustment somewhere else on your system to prevent requests to 
/solr/statistics from being forwarded/forced to https.

--keith

 

- Original Message -
From: Trude Eikebrokk trude.eikebr...@hio.no
To: dspace-tech@lists.sourceforge.net
Sent: Wednesday, April 21, 2010 8:30:09 AM GMT -05:00 US/Canada Eastern
Subject: [Dspace-tech] Solr error: moved temporarily

I'm joining the wave of SOLR-error reports.
As I'm unfortunately not a programmer, I'd appreciate any help!

I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version 1.6.0_20.

Whenever I try to use solr I get an Moved Temporarily.exception. Below 
is what happens when I try to convert the log-files.

[r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i 
/opt/dspace/dspace.dir/log/solr.log -m
Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics
solr.log.2010-03-24
Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24
Line:2010032431852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2
ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city =
Moved Temporarily

Moved Temporarily

request: 
http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2
org.apache.solr.common.SolrException: Moved Temporarily

Moved Temporarily

request: 
http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
 at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
 at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361)
 at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493)
 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:194)
Processed 1 log lines
  - 0 entries added to solr: 0%
  - 1 errors: 100%
  - 0 search engine activity skipped: 0%
About to commit data to solr...Exception: Moved Temporarily

Moved Temporarily

request: http://dspace-test.hio.no:8080/solr/statistics/update
org.apache.solr.common.SolrException: Moved Temporarily

Moved Temporarily

request: http://dspace-test.hio.no:8080/solr/statistics/update
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)
 at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
 at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
 at 
org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85)
 at 
org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:74)
 at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:387)
 at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493)
 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:194)


-- 
Mvh
Trude Eikebrokk
Oslo University College
trude.eikebr...@hio.no
22 45 35 70
p48/S336


--
___
DSpace-tech mailing list

Re: [Dspace-tech] dspace :help

2010-04-21 Thread Peter Dietz
Hey Kumara,

Check out: http://support.apple.com/kb/HT2602

http://support.apple.com/kb/HT2602Or perhaps even:
http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPSystemStartup/BPSystemStartup.html

I think you should be able to add an entry to start tomcat automatically
with one of those.

Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries



On Wed, Apr 21, 2010 at 4:12 AM, Kumara SS kumarass2...@gmail.com wrote:

 Hi all,

  I have one question.
 I am using MAC OS X 10.4. The dspace is working fine.
 But when i restart the system, the tomcat is not running automatically.

 How to start the tomcat at system start?

 I am starting the tomcat manually by
 /usr/local/apache-tomcat-5.5.28/bin/startup.sh every time the system
 starts.

 Please reply...

 Thanks in advance

 With regards
 Kumara SS


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

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


[Dspace-tech] How to use my SRW as Authority control

2010-04-21 Thread Joan Caparros
I have tried to use one of my SRW servers instead of the oficial lc 
name Authority author from Library of Congress,
has anyone configured correctly the DSpace.SRWDatabase.props to made it 
work?

Actually I have modified the file, and I'm getting some results, but I'm 
not sure if I'm in the right way, because the lookup select input is 
still saying that non of my authors are in the Naming Authority.

indexSynonym.dc.description.statementofresponsibility=author
indexSynonym.dc.title=title
indexSynonym.dc.subject=keyword
indexSynonym.dc.description.abstract=abstract
indexSynonym.dc.description.tableofcontents=abstract
indexSynonym.dc.relation.ispartofseries=series
indexSynonym.dc.format.mimetype=mime
indexSynonym.dc.description.sponsorship=sponsor
indexSynonym.dc.identifier=id
indexSynonym.cql.serverChoice=default


xmlSchemas= dc, marcxml
marcxml=/dades/dspace/SRW/DC2MARC21slim.xsl
marcxml.identifier=info:srw/schema/1/marcxml-v1.1
marcxml.location=http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
marcxml.namespace=http://www.loc.gov/MARC21/slim
marcxml.title=marcxml
dc.identifier=info:srw/schema/1/dc-v1.1
dc.location=http://www.loc.gov/zing/srw/dc-schema.xsd
dc.namespace=http://www.oclc.org/DC
dc.title=dc: Dublin Core Elements

databaseInfo.title=DSpace Database
databaseInfo.description=Records stored in our local DSpace Repository
databaseInfo.contact=joancaparros

#configInfo.maximumRecords=20

#explainStyleSheet=/dades/dspace/SRW/explainResponse.xsl
#scanStyleSheet=/dades/dspace/SRW/scanResponse.xsl
#searchStyleSheet=/dades/dspace/SRW/searchRetrieveResponse.xsl

contextSet.cql=info:srw/cql-context-set/1/cql-v1.1
contextSet.dc=info:srw/cql-context-set/1/dc-v1.1

# The default access point and result-set references
qualifier.cql.serverChoice  = 1=1016
qualifier.cql.resultSetId   = @set

# Dublin Core access points
qualifier.dc.creator   = 1=1003
qualifier.dc.contributor   = 1=1003
qualifier.dc.description.statementofresponsibility = 1=1003
qualifier.dc.title = 1=4
qualifier.dc.subject   = 1=21
qualifier.dc.description.abstract  = 1=62
qualifier.dc.description.tableofcontents   = 1=62
qualifier.dc.relation.ispartofseries   = 1=234
qualifier.dc.format.mimetype   = 1=1034
qualifier.dc.description.sponsorship   = 1=123
qualifier.dc.identifier= 1=12

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


Re: [Dspace-tech] How to use my SRW as Authority control

2010-04-21 Thread LeVan,Ralph
Joan, I'm afraid I don't know how the Authority Control software works
to be very helpful.  The error you're getting may be because you've not
correctly pointed the Authority Control software at your server.  It
could be that the software is expecting a particular index to be
available and you haven't provided it.  Do you know what index it is
expecting to search?

Ralph

 -Original Message-
 From: Joan Caparros [mailto:jcapar...@cesca.es]
 Sent: Wednesday, April 21, 2010 11:06 AM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] How to use my SRW as Authority control
 
 I have tried to use one of my SRW servers instead of the oficial lc
 name Authority author from Library of Congress,
 has anyone configured correctly the DSpace.SRWDatabase.props to made
it
 work?
 
 Actually I have modified the file, and I'm getting some results, but
I'm
 not sure if I'm in the right way, because the lookup select input is
 still saying that non of my authors are in the Naming Authority.
 
 indexSynonym.dc.description.statementofresponsibility=author
 indexSynonym.dc.title=title
 indexSynonym.dc.subject=keyword
 indexSynonym.dc.description.abstract=abstract
 indexSynonym.dc.description.tableofcontents=abstract
 indexSynonym.dc.relation.ispartofseries=series
 indexSynonym.dc.format.mimetype=mime
 indexSynonym.dc.description.sponsorship=sponsor
 indexSynonym.dc.identifier=id
 indexSynonym.cql.serverChoice=default
 
 
 xmlSchemas= dc, marcxml
 marcxml=/dades/dspace/SRW/DC2MARC21slim.xsl
 marcxml.identifier=info:srw/schema/1/marcxml-v1.1

marcxml.location=http://www.loc.gov/standards/marcxml/schema/MARC21slim.
x
 sd
 marcxml.namespace=http://www.loc.gov/MARC21/slim
 marcxml.title=marcxml
 dc.identifier=info:srw/schema/1/dc-v1.1
 dc.location=http://www.loc.gov/zing/srw/dc-schema.xsd
 dc.namespace=http://www.oclc.org/DC
 dc.title=dc: Dublin Core Elements
 
 databaseInfo.title=DSpace Database
 databaseInfo.description=Records stored in our local DSpace Repository
 databaseInfo.contact=joancaparros
 
 #configInfo.maximumRecords=20
 
 #explainStyleSheet=/dades/dspace/SRW/explainResponse.xsl
 #scanStyleSheet=/dades/dspace/SRW/scanResponse.xsl
 #searchStyleSheet=/dades/dspace/SRW/searchRetrieveResponse.xsl
 
 contextSet.cql=info:srw/cql-context-set/1/cql-v1.1
 contextSet.dc=info:srw/cql-context-set/1/dc-v1.1
 
 # The default access point and result-set references
 qualifier.cql.serverChoice  = 1=1016
 qualifier.cql.resultSetId   = @set
 
 # Dublin Core access points
 qualifier.dc.creator   = 1=1003
 qualifier.dc.contributor   = 1=1003
 qualifier.dc.description.statementofresponsibility = 1=1003
 qualifier.dc.title = 1=4
 qualifier.dc.subject   = 1=21
 qualifier.dc.description.abstract  = 1=62
 qualifier.dc.description.tableofcontents   = 1=62
 qualifier.dc.relation.ispartofseries   = 1=234
 qualifier.dc.format.mimetype   = 1=1034
 qualifier.dc.description.sponsorship   = 1=123
 qualifier.dc.identifier= 1=12
 


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



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


Re: [Dspace-tech] Solr error: moved temporarily

2010-04-21 Thread Peter Dietz
Hei Trudde,

I'm wondering if your setup is forwarding requests from
dspace-test.hio.no:8080 to dspace-test.hio.no (removing the port
specification) and if SOLR is having trouble with the (302) redirection. Be
sure to check your solr.log.server, in your dspace.cfg file and make sure
that doesn't have 8080 in it. You would probably want that to be...
solr.log.server = https://dspace-test.hio.no/solr/statistics

Also, check to see if you can view the solr frontend from your browser. i.e.
go to http://dspace-test.hio.no/solr/

When someone added the forwarding from the servlet port (8080) to apache (80
or omitted on the browser) on that machine, perhaps they only added it for
the interfaces in use at the time: jspui, oai, sword, ... but maybe not for
solr. So you might need to add a rule for getting to solr as well. Also
viewing the /solr page might only work if you can open a browser from the
server, as there is a local-only restriction in place. If this is a linux
machine, you should be able to see what can be seen locally for solr with
the command:
wget http://localhost/solr -O -
or
wget https://dspace-test.hio.no/solr -O -

If it says Welcome to Solr in there somewhere that it is working and
visible, so then the solr log importer should be working.

Versågod

Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries



On Wed, Apr 21, 2010 at 10:25 AM, keith.gilbert...@library.gatech.eduwrote:

 Hi,

 I think that part of what's happening is that your request to
 http://dspace-test.hio.no:8080/solr/statistics is being forwarded to
 somewhere else.

 See this output from the command line:

 wget http://dspace-test.hio.no/solr/statistics
 --2010-04-21 09:12:25--  http://dspace-test.hio.no/solr/statistics
 Resolving dspace-test.hio.no... 158.36.78.39
 Connecting to dspace-test.hio.no|158.36.78.39|:80... connected.
 HTTP request sent, awaiting response... 302 Moved Temporarily
 Location: https://dspace-test.hio.no/solr/statistics [following]


 The last couple of lines show my http request being forwarded to https,
 with a Moved Temporarily message.  Is it possible something similar is
 happening on your end?

 If that's the case, you might need to
  - make an adjustment to solr.log.server in your dspace.cfg file and set it
 to the final url

   OR


   - make an adjustment somewhere else on your system to prevent requests to
 /solr/statistics from being forwarded/forced to https.

 --keith



 - Original Message -
 From: Trude Eikebrokk trude.eikebr...@hio.no
 To: dspace-tech@lists.sourceforge.net
 Sent: Wednesday, April 21, 2010 8:30:09 AM GMT -05:00 US/Canada Eastern
 Subject: [Dspace-tech] Solr error: moved temporarily

 I'm joining the wave of SOLR-error reports.
 As I'm unfortunately not a programmer, I'd appreciate any help!

 I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version
 1.6.0_20.

 Whenever I try to use solr I get an Moved Temporarily.exception. Below
 is what happens when I try to convert the log-files.

 [r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i
 /opt/dspace/dspace.dir/log/solr.log -m
 Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics
 solr.log.2010-03-24
 Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24

 Line:2010032431852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2
 ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city =
 Moved Temporarily

 Moved Temporarily

 request:

 http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2
 org.apache.solr.common.SolrException: Moved Temporarily

 Moved Temporarily

 request:

 http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2
 at

 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)
 at

 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
 at

 org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
 at

 org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361)
 at

 org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493)
 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:194)
 Processed 1 log lines
  - 0 entries added to solr: 0%
  - 1 errors: 100%
  - 0 search engine activity skipped: 0%
 About to commit data to solr...Exception: Moved Temporarily

 Moved Temporarily

 request: http://dspace-test.hio.no:8080/solr/statistics/update
 

[Dspace-tech] Can rebuild process go faster (DSpace 1.6)?

2010-04-21 Thread Georgia Solomou
Hi,

 

I am working with DSpace 1.6 and for the first time with the whole Maven
rebuild/update thing. When I make a change to a JSP file ( I place my edited
version in the [dspace-source]/dspace/modules/jspui/src/main/webapp/
directory ), I quick rebuild DSpace following the standard rebuild
process. But this seems a bit slow to me, at least comparing to what I was
used to ( I have worked with version 1.4.2 previously). So, in DSpace 1.6,
is it necessary to always re-compile and package all modules? I mean, if I
only modify a JSP file, is there any way to re-compile only the jspui module
and thus to accelerate the rebuild process? 

 

Thank you in advance.

Georgia Solomou


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

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


[Dspace-tech] LDAP with DSpace

2010-04-21 Thread Max McGrath
Hi all -

Completely new to DSpace.  Liking it so far.  We are running version 1.6.0
on Windows 2003 server.

Trying to get LDAP authentication to work against our Novell eDirectory and
it is not currently working.  I think I have all the appropriate config
setup in the dspace.cfg file.  Here is the error that I'm seeing in the
logs.  I really do not know what to make of it.

2010-04-21 12:09:43,865 INFO  org.dspace.authenticate.LDAPAuthentication @
anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:auth:attempting
trivial auth of user=mmcgrath
2010-04-21 12:09:44,083 WARN  org.dspace.authenticate.LDAPAuthentication @
anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:ldap_authentication:type=failed_auth
javax.naming.AuthenticationException\colon; [LDAP\colon; error code 32 - NDS
error\colon; no such entry (-601)]
2010-04-21 12:09:44,083 INFO  org.dspace.authenticate.PasswordAuthentication
@ 
anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:authenticate:attempting
password auth of user=mmcgrath
2010-04-21 12:09:44,083 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil
@ 
anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:failed_login:email=mmcgrath,
realm=null, result=4

LDAP works on other servers to eDirectory so that's not the issue.  One
question I do have is, normally I have to specify a user (bind user I
think??) to connect to LDAP to read LDAP info.  I didn't have to do that in
DSpace, is that correct?

Any help is appreciated!!

Thanks!
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to use my SRW as Authority control

2010-04-21 Thread Mark Diggory
Joan,

Authority Control in DSpace is new functionality and having
a connection against SRW/U will require creating a plugin to support it.
This said, I assume we are probably talking about OpenSearch or some other
standard as the protocol for such as connector so it can be utilized against
other OpenSearch services.

There are a couple project I am interested in moving forward this year and
seeing others int he community interested in participating.

1.) Migrating the DSpace SRW/U service onto DSpace Discovery/Solr

2.) Integrating Discovery into DSpace as its own Authority Control

3.) Migrating the Authority Control work done in DSpace 1.6 to be based
wholly on the dspace-services framework.

So, Joan, would it be possible for you to document your approach / effort in
the new DSpace WIKI so we can see if where we can connect the dots further?
 Likewise, once we see more clearly the areas that need work, we can begin
to open some JIRA issues to start to schedule/outline the work needing to
get done.

Cheers,
Mark

On Wed, Apr 21, 2010 at 9:09 AM, LeVan,Ralph le...@oclc.org wrote:

 Joan, I'm afraid I don't know how the Authority Control software works
 to be very helpful.  The error you're getting may be because you've not
 correctly pointed the Authority Control software at your server.  It
 could be that the software is expecting a particular index to be
 available and you haven't provided it.  Do you know what index it is
 expecting to search?

 Ralph

  -Original Message-
  From: Joan Caparros [mailto:jcapar...@cesca.es]
  Sent: Wednesday, April 21, 2010 11:06 AM
  To: dspace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] How to use my SRW as Authority control
 
  I have tried to use one of my SRW servers instead of the oficial lc
  name Authority author from Library of Congress,
  has anyone configured correctly the DSpace.SRWDatabase.props to made
 it
  work?
 
  Actually I have modified the file, and I'm getting some results, but
 I'm
  not sure if I'm in the right way, because the lookup select input is
  still saying that non of my authors are in the Naming Authority.
 
  indexSynonym.dc.description.statementofresponsibility=author
  indexSynonym.dc.title=title
  indexSynonym.dc.subject=keyword
  indexSynonym.dc.description.abstract=abstract
  indexSynonym.dc.description.tableofcontents=abstract
  indexSynonym.dc.relation.ispartofseries=series
  indexSynonym.dc.format.mimetype=mime
  indexSynonym.dc.description.sponsorship=sponsor
  indexSynonym.dc.identifier=id
  indexSynonym.cql.serverChoice=default
 
 
  xmlSchemas= dc, marcxml
  marcxml=/dades/dspace/SRW/DC2MARC21slim.xsl
  marcxml.identifier=info:srw/schema/1/marcxml-v1.1
 
 marcxml.location=http://www.loc.gov/standards/marcxml/schema/MARC21slim.
 x
  sd
  marcxml.namespace=http://www.loc.gov/MARC21/slim
  marcxml.title=marcxml
  dc.identifier=info:srw/schema/1/dc-v1.1
  dc.location=http://www.loc.gov/zing/srw/dc-schema.xsd
  dc.namespace=http://www.oclc.org/DC
  dc.title=dc: Dublin Core Elements
 
  databaseInfo.title=DSpace Database
  databaseInfo.description=Records stored in our local DSpace Repository
  databaseInfo.contact=joancaparros
 
  #configInfo.maximumRecords=20
 
  #explainStyleSheet=/dades/dspace/SRW/explainResponse.xsl
  #scanStyleSheet=/dades/dspace/SRW/scanResponse.xsl
  #searchStyleSheet=/dades/dspace/SRW/searchRetrieveResponse.xsl
 
  contextSet.cql=info:srw/cql-context-set/1/cql-v1.1
  contextSet.dc=info:srw/cql-context-set/1/dc-v1.1
 
  # The default access point and result-set references
  qualifier.cql.serverChoice  = 1=1016
  qualifier.cql.resultSetId   = @set
 
  # Dublin Core access points
  qualifier.dc.creator   = 1=1003
  qualifier.dc.contributor   = 1=1003
  qualifier.dc.description.statementofresponsibility = 1=1003
  qualifier.dc.title = 1=4
  qualifier.dc.subject   = 1=21
  qualifier.dc.description.abstract  = 1=62
  qualifier.dc.description.tableofcontents   = 1=62
  qualifier.dc.relation.ispartofseries   = 1=234
  qualifier.dc.format.mimetype   = 1=1034
  qualifier.dc.description.sponsorship   = 1=123
  qualifier.dc.identifier= 1=12
 
 
 
 --
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech




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




-- 
Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions

Re: [Dspace-tech] LDAP with DSpace

2010-04-21 Thread Max McGrath
Hi all -

I got LDAP working now, so that is not a problem anymore.  I do have a
problem with needing to search multiple OUs, I can only figure out how to
setup the config to search one OU.  We run Novell 6.5 and have a container
for STUDENTS (ou=STUDENTS,o=CARTHAGE), a container for STAFF
(ou=STAFF,o=CARTHAGE), and a container for FACULTY (ou=FACULTY,o=CARTHAGE).

How can I set it up in dspace.cfg to have all three of those as a search
base?  I've tried just using o=CARTHAGE, and that doesn't seem to work.

Thanks for any info!
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu


On Wed, Apr 21, 2010 at 12:17 PM, Max McGrath mmcgr...@carthage.edu wrote:

 Hi all -

 Completely new to DSpace.  Liking it so far.  We are running version 1.6.0
 on Windows 2003 server.

 Trying to get LDAP authentication to work against our Novell eDirectory and
 it is not currently working.  I think I have all the appropriate config
 setup in the dspace.cfg file.  Here is the error that I'm seeing in the
 logs.  I really do not know what to make of it.

 2010-04-21 12:09:43,865 INFO  org.dspace.authenticate.LDAPAuthentication @
 anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:auth:attempting
 trivial auth of user=mmcgrath
 2010-04-21 12:09:44,083 WARN  org.dspace.authenticate.LDAPAuthentication @
 anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:ldap_authentication:type=failed_auth
 javax.naming.AuthenticationException\colon; [LDAP\colon; error code 32 - NDS
 error\colon; no such entry (-601)]
 2010-04-21 12:09:44,083 INFO
  org.dspace.authenticate.PasswordAuthentication @
 anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:authenticate:attempting
 password auth of user=mmcgrath
 2010-04-21 12:09:44,083 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil
 @ 
 anonymous:session_id=3682296498F0D4017435912AA44E753C:ip_addr=10.7.5.29:failed_login:email=mmcgrath,
 realm=null, result=4

 LDAP works on other servers to eDirectory so that's not the issue.  One
 question I do have is, normally I have to specify a user (bind user I
 think??) to connect to LDAP to read LDAP info.  I didn't have to do that in
 DSpace, is that correct?

 Any help is appreciated!!

 Thanks!
 --
 Max McGrath
 Asst. Network Admin/Systems Specialist
 Carthage College
 262-552-5512
 mmcgr...@carthage.edu

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


[Dspace-tech] A little guidance please

2010-04-21 Thread John Preston
Hi, I am seeking a little guidance here. I am setting up adore-djatoka with
dspace 1.6. I have a dsrunable java class that goes through my collections
and looks for all large image files and creates jpeg2000 versions of these
under a particular directory. After creating the jp2 version of the file I
want to create a dummy file in a new JP2000 bundle that I can manipulate
within the xmlui to add a clickable link that will popup the adore-djatoka
viewer to give access to the jp2 file.

My question is how best should I store the jp2 file location, using a
specific jp2 bundle say, to be able to manipulate it within the xmlui. Also
how would the xsl code like like to access the name of the jp2 file location

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


Re: [Dspace-tech] A little guidance please

2010-04-21 Thread Mark Diggory
I think there are two strategies here

1.) Store the generated jp2 in a bitstream, create your own bundle, name it
whatever you want or store it next to the existing bitstream in the content
bundle if you want to also share the generated file for others to use.  Then
expose the filesystem location of the file to your adore-jakota viewer.

2.) Store the generated jp2 file in an external directory that can be
calculated and rather than storing anything about this detail in the Item,
come up with a way to calculate the location of that file, if it exists,
then show your viewer.

(1) violates the storage layer boundary of DSpace, in the future you may not
have filesystem access to that file, but your getting the benefit of storing
the jp2 file in the assetstore as well. (2) is more respectful of the
storage boundary and but doesn't assure any preservation storage of your
generated file within DSpace.

I would choose 2 over 1 because it separates your implementation from dspace
internals, and in XMLUI can be implemented entirely in the theming tier

You could take your own approach and generate a bundle/bitstream with some
sort of file system reference to the file. But there may be less chance of
breakage by repo managers if its a calculated reference rather than a stored
reference.

I like (2) and if we had the development resources, I'd promote the idea
that we should have more than one possible storage tier for DSpace,
allowing maintainers to create there own separate storage locations for
derivatives that may require specific storage/access requirements and access
to by other applications. The work you do here could go to producing such an
API.

Cheers,
Mark

On Wed, Apr 21, 2010 at 2:55 PM, John Preston byhisde...@gmail.com wrote:

 Hi, I am seeking a little guidance here. I am setting up adore-djatoka with
 dspace 1.6. I have a dsrunable java class that goes through my collections
 and looks for all large image files and creates jpeg2000 versions of these
 under a particular directory. After creating the jp2 version of the file I
 want to create a dummy file in a new JP2000 bundle that I can manipulate
 within the xmlui to add a clickable link that will popup the adore-djatoka
 viewer to give access to the jp2 file.

 My question is how best should I store the jp2 file location, using a
 specific jp2 bundle say, to be able to manipulate it within the xmlui. Also
 how would the xsl code like like to access the name of the jp2 file location

 John


 --

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




-- 
Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Can rebuild process go faster (DSpace 1.6)?

2010-04-21 Thread Mark Diggory
Georgia,

You can use the non-src release version which does not have those modules
in it, likewise, you can just remove the [dspace-source]/dspace-xxx modules
from your source tree and they will be downloaded from maven rather than
built. This will speed your build process.

Mark

On Wed, Apr 21, 2010 at 10:41 AM, Georgia Solomou 
solo...@hpclab.ceid.upatras.gr wrote:

  Hi,



 I am working with DSpace 1.6 and for the first time with the whole Maven
 rebuild/update thing. When I make a change to a JSP file ( I place my edited
 version in the 
 *[dspace-source]/dspace/modules/jspui/src/main/webapp/*directory ), I “quick 
 rebuild” DSpace following the standard rebuild
 process. But this seems a bit slow to me, at least comparing to what I was
 used to ( I have worked with version 1.4.2 previously). So, in DSpace 1.6,
 is it necessary to always re-compile and package all modules? I mean, if I
 only modify a JSP file, is there any way to re-compile only the jspui module
 and thus to “accelerate” the rebuild process?



 Thank you in advance.

 Georgia Solomou

 --
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.

 --

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




-- 
Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SOLR startup failure

2010-04-21 Thread Mark Diggory
Tonny,

Solr doesn't add the jar because most jvm's these days have a sun
branded version of Xalan, are you using GCJ or something other than
OpenJDK/Sun?

Mark

On Wed, Apr 21, 2010 at 5:33 AM, Tonny Hjelmberg Laursen thl@cbs.dk wrote:

 It was a problem with xalan.jar, it did not exist in the Tomcat CLASS
 PATH. I added/copied the file and now is SOLR working.

 #cp [dspace]/lib/xalan-2.7.0.jar /usr/share/tomcat5/shared/lib



 --
 Venlig hilsen | Kind Regards

 Tonny Hjelmberg Laursen
 Systemadministrator

 CBS Library IT
 Copenhagen Business School
 Solbjerg Plads 3 (D2.30), DK-2000 Frederiksberg
 Tel.: (+45) 3815 3697 | Mob.: (+45) 2427 3242 | thl@cbs.dk




 Den 21-04-2010 13:14, Tonny Hjelmberg Laursen skrev:
 Im having a problem with SOLR when I start tomcat5. In my catalina.out I
 receive the error below. It's on a upraded installation from 1.5.2 to
 1.6. Everything else seems to work in Dspace. It's running on a Redhat
 ES 5.4,  Java 1.5.0_22, Tomcat 5-5.5.23.

 My DSpace install location is /www/dspace

 Any ideas?

 Thanks,
 Tonny


 INFO: Loading provided config file: /www/dspace/config/dspace.cfg
 INFO: Using dspace provided log configuration (log.init.config)
 INFO: Loading: /www/dspace/config/log4j.properties
 - Loading provided config file: /www/dspace/config/dspace.cfg
 - Using dspace provided log configuration (log.init.config)
 - Loading: /www/dspace/config/log4j.properties
 Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter init
 INFO: SolrDispatchFilter.init()
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader
 locateInstanceDir
 INFO: Using JNDI solr.home: /www/dspace/solr
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.CoreContainer$Initializer
 initialize
 INFO: looking for solr.xml: /www/dspace/solr/solr.xml
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoaderinit
 INFO: Solr home set to '/www/dspace/solr/'
 Apr 21, 2010 11:51:35 AM org.apache.solr.core.SolrResourceLoader
 createClassLoader
 INFO: Reusing parent classloader
 Apr 21, 2010 11:51:35 AM org.apache.solr.servlet.SolrDispatchFilter init
 SEVERE: Could not start SOLR. Check solr/home property
 java.lang.ExceptionInInitializerError
           at org.apache.solr.core.CoreContainer.load(CoreContainer.java:169)
           at
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:104)
           at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)
           at
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
           at
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
           at
 org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:78)
           at
 org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
           at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:4218)
           at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
           at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
           at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
           at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
           at
 org.apache.catalina.core.StandardService.start(StandardService.java:448)
           at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
           at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
           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:592)
           at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
           at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
 Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed
 to create an XPathFactory for the default object model:
 http://java.sun.com/jaxp/xpath/dom with the
 XPathFactoryConfigurationException:
 javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
 implementation found for the object model:
 http://java.sun.com/jaxp/xpath/dom
           at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
           at org.apache.solr.core.Config.clinit(Config.java:41)
           ... 21 more
 Apr 21, 2010 11:51:35 AM org.apache.catalina.core.StandardContext
 filterStart
 SEVERE: Exception starting filter SolrRequestFilter
 java.lang.NoClassDefFoundError: org.apache.solr.core.Config
           at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:76)
           at
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
           at
 

Re: [Dspace-tech] I wonder if anyone knows how to install a language pack when using MANAKIN/XMLUI?

2010-04-21 Thread Mark Diggory
The currently provided language packs are already delivered to your build by
default during the maven build process. If you wish to override any, you can
place copies of those files into

for messages.properties
[dspace-src]/dspace/modules/dspace-xmlui/src/main/resources/messages_LANG_CODE.properties

for messages.xml
[dspace-src]/dspace/modules/dspace-xmlui/src/main/webapp/i18n/messages_LANG_CODE.xml

If you make changes to existing language files or add a new language, please
submit your changes in JIRA so they may be shared with the community.

Mark

2010/4/21 Magnus Norberg mango_pa...@hotmail.com

  Hello everyone,

 I wonder if anyone knows how to install a language pack when using
 MANAKIN/XMLUI?

 Thank you!

 /Greetings from Magnus Norberg, Sweden
 --
 Ladda ner världens mest använda webbläsare nu. Ta med dig Hotmail i
 mobilen!http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx


 --

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




-- 
Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace :help

2010-04-21 Thread Wally Grotophorst
You want to start Tomcat at system boot, right?  If so, then the support doc 
that talks about login items isn't what you're looking for.

Try putting your startup script in the /Library/StartupItems folder.  

Later versions of OS X use a different method and if you upgrade your system 
i'll send you info on that.

- Wally

Wally Grotophorst
Associate University Librarian
Digital Programs and Systems
University Libraries
George Mason University
Fairfax, Virginia 22030
(703) 993-9005 




On Apr 21, 2010, at 11:15 AM, Peter Dietz wrote:

 Hey Kumara,
 
 Check out: http://support.apple.com/kb/HT2602
 
 Or perhaps even: 
 http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPSystemStartup/BPSystemStartup.html
 
 I think you should be able to add an entry to start tomcat automatically with 
 one of those.
 
 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries
 
 
 
 On Wed, Apr 21, 2010 at 4:12 AM, Kumara SS kumarass2...@gmail.com wrote:
 Hi all,
 
  I have one question.
 I am using MAC OS X 10.4. The dspace is working fine.
 But when i restart the system, the tomcat is not running automatically.
 
 How to start the tomcat at system start?
 
 I am starting the tomcat manually by
 /usr/local/apache-tomcat-5.5.28/bin/startup.sh every time the system
 starts.
 
 Please reply...
 
 Thanks in advance
 
 With regards
 Kumara SS
 
 --
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 --
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

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