[Dspace-tech] 2 Tier Dspace Implementation

2007-03-26 Thread Jayan Chirayath Kurian
Hi! Stuart,

 

(1) Postgresql 8.2.1-1 was installed on the DB server,
dspace.student.main.ntu.edu.sg. 

(2) JDK 1.6.0 and Tomact 6.0 was installed on the Client
dspaceweb1.student.main.ntu.edu.sg

(3) Dspace 1.4.1 was extracted to the client dspaceweb1.

a.   The postgresql-8.2-504.jdbc2.jar  file was copied from the DB
server to the client's lib folder

b.In the client, DSpace config file is modified as db.url =
jdbc:postgresql://dspace.student.main.ntu.edu.sg:5432/dspace

c.The JDBC Driver (db.driver = org.postgresql.Driver) and Database
username and password (db.username = dspace, db.password = dspace) was
not modified.

 

While giving ant fresh_install from the client dspaceweb1 (Dspace
source), database connectivity error from the server is given and build
is unsuccessful. I pinged from the client to the server which is fine. 

 

Please suggest where I have gone wrong. The error list is given below.

 

Thanks,

Jayan

 

 

 

Database connectivity error:-

 

Buildfile: build.xml

 

compile:

 

install_code:

 

build_wars:

 

init_configs:

 

setup_database:

 [java] 2007-03-26 16:35:24,862 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database

 [java] 2007-03-26 16:35:24,878 INFO
org.dspace.core.ConfigurationManager @ DSpace logging installed using
log4j.properties

 [java] 2007-03-26 16:35:27,018 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:

 [java] org.postgresql.util.PSQLException: Connection refused. Check
that the hostname and port are correct and that the postmaster is
accepting TCP/IP connections.

 [java] Exception: java.net.ConnectException: Connection refused:
connect

 [java] Stack Trace:

 [java] java.net.ConnectException: Connection refused: connect

 [java]at java.net.PlainSocketImpl.socketConnect(Native
Method)

 [java]at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

 [java]at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

 [java]at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

 [java]at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

 [java]at java.net.Socket.connect(Socket.java:519)

 [java]at java.net.Socket.connect(Socket.java:469)

 [java]at java.net.Socket.init(Socket.java:366)

 [java]at java.net.Socket.init(Socket.java:179)

 [java]at
org.postgresql.core.PGStream.init(PGStream.java:59)

 [java]at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti
onFactoryImpl.java:77)

 [java]at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.j
ava:66)

 [java]at
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connect
ion.java:125)

 [java]at
org.postgresql.jdbc2.Jdbc2Connection.init(Jdbc2Connection.java:24)

 [java]at
org.postgresql.Driver.makeConnection(Driver.java:382)

 [java]at org.postgresql.Driver.connect(Driver.java:260)

 [java]at
java.sql.DriverManager.getConnection(DriverManager.java:582)

 [java]at
java.sql.DriverManager.getConnection(DriverManager.java:185)

 [java]at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(
DriverManagerConnectionFactory.java:48)

 [java]at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableCon
nectionFactory.java:290)

 [java]at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjec
tPool.java:840)

 [java]at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)

 [java]at
java.sql.DriverManager.getConnection(DriverManager.java:582)

 [java]at
java.sql.DriverManager.getConnection(DriverManager.java:207)

 [java]at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.j
ava:717)

 [java]at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:10
62)

 [java]at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java
:71)

 [java] End of Stack Trace

 [java] 

 [java]at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti
onFactoryImpl.java:122)

 [java]at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.j
ava:66)

 [java]at
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connect
ion.java:125)

 [java]at
org.postgresql.jdbc2.Jdbc2Connection.init(Jdbc2Connection.java:24)

 [java]at
org.postgresql.Driver.makeConnection(Driver.java:382)

 [java]at org.postgresql.Driver.connect(Driver.java:260)

 [java]at

Re: [Dspace-tech] 2 Tier Dspace Implementation

2007-03-26 Thread Stuart Lewis [sdl]
Hi Jayan.
 
Take a look at the line that says:
 
[java] org.postgresql.util.PSQLException: Connection refused. Check that
the hostname and port are correct and that the postmaster is accepting
TCP/IP connections.

To do this:

1) Check that postmaster is accepting incoming connections on the
correct port. You can test this by using 'telnet
dspace.student.main.ntu.edu.sg:5432' and seeing if you get a response.
 
2) Take a look at [postgres]/data/pg_hba.conf to make sure that you have
allowed connections for the dspace user to postgres from dspaceweb1.
That file contains comments about how to configure access.
 
Hope this helps,
 
 
Stuart
_

Datblygydd Cymwysiadau'r WeWeb Applications Developer
Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860   
_
  




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jayan
Chirayath Kurian
Sent: 26 March 2007 10:00
To: Stuart Lewis [sdl]
Cc: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] 2 Tier Dspace Implementation



Hi! Stuart,

 

(1) Postgresql 8.2.1-1 was installed on the DB server,
dspace.student.main.ntu.edu.sg. 

(2) JDK 1.6.0 and Tomact 6.0 was installed on the Client
dspaceweb1.student.main.ntu.edu.sg

(3) Dspace 1.4.1 was extracted to the client dspaceweb1.

a.   The postgresql-8.2-504.jdbc2.jar  file was copied from the DB
server to the client's lib folder

b.In the client, DSpace config file is modified as db.url =
jdbc:postgresql://dspace.student.main.ntu.edu.sg:5432/dspace

c.The JDBC Driver (db.driver = org.postgresql.Driver) and Database
username and password (db.username = dspace, db.password = dspace) was
not modified.

 

While giving ant fresh_install from the client dspaceweb1 (Dspace
source), database connectivity error from the server is given and build
is unsuccessful. I pinged from the client to the server which is fine. 

 

Please suggest where I have gone wrong. The error list is given below.

 

Thanks,

Jayan

 

 

 

Database connectivity error:-

 

Buildfile: build.xml

 

compile:

 

install_code:

 

build_wars:

 

init_configs:

 

setup_database:

 [java] 2007-03-26 16:35:24,862 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database

 [java] 2007-03-26 16:35:24,878 INFO
org.dspace.core.ConfigurationManager @ DSpace logging installed using
log4j.properties

 [java] 2007-03-26 16:35:27,018 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:

 [java] org.postgresql.util.PSQLException: Connection refused. Check
that the hostname and port are correct and that the postmaster is
accepting TCP/IP connections.

 [java] Exception: java.net.ConnectException: Connection refused:
connect

 [java] Stack Trace:

 [java] java.net.ConnectException: Connection refused: connect

 [java]at java.net.PlainSocketImpl.socketConnect(Native
Method)

 [java]at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

 [java]at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

 [java]at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

 [java]at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

 [java]at java.net.Socket.connect(Socket.java:519)

 [java]at java.net.Socket.connect(Socket.java:469)

 [java]at java.net.Socket.init(Socket.java:366)

 [java]at java.net.Socket.init(Socket.java:179)

 [java]at
org.postgresql.core.PGStream.init(PGStream.java:59)

 [java]at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti
onFactoryImpl.java:77)

 [java]at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.j
ava:66)

 [java]at
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connect
ion.java:125)

 [java]at
org.postgresql.jdbc2.Jdbc2Connection.init(Jdbc2Connection.java:24)

 [java]at
org.postgresql.Driver.makeConnection(Driver.java:382)

 [java]at org.postgresql.Driver.connect(Driver.java:260)

 [java]at
java.sql.DriverManager.getConnection(DriverManager.java:582)

 [java]at
java.sql.DriverManager.getConnection(DriverManager.java:185)

 [java]at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(
DriverManagerConnectionFactory.java:48)

 [java]at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableCon
nectionFactory.java:290)

 [java]at

Re: [Dspace-tech] Submission System for DSpace 1.4.1

2007-03-26 Thread Tim Donohue
Jayan,

My Configurable Submission System presentation from OR2007 is available 
for download at:
http://hdl.handle.net/2142/207

A new version of the Configurable Submission System will be out very 
soon (likely today), and will be posted to SourceForge.  The big change 
is that it is now fully compatible with Manakin (so you can use it with 
either the current JSP UI or the upcoming Manakin XML UI).   This is all 
in preparation for its release as a part of DSpace alongside Manakin.

- Tim

-- 


Tim Donohue
Research Programmer, Illinois Digital Environment for
Access to Learning and Scholarship (IDEALS)
135 Grainger Engineering Library
University of Illinois at Urbana-Champaign

email: [EMAIL PROTECTED]
web:   http://www.ideals.uiuc.edu
phone: (217) 333-4648
fax:   (217) 244-7764




Jayan Chirayath Kurian wrote:
 **Hi!**
 
 ** **
 
 **Any one has implemented configurable Submission System for DSpace 
 1.4.1. I find **Tim Donohue had a presentation in OR2007.
 
 Is this presentation accessible? Please suggest where I can get relevant 
 resources for customizing DSpace submission workflow.
 
  
 
 Thanks,
 
 Jayan
 
 * *
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Remove the navbar

2007-03-26 Thread amandil001
Hallo,
if I would like to remove (for example) the navbar in the search
results page, how should I send the proper attribute to the jsp file?

In the header-default.jsp there is the control if
(!navbar.equals(off)). I thought to send this attribute via the
SimpleSearchServlet.java, but putting request.setAttribute(navbar,
off); doesn't give me the expected result.

Anyone could help me, please?

Thanks,
Mauro

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Remove the navbar

2007-03-26 Thread Claudia Juergen
Hi Mauro,


to disable the navbar in any jsp you got to set the navbar attribute in
the dspace layout tag to off.

Search for dspace:layout  in the appropriate jsp and change the existing
navbar attribute. If no navbar attribute is given add navbar=off.

Then you got to build and deploy the dspace.war

Claudia


 Hallo,
 if I would like to remove (for example) the navbar in the search
 results page, how should I send the proper attribute to the jsp file?

 In the header-default.jsp there is the control if
 (!navbar.equals(off)). I thought to send this attribute via the
 SimpleSearchServlet.java, but putting request.setAttribute(navbar,
 off); doesn't give me the expected result.

 Anyone could help me, please?

 Thanks,
 Mauro

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Internal System Error attemting to create a community

2007-03-26 Thread mfigura
Hello,

 

When attempting to create a community I get an internal system error.
Could this be permissions?

 

The system emails the following:

 

 

An internal server error occurred on
http://sysoff.binghamton.edu:8080/dspace:

 

Date:   3/26/07 11:03 AM

Session ID: C7BE4A62C097D900CEC011B16DE9281C

 

-- URL Was:
http://sysoff.lib.binghamton.edu:8080/dspace/dspace-admin/edit-communiti
es

-- Method: POST

-- Parameters were:

-- copyright_text: 

-- action: 7

-- parent_community_id: -1

-- create: true

-- short_description: 

-- side_bar_text: 

-- introductory_text: 

-- name: Edward A. Link Collection

-- submit_authorization_edit: Edit...

 

 

Exception:

java.io.FileNotFoundException: /dspace/search/_1.fnm (Permission denied)

  at java.io.RandomAccessFile.open(Native Method)

  at java.io.RandomAccessFile.init(RandomAccessFile.java:212)

  at
org.apache.lucene.store.FSIndexOutput.init(FSDirectory.java:498)

  at
org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:324)

  at org.apache.lucene.index.FieldInfos.write(FieldInfos.java:255)

  at
org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:176
)

  at
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:88)

  at
org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:709)

  at
org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:686)

  at
org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:65
6)

  at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:402)

  at org.dspace.search.DSIndexer.closeIndex(DSIndexer.java:315)

  at org.dspace.search.DSIndexer.indexContent(DSIndexer.java:118)

  at org.dspace.search.DSIndexer.reIndexContent(DSIndexer.java:176)

  at org.dspace.content.Community.update(Community.java:441)

  at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirm
EditCommunity(EditCommunitiesServlet.java:410)

  at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditC
ommunitiesServlet.java:230)

  at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.
java:147)

  at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105
)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

  at
org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter.jav
a:103)

  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)

  at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

  at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)

  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)

  at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)

  at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)

  at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

  at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

  at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

  at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)

  at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)

  at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)

  at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)

  at java.lang.Thread.run(Thread.java:595)

 

 

 

Thanks,

Mike Figura

Binghamton University 

Re: [Dspace-tech] Lucene error

2007-03-26 Thread Cameron, Jacob
Hi Stuart,

I changed dsrun line:

java -Xmx256m -classpath $FULLPATH $@ 

To

/usr/java/jdk1.5.0_11/bin/java -Xmx256m -classpath $FULLPATH $@

And it's working great now!  Thanks!

-- 
Jake Cameron, BCSc(UNB)
Technical Specialist III
Library Systems and Web Services
University of Lethbridge
Phone: (403) 329-2756
Office: L1110C
Email: [EMAIL PROTECTED] 

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 26, 2007 9:01 AM
To: Cameron, Jacob; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Lucene error

Hi Jacob,

Have you been able to try running index-all using a Sun JDK rather than
the GNU JDK?  

The following line in your stack trace shows that you are running the
GNU version:

at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)

Warning: -Xmx256m not understood. Ignoring. also suggests you are not
using the Sun JDK.

You might need to explicitly define where your Sun JDK is in
[dspace]/bin/dsrun

Thanks,


Stuart
_

Datblygydd Cymwysiadau'r WeWeb Applications Developer
Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cameron,
Jacob
Sent: 26 March 2007 15:51
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Lucene error

Hey everyone,

Anyone have any ideas or suggestions on what I can do to stop this error
when I run index-all.  I'm running JDK1.5.0_11.

Creating browse index
Warning: -Xmx256m not understood. Ignoring.
Indexing all Items in DSpace ... Done Creating search index
Warning: -Xmx256m not understood. Ignoring.
Exception in thread main java.lang.IncompatibleClassChangeError: field
org.apache.lucene.analysis.standard.StandardFilter.tokenImage was not
found.   
   at _Jv_ResolvePoolEntry(java.lang.Class, int)
(/usr/lib/libgcj.so.5.0.0)
   at org.apache.lucene.analysis.standard.StandardFilter.clinit()
(Unknown Source)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
   at org.dspace.search.DSAnalyzer.tokenStream(java.lang.String,
java.io.Reader) (Unknown Source)
   at
org.apache.lucene.index.DocumentWriter.invertDocument(org.apache.lucene.
document.Document) (Unknown Source)
   at
org.apache.lucene.index.DocumentWriter.addDocument(java.lang.String,
org.apache.lucene.document.Document) (Unknown Source)
   at
org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume
nt.Document, org.apache.lucene.analysis.Analyzer) (Unknown Source)
   at
org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume
nt.Document) (Unknown Source)
   at
org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.Ind
exWriter, int, java.lang.String, java.util.HashMap, java.lang.String)
(Unknown Source)
   at
org.dspace.search.DSIndexer.writeCommunityIndex(org.dspace.core.Context,
org.apache.lucene.index.IndexWriter, org.dspace.content.Community)
(Unknown Source)
   at
org.dspace.search.DSIndexer.indexAllCommunities(org.dspace.core.Context,
org.apache.lucene.index.IndexWriter) (Unknown Source)
   at org.dspace.search.DSIndexer.createIndex(org.dspace.core.Context)
(Unknown Source)
   at org.dspace.search.DSIndexer.main(java.lang.String[]) (Unknown
Source)



--
Jake Cameron, BCSc(UNB)
Technical Specialist III
Library Systems and Web Services
University of Lethbridge
Phone: (403) 329-2756
Office: L1110C
Email: [EMAIL PROTECTED] 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Media Filter

2007-03-26 Thread Cameron, Jacob
Is media filter able to pull any text out of the straight image-based
PDF's (like the ones Library and Archives Canada returns to people)?
Most of these pdfs were taken from microfilm from LAC and I have a
sneaking suspicion that the answer will probably be no.

Jake

-- 
Jake Cameron, BCSc(UNB)
Technical Specialist III
Library Systems and Web Services
University of Lethbridge
Phone: (403) 329-2756
Office: L1110C
Email: [EMAIL PROTECTED] 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] ui customization question

2007-03-26 Thread Sarah Ryder

Hello All

I'm attempting to change the display on my item search to reflect different 
metadata.  I've changed dspace.cfg to change the functionality, and I've also 
changed Message.properties to reflect the proper display items, but for some 
reason on my search results and item display page I'm getting the following for 
labels:
???itemlist.dc.date???
???itemlist.dc.title.preferred???
and
???metadata.dc.title.preferred???
???metadata.dc.date???

The functionality seems to be working, but the labels are incorrect.  Is there 
maybe something I need to do/run after changing Message.properties?

Thanks in advance for any suggestions you may have.

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] sshfs assetstore and index-all

2007-03-26 Thread Monika Mevenkamp

I run vanilla dspace-1.4
with postgres
on Ubuntu

I used sshfs to mount the assetstore:
sshfs -o allow_other [EMAIL PROTECTED]:/dspace/assetstore
/var/www/dspace_root/assetstore
I am trying to access the test assetsore on another machine, which is too
big to be copied.
Is there something inherently wrong with doing sshfs ?

As the dspace user I can list,view, and touch files in the assetstore
but index-all still dies ungracefully as follows:

Creating browse index
Indexing all Items in DSpace2007-03-26 17:50:21,124 INFO
org.dspace.core.ConfigurationManager @ DSpace logging installed using
log4j.properties
... Done
Creating search index
2007-03-26 17:50:55,060 INFO  org.dspace.core.ConfigurationManager @ DSpace
logging installed using log4j.properties
2007-03-26 17:50:59,871 DEBUG
org.dspace.storage.bitstore.BitstreamStorageManager @ Local filename for
107718164672031636339452188487841053759 is
/dspace/assetstore/10/77/18/107718164672031636339452188487841053759
2007-03-26 17:50:59,871 DEBUG
org.dspace.storage.bitstore.BitstreamStorageManager @ IinputBitStream
/dspace/assetstore/10/77/18/107718164672031636339452188487841053759
Exception in thread main java.io.FileNotFoundException:
/dspace/assetstore/10/77/18/107718164672031636339452188487841053759 (No such
file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.init(FileInputStream.java:106)
   at edu.sdsc.grid.io.local.LocalFileInputStream.open(
LocalFileInputStream.java:171)
   at edu.sdsc.grid.io.GeneralFileInputStream.init(
GeneralFileInputStream.java:145)
   at edu.sdsc.grid.io.local.LocalFileInputStream.init(
LocalFileInputStream.java:139)
   at edu.sdsc.grid.io.FileFactory.newFileInputStream(FileFactory.java
:454)
   at org.dspace.storage.bitstore.BitstreamStorageManager.retrieve(
BitstreamStorageManager.java:553)
   at org.dspace.content.Bitstream.retrieve(Bitstream.java:512)
   at org.dspace.search.DSIndexer.writeItemIndex(DSIndexer.java:694)
   at org.dspace.search.DSIndexer.indexAllItems(DSIndexer.java:397)
   at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:192)
   at org.dspace.search.DSIndexer.main(DSIndexer.java:225)

The second log message is produced by a log.debug call added in:

package org.dspace.storage.bitstore;
class BitstreamStorageManager.java;

public static InputStream retrieve(Context context, int id)
   throws SQLException, IOException
   {
   TableRow bitstream = DatabaseManager.find(context, bitstream, id);

   GeneralFile file = getFile(bitstream);
   log.debug(InputBitStream  + file.getPath());
   return (file != null) ? FileFactory.newFileInputStream(file) : null;
   }

Thanks for any tips ?

Monika

--
Monika Mevenkamp
Georgia Institute of Technology
Library and Information Center
Phone: 404.385.0108
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] sshfs assetstore and index-all

2007-03-26 Thread Mark Diggory
I use it on Mac OSX for testing, it may be something platform  
specific with the linux version. I've run index-all successfully  
using it on OSX.


-Mark

On Mar 26, 2007, at 6:14 PM, Monika Mevenkamp wrote:


I run vanilla dspace-1.4
with postgres
on Ubuntu

I used sshfs to mount the assetstore:
 sshfs -o allow_other [EMAIL PROTECTED]:/dspace/ 
assetstore /var/www/dspace_root/assetstore
I am trying to access the test assetsore on another machine, which  
is too big to be copied.

Is there something inherently wrong with doing sshfs ?

As the dspace user I can list,view, and touch files in the assetstore
but index-all still dies ungracefully as follows:

Creating browse index
Indexing all Items in DSpace2007-03-26 17:50:21,124 INFO   
org.dspace.core.ConfigurationManager @ DSpace logging installed  
using log4j.properties

 ... Done
Creating search index
2007-03-26 17:50:55,060 INFO  org.dspace.core.ConfigurationManager  
@ DSpace logging installed using log4j.properties
2007-03-26 17:50:59,871 DEBUG  
org.dspace.storage.bitstore.BitstreamStorageManager @ Local  
filename for 107718164672031636339452188487841053759 is /dspace/ 
assetstore/10/77/18/107718164672031636339452188487841053759
2007-03-26 17:50:59,871 DEBUG  
org.dspace.storage.bitstore.BitstreamStorageManager @  
IinputBitStream /dspace/assetstore/ 
10/77/18/107718164672031636339452188487841053759
Exception in thread main java.io.FileNotFoundException : /dspace/ 
assetstore/10/77/18/107718164672031636339452188487841053759 (No  
such file or directory)

at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java :106)
at edu.sdsc.grid.io.local.LocalFileInputStream.open 
(LocalFileInputStream.java:171)
at edu.sdsc.grid.io.GeneralFileInputStream.init 
(GeneralFileInputStream.java:145)
at edu.sdsc.grid.io.local.LocalFileInputStream .init 
(LocalFileInputStream.java:139)
at edu.sdsc.grid.io.FileFactory.newFileInputStream 
(FileFactory.java:454)
at  
org.dspace.storage.bitstore.BitstreamStorageManager.retrieve 
(BitstreamStorageManager.java :553)

at org.dspace.content.Bitstream.retrieve(Bitstream.java:512)
at org.dspace.search.DSIndexer.writeItemIndex 
(DSIndexer.java:694)
at org.dspace.search.DSIndexer.indexAllItems 
(DSIndexer.java :397)

at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:192)
at org.dspace.search.DSIndexer.main(DSIndexer.java:225)

The second log message is produced by a log.debug call added in:

package org.dspace.storage.bitstore;
class BitstreamStorageManager.java;

public static InputStream retrieve(Context context, int id)
throws SQLException, IOException
{
TableRow bitstream = DatabaseManager.find(context,  
bitstream, id);


GeneralFile file = getFile(bitstream);
log.debug(InputBitStream  + file.getPath());
return (file != null) ? FileFactory.newFileInputStream 
(file) : null;

}

Thanks for any tips ?

Monika

--
Monika Mevenkamp
Georgia Institute of Technology
Library and Information Center
Phone: 404.385.0108
-- 
---

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your

opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? 
page=join.phpp=sourceforgeCID=DEVDEV 
___

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


~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology
Office: E25-131
Phone: (617) 253-1096


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ui customization question

2007-03-26 Thread Michael Judd
Hi Sarah,
You might want to double check that your 
config/language-packs/Messages.properties file actually contains mappings 
for itemlist.dc.date etc. and that you have executed an ant update 
which copies the language pack files to ${dspace.dir}/config and also 
builds them into the war files (that you have to redeploy).
If you see strings like ???itemlist.dc.date??? it means DSpace couldn't 
find the mapping for the value between the ???s.

Regards,

Michael Judd

Nathan Campus, Griffith University.
Brisbane 4111. Australia.

[EMAIL PROTECTED]
07 3735 3801 



Sarah Ryder [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
27/03/2007 08:10 AM

To
dspace-tech@lists.sourceforge.net
cc

Subject
[Dspace-tech] ui customization question







Hello All

I'm attempting to change the display on my item search to reflect 
different 
metadata.  I've changed dspace.cfg to change the functionality, and I've 
also 
changed Message.properties to reflect the proper display items, but for 
some 
reason on my search results and item display page I'm getting the 
following for 
labels:
???itemlist.dc.date???
???itemlist.dc.title.preferred???
and
???metadata.dc.title.preferred???
???metadata.dc.date???

The functionality seems to be working, but the labels are incorrect.  Is 
there 
maybe something I need to do/run after changing Message.properties?

Thanks in advance for any suggestions you may have.

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech