I wonder how long it was just that tomcat had crashed. that you so much for your help.
Chris
|
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 = ""> 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:
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:[email protected]]
Sent: Tuesday, 18 August 2009 1:09 AM
To: Gary Browne
Cc: [email protected]
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 = ""> 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
[email protected]
Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400
-----Original Message-----
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:[email protected]]
Sent: Mon 8/17/2009 18:09
To: Gary Browne
Cc: [email protected]
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
http://www.ico3.com
[email protected]
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:[email protected]]
Sent: Fri 8/14/2009 19:33
To: [email protected]
Cc: [email protected]
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.ja
va: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.ja
va: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
[email protected]
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
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?
>
>
>
>
>
>
> http://www.ico3.com
> [email protected]
>
> Chris Ward
> Web Developer
> ICO3 Limited
> Tamar Science Park
> Davy Rd
> Plymouth
> 01752 764400
>
>
>
> -----Original Message-----
>
> 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:[email protected]]
> > Sent: Thursday, 13 August 2009 6:03 PM
> > To: [email protected]
> > Subject: Re: [Dspace-tech] problem installing dspace
> >
> >
> >
> > 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.
> > >
> > > -----Original Message-----
> > > From: wardy277 [mailto:[email protected]]
> > > Sent: 12 August 2009 14:03
> > > To: [email protected]
> > > Subject: [Dspace-tech] problem installing dspace
> > >
> > >
> > > 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/b
> > > uild.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.ht
> > > ml 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
> > > [email protected]
> > > 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
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > >
> > >
> >
> > --
> > View this message in context:
> >
http://www.nabble.com/problem-installing-dspace-tp24919745p249
> > 50609.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
> > [email protected]
> > 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
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 [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

