Forgot to mention:

There are 4 asynchronous queries being fired. Out of these 3 get fired 
and result is achieved as expected, however the 4th query doesnt produce 
any result

There are no exceptions thrown neither any log created.
However in Postgre Sql console the stack trace is as previously 
mentioned.

Yani Yen wrote:
> We have an application Ruby on rails, which fires a number of queries to
> the database. I Suspect it is connection timeout error or something
> 
> When we run the application in development mode, it works as expected.
> However when we switch to Production mode, we get the following error in
> Postgre console:
> --------------------------
> LOG:  could not receive data from client: No connection could be made
> because th
> e target machine actively refused it.
> 
> LOG:  unexpected EOF on client connection
> ------------------------
> 
> Entries in database.yml file are as follows:
> 
> development:
>   adapter: jdbcpostgresql
>   database: microblogging
>   username: databaseusername
>   password: databasepassword
>   pool: 15
>   timeout: 15000
> 
> production:
>   adapter: jdbcpostgresql
>   database: microblogging
>   username: databaseusername
>   password: databasepassword
>   pool: 15
>   timeout: 15000
> 
> 
> Environment:
> Jruby version 1.5.0
> Rails version 2.3.5
> Postgre SQL database
> Internal WEBrick server

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to