I am running the legacy CF Fusebox 5.5 application on Railo 4.0.2.002 Express with Jetty 8 on Mac OS X 10.8 with java 1.7. I also use the urlrewrite berth http://tuckey.org/urlrewrite/ (if relevant)
Why is the FORM area always empty when submitting forms? But if I use a URL scope, it works fine.
The app works great in all other CF versions and should also work fine here.
UPDATE 1:
Also, when I do onRequestStart inside Application.cfc and I delete the FORM scope, it is also empty.
Does anyone have a problem with this? I donβt think it is necessarily βfuseboxβ, so I wonder if this is a problem with the compatibility issue with Railo 4?
UPDATE 2:
When a form submits to /admin/index.cfm?event=Main.Login
the form area works great. But when it is sent to /admin/event/Main.Login, the scope of the form is missing.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.0//EN" "http://tuckey.org/res/dtds/urlrewrite3.0.dtd"> <urlrewrite> <rule> <from>^/admin/event/(.*)</from> <to last="false">/admin/index.cfm?event=$1</to> </rule> <rule> <from>^/lms/event/(.*)</from> <to last="false">/lms/index.cfm?event=$1</to> </rule> </urlrewrite>
UPDATE 3:
It should also be noted that Charles (proxy) correctly detects a POST request. It contains Email / Password and other form elements correctly sent to the server.
Does the Jetty server just not see them or redirect them to a Railo engine or something?
UPDATE 4:
Here is the tuckey configuration that they will tell you in their web.xml . I actually placed this in the webdefault.xml directory in etc/ the Railo Express directory, which, I think, might just be a Jetty file.
<filter> <filter-name>UrlRewriteFilter</filter-name> <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class> </filter> <filter-mapping> <filter-name>UrlRewriteFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping>
Joshua F. Rountree
source share