Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session is stucked while sending request to tomcat through XMLHTTP

Status
Not open for further replies.

KerenE

Programmer
Nov 20, 2003
10
IL
Hi
I'm using tomcat4.1.29 together with Apache1.3.19.While sending requests to servlet(running on server) via Microsoft.XMLHTTP, session is stucked.(request is reached the server but when parsing the request input stream, servlet is stacked as well without throwing any exception).HTTP/1.1 protocol is used and MSXML3 is installed on computer.
This is the problematic js section:

var httpObj = new ActiveXObject("Microsoft.XMLHTTP");
httpObj.open( &quot;POST&quot;, <http....>, false );
httpObj.setRequestHeader( 'SOAPAction', '&quot;&quot;' );
httpObj.setRequestHeader( 'Content-type', 'text/xml; charset=UTF-8' );
httpObj.send(amcObject.xml);
alert(httpObj.responseText);

(This alert is not printed due to session is stucked.)

Is it related to server.xml configuration? Should I add anywhere permissions to requests from client? (same code was worked properly with tomcat3, only tomcat version has changed.)

Please advise.
Thanks
keren.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top