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.

