I have an applications that was ported from Rails 1.x/tomcat to Rails
2.2.2/glassfish. It runs correctly on mongrel using jruby 1.1.6, but
generating a war file using warbler and deploying to glassfish I get the
following error as soon as I access the application:
unable to create shared application instance
org.jruby.rack.RackInitializationException: migration database is not
I don’t understand why migrations should be invoked in the first place.
I ported the app by creating a new Rails 2.2.2 application and copying
things from my app dir into the new directory. I also modified the
configs to suit the project (database, etc.).
Any ideas as to what could be going wrong here?