[JIRA] Commented: (WARBLER-27) Warbler-generated war file fails to load in Tomcat using relative_url_root
- From: "mhuffnagle (JIRA)" <jira-no-reply@kenai.com>
- To: issues@warbler.kenai.com
- Subject: [JIRA] Commented: (WARBLER-27) Warbler-generated war file fails to load in Tomcat using relative_url_root
- Date: Wed, 16 Nov 2011 15:47:58 +0000 (GMT+00:00)
- Auto-submitted: auto-generated
[
http://kenai.com/jira/browse/WARBLER-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59325#action_59325
]
mhuffnagle commented on WARBLER-27:
-----------------------------------
It looks like this was related to https://github.com/rails/rails/pull/3646
> Warbler-generated war file fails to load in Tomcat using relative_url_root
> --------------------------------------------------------------------------
>
> Key: WARBLER-27
> URL: http://kenai.com/jira/browse/WARBLER-27
> Project: warbler
> Issue Type: Bug
> Environment: JRuby 1.6.5 under RVM, Tomcat 7.0.22, rails 3.0.10,
> reproduced on both Centos 5.5 and OS X 10.6.8, warbler 1.3.2
> Reporter: mhuffnagle
> Assignee: Nick Sieger
> Attachments: localhost.2011-11-15.log
>
>
> Warbler version: 1.3.2
> When I deploy the war generated by Warbler to Tomcat, it's failing because
> it is trying to set config.action_controller.relative_url_root. That
> setting has been replaced by the environment variable
> RAILS_RELATIVE_URL_ROOT.
> There is a StackOverflow posting which talks about the change here:
> http://stackoverflow.com/questions/5558900/changing-the-base-url-for-rails-3-development
> I've found that the app works when I deploy it to root, but always fails
> when I deploy it to a some sub-url.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://kenai.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
| mhuffnagle (JIRA) | 11/15/2011 | |
|
[JIRA] Commented: (WARBLER-27) Warbler-generated war file fails to load in Tomcat using relative_url_root |
mhuffnagle (JIRA) | 11/16/2011 |





