[Dspace-tech] problem installing dspace

36 views
Skip to first unread message

wardy277

unread,
Aug 25, 2015, 12:59:26 PM8/25/15
to dspac...@lists.sourceforge.net

Hi i am having trouble installing dspace on a new server. i have followed the
instructions but if failed on the ant fresh_install.

I installed dependencies and tools,
created users and postgre users and database,
got source of dspace and used namaven to coompile it.

When i ran the ant fresh install, it failed with this error:

BUILD FAILED

/home/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/build.xml:88:
No supported regular expression matcher found:
java.lang.ClassNotFoundException:
org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp

Not sure what this nmeans, might be a problem with the java dependencies. i
have tried it with both java 5 and 6 with no provail. also, navigating to
the tomcat folder manager/html gives me a blank page, could there be a error
with tomcat alos?

Chris

.

--
View this message in context: http://www.nabble.com/problem-installing-dspace-tp24919745p24919745.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


wardy277

unread,
Aug 25, 2015, 12:59:33 PM8/25/15
to dspac...@lists.sourceforge.net


Thank for your reply,

I have installed ant-nodeps (well downloaded it to
/share/ant/lib/ant-nodeps.jar.) i think that worked but i not get a
different error:

BUILD FAILED
/var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
Java returned: 1

What does thsi mean? also the ant clean returns
BUILD FAILED
Target "clean" does not exist in the project "DSpace".

any ideas?

Chris





PAUL A S NEEDHAM wrote:
>
> Hi Chris
>
> I ran into this problem and fixed it by installing ant-nodeps.
>
> Hope this helps!
>
> Cheers
> Paul
>
> -----------------------------
> Paul A S Needham
> Research & Innovation Manager
> Kings Norton Library
> Cranfield University
> Cranfield
> MK43 0AL
>
> The Kings Norton Library has been awarded Charter Mark, the UK Government
> standard for excellent customer service.
> ----------------------------------------------------------------------------
> --
> 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
> DSpac...@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
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>

--
View this message in context: http://www.nabble.com/problem-installing-dspace-tp24919745p24950609.html

Van Ly

unread,
Aug 25, 2015, 12:59:34 PM8/25/15
to wardy277, dspac...@lists.sourceforge.net

On 13/08/2009, at 6:03 PM, wardy277 wrote:

>
> BUILD FAILED
> /var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/
> dspace-1.5.2-build.dir/build.xml:585:
> Java returned: 1
>
> any ideas?
>


Try using Sun's jdk/jre.

Van Ly
vly at usyd dot edu dot au





Chris Ward

unread,
Aug 25, 2015, 12:59:35 PM8/25/15
to v...@usyd.edu.au, dspac...@lists.sourceforge.net
I think i am using Sun's jdk/jre. I installed sun-java6-jdk and sun-java5-jdk but i get the same problem with both.

Chris



http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400

Chris Ward

unread,
Aug 25, 2015, 12:59:36 PM8/25/15
to paul.ne...@btinternet.com, dspac...@lists.sourceforge.net
Thanx for your interest. I am running:
Ubuntu 8.04
Maven version: 2.0.8
Java version: 1.6.0_14
Ant version:  1.7.0
Tomcat 5.5

It is a brand new install and all i have done is install the above with their dependencies and created the dspace user and installed postgresql.


Chris



http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-----Original Message-----

Hi Chris
 
Can you tell me a bit more about the environment you're installing DSpace into? Specifically, which versions of the following are you running:
 
  • Operating system
  • maven
  • ant
  • java (java -version at the command prompt)
  • servlet container (tomcat etc)

Cheers

Paul



From: Chris Ward
To: v...@usyd.edu.au
Cc: dspac...@lists.sourceforge.net
Sent: Thursday, 13 August, 2009 9:50:47 AM
Subject: Re: [Dspace-tech] problem installing dspace

Lewatle Phaladi

unread,
Aug 25, 2015, 12:59:37 PM8/25/15
to dspac...@lists.sourceforge.net

Hi All

In our Dspace System we managed to Import a single item running ./import script within dspace bin directory, the main thing that we need to do is to import more files simultaneously without creating folder and putting files like contents,  dublin_core.xml, handle and license.txt for every file we want to publish.

Can anyone assist in importing multiple files.

This 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.

Fabricio Costa

unread,
Aug 25, 2015, 12:59:38 PM8/25/15
to dspac...@lists.sourceforge.net, Lewatle Phaladi
Just fill the file names desired in a the file called CONTENTS inside import folder. Then put all files in their respective directories.

--- Em qui, 13/8/09, Lewatle Phaladi <Lewatle...@wits.ac.za> escreveu:

> De: Lewatle Phaladi <Lewatle...@wits.ac.za>
> Assunto: [Dspace-tech] Importing Multiple files Same Time
> Para: dspac...@lists.sourceforge.net
> Data: Quinta-feira, 13 de Agosto de 2009, 10:27
>
>
>
>
>
> Importing Multiple files Same Time
> -----Anexo incorporado-----
>
> ------------------------------------------------------------------------------
> 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
> -----Anexo incorporado-----
>
> _______________________________________________
> DSpace-tech mailing list
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

Gary Browne

unread,
Aug 25, 2015, 12:59:41 PM8/25/15
to dspac...@lists.sourceforge.net
Hi Chris,

I think you want 'ant fresh_install', not 'ant clean'. AFAIA there's no
"clean" target for ant for the DSpace project. The closest thing is
clean_database, which you probably don't need for a fresh install.

Have you first run mvn [clean] package from the [dspace-source]/dspace
directory? If so, then cd to
[dspace-source]/dspace/target/dspace-X.X.X-build.dir directory and run
'ant fresh_install' from there.

Please post a little more information about the exact commands you have
been using.

Thanks,
Gary


Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946


> -----Original Message-----
> From: wardy277 [mailto:ch...@ico3.com]
> Sent: Thursday, 13 August 2009 6:03 PM
> To: dspac...@lists.sourceforge.net
> Subject: Re: [Dspace-tech] problem installing dspace
>
>
>
> > -------- 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
> > DSpac...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-installing-dspace-tp24919745p249
> 50609.html

Chris Ward

unread,
Aug 25, 2015, 12:59:42 PM8/25/15
to G.Br...@library.usyd.edu.au, dspac...@lists.sourceforge.net
I have been following this wiki:
http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04

I have edited dspace/config/dspace.cfg  to add in my postgresql settings
I have then gone to dspace and run 'mvn package' which downloadeds a log of jar files and says complete


[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

When running it i get lots of [info] lines, a few of these lnes:
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent

and these:
[WARNING] The following patterns were never triggered in this artifact exclusion filter:
o  'org.dspace:dspace-xmlui-webapp'
o  'org.dspace:dspace-xmlui-lang'
o  'org.dspace:dspace-lni-webapp'
o  'org.dspace:dspace-sword-webapp'
o  'org.dspace:dspace-jspui-webapp'
o  'org.dspace:dspace-oai-webapp'

[WARN ING] The following patterns were never triggered in this artifact exclusion filter:
o  '*:war:*'

It then says build successfull

i have gone to dspace/target/dspace-1.5.2-build.dir/ and ran 'ant fresh_install' which spit out some java warnings saying the database already has a table (because this is the second time i have run it) then it gives the error:


BUILD FAILED
/var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585: Java returned: 1


This is really frustrating and the compiling works its jus tthe install that failes. Why isnt the error more usefull. Could it be a permitino problem or something?







http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-----Original Message-----

------------------------------------------------------------------------------

Claudia Jürgen

unread,
Aug 25, 2015, 12:59:43 PM8/25/15
to Chris Ward, dspac...@lists.sourceforge.net
Hi Chris,

if you already used ant fresh_install and want to use it again run ant
clean_database to clear the db and then ant fresh_install.

If you successfully set up a fresh install and want to update it use
ant update and/or ant init_configs.

Hope that helps

Claudia Jürgen


Chris Ward schrieb:
> I have been following this wiki:
> http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04
>
> I have edited dspace/config/dspace.cfg to add in my postgresql settings
> I have then gone to dspace and run 'mvn package' which downloadeds a log of jar
> files and says complete
>
>
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
> i.e. build is platform dependent!
>
> When running it i get lots of [info] lines, a few of these lnes:
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
> i.e. build is platform dependent
>
> and these:
> [WARNING] The following patterns were never triggered in this artifact exclusion
> filter:
> o 'org.dspace:dspace-xmlui-webapp'
> o 'org.dspace:dspace-xmlui-lang'
> o 'org.dspace:dspace-lni-webapp'
> o 'org.dspace:dspace-sword-webapp'
> o 'org.dspace:dspace-jspui-webapp'
> o 'org.dspace:dspace-oai-webapp'
> < br>[WARNING] The following patterns were never triggered in this artifact
> exclusion filter:
> o '*:war:*'
>
> It then says build successfull
>
> i have gone to dspace/target/dspace-1.5.2-build.dir/ and ran 'ant fresh_install'
> which spit out some java warnings saying the database already has a table
> (because this is the second time i have run it) then it gives the error:
>
> BUILD FAILED
> /var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
> Java returned: 1
>
>
> This is really frustrating and the compiling works its jus tthe install that
> failes. Why isnt the error more usefull. Could it be a permitino problem or
> something?
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> 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
>
>
> ------------------------------------------------------------------------
Claudia_Juergen.vcf

Chris Ward

unread,
Aug 25, 2015, 12:59:44 PM8/25/15
to Claudia...@ub.tu-dortmund.de, dspac...@lists.sourceforge.net


I have not got a dspace install, i am installing a new fresh copy.

running ant clean_database game me the following:
clean_database:
     [java] 2009-08-14 09:29:23,804 INFO  org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg
     [java] 2009-08-14 09:29:23,814 INFO  org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config)
     [java] 2009-08-14 09:29:23,814 INFO  org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
     [java] 2009-08-14 09:29:24,009 ERROR org.dspace.storage.rdbms.InitializeDatabase @ The configuration for db.name is either invalid, or contains an unrecognised database
     [java] org.dspace.browse.BrowseException: The configuration for db.name is either invalid, or contains an unrecognised database
     [java]     at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
     [java]     at org.dspace.browse.IndexBrowse.<init>(IndexBrowse.java:153)
     [java]     at org.dspace.browse.IndexBrowse.<init>(IndexBrowse.java:131)
     [java]     at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)
     [java] 2009-08-14 09:29:24,011 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
     [java] java.lang.RuntimeException: The configuration for db.name is either invalid, or contains an unrecognised database
     [java]     at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:91)
  & nbsp;  [java] Caused by: org.dspace.browse.BrowseException: The configuration for db.name is either invalid, or contains an unrecognised database
     [java]     at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
     [java]     at org.dspace.browse.IndexBrowse.<init>(IndexBrowse.java:153)
     [java]     at org.dspace.browse.IndexBrowse.<init>(IndexBrowse.java:131)
     [java]     at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)


it mentions soem erros in my sspace.cfg, btu the details in there are correct for the database. and when i use the fresh_install i get warnings saying the table already exists. why does the install script get access to the db but not the clean_database one?

Chris



http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-----Original Message-----

Hi Chris,

if you already used ant fresh_install and want to use it again run ant
clean_database to clear the db and then ant fresh_install.

If you successfully set up a fresh install and want to update it use
ant update and/or ant init_configs.

Hope that helps

Claudia J?rgen

Van Ly

unread,
Aug 25, 2015, 1:00:04 PM8/25/15
to Chris Ward, dspac...@lists.sourceforge.net
Hi Chris,

You can manually reset the destination installation environment by
emptying out the [dspace] directory and re-creating the database:

# the first dollar sign is your shell prompt

# in my case I would do for the [dspace] directory where `x=/usr/
local/dspace'
$ x=/usr/local/dspace
$ test -d $x && rm -fr $x
$ mkdir $x
$ ls -ld $x
# and then make sure the permissions are as desired

# to re-create the database where
$ role=dspace
$ db=dspace
$ dropdb $db
$ createdb -U $role -E UNICODE $db

and to check which java implementation your are using, in my case I
obtained

$ type javac
javac is /usr/bin/javac
$ readlink -e /usr/bin/javac
/usr/lib/jvm/java-1.6.0-sun-1.6.0.15/bin/javac

and running `javac -version' shows, for instance

javac 1.6.0_15 # for java-1.6.0-sun-1.6.0.15
javac 1.6.0-internal # for java-1.6.0-openjdk-1.6.0.0.x86_64

Hope that helps.

-- Van Ly

On 14/08/2009, at 7:33 PM, Chris Ward wrote:

>
>
> I have not got a dspace install, i am installing a new fresh copy.
>
> running ant clean_database game me the following:
> clean_database:
> [java] 2009-08-14 09:29:23,804 INFO
> org.dspace.core.ConfigurationManager @ Loading system provided
> config property (-Ddspace.configuration): config/dspace.cfg
> [java] 2009-08-14 09:29:23,814 INFO
> org.dspace.core.ConfigurationManager @ Using default log4j provided
> log configuration,if uninitended, check your dspace.cfg for
> (log.init.config)
> [java] 2009-08-14 09:29:23,814 INFO
> org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
> [java] 2009-08-14 09:29:24,009 ERROR
> org.dspace.storage.rdbms.InitializeDatabase @ The configuration for
> db.name is either invalid, or contains an unrecognised database
> [java] org.dspace.browse.BrowseException: The configuration
> for db .name is either invalid, or contains an unrecognised database
> [java] at
> org.dspace.browse.BrowseDAOFactory.getCreateInstance
> (BrowseDAOFactory.java:101)
> [java] at org.dspace.browse.IndexBrowse.<init>
> (IndexBrowse.java:153)
> [java] at org.dspace.browse.IndexBrowse.<init>
> (IndexBrowse.java:131)
> [java] at org.dspace.storage.rdbms.InitializeDatabase.main
> (InitializeDatabase.java:83)
> [java] 2009-08-14 09:29:24,011 FATAL
> org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
> [java] java.lang.RuntimeException: The configuration for
> db.name is either invalid, or contains an unrecognised database
> [java] at org.dspace.storage.rdbms.InitializeDatabase.main
> (InitializeDatabase.java:91)< br> [java] Caused by:
> org.dspace.browse.BrowseException: The configuration for db.name is
> either invalid, or contains an unrecognised database
> [java] at
> org.dspace.browse.BrowseDAOFactory.getCreateInstance
> (BrowseDAOFactory.java:101)
> [java] at org.dspace.browse.IndexBrowse.<init>
> (IndexBrowse.java:153)
> [java] at org.dspace.browse.IndexBrowse.<init>
> (IndexBrowse.java:131)
> [java] at org.dspace.storage.rdbms.InitializeDatabase.main
> (InitializeDatabase.java:83)
>
>
> it mentions soem erros in my sspace.cfg, btu the details in there
> are correct for the database. and when i use the fresh_install i
> get warnings saying the table already exists. why does the install
> script get access to the db but not the clean_database one?
>
> Chris
>
> <!-- .style1 { font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 12px; text-align:center; } .style2 { color: #666666;
> text-decoration:none;} -->
> > /var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/
> dspace-1.5.2-build.dir/build.xml:585:
> > Java returned: 1
> >
> >
> ----------------------------------------------------------------------
> --
> >
> >
> ----------------------------------------------------------------------
> --------
> > 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
> > DSpac...@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
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

Chris Ward

unread,
Aug 25, 2015, 1:00:07 PM8/25/15
to G.Br...@library.usyd.edu.au, dspac...@lists.sourceforge.net
That worked!!!!! Thank you for your help. strange that all it was, was the dbname. weird that ait half installed and failed with a unhelpful error.


Now, i get a white page. i think my tomcat may be broken. ( have assigned the webapps to be /dspace/webapps)

the page is:
http://78.129.197.42:8080/

it either gets 'the connection was reset' or a white page with no source.

anyone got an idea?

Chris




http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-----Original Message-----

Hi Chris,

AFAIA, the only two allowed values for db.name are "postgres" or "oracle". The actual name of your dspace database is spelt out in the db.url parameter. Can you confirm that this is the case?

Cheers
Gary






-----Original Message-----
From: Chris Ward [mailto:ch...@ico3.com]
Sent: Fri 8/14/2009 19:33
To: Claudia...@ub.tu-dortmund.de
Cc: dspac...@lists.sourceforge.net
Subject: Re: [Dspace-tech] problem installing dspace



I have not got a dspace install, i am installing a new fresh copy.

running ant clean_database game me the following:
clean_database:
     [java] 2009-08-14 09:29:23,804 INFO  org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg
     [java] 2009-08-14 09:29:23,814 INFO  org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config)
     [java] 2009-08-14 09:29:23,814 INFO  org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
     [java] 2009-08-14 09:29:24,009 ERROR org.dspace.storage.rdbms.InitializeDatabase @ The configuration for db.name is either invalid, or contains an unrecognised database
     [java] org.dspace.browse.BrowseException: The configuration for db .name is either invalid, or contains an unrecognised database
     [java]     at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)

     [java]     at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
     [java]     at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
     [java]     at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)


     [java] 2009-08-14 09:29:24,011 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
     [java] java.lang.RuntimeException: The configuration for db.name is either invalid, or contains an unrecognised database

     [java]     at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:91)< br>     [java] Caused by: org.dspace.browse.BrowseException: The configuration for db.name is either invalid, or contains an unrecognised database
     [java]     at org.dspace.browse.BrowseDAOFactory.getCreateInstance(BrowseDAOFactory.java:101)
     [java]     at org.dspace.browse.IndexBrowse.(IndexBrowse.java:153)
     [java]     at org.dspace.browse.IndexBrowse.(IndexBrowse.java:131)
     [java]     at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:83)




it mentions soem erros in my sspace.cfg, btu the details in there are correct for the database. and when i use the fresh_install i get warnings saying the table already exists. why does the install script get access to the db but not the clean_database one?

Chris


 <http://www.ico3.com/images/ICO3_Logo.gif>

> /var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:

> 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
> DSpac...@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
>
>

> ------------------------------------------------------------------------

Lewatle Phaladi

unread,
Aug 25, 2015, 1:00:08 PM8/25/15
to Fabricio Costa, dspac...@lists.sourceforge.net

Hi Fabricio and All

I did wrote names of the files i need to import in the file contents, but i got this error message bellow, does anyone have idea.



dspace@dspace-desktop:/usr/local/dspace1.5.2/dspace/bin$ sudo ./import -a -e lewatle...@wits.ac.za -c 123456789/7166 -s /export/ -m mymapfile 
Destination collections:
Owning  Collection: WIReDSpace
Adding items from directory: /export/
Generating mapfile: mymapfile
Adding item from directory contained
        Loading dublin core from /export//contained/dublin_core.xml
        Schema: dc Element: contributor Qualifier: author Value: Johannes
        Schema: dc Element: date Qualifier: accessioned Value: 2009-08-17T20:59:03Z
        Schema: dc Element: date Qualifier: available Value: 2009-08-17T20:59:03Z
        Schema: dc Element: date Qualifier: issued Value: 2009-08-17T20:59:03Z
        Schema: dc Element: identifier Qualifier: uri Value: http://hdl.handle.net/123456789/7163
        Schema: dc Element: identifier Qualifier: uri Value: http://hdl.handle.net/123456789/7165
        Schema: dc Element: identifier Qualifier: uri Value: http://hdl.handle.net/123456789/7168
        Schema: dc Element: description Qualifier: provenance Value: Submitted by Lewatle Phaladi (lewatle...@wits.ac.za) on 2009-08-17T10:19:03Z


        Schema: dc Element: description Qualifier: provenance Value: Made available in DSpace on 2009-08-17T10:19:03Z (GMT).

        Schema: dc Element: subject Qualifier: none Value: Research
        Schema: dc Element: subject Qualifier: none Value: Digital
        Schema: dc Element: title Qualifier: none Value: Wiredspace's
        Processing contents file: /export//contained/contents
java.io.FileNotFoundException: /export/contained/opensrc.pdf      (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1169)
        at org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1116)
        at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:648)
        at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:514)
        at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:421)
java.io.FileNotFoundException: /export/contained/opensrc.pdf      (No such file or directory)

Van Ly

unread,
Aug 25, 2015, 1:00:09 PM8/25/15
to dspac...@lists.sourceforge.net

On 17/08/2009, at 6:44 PM, Lewatle Phaladi wrote:

> java.io.FileNotFoundException: /export/contained/opensrc.pdf
> (No such file or directory)
> java.io.FileNotFoundException: /export/contained/opensrc.pdf
> (No such file or directory)


`/export/contained/opensrc.pdf '

Does that file really exist where it is expected? and did you intend
for two files to be called differently, such as, opensrc_0.pdf
opensrc_1.pdf?

Best wishes,

Gary Browne

unread,
Aug 25, 2015, 1:00:12 PM8/25/15
to dspac...@lists.sourceforge.net

Hi Chris,

Good, that's a start...

Tell us a little more: how and where have you assigned the webapps to be /dspace/webapps? There are many different ways of doing this. What's your dspace.url and dspace.name values in your dspace.cfg file? Also, check [tomcat_home]/logs/catalina.out for any error messages which seem related to this and post a copy to the list.

Cheers
Gary


/**
 * @author Gary Browne
 * @position Development Programmer
 * @location Sydney University Library
 * @return 9351 5946
 * @deprecated Not yet
 * @since 1968
**/





-----Original Message-----
From: Chris Ward [mailto:ch...@ico3.com]
Sent: Mon 8/17/2009 18:09
To: Gary Browne
Cc: dspac...@lists.sourceforge.net
Subject: RE: RE: [Dspace-tech] problem installing dspace

That worked!!!!! Thank you for your help. strange that all it was, was the dbname. weird that ait half installed and failed with a unhelpful error.


Now, i get a white page. i think my tomcat may be broken. ( have assigned the webapps to be /dspace/webapps)

the page is:
http://78.129.197.42:8080/

it either gets 'the connection was reset' or a white page with no source.

anyone got an idea?

Chris



Chris Ward

unread,
Aug 25, 2015, 1:00:14 PM8/25/15
to G.Br...@library.usyd.edu.au, dspac...@lists.sourceforge.net
I have edited /etc/tomcat5.5/server.xml to set the appBase to be dspace/webapps.

dspace.url = http://localhost:8080/jspui
dspace.name = DSpace at My University

there no no log files in /usr/share/tomcat5-5/logs, and i did find my catellina.out  in /var/log/tomcat5.5 but it was blank.

any ideas?

Chris



http://www.ico3.com
ch...@ico3.com

Gary Browne

unread,
Aug 25, 2015, 1:00:16 PM8/25/15
to dspac...@lists.sourceforge.net
Hi Chris,

Sorry, I meant dspace.hostname, not dspace.name - try changing the
following in dspace.cfg:

Dspace.url = http://78.129.197.42:8080/jspui
Dspace.hostname = 78.129.197.42

(don't forget to do an ant init_configs after making this change)

In your server.xml, is this appBase parameter within an <Engine><Host
appBase="..." type setup? If so, try the following:

* Change <Host appBase="/dspace/webapps" to <Host appBase="webapps" (no
slash)
* Add the following Context element somewhere between the Host elements:
<Context path="/jspui" docBase="/dspace/webapps/jspui"
debug="0" reloadable="true" cachingAllowed="false" allowLinking="true"/>
(NOTE: some of these parameters are suitable for dev
environments only, such as reloadable="true")
* Restart tomcat

You should be able to access your dspace application at
http://78.129.197.42:8080/jspui

Let's see how that goes.

Cheers
Gary


Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946



________________________________

From: Chris Ward [mailto:ch...@ico3.com]
Sent: Tuesday, 18 August 2009 1:09 AM
To: Gary Browne
Cc: dspac...@lists.sourceforge.net
Subject: RE: Re: [Dspace-tech] problem installing dspace


I have edited /etc/tomcat5.5/server.xml to set the appBase to be
dspace/webapps.

dspace.url = http://localhost:8080/jspui
dspace.name = DSpace at My University

there no no log files in /usr/share/tomcat5-5/logs, and i did
find my catellina.out in /var/log/tomcat5.5 but it was blank.

any ideas?

Chris


> 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
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
------------------------------------------------------------------------
>
>
------------------------------------------------------------------------
------

Chris Ward

unread,
Aug 25, 2015, 1:01:32 PM8/25/15
to G.Br...@library.usyd.edu.au, dspac...@lists.sourceforge.net
Thanx for that. i made those changes but it was still just a white page. Stupidly tomcat had crashed and the stop|restart|start commands just said [OK] and didnt give any errors. I killed the process I and started tomcat again and it works!!!

I wonder how long it was just that tomcat had crashed. that you so much for your help.

Chris



http://www.ico3.com
ch...@ico3.com

Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400


-----Original Message-----

Hi Chris,

Sorry, I meant dspace.hostname, not dspace.name - try changing the
following in dspace.cfg:

Dspace.url = http://78.129.197.42:8080/jspui
Dspace.hostname = 78.129.197.42

(don't forget to do an ant init_configs after making this change)

In your server.xml, is this appBase parameter within an
appBase="..." type setup? If so, try the following:

* Change
slash)
* Add the following Context element somewhere between the Host elements:

------------------------------------------------------------------------------

Fabricio Costa

unread,
Aug 25, 2015, 1:01:34 PM8/25/15
to dspac...@lists.sourceforge.net, Lewatle Phaladi

I don't know much about import process, but maybe the directories containing files are incorrect.

Are you sure all files are in directory /export/contained/? Try to put files in same directory.

Fabricio


--- Em seg, 17/8/09, Lewatle Phaladi <Lewatle...@wits.ac.za> escreveu:

> De: Lewatle Phaladi <Lewatle...@wits.ac.za>
> Assunto: RE: [Dspace-tech] Importing Multiple files Same Time
> Para: "Fabricio Costa" <briz...@yahoo.com.br>, dspac...@lists.sourceforge.net
> Data: Segunda-feira, 17 de Agosto de 2009, 5:44
>
>
>
>
>
> RE: [Dspace-tech] Importing Multiple files Same
Reply all
Reply to author
Forward
0 new messages