You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-dev@incubator.apache.org by "Hubert Wong (JIRA)" <ji...@apache.org> on 2009/05/01 00:07:30 UTC

[jira] Created: (OLIO-91) Database.yml.template configuration error

Database.yml.template configuration error
-----------------------------------------

                 Key: OLIO-91
                 URL: https://issues.apache.org/jira/browse/OLIO-91
             Project: Olio
          Issue Type: Bug
          Components: rails-app
    Affects Versions: 0.1
         Environment: Rails 2.3.2
            Reporter: Hubert Wong
            Assignee: Shanti Subramanyam
            Priority: Trivial
             Fix For: 0.1


The database.yml.template configuration should use the key "host" instead of "hostname" for referring to the database server host.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (OLIO-91) Database.yml.template configuration error

Posted by Shanti Subramanyam <Sh...@Sun.COM>.
Hmm - I assume you mean
https://svn.apache.org/repos/asf/incubator/olio/tags/0.1-final/webapp/rails/trunk 
?
This version does have the fix and corresponds to the 0.1 release.
I deleted the release-0.1 tag - I'm not sure why you're still seeing it.

Shanti

Hubert Wong wrote:
> Ah, I see what I did. I got confused when I checked out from 
> https://svn.apache.org/repos/asf/incubator/olio/tags/0.1-final/tags/release-0.1/webapp/rails/trunk/ thinking 
> that was the 0.1 final release. I see in 
> https://svn.apache.org/repos/asf/incubator/olio/tags/0.1-final/webapp/rails/trunk/ that 
> it is fixed.
>
> On May 1, 2009, at 9:29 AM, Shanti Subramanyam wrote:
>
>> Hubert,
>> Are you sure you tested the latest 0.1 kit ? I fixed this problem 
>> before building the final kit.
>>
>> Shanti
>>
>> Hubert Wong (JIRA) wrote:
>>> Database.yml.template configuration error
>>> -----------------------------------------
>>>
>>>                 Key: OLIO-91
>>>                 URL: https://issues.apache.org/jira/browse/OLIO-91
>>>             Project: Olio
>>>          Issue Type: Bug
>>>          Components: rails-app
>>>    Affects Versions: 0.1
>>>         Environment: Rails 2.3.2
>>>            Reporter: Hubert Wong
>>>            Assignee: Shanti Subramanyam
>>>            Priority: Trivial
>>>             Fix For: 0.1
>>>
>>>
>>> The database.yml.template configuration should use the key "host" 
>>> instead of "hostname" for referring to the database server host.
>>>
>>>
>

Re: [jira] Created: (OLIO-91) Database.yml.template configuration error

Posted by Hubert Wong <hu...@berkeley.edu>.
Ah, I see what I did. I got confused when I checked out from https://svn.apache.org/repos/asf/incubator/olio/tags/0.1-final/tags/release-0.1/webapp/rails/trunk/ 
  thinking that was the 0.1 final release. I see in https://svn.apache.org/repos/asf/incubator/olio/tags/0.1-final/webapp/rails/trunk/ 
  that it is fixed.

On May 1, 2009, at 9:29 AM, Shanti Subramanyam wrote:

> Hubert,
> Are you sure you tested the latest 0.1 kit ? I fixed this problem  
> before building the final kit.
>
> Shanti
>
> Hubert Wong (JIRA) wrote:
>> Database.yml.template configuration error
>> -----------------------------------------
>>
>>                 Key: OLIO-91
>>                 URL: https://issues.apache.org/jira/browse/OLIO-91
>>             Project: Olio
>>          Issue Type: Bug
>>          Components: rails-app
>>    Affects Versions: 0.1
>>         Environment: Rails 2.3.2
>>            Reporter: Hubert Wong
>>            Assignee: Shanti Subramanyam
>>            Priority: Trivial
>>             Fix For: 0.1
>>
>>
>> The database.yml.template configuration should use the key "host"  
>> instead of "hostname" for referring to the database server host.
>>
>>


Re: [jira] Created: (OLIO-91) Database.yml.template configuration error

Posted by Shanti Subramanyam <Sh...@Sun.COM>.
Hubert,
 Are you sure you tested the latest 0.1 kit ? I fixed this problem 
before building the final kit.

Shanti

Hubert Wong (JIRA) wrote:
> Database.yml.template configuration error
> -----------------------------------------
>
>                  Key: OLIO-91
>                  URL: https://issues.apache.org/jira/browse/OLIO-91
>              Project: Olio
>           Issue Type: Bug
>           Components: rails-app
>     Affects Versions: 0.1
>          Environment: Rails 2.3.2
>             Reporter: Hubert Wong
>             Assignee: Shanti Subramanyam
>             Priority: Trivial
>              Fix For: 0.1
>
>
> The database.yml.template configuration should use the key "host" instead of "hostname" for referring to the database server host.
>
>   

#images/Home page problem with rails app

Posted by Shanti Subramanyam <Sh...@Sun.COM>.
Will,
 Remember this issue ? We were seeing much less than 3 images/home page 
retrieved and so hacked the misc. stats to reduce the count to 2.5. I 
was doing some debugging in development mode and found that I was 
getting close to 3. So I set "config.action_controller.perform_caching = 
false" in production.rb and indeed the #images is much higher now - 2.97 
for a 50 user run.

All my googling didn't tell me what exactly happens with this 
perform_caching happens. The only info I found was that rails will cache 
the results of a sql query for the duration of this request and re-use 
the results if the same query is executed again. But I can't imagine why 
this should have any impact on the images included in the home page ?

Shanti



[jira] Closed: (OLIO-91) Database.yml.template configuration error

Posted by "Hubert Wong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OLIO-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hubert Wong closed OLIO-91.
---------------------------

    Resolution: Fixed

Issue exists in https://svn.apache.org/repos/asf/incubator/olio/tags/0.1-final/tags/release-0.1/webapp/rails/trunk/ but is fixed in https://svn.apache.org/repos/asf/incubator/olio/tags/0.1-final/webapp/rails/trunk/

> Database.yml.template configuration error
> -----------------------------------------
>
>                 Key: OLIO-91
>                 URL: https://issues.apache.org/jira/browse/OLIO-91
>             Project: Olio
>          Issue Type: Bug
>          Components: rails-app
>    Affects Versions: 0.1
>         Environment: Rails 2.3.2
>            Reporter: Hubert Wong
>            Assignee: Shanti Subramanyam
>            Priority: Trivial
>             Fix For: 0.1
>
>
> The database.yml.template configuration should use the key "host" instead of "hostname" for referring to the database server host.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OLIO-91) Database.yml.template configuration error

Posted by "Hubert Wong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OLIO-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704856#action_12704856 ] 

Hubert Wong commented on OLIO-91:
---------------------------------

Should I provide a patch or can someone just quickly change all the instances of "hostname" to "host"?

> Database.yml.template configuration error
> -----------------------------------------
>
>                 Key: OLIO-91
>                 URL: https://issues.apache.org/jira/browse/OLIO-91
>             Project: Olio
>          Issue Type: Bug
>          Components: rails-app
>    Affects Versions: 0.1
>         Environment: Rails 2.3.2
>            Reporter: Hubert Wong
>            Assignee: Shanti Subramanyam
>            Priority: Trivial
>             Fix For: 0.1
>
>
> The database.yml.template configuration should use the key "host" instead of "hostname" for referring to the database server host.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.