• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Connection aborted by peer: socket write error

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am getting a server error when loading a JSP page into my browser. The page and image come up with no delay, and it's on my local machine (Tomcat) so there's really no remote or network issue...
Here is the error that appears in my Tomcat DOS window whenever I hit that page:

It's just a simple HTML img tag. What could be causing this error?
Thanks!
Liz
p.s. If this would be more appropriate in the Tomcat forum, please move me there. I wasn't sure where to attribute the error (obviously ).
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Though I am not sure what the exact issue is in your case, we get the same error when a connection object that is used in our app dies.
Since we use a connection pool, this usually isnt a problem as the app gets another connection from the pool.
Hope this helps in identifying your problem!
Thilan
 
Elizabeth Lester
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Thilan,
Thanks for the response. That's interesting. We also are using connection pooling, although the jsp that's giving me the error is the very first page hit upon entry, and from what I can tell, no connection objects have been created yet...
I have called in a Bean or two before it hits the line with the img tag, but none of those methods query the DB.
I still wonder if it could be related tho'...
Thanks,
Liz
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There was a discussion about this (very common) Tomcat error in the Apache/Tomcat forum. I'd close and move it for you, but I'm not a moderator in this forum.

https://coderanch.com/t/81597/Tomcat/Connection-reset-peer-socket-write

(As an example of what you'd find in Tomcat)
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll move it fer ya.
 
Elizabeth Lester
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you! I don't know how I missed that other thread. I search before posting--I swear!
I suspected it was not fatal, but was glad to find out the details.
BTW, when did this BB stop sending emails to tell us when folks reply to our posts? That was so very helpful...I don't see anything about it on the profile screen any more.
--liz
[ November 19, 2002: Message edited by: Elizabeth Lester ]
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Elizabeth,

searching: UBB Search isn't very effective at times. I tried multiple times before I could retrieve the post I *knew* I had made.

email: You might try asking that question here: https://coderanch.com/forums/f-10/Ranch-Office

I've asked in the Moderator Only forum for you, but you should ask in the JavaRanch forum as well.
 
Elizabeth Lester
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aha! Just realized that the email notification is an option only when you first create the thread. Now I know for next time...I knew it was there! It's been too long since I've been in Java-land, but I am back
Ok, now back to Java!
[ November 20, 2002: Message edited by: Elizabeth Lester ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic