Re: Javascript gives socket write error
Re: Javascript gives socket write error
- Subject: Re: Javascript gives socket write error
- From: "Theresa Lam" <email@hidden>
- Date: Tue, 18 Mar 2003 01:41:25 +0000
I appreciate it very much you taking the time to answer my problems. It
does help me to understand the cause. What is bothering me is that when I
try another different javascript for tree building
(www.destroydrop.com/javascript/tree/), it gives the same problem. I
thought I could save time by deploying these well-known well-tested
javascripts, but alas...
In any case, thank you very much
T. Lam
From: Jonathan Rochkind <email@hidden>
To: "Theresa Lam" <email@hidden>, email@hidden
Subject: Re: Javascript gives socket write error
Date: Mon, 17 Mar 2003 11:26:36 -0600
That probably means that the browser, while getting a page from your WO
app, has aborted it's receiving of the page, has stopped reading all the
page before the page is completley delivered.
This is not neccesarily a problem. Just becuase it is putting this message
in your log, doens't neccesarily mean it's a problem. For instance, it
could mean simply that the user pressed the 'stop' button their browser.
However, in this case, you are getting it reliably from some certain
javascript, so it's not the user pressing the stop button their browser.
It's probably javascript written in such a way that the browser decides to
go and follow some javascript commands right in the middle of it's reading
of a page, and those javascript commands put something ELSE in the browser
window, so the browser decides to stop reading the original page. If that
makes any sense.
It still may not be a problem; if the javascript seems to PERFORM
correctly, I'd probably just ignore it myself. Or, if you had the js
source code and felt like js hacking, you could try to figure out what was
causing it and rewrite the js code to not do this. Which would indeed
probably be an improvement.
I personally have not used/tested/seen any js code that does what you want,
to reccomend for or against.
--Jonathan
At 10:13 AM 3/17/2003 +0000, you wrote:
I have been working for days on this, but to no avail. I desperately need
help!
I try to embed a treemenu (www.treemenu.com) into a WO Application, and
hardcode the <script>...</script> in the WO html, without using
WOJavaScript.
When I build and run my application, I keep getting the following. How
can I solve this? If this is a problem with the javascript, does anyone
know which tree menu javascript out there is proven to work well with
webobjects?
I have exhausted all ideas. Any help will be greatly appreciated.
TL
[2003-03-17 18:10:21 SGT] <WorkerThread0> <WOWorkerThread id=0
socket=Socket[addr=TL-PC/192.168.123.4,port=4958,localport=3000]>
Exception while sending response: java.net.SocketException: Connection
reset by peer: socket write error
[2003-03-17 18:10:21 SGT] <WorkerThread8> <WOWorkerThread id=8
socket=Socket[addr=TL-PC/192.168.123.4,port=4966,localport=3000]>
Exception while sending response: java.net.SocketException: Connection
reset by peer: socket write error
[2003-03-17 18:10:21 SGT] <WorkerThread7> <WOWorkerThread id=7
socket=Socket[addr=TL-PC/192.168.123.4,port=4967,localport=3000]>
Exception while sending response: java.net.SocketException: Connection
reset by peer: socket write error
_________________________________________________________________
Express yourself with cool emoticons http://messenger.msn.co.uk
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://messenger.msn.co.uk
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.