Java error when our url is accessed from .Net application

Posted on 2004-11-08
Last Modified: 2013-12-24
A company we are doing business with is attempting to access a url we have given them via http post request. When they  attempt to submit their data, the following error occurs. I believe this error is occuring when the server tries to process the request, before the page being called is even accessed.

      at coldfusion.filter.FormScope.parseQueryString(
      at coldfusion.filter.FormScope.parsePostData(
      at coldfusion.filter.FormScope.fillForm(
      at coldfusion.filter.FusionContext.SymTab_initForRequest(
      at coldfusion.filter.GlobalsFilter.invoke(
      at coldfusion.filter.DatasourceFilter.invoke(
      at coldfusion.CfmServlet.service(
      at jrun.servlet.ServletInvoker.invoke(
      at jrun.servlet.JRunInvokerChain.invokeNext(
      at jrun.servlet.JRunRequestDispatcher.invoke(
      at jrun.servlet.ServletEngineService.dispatch(
      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(
      at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(
      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(
      at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(

Question by:zsTango
    LVL 10

    Expert Comment


    The page that is being called is accessed. Something there is not working but I can't see what it is.
    Have you tried to leave some code out of the page to see if its works???



    Author Comment

    I have commented out all of the code on the page, and the error still occurs. Also the error does not occur if I try to access the page  through the url on a browser or if I make a CF page and hit it. It only occurs for this company who are a .Net shop.

    Our test url is

    LVL 10

    Expert Comment

    also no includes or application.cfm / onrequestend.cfm????

    what kind of data is submitted?

    Author Comment

    also, if I hit our url from inside their system with no data, the page gets resolved, and it works.

    There is an application.cfm

    <cfapplication name="JETNET" sessionmanagement="Yes">
    <cferror type="EXCEPTION" template="../../default_validation_error_page.cfm" exception="any">
    <cferror type="REQUEST" template="../../default_validation_error_page.cfm">

    also tried it with the two cferror tags commented out.
    thats it for that.

    there is no onRequestEnd.cfm

    according to their information:
    Post HTTP/1.1
    Content-Type: application/x-www-form-urlencoded

    this is their test form:

    <form name="Form1" method="post" action="manualpost.aspx" id="Form1">
    <input type="hidden" name="__VIEWSTATE" value="dDwtMTQzNjg2OTQ1NDs7Ph6sBh+DMB6gWpd0tab6KyJ/dz1B" />
    <input name="txtUrl" type="text" value="" id="txtUrl" style="height:24px;width:520px;Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 16px" />
    <span id="Label3" style="height:14px;width:116px;Z-INDEX: 107; LEFT: 11px; POSITION: absolute; TOP: 263px">Result of posting</span><textarea name="txtData" id="txtData" style="height:196px;width:582px;Z-INDEX: 102; LEFT: 9px; POSITION: absolute; TOP: 63px"></textarea><input type="submit" name="cmdPost" value="Post" id="cmdPost" style="height:21px;width:55px;Z-INDEX: 103; LEFT: 560px; POSITION: absolute; TOP: 16px" /><textarea name="txtResult" id="txtResult" style="height:120px;width:581px;Z-INDEX: 104; LEFT: 10px; POSITION: absolute; TOP: 282px">
    <span id="Label2" style="height:5px;width:164px;Z-INDEX: 106; LEFT: 10px; POSITION: absolute; TOP: 44px">Data to post</span></form>
    LVL 10

    Expert Comment

    can you post your code here?

    Do you always get an error when you submit data to that page?

    Author Comment

    On the page being requested, there is no code. Only the text "Success!!!!". Which is why I believe that the error is occuring before the page gets hit. Also there is nothing in the CF-Administrator logs. Checking the IIS logs shows the reuqest being made, but that's it.

    The only time an error occurs (AFAIK), is when that specific company is making the request.

    I have not been able to replicate it anywhere else.

    Author Comment

    Okay, I found the issue. If, in their test form I put in "?xml=" in the text field before I put the xml I want to send the page the request makes it to the intended page. If I leave it out it bombs consistently on CFMX servers of the same version as mine This issue doesnt occur on CF 5. I have not tested it on the latest updated version.

    I am assuming that they must be dynamically creating their url string and forgot the first part. I have not been able to look at their code, so I dont know for sure.

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now