Re: [Dspace-tech] error while ant fresh_install

2009-08-31 Thread Lewatle Phaladi
Hi Dr Gopa

 

Try ant update

 

Regards

Lewatle

 

From: Gopa Kumar [mailto:gopa1...@yahoo.com] 
Sent: Sunday, August 30, 2009 10:16 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] error while ant fresh_install

 

Hi,

While installing dspace i am getting the following error. Can somebody
help me ?

Buildfile: build.xml

init_installation:

init_configs:

setup_database:

[java] 2009-08-31 10:39:36,676 INFO org.dspace.core.ConfigurationManager
@ Loading system provided config property (-Ddspace.configuration):
config/dspace.cfg

[java] 2009-08-31 10:39:36,682 INFO org.dspace.core.ConfigurationManager
@ Using default log4j provided log configuration,if uninitended, check
your dspace.cfg for (log.init.config)

[java] 2009-08-31 10:39:36,682 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database

[java] 2009-08-31 10:39:36,802 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:

[java] org.postgresql.util.PSQLException: The connection attempt failed.

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

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

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

[java] at
org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connect
ion.java:30)

[java] at
org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)

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

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

[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:65)

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

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

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

[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:550)

[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:92
3)

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

[java] Caused by: java.net.SocketException: Permission denied: 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:180)

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

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

[java] ... 17 more



Dr. V. Gopa Kumar
Principal
Government College of Engineering
Kannur 
Kerala, India - 670 563

 


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] error while ant fresh_install

2009-08-31 Thread Van Ly

On 31/08/2009, at 3:15 PM, Gopa Kumar wrote:

 [java] 2009-08-31 10:39:36,802 FATAL  
 org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
 [java] org.postgresql.util.PSQLException: The connection attempt  
 failed.


The fatal error message occurs in the above. A place to look is the  
settings file

# see ch20 client authentication in the postgresql-8.1 manual
  pgsql/data/pg_hba.conf

and the lists resulting from calls to

# for roles
  echo '\du' | psql
# should have

List of roles
  Role name | Superuser | Create role | Create DB | Connections |  
Member of
---+---+-+---+- 
+---
  dspace| no| no  | yes   | no limit|


# for databases
  echo '\l' | psql
# should have

  List of databases
  Name |  Owner   | Encoding
--+--+--
  dspace   | dspace   | UTF8

Best wishes,

Van Ly
vly at usyd dot edu dot au





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error In Fresh Installation...

2009-08-31 Thread Hardik Mishra
HI Gopa Sir,

Can u tell me what steps have u performed before.

 1. Have u created database named dspace with Login role dspace(as super
user) ?.

 2. add lib directory of   dspace-1.5.2-src-release\dspace\lib to classpath.

Hope this helps


-- 
Best Regards
Hardik Mishra
Software Engineer

http://bit.ly/uJ60P - Join Us on Facebook
http://www.twitter.com/webinito - Follow us on Twitter

Give a man a fish, and you feed him for a day. Teach a man to catch fish and
you feed him for a lifetime.


Hi,
While installing dspace i am getting the following error. Can somebody help
me ?
Buildfile: build.xml
init_installation:
init_configs:
setup_database:
[java] 2009-08-31 10:39:36,676 INFO org.dspace.core.ConfigurationManager @
Loading system provided config property (-Ddspace.configuration):
config/dspace.cfg
[java] 2009-08-31 10:39:36,682 INFO org.dspace.core.ConfigurationManager @
Using default log4j provided log configuration,if uninitended, check your
dspace.cfg for (log.init.config)
[java] 2009-08-31 10:39:36,682 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
[java] 2009-08-31 10:39:36,802 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
[java] org.postgresql.util.PSQLException: The connection attempt failed.
[java] at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136)
[java] at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
[java] at
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:116)
[java] at
org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:30)
[java] at
org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)
[java] at org.postgresql.Driver.makeConnection(Driver.java:369)
[java] at org.postgresql.Driver.connect(Driver.java:245)
[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:65)
[java] at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
[java] at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
[java] at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)
[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.java:550)
[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:923)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
[java] Caused by: java.net.SocketException: Permission denied: 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:180)
[java] at org.postgresql.core.PGStream.init(PGStream.java:60)
[java] at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:77)
[java] ... 17 more


Dr. V. Gopa Kumar
Principal
Government College of Engineering
Kannur
Kerala, India - 670 563
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread mikan.d.dspace listmail
Just a quick note about our PHP /  Excel / CSV importer. It can be found at:

http://otto.terkko.helsinki.fi/utils/index.html

-Mika


2009/8/29 Khan, Baseer baseer.k...@wichita.edu:
 Hello ,

 I have successfully installed the Summer code and tested it on the sample
 file and it works great .

 Now the question I have is I have a excel  file in which the arguments of
 the source file ( which is cEJ) are different , I have tweaked the code by
 changing the identifiers but it did not work .

 Can you tell me what additional changes I have to make to the code to make
 it running for my file .

 For your reference I am adding the file in this message.



 Thank you,

 Baseer.



 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Thursday, August 27, 2009 7:43 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data



 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import

 Hope this helps



 Jayan

 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer baseer.k...@wichita.edu
 wrote:

 Hello ,

 I need to bulk import data into Dspace ,

 Is there any possible ways of doing it other than manually doing it one by
 one .

 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .

 My question is , is there a way that we can bulk import data in any format
 in Dspace with any script ?

 Baseer.

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Change CSS file

2009-08-31 Thread Lewatle Phaladi
Hi All

I want to change the font color, baground color etc of my Dspace(jspui), can 
anyone advice on which file to edit as there are lots of css files, and i 
edited some and restart my tomcat with no changes on the web interface. 

Regards
Lewatle



































htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] 2.0 release

2009-08-31 Thread Mariano A. Belladonna
Has any announcement been made yet with regards to DSpace 2.0 release 
date? If not, does anyone has an estimate?

Thanks.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Creative Commons problem - not returning to DSpace

2009-08-31 Thread William Hays
Christian,

My experience with Creative Commons is that they are very committed to
maintaining backwards compatibility.  Since it looks like you are sure
that there has been a change in how the CC is handling your url
requests, then I would recommend contacting them.  One way is via:

http://code.creativecommons.org/issues/

If this does not resolve the problem, I'd be happy to discuss what other
options would be available to you.

--Bill



On Sat, 2009-08-29 at 16:24 +0200, Christian Voelker wrote:
 Hello William,
 
 we at stadtteilgeschichten.net a running DSpace 1.4.2.
 We updated to this version only recently and wont be
 ready for DSpace 1.5 any time soon.
 
 Having said that, the CreativeCommons submission issue
 has popped up at our site exactly the time when it was
 fixed for the rest of you. Our users are so patient
 that they expected this to be their fault and did not
 inform me within the last three weeks. So I stumbled
 upon it only this week and it took me some time to
 find out the relation to the issue discussed here.
 
 The last last submission featuring a CC license was
 submitted around noon MESZ August, 3rd. The first
 submission where it was impossible to choose the CC
 License was done in the afternoon MESZ August, 5th.
 
 What is happening is, that the value of the URL para-
 meter license_url does not get appended to the exit_url
 parameter by creativecommons any longer.
 
 
 THE DETAILS
 
 There was a change in how DSpace handles this parameter
 between DSpace 1.4 and DSpace 1.5, probably due to the
 Configurable Submission Process introduced with Revsision
 2081. The change is in the jsp/submit/creative-commons.jsp
 around lines 70-80. There is a URL parameter defined as:
 
   String exitURL = baseURL + /submit/cc-license.jsp? 
 license_url=[license_url];
 
 where the license_url is not set in DSpace 1.4. In DSpace 1.5,
 license_url gets set already at that point and gets passed
 in to creativecommons later on:
 
 ...
licenseURL =  
 CreativeCommons.getLicenseURL(subInfo.getSubmissionItem().getItem());
 
 There line including the creativecommons page stays unchanged
 between both releases:
 
 iframe src=http://creativecommons.org/license/?partner=dspacestylesheet= 
 %= java.net.URLEncoder.encode(ssURL) %amp;exit_url=%=  
 java.net.URLEncoder.encode(exitURL) % width=100%  
 height=540fmt:message key=jsp.submit.creative-commons.info3/
 /iframe
 
 Now, this is happening in DSpace 1.4 at our site. During
 submit process, when entering the CC Licensing page, Dspace
 displays this URL in the iframe:
 
 http://creativecommons.org/license/?partner=dspacestylesheet=http://stadtteilgeschichten.net/submit/creative-commons.cssexit_url=http://stadtteilgeschichten.net/submit/cc-license.jsp
  
 ?license_url=
 
 Please note, that license_url comes without value. The licensing
 page of creativecommons gets displayed in german which reflects
 the browser settings. We choose our license settings and hit the
 button Select a License.
 
 The resulting page is in english. The Adress field contains these
 parameters:
 
 http://creativecommons.org/choose/results-one?lang=enlanguage=enreferrer=partner=dspaceexit_url=http%253A%252F%252Fstadtteilgeschichten.net%252Fsubmit%252Fcc-license.jsp%253Flicense_url%253Dstylesheet=http%253A%252F%252Fstadtteilgeschichten.net%252Fsubmit%252Fcreative-commons.csspartner_icon_url=field_commercial=yfield_derivatives=y
 
 In other words, the license_url does not get completed. The proceed
 link within the page points to
 
 http://stadtteilgeschichten.net/submit/cc-license.jsp?license_url=
 
 and does not contain a value as well. If completing the request for
 the last page, adding the value for license_url manually, then the
 address field and the proceed link contain the required value:
 
 http://creativecommons.org/choose/results-one?partner=dspaceexit_url=http://stadtteilgeschichten.net/submit/cc-license.jsp
  
 ?license_url=http://creativecommons.org/licenses/by/3.0/
 
 Probably, Creative Commons has removed this functionality during
 their rework because it seemed to them that it is not neede any
 longer. I know that it is much to request to keep such a function
 for a single installation, but I guess that there are other out
 there who still use it and just did not notice until now. I cant
 judge how much work it is to include this functionality again on
 their side.
 
 
 IMPACT
 
 For us, this is a major issue. We are a not for profit organization
 and we got funded by our government to complete a digitalisation
 project during this year and work together with external partners
 for that reason. We have treaties with these partners where we
 have taken responsibility to provide accessibility of the platform,
 id est DSpace during the whole project time. Part of the treaty is
 also, that these partners publish their materials under CC License.
 
 Now, we give them reason, not to fulfill their responsibilities and
 in turn we would have to pay back the money 

[Dspace-tech] Fall 2009 All About Repositories Webinars

2009-08-31 Thread Valorie Hollister
Dear DSpace Community,

Don't miss the Fall 2009  All About Repositories series featuring  
technology solutions from the industry leaders; DuraSpace, SPARC, and  
Sun Microsystems.  These highly successful webinars provide overviews  
of best practices, technology updates, and  key trend analyses for  
academic resources directors, IT managers, digital librarians,  
repository managers and developers, and curators.

The first event is coming up on Sept. 9th, so Register Today at;   
http://www.education-webevents.com/


Fall Series Titles:

Easy-to-use DuraSpace Repositories Enabling Open Access: Islandora,  
DSpace and NSDL EduPak
Sept. 9, 2009 at 10:00am PT
To celebrate Open Access Week Oct. 19-23 join presenters Mark Leggott,  
Valorie Hollister, Art Pasquinelli, and Carol Minton Morris as they  
unpack three open access, out-of-the-box repository solutions that  
will help make your digital assets available to your community ASAP.  
Mark Leggott, University Librarian, University of Prince Edward Island  
will explain Islandora, based on the easy-to-use Drupal content  
management system with a Fedora Commons Repository Software on the  
back end. Valorie Hollister, DuraSpace Director of Community  
Development for DSpace, will talk about DSpace Repository software  
used by more than 600 institutions globally. Carol Minton Morris,  
DuraSpace Marketing and Communications and NSDL Communications, will  
introduce EduPak 1.0, a lightweight version of the open-source digital  
library platform used to power the National Science Digital Library  
that is designed to meet the needs of national educational  
organizations and institutions focused on establishing specialized  
digital collections, conducting educational research, and providing  
teachers with pedagogical tools that require basic digital repository  
technology. Art Pasquinelli from Sun will give an overview on the Sun  
PASIG event Oct. 7-9 and pertinent technology developments relevant to  
the repository community.

New DuraSpace Stack Releases: Fedora Commons, DSpace, and Mulgara
Sept. 30, 2009 at 10:00am PT

SPARC OA Week Kick-off Presentation and Presentation of DuraSpace OA  
Week Winners
Oct. 14, 2009 at 10:00am PT

Repositories in the Cloud: How to Participate in the DuraCloud Pilot Program
Oct. 28, 2009 at 10:00am PT



Valorie Hollister
DuraSpace
Director of Community Development, DSpace Project
860-966-1937
v...@dspace.org
Skype: vhollister


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread Khan, Baseer
Thank you all for helping me out with this issue , 
the programme is modified and generates dublin code , 
The issue i have here now is when i run the command to import in Dsapce using 
dsrun , it throws an error like

java.lang.NullPointerException
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
java.lang.NullPointerException


Does anyone have any idea what is this error , i tried using with Java 1.4.2 
and Java 1.6 .
Thank you,
Baseer.


From: Khan, Baseer
Sent: Friday, August 28, 2009 4:27 PM
To: Jayan Kurian
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Bulk-import-data

Hello ,
I have successfully installed the Summer code and tested it on the sample file 
and it works great .
Now the question I have is I have a excel  file in which the arguments of the 
source file ( which is cEJ) are different , I have tweaked the code by changing 
the identifiers but it did not work .
Can you tell me what additional changes I have to make to the code to make it 
running for my file .
For your reference I am adding the file in this message.

Thank you,
Baseer.

From: Jayan Kurian [mailto:jayan...@gmail.com]
Sent: Thursday, August 27, 2009 7:43 PM
To: Khan, Baseer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Bulk-import-data

http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
Hope this helps

Jayan
On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer 
baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:

Hello ,

I need to bulk import data into Dspace ,

Is there any possible ways of doing it other than manually doing it one by one .

I read about the data import in Dspace documentation but it does for a 
individual entry in collection and the input format is in Dublin code .

My question is , is there a way that we can bulk import data in any format in 
Dspace with any script ?

Baseer.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread Stuart Lewis
Hi Baseer,

Are you using 1.5.2? If so, this looks it might be related to creating the
map file. 

 - What command are you using to run the importer?
 - Is any other output displayed? E.g. Generating mapfile: XYZ

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



On 1/09/09 5:22 AM, Khan, Baseer baseer.k...@wichita.edu wrote:

 Thank you all for helping me out with this issue ,
 the programme is modified and generates dublin code ,
 The issue i have here now is when i run the command to import in Dsapce using
 dsrun , it throws an error like
 
 java.lang.NullPointerException
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
 java.lang.NullPointerException
 
 
 Does anyone have any idea what is this error , i tried using with Java 1.4.2
 and Java 1.6 .
 Thank you,
 Baseer.
 
 
 From: Khan, Baseer
 Sent: Friday, August 28, 2009 4:27 PM
 To: Jayan Kurian
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] Bulk-import-data
 
 Hello ,
 I have successfully installed the Summer code and tested it on the sample file
 and it works great .
 Now the question I have is I have a excel  file in which the arguments of the
 source file ( which is cEJ) are different , I have tweaked the code by
 changing the identifiers but it did not work .
 Can you tell me what additional changes I have to make to the code to make it
 running for my file .
 For your reference I am adding the file in this message.
 
 Thank you,
 Baseer.
 
 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Thursday, August 27, 2009 7:43 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data
 
 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
 Hope this helps
 
 Jayan
 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
 baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:
 
 Hello ,
 
 I need to bulk import data into Dspace ,
 
 Is there any possible ways of doing it other than manually doing it one by one
 .
 
 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .
 
 My question is , is there a way that we can bulk import data in any format in
 Dspace with any script ?
 
 Baseer.
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Change CSS file

2009-08-31 Thread Stuart Lewis
Hi Lewatle,

 I want to change the font color, baground color etc of my Dspace(jspui), can
 anyone advice on which file to edit as there are lots of css files, and i
 edited some and restart my tomcat with no changes on the web interface.

Edit the file:

 - dspace-jspui/dspace-jspui-webapp/src/main/webapp/styles.css.jsp

Once you have edited it, you will have to re-run mvn / ant / restart tomcat.

Alternatively you can edit the copy in tomcat (probably in
[tomcat]/webapps/jspui/styles.css.jsp) and then copy it back to your source
directory once you are happy with the changes that you have made.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle URL

2009-08-31 Thread sowmyamoturi

Thanks everyone for your http://www.nabble.com/file/p25230813/config.dct
config.dct  help till now.
I have a question about the handle server:

I restarted my handle server but it failed. error log has:

2009/08/31 05:05:32 EDT 25 Started new run.
Saving global values to: /home/csta1/.handle/root_info
javax.crypto.
BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275)
at javax.crypto.Cipher.doFinal(DashoA12275)
at
net.handle.security.provider.GenericProvider.decrypt_DES_ECB_PKCS5(GenericProvider.java:146)
at net.handle.hdllib.Util.decrypt(Util.java:1020)
at net.handle.server.HandleServer.init(HandleServer.java:306)
at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
at net.handle.server.Main.initialize(Main.java:152)
at net.handle.server.Main.main(Main.java:75)
Unable to initialize server signature object: java.lang.Exception: Incorrect
passphrase
java.lang.Exception: Incorrect passphrase
at net.handle.hdllib.Util.decrypt(Util.java:1025)
at net.handle.server.HandleServer.init(HandleServer.java:306)
at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
at net.handle.server.Main.initialize(Main.java:152)
at net.handle.server.Main.main(Main.java:75)
java.lang.Exception: Incorrect passphrase
at net.handle.hdllib.Util.decrypt(Util.java:1025)
at net.handle.server.HandleServer.init(HandleServer.java:306)
at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
at net.handle.server.Main.initialize(Main.java:152)
at net.handle.server.Main.main(Main.java:75)
Shutting down...


The IP address is same as the IP registered with Handle.net..

I don't know y it failed. I am checking everything and trying out all the
possible changes but still not able to make it work. I am attaching the
config.dct file. Kindly have a look at it.

By looking at the error log if u know the reason please let me know.

Thanks for all your help.

Regards,
Sowmya.
-- 
View this message in context: 
http://www.nabble.com/Handle-URL-tp25140011p25230813.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread Khan, Baseer
Hello ,

I am using Dspace 1.4.2 and Google Summer code 2008 , 
I have cleared the error ,  and looks like it is trying to upload file , but I 
am not sure where it is uploading .
Can you tell me how to choose the handle where I want to upload these files ?
Second thing do you think as I am doing it on test server which does not have 
handle configured on it so the command dsrun is unable to upload the files.
I have to upload the files to this collection so can you write the command for 
it , 

http://soar.wichita.edu/dspace/handle/10057/2082



This is the command I am using to upload the files 

./dsrun org.dspace.app.itemimport.ItemImport -a -e
odza...@yahoo.com -c 10057/2082 -s C:\CEE_THESES -m
mapfileCEE_Theses

Thank you,
Baseer.

-Original Message-
From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
Sent: Monday, August 31, 2009 4:02 PM
To: Khan, Baseer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Bulk-import-data

Hi Baseer,

Are you using 1.5.2? If so, this looks it might be related to creating the
map file. 

 - What command are you using to run the importer?
 - Is any other output displayed? E.g. Generating mapfile: XYZ

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



On 1/09/09 5:22 AM, Khan, Baseer baseer.k...@wichita.edu wrote:

 Thank you all for helping me out with this issue ,
 the programme is modified and generates dublin code ,
 The issue i have here now is when i run the command to import in Dsapce using
 dsrun , it throws an error like
 
 java.lang.NullPointerException
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
 java.lang.NullPointerException
 
 
 Does anyone have any idea what is this error , i tried using with Java 1.4.2
 and Java 1.6 .
 Thank you,
 Baseer.
 
 
 From: Khan, Baseer
 Sent: Friday, August 28, 2009 4:27 PM
 To: Jayan Kurian
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] Bulk-import-data
 
 Hello ,
 I have successfully installed the Summer code and tested it on the sample file
 and it works great .
 Now the question I have is I have a excel  file in which the arguments of the
 source file ( which is cEJ) are different , I have tweaked the code by
 changing the identifiers but it did not work .
 Can you tell me what additional changes I have to make to the code to make it
 running for my file .
 For your reference I am adding the file in this message.
 
 Thank you,
 Baseer.
 
 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Thursday, August 27, 2009 7:43 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data
 
 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
 Hope this helps
 
 Jayan
 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
 baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:
 
 Hello ,
 
 I need to bulk import data into Dspace ,
 
 Is there any possible ways of doing it other than manually doing it one by one
 .
 
 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .
 
 My question is , is there a way that we can bulk import data in any format in
 Dspace with any script ?
 
 Baseer.
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  

[Dspace-tech] Searching of text from PDF files

2009-08-31 Thread Gary Browne
Hi all,

I have a query about searching of pdf documents which I can't seem to
find a definitive answer for:

When a user searches via the dspace web interface, is the search run
across the content of text pdfs or just the metadata? If so, does the
pdf submitted to the repository need to have been previously OCR'd, or
does the repository attempt to extract  index text from all pdfs?

Any information regarding this would be greatly appreciated.

Thanks
Gary


Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946
Sent from my plain old desktop computer.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech