• 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
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

jsp hangs because [java.io.IOException: Broken pipe]

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The application throws th above exception and Netscape browser hangs.
what is cause of this exception?Is there any solution for that?

thanks in advance
 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello yogi,

The expetion which you are getting i.e. java.io.IOException: Broken pipe, occurs when you are accessing a remore server which is down.
That is your client is trying to access the services of the server bur server is down.
I think this would help you.
Thanks,
Saurabh
 
yo nara
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the server is not down .I can access other pages .
so might be other reason(just guess).
 
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can't guess like that. Post the code of page from where you are getting this exception.
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Yogi,

There could be 2 reasons:

1. chances that some of your connections are left open w/o closing.Which after number of access, the database would have reached the extent.


2. Your connection is getting cut when you leave your server idle for few hours. Try to write a thread servlet that access any table every few interval.This can avoid broken pipe error.


Bhuvana
 
yo nara
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually the person who has written code has not used printStackTrace() method.and the system is japanese so it gives error messages in japanese.
also it takes time to generate errors.
so I need to change the code and find the place where error occurs.
so first I will try with the suggestion given just now.because it seems that both the criteria are matching.
thank you very much for help
 
I am going to test your electrical conductivity with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic