My first suggestion is, if you haven't done this already, download Firebug for Firefox and observe exactly what is being sent from the browser to the server. Firebug has fantastic Ajax debugging support. You will probably spot the error there. The other Firefox plugin that would help is Live HTTP Headers. It does something similar. Maybe the form variables are not url encoded before being sent?
Good luck, Mike Chabot On 5/11/07, Rebecca Younes <[EMAIL PROTECTED]> wrote: > I am getting the following ColdFusion error when I try to do an asynchronous > POST from a form submit button using the Yahoo User Interface Connection > Manager: > > 05/10 15:54:43 warning Error while parsing POST data > java.lang.IllegalArgumentException > at javax.servlet.http.HttpUtils.parseQueryString(HttpUtils.java:149) > at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:252) > at jrun.servlet.JRunRequest.parsePostData(JRunRequest.java:381) > at jrun.servlet.JRunRequest.getParameters(JRunRequest.java:361) > at jrun.servlet.JRunRequest.getInputStream(JRunRequest.java:239) > at > javax.servlet.ServletRequestWrapper.getInputStream(ServletRequestWrapper.java:191) > at > coldfusion.filter.FusionContext.getRequestContent(FusionContext.java:602) > at coldfusion.filter.FormScope.fillForm(FormScope.java:198) > at > coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:384) > at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33) > at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) > at coldfusion.CfmServlet.service(CfmServlet.java:105) > at > coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) > at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > at > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) > at > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) > at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) > at > jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457) > at > jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > The request works successfully with the same markup and Javascript if I make > any one of the following changes: > > 1. Use type="button" rather than type="submit" on the submit button. This one > is understandable, since there is no potential submission to ColdFusion. > 2. Copy the entire contents of the required YUI Javascript libraries into the > cfm, rather than loading them from .js files via <script> tags. > 3. Use an asynchronous GET rather than a POST. > 4. Use PHP instead of ColdFusion. The error occurs in both ColdFusion 6.1 and > 7. > > Does anyone have an explanation for items 2-4 and a solution (as opposed to a > workaround)? > > Rebecca Younes > Cornell University > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277876 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

