Bugs: Browse | Submit New | Admin

[#26149] Glassfish Gem fails to load Rails application in the production environment

Date:
2009-06-05 21:10
Priority:
3
Submitted By:
Conrad Taylor (conradwt)
Assigned To:
Vivek Pandey (vivekp)
Category:
gem
State:
Closed
Target Release:
 
Summary:
Glassfish Gem fails to load Rails application in the production environment

Detailed description
I have tried several times to run a very simple Rails application in production without success.  At this time, it seems
that it's failing early on because the production.log doesn't indicate that I have hit the server.  For example, I never
see the following line when loading my Rails application:

INFO:  Loading application test at /

Furthermore, there are no errors being generated in the log.  Next, I have the following configuration:

Mac OS 10.5.7 (Intel MacBook Pro)
JRuby 1.3.0RC2
Java 1.6
Rails 2.3.2 with jdbcsqlite3
glassfish 0.9.5

Last but not least, I'm running glassfish using the following command line options in the Rails root of my application:

glassfish -e production





Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-06-06 18:14
Sender: Conrad Taylor

This issue has been resolved because I missed a migration on
the production
side.
Date: 2009-06-05 23:04
Sender: Vivek Pandey

In my test I see the gem working fine to run applications in
production mode.  Can you attach development.log with this bug?

In production mode the log level is a :info. To change to :debug,
you need to edit config/environments/production.rb and uncomment
the following line:

# config.log_level = :debug

I think, there is something failing way early. I wonder if you
have created dbs for production mode and also done migration
accordingly?

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2009-06-06 18:14conradwt
close_date2009-06-06 18:142009-06-06 18:14conradwt
artifact_group_idv0.9.42009-06-05 23:04vivekp
artifact_group_idNone2009-06-05 23:04vivekp