RE: Connection reset by peer

2001-08-07 Thread Anne Waller

Is there any further information on this one. 

We receive the same message as below and if try to open another browser
session which requires access to the database get: Database already in
use. I believe one is directly linked to the other.

Running with Orion off the C drive, using Hypersonic database by the way
and the url is localhost. 

Any ideas, anything with the configuration??

Thanks in advance.

Anne. 



-Original Message-
From: PHiL [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 April 2001 1:47 AM
To: Orion-Interest
Subject: Connection reset by peer


Hi,

When I use this forward in my JSP page:
getServletConfig().getServletContext().getRequestDispatcher(destination)
.for
ward(request, response);

I obtain this exception:

Exception message: Connection reset by peer: socket write error
com.evermind.server.http.HttpIOException: Connection reset by peer:
socket
write error
at com.evermind.server.http.e2.write(JAX)
at com.evermind.server.http.EvermindJSPWriter.se(JAX)
at com.evermind.server.http.EvermindJSPWriter.flush(JAX)
at com.evermind.server.http.EvermindJSPWriter.close(JAX)
at
__jspPage1_news_jsp_news_jsp._jspService(__jspPage1_news_jsp_news_jsp.ja
va:6
77)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xi(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.d5.forward(JAX)
at com.evermind.server.http.ew.forward(JAX)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doPost(ComponentR
eque
stRooter.java:108)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doGet(ComponentRe
ques
tRooter.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.eh.s0(JAX)
at com.evermind.server.http.eh.do(JAX)
at com.evermind.util.f.run(JAX)

It's an internal forward to another page to the same server, this not an
HTTP redirect, so the socket write error is really strange...

I use Orion 1.4.4.

Thanks for your support.

PHiL / Stratélia .






Connection reset by peer

2001-04-04 Thread PHiL

Hi,

When I use this forward in my JSP page:
getServletConfig().getServletContext().getRequestDispatcher(destination).for
ward(request, response);

I obtain this exception:

Exception message: Connection reset by peer: socket write error
com.evermind.server.http.HttpIOException: Connection reset by peer: socket
write error
at com.evermind.server.http.e2.write(JAX)
at com.evermind.server.http.EvermindJSPWriter.se(JAX)
at com.evermind.server.http.EvermindJSPWriter.flush(JAX)
at com.evermind.server.http.EvermindJSPWriter.close(JAX)
at
__jspPage1_news_jsp_news_jsp._jspService(__jspPage1_news_jsp_news_jsp.java:6
77)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xi(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.d5.forward(JAX)
at com.evermind.server.http.ew.forward(JAX)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doPost(ComponentReque
stRooter.java:108)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doGet(ComponentReques
tRooter.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.eh.s0(JAX)
at com.evermind.server.http.eh.do(JAX)
at com.evermind.util.f.run(JAX)

It's an internal forward to another page to the same server, this not an
HTTP redirect, so the socket write error is really strange...

I use Orion 1.4.4.

Thanks for your support.

PHiL / Stratlia .






RE: Connection reset by peer: socket write error Can someone help

2001-01-29 Thread Jeff Chapman

Last weekend, I found that the source of my problem was purely IE5 and XML.
I cobbled a way to test this with Netscape and this problem does not happen
at all. 

I'm basically using JSPs to generate pure XML pages with references to XSL
stylesheets so that IE5 can do the transformations (instead of using server
resources). In the following description, I don't mean to suggest that I've
debugged into IE5 and understand how the IE5 engine actually works--rather
I'm describing what seems to be the behavior. 

Here's the scenario. You're looking at a web page with a link to a JSP. When
you click this link, the browser requests the JSP page. This JSP emits a
page directive to change the contentType to "text/xml". It seems that as
soon as IE5 gets this contentType switch, it abruptly drops the existing
connection to the server and immediately requests the same page again. 

Well, this can cause problems on the server. For example, if the JSP page
takes a non-trivial amount of time to render itself, then the socket write
error will almost always occur since the 'peer' (IE5 in the case) always
abruptly terminates the first connection to start the second. If the first
JSP page request had time to open a database connection (before the second
page request yanked the rug), then the socket write error may also interrupt
the JSP's ability to execute enough logic to get to close the database
connection at the bottom of the page. This tends to leave database
connections hanging until they timeout. 

In my case, I was using a frameset which contained four JSPs--each of which
emitted XML. In this case, each time I pressed F5, I saw four complete sets
of "Socket Write Error" tracedumps along with stranding four different
database connections. Imagine this problem in a scenario where hundreds or
even thousands of customers were requesting updates to this frameset. There
are two painpoints. First is the penalty of forcing the server to deal with
needless exception handling four times per reload action (a performance
penalty associated with dumping the stacktrace to the log file). Second are
the resources held in limbo by stranded database connections (which looks
like a big memory leak). 

My workaround is to avoid sending a pure XML page to IE5. Instead I send the
XML data in an XML data island and use JavaScript to do the transformation.
[Sample code follows] IE5 is still doing the transformation but since we're
sending a real HTML file with embedded XML, instead of a real XML file, we
don't have IE5 requesting every page twice. 

I would prefer to be sending pure XML/XSL to the browsers that can handle
it. But even when/if this problem is fixed by MS, we still have to
accommodate the millions of IE5 installations that don't have the patch. So
this workaround is likely to stay online for a long time in my apps. 

I guess you could say that instead of fixing the problem, I'm avoiding the
situation that leads to the problem in the first place. 

Cheers, 
Jeff 

HTML 
HEAD 
XML id="xslTransform"
src="http://%=request.getServerName()%/Whatever/Style/ClassData.xsl"/XML
 
XML id="xmlData" 
root 
!-- This JSP file emits the pure XML data for this page -- 
jsp:include page="ClassData.jsp" flush="true" / 
/root 
/XML 
script language="JavaScript" 
function doInitPage() 
{ 
  oData = xmlData.XMLDocument; 
  document.all("InsertHere").innerHTML = 
oData.transformNode(xslTransform.XMLDocument); 
} 
/script 
link REL="STYLESHEET" TYPE="text/css" 
 
HREF="http://%=request.getServerName()%/Whatever/Style/ClassResources.css"
/ 
/HEAD 
body onload="doInitPage()" CLASS="NormalText" bgcolor="white" topmargin="0"
bottommargin="0" leftmargin="0" rightmargin="0" 
SPAN ID="InsertHere"/SPAN 
/BODY 
/HTML 

Another variation is to have the JS actually replace the entire BODY section
of the page. This would let the XSL file have complete control over the
attributes of the Body tag. In my case, this wasn't necessary. 




Connection reset by peer: socket write error Can someone help

2001-01-25 Thread Puthezhath, Rajeev (TWII Boston)

Hi,

We are developing a web application with orion as application server and sql
server as the database.
When i do stress test some time at get the following error.Can Some one say
why this is happening


 in Jsp Exception com.evermind.server.http.HttpIOException: Connection reset
by peer: sock
et write error
com.evermind.server.http.HttpIOException: Connection reset by peer: socket
write error
at com.evermind.server.http.ez.write(JAX, Compiled Code)
at com.evermind.server.http.EvermindJSPWriter.r2(JAX, Compiled Code)
at com.evermind.server.http.EvermindJSPWriter.flush(JAX, Compiled
Code)
at com.evermind.server.http.EvermindJSPWriter.write(JAX, Compiled
Code)
at
__jspPage24_news_default_sps._jspService(__jspPage24_news_default_sps.java,
Com
piled Code)
at com.orionserver.http.OrionHttpJspPage.service(JAX, Compiled Code)
at com.evermind.server.http.HttpApplication.w5(JAX, Compiled Code)
at com.evermind.server.http.JSPServlet.service(JAX, Compiled Code)
at com.evermind.server.http.d1.si(JAX, Compiled Code)
at com.evermind.server.http.d1.forward(JAX, Compiled Code)
at com.evermind.server.http.ed.sp(JAX, Compiled Code)
at com.evermind.server.http.ed.so(JAX, Compiled Code)
at com.evermind.util.f.run(JAX, Compiled Code)


Can some one please help.

Regards

Rajeev




Re: Connection reset by peer: socket write error Can someone help

2001-01-25 Thread Marcel Schutte

This is not specific to orion. I've seen it with weblogic as well. My theory
is that the browser (I suspect that it is explorer only) abruptly stops
reading a http response. The webserver is then left with a socket it can't
write to any longer.

Marcel

- Original Message -
From: "Puthezhath, Rajeev (TWII Boston)" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 4:07 PM
Subject: Connection reset by peer: socket write error Can someone help


 Hi,

 We are developing a web application with orion as application server and
sql
 server as the database.
 When i do stress test some time at get the following error.Can Some one
say
 why this is happening


  in Jsp Exception com.evermind.server.http.HttpIOException: Connection
reset
 by peer: sock
 et write error
 com.evermind.server.http.HttpIOException: Connection reset by peer: socket
 write error
 at com.evermind.server.http.ez.write(JAX, Compiled Code)
 at com.evermind.server.http.EvermindJSPWriter.r2(JAX, Compiled
Code)
 at com.evermind.server.http.EvermindJSPWriter.flush(JAX, Compiled
 Code)
 at com.evermind.server.http.EvermindJSPWriter.write(JAX, Compiled
 Code)
 at

__jspPage24_news_default_sps._jspService(__jspPage24_news_default_sps.java,
 Com
 piled Code)
 at com.orionserver.http.OrionHttpJspPage.service(JAX, Compiled
Code)
 at com.evermind.server.http.HttpApplication.w5(JAX, Compiled Code)
 at com.evermind.server.http.JSPServlet.service(JAX, Compiled Code)
 at com.evermind.server.http.d1.si(JAX, Compiled Code)
 at com.evermind.server.http.d1.forward(JAX, Compiled Code)
 at com.evermind.server.http.ed.sp(JAX, Compiled Code)
 at com.evermind.server.http.ed.so(JAX, Compiled Code)
 at com.evermind.util.f.run(JAX, Compiled Code)


 Can some one please help.

 Regards

 Rajeev







RE: Connection reset by peer: socket write error Can someone help

2001-01-25 Thread Van Dooren, Damian

I'm not sure if this exactly applies to using JSPs but here is the Servlet
answer.

If the browser hits the stop button or makes a new request than the original
stream is closed, therefore the exception is thrown.

When you use a PrintWriter it hides the exception. But when you use an
OutputStream your expected to handle it.


 -Original Message-
 From: Marcel Schutte [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 25, 2001 12:14 PM
 To: Orion-Interest
 Subject: Re: Connection reset by peer: socket write error Can someone
 help
 
 
 This is not specific to orion. I've seen it with weblogic as 
 well. My theory
 is that the browser (I suspect that it is explorer only) 
 abruptly stops
 reading a http response. The webserver is then left with a 
 socket it can't
 write to any longer.
 
 Marcel
 
 - Original Message -
 From: "Puthezhath, Rajeev (TWII Boston)" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Thursday, January 25, 2001 4:07 PM
 Subject: Connection reset by peer: socket write error Can someone help
 
 
  Hi,
 
  We are developing a web application with orion as 
 application server and
 sql
  server as the database.
  When i do stress test some time at get the following 
 error.Can Some one
 say
  why this is happening
 
 
   in Jsp Exception com.evermind.server.http.HttpIOException: 
 Connection
 reset
  by peer: sock
  et write error
  com.evermind.server.http.HttpIOException: Connection reset 
 by peer: socket
  write error
  at com.evermind.server.http.ez.write(JAX, Compiled Code)
  at 
 com.evermind.server.http.EvermindJSPWriter.r2(JAX, Compiled
 Code)
  at 
 com.evermind.server.http.EvermindJSPWriter.flush(JAX, Compiled
  Code)
  at 
 com.evermind.server.http.EvermindJSPWriter.write(JAX, Compiled
  Code)
  at
 
 __jspPage24_news_default_sps._jspService(__jspPage24_news_defa
ult_sps.java,
  Com
  piled Code)
  at 
 com.orionserver.http.OrionHttpJspPage.service(JAX, Compiled
 Code)
  at com.evermind.server.http.HttpApplication.w5(JAX, 
 Compiled Code)
  at com.evermind.server.http.JSPServlet.service(JAX, 
 Compiled Code)
  at com.evermind.server.http.d1.si(JAX, Compiled Code)
  at com.evermind.server.http.d1.forward(JAX, Compiled Code)
  at com.evermind.server.http.ed.sp(JAX, Compiled Code)
  at com.evermind.server.http.ed.so(JAX, Compiled Code)
  at com.evermind.util.f.run(JAX, Compiled Code)
 
 
  Can some one please help.
 
  Regards
 
  Rajeev
 
 
 
 




Re: Connection reset by peer: socket write error Can someone help

2001-01-25 Thread Tim Endres

That is exactly correct. Say during a long download, the user hits the "Stop"
button. The browser will close the connection, and the Exception indicated
will be thrown by the underlying stream for the servlet. You will need to
catch these exceptions if they are a problem for the servlet.

tim.

 This is not specific to orion. I've seen it with weblogic as well. My theory
 is that the browser (I suspect that it is explorer only) abruptly stops
 reading a http response. The webserver is then left with a socket it can't
 write to any longer.
 
 Marcel
 
 - Original Message -
 From: "Puthezhath, Rajeev (TWII Boston)" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Thursday, January 25, 2001 4:07 PM
 Subject: Connection reset by peer: socket write error Can someone help
 
 
  Hi,
 
  We are developing a web application with orion as application server and
 sql
  server as the database.
  When i do stress test some time at get the following error.Can Some one
 say
  why this is happening
 
 
   in Jsp Exception com.evermind.server.http.HttpIOException: Connection
 reset
  by peer: sock
  et write error
  com.evermind.server.http.HttpIOException: Connection reset by peer: socket
  write error
  at com.evermind.server.http.ez.write(JAX, Compiled Code)
  at com.evermind.server.http.EvermindJSPWriter.r2(JAX, Compiled
 Code)
  at com.evermind.server.http.EvermindJSPWriter.flush(JAX, Compiled
  Code)
  at com.evermind.server.http.EvermindJSPWriter.write(JAX, Compiled
  Code)
  at
 
 __jspPage24_news_default_sps._jspService(__jspPage24_news_default_sps.java,
  Com
  piled Code)
  at com.orionserver.http.OrionHttpJspPage.service(JAX, Compiled
 Code)
  at com.evermind.server.http.HttpApplication.w5(JAX, Compiled Code)
  at com.evermind.server.http.JSPServlet.service(JAX, Compiled Code)
  at com.evermind.server.http.d1.si(JAX, Compiled Code)
  at com.evermind.server.http.d1.forward(JAX, Compiled Code)
  at com.evermind.server.http.ed.sp(JAX, Compiled Code)
  at com.evermind.server.http.ed.so(JAX, Compiled Code)
  at com.evermind.util.f.run(JAX, Compiled Code)
 
 
  Can some one please help.
 
  Regards
 
  Rajeev
 
 
 
 





Re: Netscape 4.7: Connection reset by peer

2000-08-13 Thread Dale Bronk

I have received this error also.  I have not narrowed it down to Netscape
4.7.  I simply see about every couple of days this exception popping up on
my server console.  I have sent this to support and this mailing list before
and have not received an answer.  I have received replies stating they see
the same thing.




- Original Message -
From: Thomas Kwan [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Sunday, August 13, 2000 12:01 AM
Subject: Netscape 4.7: Connection reset by peer


 Have anyone seen Connection reset by peer doing a POST operation
 using Netscape 4.7?

 I got the error randomly.







Re: Netscape 4.7: Connection reset by peer

2000-08-13 Thread pminearo



Have you tried to duplicate the error on other platforms?

I have received this error numerous times.  It seems to be machine specific.   I
get it all the time with my laptop; but with mine and other desktops, I do not
get it.  I have consulted others on this issue and they are inclined to believe
that it has to do something my mahcine's IP stack.






Anders Bengtsson [EMAIL PROTECTED] on 08/13/2000 08:05:14 AM

To:   Orion-Interest [EMAIL PROTECTED]
cc:

Subject:  Re: Netscape 4.7: Connection reset by peer



Thomas Kwan wrote:

 Have anyone seen Connection reset by peer doing a POST operation
 using Netscape 4.7?

 I got the error randomly.

We've been having the same problem when POSTing from an applet in
Netscape. It seems to appear only when the posted data is above some
size (don't remember what size exactly).
We reported it recently, but I don't think we have received any response
yet.

/Anders
_
A n d e r s  B e n g t s s o n  [EMAIL PROTECTED]
http://www.natakademin.se/









Netscape 4.7: Connection reset by peer

2000-08-12 Thread Thomas Kwan

Have anyone seen Connection reset by peer doing a POST operation
using Netscape 4.7?

I got the error randomly.





connection reset by peer problems

2000-06-07 Thread Robert Krueger

hi,

has anyone experienced problems with orion and post requests that resulted 
in "connection reset by peer" messages by netscape? we have had reports 
from customers that experience errors like these but we don't see anything 
in the server logs. another thing that has happened was that the response 
to a POST request was truncated on the client side (the server logs record 
the proper content-length).

in both cases we suspect it's their proxy but I'm just checking if anyone 
has had similar problems. we have tested the applications and have never 
been able to reproduce the problems accessing the site ourselves even with 
a squid proxy inbetween.

any similar experiences anyone?

thanks,

robert


(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





RE: connection reset by peer problems

2000-06-07 Thread Bailey, Jeff A

Robert,

This was an issue I had reported to Magnus long ago.  He had determined (if
I remember correctly) that it was a bug in Netscape handling "large" posts
(by large I am referring to the amount of characters being posted).  I dont
remember the particular details other than the error was prevalent in the
0.8.x releases but no longer occured in the 0.9.x and up releases.  I think
a sort of work around was added to orion to get around this netscape bug
(maybe?).

Magnus may be able to shed more light on this than myself as he seemed to
have a great amount of insight as to the cause of this issue.

One workaround we used back then was to reduce the amount of data being
posted by a single form by spreading the form over multiple pages and using
a bean to keep track of the data, plus, we found that this tends to be a bit
more user friendly.

Hope this helps somewhat

J

 -Original Message-
 From: Robert Krueger [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 07, 2000 8:01 AM
 To: Orion-Interest
 Subject: connection reset by peer problems
 
 
 hi,
 
 has anyone experienced problems with orion and post requests 
 that resulted 
 in "connection reset by peer" messages by netscape? we have 
 had reports 
 from customers that experience errors like these but we don't 
 see anything 
 in the server logs. another thing that has happened was that 
 the response 
 to a POST request was truncated on the client side (the 
 server logs record 
 the proper content-length).
 
 in both cases we suspect it's their proxy but I'm just 
 checking if anyone 
 has had similar problems. we have tested the applications and 
 have never 
 been able to reproduce the problems accessing the site 
 ourselves even with 
 a squid proxy inbetween.
 
 any similar experiences anyone?
 
 thanks,
 
 robert
 
 
 (-) Robert Krüger
 (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
 (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de
 
 




RE: connection reset by peer problems

2000-06-07 Thread Kalvar, Kirk

I've been working with the PetStore application on Orion 1.0 and have been
seeing "connection reset by peer" messages.  These messages are appearing
directly on the console and not in the orion application logs.  The orion
server and the browser acessing the application where located on the same
machine.

Kirk S. Kalvar, Software Engineer
DRS Electronic Systems Group

 -Original Message-
 From: Robert Krueger [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, June 07, 2000 11:01
 To:   Orion-Interest
 Subject:  connection reset by peer problems

 hi,

 has anyone experienced problems with orion and post requests that resulted

 in "connection reset by peer" messages by netscape? we have had reports
 from customers that experience errors like these but we don't see anything

 in the server logs. another thing that has happened was that the response
 to a POST request was truncated on the client side (the server logs record

 the proper content-length).

 in both cases we suspect it's their proxy but I'm just checking if anyone
 has had similar problems. we have tested the applications and have never
 been able to reproduce the problems accessing the site ourselves even with

 a squid proxy inbetween.

 any similar experiences anyone?

 thanks,

 robert


 (-) Robert Krüger
 (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
 (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de





RE: connection reset by peer problems

2000-06-07 Thread Kalvar, Kirk

Additionally browser was IE 5.0

Kirk S. Kalvar, Software Engineer
DRS Electronic Systems Group

 -Original Message-
 From: Robert Krueger [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, June 07, 2000 11:01
 To:   Orion-Interest
 Subject:  connection reset by peer problems

 hi,

 has anyone experienced problems with orion and post requests that resulted

 in "connection reset by peer" messages by netscape? we have had reports
 from customers that experience errors like these but we don't see anything

 in the server logs. another thing that has happened was that the response
 to a POST request was truncated on the client side (the server logs record

 the proper content-length).

 in both cases we suspect it's their proxy but I'm just checking if anyone
 has had similar problems. we have tested the applications and have never
 been able to reproduce the problems accessing the site ourselves even with

 a squid proxy inbetween.

 any similar experiences anyone?

 thanks,

 robert


 (-) Robert Krüger
 (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
 (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de





RE: connection reset by peer problems

2000-06-07 Thread Victor A. Salaman

This is a design issue in PetStore... PetStore is an extremely badly written
application :) If you look at their source, you'll find the source of the
"Connection Reset by peer". Most of the bugs present in PetStore have been
documented by Magnus, and can be found orion/applications/estore-bugs.txt.
If you look at this file, in item 12, you'll see why... 

"12. The code catches IOExceptions without rethrowing them (instead it
prints them, IOExceptions occur whenever there's a HTTP-layer error like a
client disconnecting etc, should only be propagated)."

I guess that those using PetStore as a Reference Implementation are in for
big surprises as PetStore needs serious work.

Best Wishes,

Victor Salaman

 -Original Message-
 From: Kalvar, Kirk [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 07, 2000 12:34 PM
 To: Orion-Interest
 Subject: RE: connection reset by peer problems
 
 
 I've been working with the PetStore application on Orion 1.0 
 and have been
 seeing "connection reset by peer" messages.  These messages 
 are appearing
 directly on the console and not in the orion application 
 logs.  The orion
 server and the browser acessing the application where located 
 on the same
 machine.
 
 Kirk S. Kalvar, Software Engineer
 DRS Electronic Systems Group
 
  -Original Message-
  From:   Robert Krueger [SMTP:[EMAIL PROTECTED]]
  Sent:   Wednesday, June 07, 2000 11:01
  To: Orion-Interest
  Subject:connection reset by peer problems
 
  hi,
 
  has anyone experienced problems with orion and post 
 requests that resulted
 
  in "connection reset by peer" messages by netscape? we have 
 had reports
  from customers that experience errors like these but we 
 don't see anything
 
  in the server logs. another thing that has happened was 
 that the response
  to a POST request was truncated on the client side (the 
 server logs record
 
  the proper content-length).
 
  in both cases we suspect it's their proxy but I'm just 
 checking if anyone
  has had similar problems. we have tested the applications 
 and have never
  been able to reproduce the problems accessing the site 
 ourselves even with
 
  a squid proxy inbetween.
 
  any similar experiences anyone?
 
  thanks,
 
  robert
 
 
  (-) Robert Krüger
  (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
  (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
  (-) Tel: 06151 665401, Fax: 06151 665373
  (-) [EMAIL PROTECTED], www.signal7.de
 
 




RE: connection reset by peer problems

2000-06-07 Thread Kalvar, Kirk

I agree there are some serious short comings in PetStore and I hope Sun sees
fit to address them.  But Its the first application I've seen that attempts
to implement the Model View Controller architecture.


Kirk S. Kalvar, Software Engineer
DRS Electronic Systems Group

 -Original Message-
 From: Victor A. Salaman [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, June 07, 2000 13:08
 To:   Orion-Interest
 Subject:  RE: connection reset by peer problems

 This is a design issue in PetStore... PetStore is an extremely badly
 written
 application :) If you look at their source, you'll find the source of the
 "Connection Reset by peer". Most of the bugs present in PetStore have been
 documented by Magnus, and can be found orion/applications/estore-bugs.txt.
 If you look at this file, in item 12, you'll see why...

 "12. The code catches IOExceptions without rethrowing them (instead it
 prints them, IOExceptions occur whenever there's a HTTP-layer error like a
 client disconnecting etc, should only be propagated)."

 I guess that those using PetStore as a Reference Implementation are in for
 big surprises as PetStore needs serious work.

 Best Wishes,

 Victor Salaman

  -Original Message-
  From: Kalvar, Kirk [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 07, 2000 12:34 PM
  To: Orion-Interest
  Subject: RE: connection reset by peer problems
 
 
  I've been working with the PetStore application on Orion 1.0
  and have been
  seeing "connection reset by peer" messages.  These messages
  are appearing
  directly on the console and not in the orion application
  logs.  The orion
  server and the browser acessing the application where located
  on the same
  machine.
 
  Kirk S. Kalvar, Software Engineer
  DRS Electronic Systems Group
 
   -Original Message-
   From: Robert Krueger [SMTP:[EMAIL PROTECTED]]
   Sent: Wednesday, June 07, 2000 11:01
   To:   Orion-Interest
   Subject:  connection reset by peer problems
  
   hi,
  
   has anyone experienced problems with orion and post
  requests that resulted
  
   in "connection reset by peer" messages by netscape? we have
  had reports
   from customers that experience errors like these but we
  don't see anything
  
   in the server logs. another thing that has happened was
  that the response
   to a POST request was truncated on the client side (the
  server logs record
  
   the proper content-length).
  
   in both cases we suspect it's their proxy but I'm just
  checking if anyone
   has had similar problems. we have tested the applications
  and have never
   been able to reproduce the problems accessing the site
  ourselves even with
  
   a squid proxy inbetween.
  
   any similar experiences anyone?
  
   thanks,
  
   robert
  
  
   (-) Robert Krüger
   (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
   (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
   (-) Tel: 06151 665401, Fax: 06151 665373
   (-) [EMAIL PROTECTED], www.signal7.de