Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install

2009-03-05 Thread Kurzenberger, Eric
Hi Kim,

Thanks for the response.  I believe I had done this before, but as part of my 
troubleshooting, I recreate the dspace directory and database, generated the 
installation package, and attempted to run ant fresh_install again, I got:

BUILD FAILED: 
/usr/local/dspace-1.5.1-release/dspace/target/dspace-1.5.1-build.dir/build.xml:380:
 Java returned: 1

I've attached the full response I received as a text file.

Thanks for all your help.

Eric


On 3/5/09 4:49 PM, Kim Shepherd k...@waikato.ac.nz wrote:

Hi Eric,

Did you build with ant fresh_install after you'd compiled? This ant build 
target populates the database with the tables/sequences DSpace expects to 
find... if you've deployed the apps some other way you might find you're still 
sitting on an empty Dspace database.

Cheers,

Kim.

 -Original Message-
 From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu]
 Sent: Friday, 6 March 2009 10:35 a.m.
 To: DSpace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Community does not exist error on Mac OS
 10.5DSpace install

 Hello,

 I just set up an installation of DSpace 1.5.1 on Mac OS 10.5.6, and I'm
 getting some errors:

 When I run the CreateAdministrator command per the documentation, I get
 the following response:

 Exception in thread main java.lang.NullPointerException
 at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
 at java.util.regex.Matcher.reset(Matcher.java:284)
 at java.util.regex.Matcher.init(Matcher.java:205)
 at java.util.regex.Pattern.matcher(Pattern.java:879)
 at
 org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.j
 ava:475)
 at
 org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:445)
 at org.dspace.eperson.Group.find(Group.java:695)
 at
 org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdm
 inistrator.java:232)
 at
 org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails
 (CreateAdministrator.java:209)
 at
 org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java
 :113)

 Then, when I go to http://localhost:8080/dspace, I get a 404 page
 saying the requested resource (/dspace) is not available.  My Tomcat
 5.5.27 installation appears to be fine.  And when I go to
 http://localhost:8080/jspui, I get the main Dspace page with an
 Internal System Error message; the dspace log reports the error
 relation 'community' does not exist.

 I've included a snippet of the log with this email.  I'm using Java
 version 1.5.0_16.  Any help would be greatly appreciated.

 Cheers,

 Eric Kurzenberger
 Digital Media Coordinator
 Yale School of Architecture
 Yale University




fresh_install_error.txt
Description: fresh_install_error.txt
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install

2009-03-05 Thread Kurzenberger, Eric
So, I restarted the postgresql server, and after doing so, I was able to run 
ant fresh_install successfully.  I now get the initial Dspace is live! page 
when I go to http://localhost:8080/jspui/.  I still get the 404 resource 
(/dspace) is unavailable page when going to http://localhost:8080/dspace for 
some reason, but I don't know if that's a symptom of further problems or not.

Cheers,

Eric


On 3/5/09 4:49 PM, Kim Shepherd k...@waikato.ac.nz wrote:

Hi Eric,

Did you build with ant fresh_install after you'd compiled? This ant build 
target populates the database with the tables/sequences DSpace expects to 
find... if you've deployed the apps some other way you might find you're still 
sitting on an empty Dspace database.

Cheers,

Kim.

 -Original Message-
 From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu]
 Sent: Friday, 6 March 2009 10:35 a.m.
 To: DSpace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Community does not exist error on Mac OS
 10.5DSpace install

 Hello,

 I just set up an installation of DSpace 1.5.1 on Mac OS 10.5.6, and I'm
 getting some errors:

 When I run the CreateAdministrator command per the documentation, I get
 the following response:

 Exception in thread main java.lang.NullPointerException
 at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
 at java.util.regex.Matcher.reset(Matcher.java:284)
 at java.util.regex.Matcher.init(Matcher.java:205)
 at java.util.regex.Pattern.matcher(Pattern.java:879)
 at
 org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.j
 ava:475)
 at
 org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:445)
 at org.dspace.eperson.Group.find(Group.java:695)
 at
 org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdm
 inistrator.java:232)
 at
 org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails
 (CreateAdministrator.java:209)
 at
 org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java
 :113)

 Then, when I go to http://localhost:8080/dspace, I get a 404 page
 saying the requested resource (/dspace) is not available.  My Tomcat
 5.5.27 installation appears to be fine.  And when I go to
 http://localhost:8080/jspui, I get the main Dspace page with an
 Internal System Error message; the dspace log reports the error
 relation 'community' does not exist.

 I've included a snippet of the log with this email.  I'm using Java
 version 1.5.0_16.  Any help would be greatly appreciated.

 Cheers,

 Eric Kurzenberger
 Digital Media Coordinator
 Yale School of Architecture
 Yale University



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install

2009-03-05 Thread Kim Shepherd
Hi Eric,

This time, Dspace was unable to connect to the database...
(slightly surprising, I would have assumed by your previous error that Dspace 
had connected to the DB but just couldn't query 'community' -- however, 
technically that's still true, we just never saw the actual pgsql error)
Please check [dspace]/config/dspace.cfg and just make sure that the hostname, 
username and password are correct for your PostgreSQL database, and that 
pg_hba.conf (in your postgresql data or config dir) is allowing the appropriate 
host/user to connect to the Dspace database in the appropriate method.

I probably should have reminded to make up existing configs, etc. before 
running fresh_install, and that [dspace-source]/dspace/config/dspace.cfg is the 
safest place to keep your local changes.

Cheers,

Kim


 -Original Message-
 From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu]
 Sent: Friday, 6 March 2009 11:54 a.m.
 To: Kim Shepherd; DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Community does not exist error on Mac OS
 10.5DSpace install
 
 Hi Kim,
 
 Thanks for the response.  I believe I had done this before, but as part
 of my troubleshooting, I recreate the dspace directory and database,
 generated the installation package, and attempted to run ant
 fresh_install again, I got:
 
 BUILD FAILED: /usr/local/dspace-1.5.1-release/dspace/target/dspace-
 1.5.1-build.dir/build.xml:380: Java returned: 1
 
 I've attached the full response I received as a text file.
 
 Thanks for all your help.
 
 Eric
 
 
 On 3/5/09 4:49 PM, Kim Shepherd k...@waikato.ac.nz wrote:
 
 Hi Eric,
 
 Did you build with ant fresh_install after you'd compiled? This ant
 build target populates the database with the tables/sequences DSpace
 expects to find... if you've deployed the apps some other way you might
 find you're still sitting on an empty Dspace database.
 
 Cheers,
 
 Kim.
 
  -Original Message-
  From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu]
  Sent: Friday, 6 March 2009 10:35 a.m.
  To: DSpace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] Community does not exist error on Mac OS
  10.5DSpace install
 
  Hello,
 
  I just set up an installation of DSpace 1.5.1 on Mac OS 10.5.6, and
  I'm getting some errors:
 
  When I run the CreateAdministrator command per the documentation, I
  get the following response:
 
  Exception in thread main java.lang.NullPointerException
  at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
  at java.util.regex.Matcher.reset(Matcher.java:284)
  at java.util.regex.Matcher.init(Matcher.java:205)
  at java.util.regex.Pattern.matcher(Pattern.java:879)
  at
  org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.
  j
  ava:475)
  at
 
 org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:445)
  at org.dspace.eperson.Group.find(Group.java:695)
  at
 
 org.dspace.administer.CreateAdministrator.createAdministrator(CreateAd
  m
  inistrator.java:232)
  at
 
 org.dspace.administer.CreateAdministrator.negotiateAdministratorDetail
  s
  (CreateAdministrator.java:209)
  at
 
 org.dspace.administer.CreateAdministrator.main(CreateAdministrator.jav
  a
  :113)
 
  Then, when I go to http://localhost:8080/dspace, I get a 404 page
  saying the requested resource (/dspace) is not available.  My Tomcat
  5.5.27 installation appears to be fine.  And when I go to
  http://localhost:8080/jspui, I get the main Dspace page with an
  Internal System Error message; the dspace log reports the error
  relation 'community' does not exist.
 
  I've included a snippet of the log with this email.  I'm using Java
  version 1.5.0_16.  Any help would be greatly appreciated.
 
  Cheers,
 
  Eric Kurzenberger
  Digital Media Coordinator
  Yale School of Architecture
  Yale University
 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install

2009-03-05 Thread Kim Shepherd
Ah, that sounds better.
Your main webapp is called 'jspui', 'dspace' was the default name of the JSPUI 
webapp in 1.4, but this is no longer the case in 1.5
If you want /dspace to stay in the base URL, it's a simple case of renaming the 
jspui webapp before/while deploying to Tomcat.

So - nothing to worry about, /jspui is the one you want by default anyway.

Cheers,

Kim


 -Original Message-
 From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu]
 Sent: Friday, 6 March 2009 12:07 p.m.
 To: Kim Shepherd; DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Community does not exist error on Mac OS
 10.5DSpace install
 
 So, I restarted the postgresql server, and after doing so, I was able
 to run ant fresh_install successfully.  I now get the initial Dspace
 is live! page when I go to http://localhost:8080/jspui/.  I still get
 the 404 resource (/dspace) is unavailable page when going to
 http://localhost:8080/dspace for some reason, but I don't know if
 that's a symptom of further problems or not.
 
 Cheers,
 
 Eric
 
 
 On 3/5/09 4:49 PM, Kim Shepherd k...@waikato.ac.nz wrote:
 
 Hi Eric,
 
 Did you build with ant fresh_install after you'd compiled? This ant
 build target populates the database with the tables/sequences DSpace
 expects to find... if you've deployed the apps some other way you might
 find you're still sitting on an empty Dspace database.
 
 Cheers,
 
 Kim.
 
  -Original Message-
  From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu]
  Sent: Friday, 6 March 2009 10:35 a.m.
  To: DSpace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] Community does not exist error on Mac OS
  10.5DSpace install
 
  Hello,
 
  I just set up an installation of DSpace 1.5.1 on Mac OS 10.5.6, and
 I'm
  getting some errors:
 
  When I run the CreateAdministrator command per the documentation, I
 get
  the following response:
 
  Exception in thread main java.lang.NullPointerException
  at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
  at java.util.regex.Matcher.reset(Matcher.java:284)
  at java.util.regex.Matcher.init(Matcher.java:205)
  at java.util.regex.Pattern.matcher(Pattern.java:879)
  at
 
 org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.j
  ava:475)
  at
 
 org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:445)
  at org.dspace.eperson.Group.find(Group.java:695)
  at
 
 org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdm
  inistrator.java:232)
  at
 
 org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails
  (CreateAdministrator.java:209)
  at
 
 org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java
  :113)
 
  Then, when I go to http://localhost:8080/dspace, I get a 404 page
  saying the requested resource (/dspace) is not available.  My Tomcat
  5.5.27 installation appears to be fine.  And when I go to
  http://localhost:8080/jspui, I get the main Dspace page with an
  Internal System Error message; the dspace log reports the error
  relation 'community' does not exist.
 
  I've included a snippet of the log with this email.  I'm using Java
  version 1.5.0_16.  Any help would be greatly appreciated.
 
  Cheers,
 
  Eric Kurzenberger
  Digital Media Coordinator
  Yale School of Architecture
  Yale University
 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech