Hi
I am trying to create administrator , i got the same problem, and i had
figure it out and it is working for me
In database there is a table called *epersongroup* , By default there are
two values are
inserted
0 - Anonymous
1 - Administrator
Check whether you have this two values or not i guess it wont be there
So, change Id to 1
it will work.
--
*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 fish and you
feed him for a lifetime.*
On Wed, Nov 18, 2009 at 12:56 PM, Hardik Mishra har...@webinito.com wrote:
Hi
Sorry for late reply,
Please check that the database has UTF-8 encoding
--
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.
On Wed, Nov 18, 2009 at 12:44 PM, Renate Morgenstern rmorgenst...@iway.na
wrote:
Hi again,
I sent you the Java version used on the server. Any suggestion why we have
this problem?
I also received a message from Stuart Lewis and he said that this has been
discussed on the IR channel.
See below:
We've just been discussing this on the #dspace IRC channel, as it is a
strange problem.
When attempting to create the administrator account I run into an
error. Any suggestion what we could do? dsp...@ir1:/usr/local/dspace/bin$
./create-administrator Creating an initial administrator account
DatabaseManager.java:475)
Can you check in your Postgres (or Oracle) database that all the
DSpace tables have been created successfully? The main table to check
for this problem is 'eperson'.
Thanks,
Can u please tell what java version are you using ?
It might be a problem with older java versions.
--
*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*.
Message: 1
Date: Fri, 13 Nov 2009 11:27:26 +1300
From: Stuart Lewis s.le...@auckland.ac.nz
Subject: Re: [Dspace-tech] Creating administrator account error
To: rmorgenst...@iway.na rmorgenst...@iway.na
Cc: Dspace-tech@lists.sourceforge.net
Dspace-tech@lists.sourceforge.net
Message-ID: 36970807-efb4-4faf-8272-fc27fdf7d...@auckland.ac.nz
Content-Type: text/plain; charset=us-ascii
Hi Renate,
We've just been discussing this on the #dspace IRC channel, as it is a
strange problem.
When attempting to create the administrator account I run into
an error.
Any suggestion what we could do?
dsp...@ir1:/usr/local/dspace/
bin$ ./create-administrator
Creating an initial administrator account
E-mail address:
First name:
Last name:
WARNING: Password will appear on-screen.
Password:
Again to confirm:
Is the above data correct? (y or n): y
Exception in thread main java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
at java.util.regex.Matcher.init(Matcher.java:211)
at java.util.regex.Pattern.matcher(Pattern.java:888)
at
org.dspace.storage.rdbms.DatabaseManager.findByUnique
(DatabaseManager.java:475)
Can you check in your Postgres (or Oracle) database that all the
DSpace tables have been created successfully? The main table to check
for this problem is 'eperson'.
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/
--
Renate Morgenstern
P O Box 30664, WIndhoek, Namibia
Tel/Fax: 242124
Email: rmorgenst...@iway.na
--
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