[Dspace-tech] StructBuilder says I am not authorized

2008-12-15 Thread Andrew Marlow
I am now having trouble running the StructBuilder. Here is the error I get:

Using DSpace installation in:
G:\mystuff\tools\dspace-1.5.1-src-release\dspace\target\dspace-1.5.1-build.dir
Exception in thread main org.dspace.authorize.AuthorizeException: Only
administrators can create communities
at org.dspace.content.Community.create(Community.java:193)

This used to work! The only thing I have done different is I blew away the
database because previous imports filled it with rubbish. I stopped tomcat,
dropped the database, said ant fresh_install and restarted tomcat. I must
have missed off something, but what?
-- 
Regards,

Andrew M.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] StructBuilder says I am not authorized

2008-12-15 Thread James Rutherford
On Mon, Dec 15, 2008 at 11:17:45PM +, Andrew Marlow wrote:
 I am now having trouble running the StructBuilder. Here is the error I get:
 
 Using DSpace installation in: 
 G:\mystuff\tools\dspace-1.5.1-src-release\dspace\target\dspace-1.5.1-build.dir
 Exception in thread main org.dspace.authorize.AuthorizeException: Only 
 administrators can create communities
 at org.dspace.content.Community.create(Community.java:193)
 
 This used to work! The only thing I have done different is I blew away
 the database because previous imports filled it with rubbish. I
 stopped tomcat, dropped the database, said ant fresh_install and
 restarted tomcat. I must have missed off something, but what?

Sounds like you forgot to re-create the administrator account (see the
install instructions).

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
james.rutherf...@hp.com   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] StructBuilder says I am not authorized

2008-12-15 Thread Claudia Jürgen
Hi Andrew,

as you dropped the database and did a fresh_install, there is no 
administrator anymore. Run [dspace]/bin/create_administrator and try the 
  structure-builder with this eperson.

Hope that helps

Claudia Jürgen


Andrew Marlow schrieb:
 I am now having trouble running the StructBuilder. Here is the error I get:
 
 Using DSpace installation in:
 G:\mystuff\tools\dspace-1.5.1-src-release\dspace\target\dspace-1.5.1-build.dir
 Exception in thread main org.dspace.authorize.AuthorizeException: Only
 administrators can create communities
 at org.dspace.content.Community.create(Community.java:193)
 
 This used to work! The only thing I have done different is I blew away the
 database because previous imports filled it with rubbish. I stopped tomcat,
 dropped the database, said ant fresh_install and restarted tomcat. I must
 have missed off something, but what?
 
 
 
 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech