users@glassfish.java.net

Connection Interrupted in Glassfish--No errors in server log

From: <glassfish_at_javadesktop.org>
Date: Wed, 15 Oct 2008 20:33:47 PDT

Hi all,

I am running glassfish locally.

This might be very weird, but I am doing
a
response.sendRedirect("ModifyPhoto.jsp?mysql="+mysqldata+"&oracle="+oracledata);
from a servlet.

Now, problem is its not redirecting automatically....it stops with following error msg

"The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again."

At the time the error is thrown the URL in address bar consists of all the data that I am putting in mysqldata and oracledata variables. It is a very big query string.
e.g. http://localhost:8080/OracleAndMySQL-war/ModifyPhoto.jsp?mysql=15,15,balbhava.jpg,2008-10-15%2020:03:03.0,27,14,14,balbhava.jpg,2008-10-15%2020:02:53.0,26,13,13,balbhava.jpg,2008-10-15%2020:02:42.0,25,12,12,balbhava.jpg,2008-10-15%2020:02:33.0,24,11,11,balbhava.jpg,2008-10-15%2020:02:23.0,23,10,10,balbhava.jpg,2008-10-15%2020:02:14.0,22,9,9,balbhava.jpg,2008-10-15%2020:02:01.0,21,8,8,balbhava.jpg,2008-10-15%2020:01:52.0,20,7,7,balbhava.jpg,2008-10-15%2020:01:42.0,19,6,6,balbhava.jpg,2008-10-15%2020:01:32.0,18,shivang,shivang,balbhava.jpg,2008-10-14%2011:16:31.0,13,shivang,shivang,balbhava.jpg,2008-10-14%2011:16:33.0,14,true,ture,balbhava.jpg,2008-10-14%2011:46:55.0,15,test,test,balbhava.jpg,2008-10-14%2011:47:22.0,16,test,test,balbhava.jpg,2008-10-14%2011:47:43.0,17,18,18,balbhava.jpg,2008-10-15%2020:03:33.0,30,19,19,balbhava.jpg,2008-10-15%2020:03:43.0,31,20,20,balbhava.jpg,2008-10-15%2020:03:53.0,32,21,21,balbhava.jpg,2008-10-15%2020:04:02.0,33,22,22,balbhava.jpg,2008-10-15%2020:04:11.0,34,25,25,balbhava.jpg,2008-10-15%2020:04:39.0,37,&oracle=6,6,balbhava.jpg,Wed%20Oct%2015%2020:01:32%20PDT%202008,60,8,8,balbhava.jpg,Wed%20Oct%2015%2020:01:52%20PDT%202008,62,9,9,balbhava.jpg,Wed%20Oct%2015%2020:02:01%20PDT%202008,63,shivang,shivang,balbhava.jpg,Tue%20Oct%2014%2011:15:30%20PDT%202008,40,shivang,shivang,balbhava.jpg,Tue%20Oct%2014%2011:15:41%20PDT%202008,41,shivang,shivang,balbhava.jpg,Tue%20Oct%2014%2011:15:50%20PDT%202008,42,test,test,balbhava.jpg,Tue%20Oct%2014%2011:47:43%20PDT%202008,43,asdf,asdf,balbhava.jpg,Tue%20Oct%2014%2011:49:28%20PDT%202008,44,view%20it,view%20it,balbhava.jpg,Tue%20Oct%2014%2011:52:20%20PDT%202008,45,10,10,balbhava.jpg,Wed%20Oct%2015%2020:02:14%20PDT%202008,64,11,11,balbhava.jpg,Wed%20Oct%2015%2020:02:23%20PDT%202008,65,12,12,balbhava.jpg,Wed%20Oct%2015%2020:02:33%20PDT%202008,66,13,13,balbhava.jpg,Wed%20Oct%2015%2020:02:42%20PDT%202008,67,14,14,balbhava.jpg,Wed%20Oct%2015%2020:02:53%20PDT%202008,68,15,15,balbhava.jpg,Wed%20Oct%2015%2020:03:03%20PDT%202008,69,16,16,balbhava.jpg,Wed%20Oct%2015%2020:03:13%20PDT%202008,70,17,17,balbhava.jpg,Wed%20Oct%2015%2020:03:22%20PDT%202008,71,18,18,balbhava.jpg,Wed%20Oct%2015%2020:03:33%20PDT%202008,72,19,19,balbhava.jpg,Wed%20Oct%2015%2020:03:43%20PDT%202008,73,20,20,balbhava.jpg,Wed%20Oct%2015%2020:03:53%20PDT%202008,74,22,22,balbhava.jpg,Wed%20Oct%2015%2020:04:11%20PDT%202008,76,24,24,balbhava.jpg,Wed%20Oct%2015%2020:04:29%20PDT%202008,78,25,25,balbhava.jpg,Wed%20Oct%2015%2020:04:39%20PDT%202008,79,

But, when I go to the address bar and go at the very end of URL and hit "Enter" the page loads up absolutely fine with all parameters that I am passing.

Is there something that I am doing wrong? With some observation, I found that its not happening on small query strings but big query strings is causing this problem.

Server logs are clean and are throwing no error message.

Thanks for help in advance.

Regards,
Tom
[Message sent by forum member 'tomethens' (tomethens)]

http://forums.java.net/jive/thread.jspa?messageID=307861