You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by ratnamg <ra...@iname.com> on 2008/02/09 02:21:15 UTC

Re: Help with installation

The file is attached. The location of the file is
/usr/share/tomcat55/common/classes/roller-custom.properties





Gabe Wong wrote:
> 
> Could you please provide the complete roller-custom.properties. Also 
> what is the path that it was placed in?
> 
> ratnamg wrote:
>> Yes the connect string says rollerdb.. The posting had a typo
>>
>>
>>
>> Gabe Wong wrote:
>>   
>>> so the connection string in the properties file says
>>>
>>> jdbc:mysql://localhost:3306/rollerdb?autoReconnect=true
>>> AND NOT
>>> jdbc:mysql://localhost:3306/roller?autoReconnect=true
>>> as in your previous message?
>>>
>>> ratnamg wrote:
>>>     
>>>> I checked that again. The database is called rollerdb and the
>>>> connection
>>>> parameter is also rollerdb
>>>>
>>>>
>>>>
>>>>
>>>> ratnamg wrote:
>>>>   
>>>>       
>>>>> database name is rollerdb
>>>>>
>>>>> I can connect to the database using mysql
>>>>>
>>>>>
>>>>> Gabe Wong wrote:
>>>>>     
>>>>>         
>>>>>> ratnamg wrote:
>>>>>>       
>>>>>>           
>>>>>>> Thanks to all that replied. I completed reinstalled Java/JVM/JDK
>>>>>>> from
>>>>>>> sun and
>>>>>>> seems to move me forward a little. I am now getting a completely
>>>>>>> different
>>>>>>> error. I have installed the latest version of the mysql J connector
>>>>>>> as
>>>>>>> well.
>>>>>>>
>>>>>>>
>>>>>>> To make sure I am not doing anything incorrect I have created a db
>>>>>>> with
>>>>>>> the
>>>>>>> same name as in the documentation i.e., rollerdb and my
>>>>>>> roller-custom.properties file has these entries
>>>>>>>
>>>>>>> jdbc.driverClass=com.mysql.jdbc.Driver
>>>>>>> jdbc.connectionURL=jdbc:mysql://localhost:3306/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8
>>>>>>> jdbc.username=scott
>>>>>>> jdbc.password=tiger
>>>>>>>
>>>>>>> FATAL 2008-02-08 14:41:09,287 RollerContext:contextInitialized -
>>>>>>> Roller
>>>>>>> Weblogger startup failed during app preparation
>>>>>>> org.apache.roller.weblogger.business.startup.StartupException:
>>>>>>> ERROR:
>>>>>>> unable
>>>>>>> to obtain database connection. Likely problem: bad connection
>>>>>>> parameters
>>>>>>> or
>>>>>>> database unavailable.
>>>>>>>         at
>>>>>>> org.apache.roller.weblogger.business.DatabaseProvider.<init>(DatabaseProvider.java:148)
>>>>>>>         at
>>>>>>>   
>>>>>>>         
>>>>>>>             
>>>>>> Is the database name roller or rollerdb?
>>>>>>
>>>>>> -- 
>>>>>> Regards
>>>>>>
>>>>>> Gabe Wong
>>>>>> NGASI AppServer Manager
>>>>>> JAVA AUTOMATION and SaaS Enablement
>>>>>>  http://www.ngasi.com http://www.ngasi.com 
>>>>>> NEW! 8.0 - Centrally manage multiple physical servers
>>>>>>
>>>>>>
>>>>>>
>>>>>>       
>>>>>>           
>>>>>     
>>>>>         
>>>>   
>>>>       
>>> -- 
>>> Regards
>>>
>>> Gabe Wong
>>> NGASI AppServer Manager
>>> JAVA AUTOMATION and SaaS Enablement
>>>  http://www.ngasi.com http://www.ngasi.com 
>>> NEW! 8.0 - Centrally manage multiple physical servers
>>>
>>>
>>>
>>>     
>>
>>   
> 
> 
> -- 
> Regards
> 
> Gabe Wong
> NGASI AppServer Manager
> JAVA AUTOMATION and SaaS Enablement
>  http://www.ngasi.com http://www.ngasi.com 
> NEW! 8.0 - Centrally manage multiple physical servers
> 
> 
> 
http://www.nabble.com/file/p15367336/roller-custom.properties
roller-custom.properties 
-- 
View this message in context: http://www.nabble.com/Help-with-Installation-tp15348515s12275p15367336.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: Help with installation

Posted by ratnamg <ra...@iname.com>.
Thanks.. That worked... Appreciate the help...




Gabe Wong wrote:
> 
> ratnamg wrote:
>> The file is attached. The location of the file is
>> /usr/share/tomcat55/common/classes/roller-custom.properties
>>
>>
>>
>>   
> Note sure which documentation you are referencing, however the syntax 
> should look like:
> installation.type=auto
> database.configurationType=jdbc
> database.jdbc.driverClass=com.mysql.jdbc.Driver
> database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollerdb
> database.jdbc.username=scott
> database.jdbc.password=tiger
> 
> 
> -- 
> Regards
> 
> Gabe Wong
> NGASI AppServer Manager
> JAVA AUTOMATION and SaaS Enablement
>  http://www.ngasi.com http://www.ngasi.com 
> NEW! 8.0 - Centrally manage multiple physical servers
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Help-with-Installation-tp15348515s12275p15390672.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: Help with installation

Posted by Gabe Wong <ga...@ngasi.com>.
ratnamg wrote:
> The file is attached. The location of the file is
> /usr/share/tomcat55/common/classes/roller-custom.properties
>
>
>
>   
Note sure which documentation you are referencing, however the syntax 
should look like:
installation.type=auto
database.configurationType=jdbc
database.jdbc.driverClass=com.mysql.jdbc.Driver
database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollerdb
database.jdbc.username=scott
database.jdbc.password=tiger


-- 
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