You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by "Broderick, Andrew" <An...@Monster.com> on 2008/02/12 17:32:58 UTC
The administrator of this site has disabled user registrations at this time ...
Hi,
Now I have my new Tomcat installation of Roller 4 working, and have
created the database tables (Oracle 10 XE). Clicking the new user
registration link, however, gives me the following message:
The administrator of this site has disabled user registrations at this
time. Please contact the system administrators if you think this is
incorrect.
It has created the roller_data directory, so that's not the problem. I
can't find anything in the log files either. What could be the problem?
Thanks
NOTICE:
This message may contain privileged or otherwise confidential information. If you are not the intended recipient, please immediately advise the sender by reply email and delete the message and any attachments without using, copying or disclosing the contents. (FE1)
Re: Couldn't lookup current database version - maybe related to user registration error
Posted by Simon Haslam <si...@yahoo.co.uk>.
--- Gabe Wong <ga...@ngasi.com> wrote:
> Add the following line to it:
> hibernate.dialect=org.hibernate.dialect.OracleDialect
>
> Hi Dave,
> Is there an error in the Install Guide:
> # If you are using the Hibernate backend (deprecated as of Roller 4.0),
> # you MUST override this to use a database other than MySQL4
> hibernate.dialect=org.hibernate.dialect.MySQLDialect
>
I've also got this in my roller-custom.properties too (as I think Gabe suggested):
openjpa.jdbc.DBDictionary=oracle
-Simon
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
Re: Couldn't lookup current database version - maybe related to user
registration error
Posted by Gabe Wong <ga...@ngasi.com>.
Broderick, Andrew wrote:
> Here it is:
>
> installation.type=auto
> database.configurationType=jdbc
> database.jdbc.driverClass=oracle.jdbc.OracleDriver
> database.jdbc.connectionURL=jdbc:oracle:thin:@localhost:1521:xe
> database.jdbc.username=*****
> database.jdbc.password=*****
>
> Thanks
>
> -----Original Message-----
> From: Gabe Wong [mailto:gabrielw@ngasi.com]
> Sent: Tuesday, February 12, 2008 11:40 AM
> To: user@roller.apache.org
> Subject: Re: Couldn't lookup current database version - maybe related to
> user registration error
>
> Broderick, Andrew wrote:
>
>> Sorry for all the messages, but I am getting another error that is
>> probably causing, or related to, the user registration one:
>>
>> ERROR 2008-02-12 11:11:51,440 DatabaseInstaller:getDatabaseVersion -
>> Couldn't lookup current database version
>>
Add the following line to it:
hibernate.dialect=org.hibernate.dialect.OracleDialect
Hi Dave,
Is there an error in the Install Guide:
# If you are using the Hibernate backend (deprecated as of Roller 4.0),
# you MUST override this to use a database other than MySQL4
hibernate.dialect=org.hibernate.dialect.MySQLDialect
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
<a href=http://www.ngasi.com>http://www.ngasi.com</a>
NEW! 8.0 - Centrally manage multiple physical servers
RE: Couldn't lookup current database version - maybe related to user registration error
Posted by "Broderick, Andrew" <An...@Monster.com>.
Here it is:
installation.type=auto
database.configurationType=jdbc
database.jdbc.driverClass=oracle.jdbc.OracleDriver
database.jdbc.connectionURL=jdbc:oracle:thin:@localhost:1521:xe
database.jdbc.username=*****
database.jdbc.password=*****
Thanks
-----Original Message-----
From: Gabe Wong [mailto:gabrielw@ngasi.com]
Sent: Tuesday, February 12, 2008 11:40 AM
To: user@roller.apache.org
Subject: Re: Couldn't lookup current database version - maybe related to
user registration error
Broderick, Andrew wrote:
> Sorry for all the messages, but I am getting another error that is
> probably causing, or related to, the user registration one:
>
> ERROR 2008-02-12 11:11:51,440 DatabaseInstaller:getDatabaseVersion -
> Couldn't lookup current database version
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:415)
>
Could you share your roller-custom.properties file with us?
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
<a href=http://www.ngasi.com>http://www.ngasi.com</a>
NEW! 8.0 - Centrally manage multiple physical servers
NOTICE:
This message may contain privileged or otherwise confidential information. If you are not the intended recipient, please immediately advise the sender by reply email and delete the message and any attachments without using, copying or disclosing the contents. (FE1)
Re: Couldn't lookup current database version - maybe related to user
registration error
Posted by Gabe Wong <ga...@ngasi.com>.
Broderick, Andrew wrote:
> Sorry for all the messages, but I am getting another error that is
> probably causing, or related to, the user registration one:
>
> ERROR 2008-02-12 11:11:51,440 DatabaseInstaller:getDatabaseVersion -
> Couldn't lookup current database version
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:415)
>
Could you share your roller-custom.properties file with us?
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
<a href=http://www.ngasi.com>http://www.ngasi.com</a>
NEW! 8.0 - Centrally manage multiple physical servers
Couldn't lookup current database version - maybe related to user registration error
Posted by "Broderick, Andrew" <An...@monster.com>.
Sorry for all the messages, but I am getting another error that is
probably causing, or related to, the user registration one:
ERROR 2008-02-12 11:11:51,440 DatabaseInstaller:getDatabaseVersion -
Couldn't lookup current database version
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.parseInt(Integer.java:497)
at
org.apache.roller.weblogger.business.startup.DatabaseInstaller.getDataba
seVersion(DatabaseInstaller.java:1169)
at
org.apache.roller.weblogger.business.startup.DatabaseInstaller.isUpgrade
Required(DatabaseInstaller.java:99)
at
org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(We
bloggerStartup.java:201)
As I mentioned, my DB is Oracle 10g XE. It can connect, and managed to
run the create table scripts. All the tables appear to be there, and I
am not getting a connection error. Any ideas?
Thanks
NOTICE:
This message may contain privileged or otherwise confidential information. If you are not the intended recipient, please immediately advise the sender by reply email and delete the message and any attachments without using, copying or disclosing the contents. (FE1)
Re: The administrator of this site has disabled user registrations at this time ...
Posted by Dave <sn...@gmail.com>.
On Tue, Feb 12, 2008 at 11:50 AM, Broderick, Andrew
<An...@monster.com> wrote:
> As a followup to my previous message, I found the
> 'users.registration.enabled' property, which was initially set to false!
> I set it to true in the DB, and restarted Tomcat, but it made no
> difference. Still cannot register a user.
Hmm. That should do it.
Can you see that property in the UI (on the Server Admin page)? Does
it appear to be enabled in the UI?
- Dave
RE: The administrator of this site has disabled user registrations at this time ...
Posted by "Broderick, Andrew" <An...@Monster.com>.
As a followup to my previous message, I found the
'users.registration.enabled' property, which was initially set to false!
I set it to true in the DB, and restarted Tomcat, but it made no
difference. Still cannot register a user.
Thanks
NOTICE:
This message may contain privileged or otherwise confidential information. If you are not the intended recipient, please immediately advise the sender by reply email and delete the message and any attachments without using, copying or disclosing the contents. (FE1)