Issue Type: Bug Bug
Affects Versions: JRuby 1.6.7
Assignee: Unassigned
Components: Rails WAR Deployment
Created: 19/Sep/12 10:35 AM
Description:

In Rails 3.2 (and 3.1, and I don't know how much further back) on Glassfish, I seem to be getting buggy behavior with error messages.

In WEBrick, everything behaves as expected: I get an error message in the browser.

On GlassFish, when a 500 error is encountered (triggered, for instance, by <%= nonexistent_var %> in a view), the error is recorded in the server.log; however, no response body seems to be returned to the browser, so it times out.

Here's what that looks like with wget:

jamie@icf109118-Ubuntu:~/Documents/Aptana_Studio_3_Workspace/r32$ wget -S "http://icf109118-ubuntu:8080/r32/"
-2012-09-17 15:14:45- http://icf109118-ubuntu:8080/r32/
Resolving icf109118-ubuntu (icf109118-ubuntu)... 127.0.1.1
Connecting to icf109118-ubuntu (icf109118-ubuntu)|127.0.1.1|:8080... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
X-Request-Id: 9c9be822cc04e5b84512b1410ad6067e
X-Runtime: 0.045000
Date: Mon, 17 Sep 2012 19:14:45 GMT
X-Rack-Cache: miss
Content-Type: text/html;charset=utf-8
Content-Length: 643
Length: 643 [text/html]
Saving to: `index.html'

0% [ ] 0 --.-K/s in 30s

2012-09-17 15:15:15 (0.00 B/s) - Connection closed at byte 0.

The lack of a response is confusing, and it also might be the underlying reason why I'm having trouble implementing custom 500 error messages.

Environment: Glassfish 3.2
ruby -v = jruby 1.6.7.2 (ruby-1.9.2-p312) (2012-05-01 26e08ba) (OpenJDK 64-Bit Server VM 1.6.0_24) [linux-amd64-java]
Project: JRuby
Priority: Major Major
Reporter: Jamie Jackson
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to