Java error when our url is accessed from .Net application

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.


java.lang.IllegalArgumentException
      at coldfusion.filter.FormScope.parseQueryString(FormScope.java:267)
      at coldfusion.filter.FormScope.parsePostData(FormScope.java:239)
      at coldfusion.filter.FormScope.fillForm(FormScope.java:190)
      at coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:345)
      at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
      at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
      at coldfusion.CfmServlet.service(CfmServlet.java:105)
      at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
      at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
      at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
      at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
      at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
      at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
      at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

zsTangoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MauseCommented:
Hi

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???

Mause


0
zsTangoAuthor Commented:
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 http://ptm.activeaero.com/app_ptm/ignoreapplicationcfm/integres_xml_feed.cfm

0
MauseCommented:
also no includes or application.cfm / onrequestend.cfm????

what kind of data is submitted?
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

zsTangoAuthor Commented:
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

with
<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="http://ptm.activeaero.com/app_ptm/ignoreapplicationcfm/integres_xml_feed.cfm" 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">
Success!!!!
</textarea>
<span id="Label2" style="height:5px;width:164px;Z-INDEX: 106; LEFT: 10px; POSITION: absolute; TOP: 44px">Data to post</span></form>
0
MauseCommented:
can you post your code here?

Do you always get an error when you submit data to that page?
0
zsTangoAuthor Commented:
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.
0
zsTangoAuthor Commented:
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 6.1.0.63958. 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.
0
moduloCommented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.