users@glassfish.java.net

Re: Rails app on GF v3 preview

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Jun 2007 12:04:43 PDT

I don't see any Glassfish log, I think maybe because I'm using the GFv3 instructions -- the log messages appear directly on the console. In any case, I'm not seeing anything that would indicate an invalid URI for the CSS or JS. Using Firebug also does not indicate any problem: the URIs are valid and working and return appropriate content.

The curious part is that the normal blog view is just fine; all CSS and JavaScript are working as expected. Only the admin screens are broken.

I had defined ActionController::AbstractRequest.relative_url_root = "/blog" in the development.rb file, as I had to do when using Apache/Mongrel, but it seemed to make no difference with GF, so I removed it.

Any hints on how to debug this would be much appreciated. I have little experience with GF in general, and using Firebug is not my forte. I may be completely missing the obvious, I can't know for sure.

Thanks
[Message sent by forum member 'nfiedler' (nfiedler)]

http://forums.java.net/jive/thread.jspa?messageID=220857