Skip to main content
Inspiring
May 16, 2008
Question

corrupt form data error

  • May 16, 2008
  • 1 reply
  • 2235 views
Hi,

I am getting the following error on one of my cfm pages. This is a new installation of CF 8, developer editon.

500
Corrupt form data: no leading boundary: != -----------------------------7d816ff270268


java.io.IOException: Corrupt form data: no leading boundary: != -----------------------------7d816ff270268
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:176)
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:95)
at coldfusion.filter.FormScope.fillMultipart(FormScope.java:170)
at coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:435)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

The form on the page had enctype="multipart/form-data" on it (but no file inputs), but I removed the enctype altogether and it didn't help.

Does anyone have any idea how to fix this?

Craig
    This topic has been closed for replies.

    1 reply

    Inspiring
    May 16, 2008
    that error is related to file uploads only.
    sure there is not file field still lurking around? or some java applet
    used to upload files?

    where does the form submit to? do you send form data to a
    component/function for processing?

    check that your hard disk where cf has its temp dir is not getting too
    full...

    are you sure you are not reloading/accessing the form's action page,
    without going through the actual form?




    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/
    CraigIWAuthor
    Inspiring
    May 16, 2008
    Hi Azadi,

    I have fixed it. I hadn't removed the correct enctype="multipart/form-data" from the form. Now that I have removed it, the page works again.

    So, how do I upload a file in CF 8 if I can't set the form to use enctype="multipart/form-data" ??

    Craig