You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently updated jruby-jars version from 1.7.3 to 1.7.10. I use to deploy my application as war file on Tomcat using warbler successfully. After upgrade, I have noticed my initializers are loading multiple times.
Are you still seeing this issue with newer versions of jruby? I've never seen this bug before and I run a rails 3.2 app using jruby 1.7.11. Maybe it is one of your dependencies causing the issue?
@atambo Yes, I tried it again. I migrated my application lib from jruby-1.7.3 to 1.7.18. My application runs as expected when I run it in development environment with webrick server using App>jruby -S rails server. This works excellent and gives me expected behavior.
Above mentioned problem comes, when i create war file and deploy it in the tomcat server. It gets deployed successfully when I open my application home URL from the browser. I see on the tomcat console it loads the config\initializers* files multiple times. Opens application home page. Due to this application becomes unresponsive and throws error java.lang.OutOfMemoryError: Java heap space
In case any more details required, please let me know.
Note: My application works perfectly fine with my current lib ie jruby-1.7.3 in all environments.
@mukeshsinghr If you are still out there and interested in helping solve this, bisecting commits between 1.7.3 and 1.7.4 (or whatever release starts to break for you) would help us narrow it down. Of course, if you're still out there and haven't tried a recent 1.7 (1.7.25 is current) or moved to 9k, we'd strongly recommend that first.
@mukeshsinghr if you are still around reopen this. I am speculatively closing because 1.7.x is EOL'ing soon and there was some serious issues with resolving resources during the period you reported.
I have recently updated jruby-jars version from 1.7.3 to 1.7.10. I use to deploy my application as war file on Tomcat using warbler successfully. After upgrade, I have noticed my initializers are loading multiple times.
Following is my Gemfile.lock
The text was updated successfully, but these errors were encountered: