• 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

BufferedServletOutputStream

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

How to use BufferedServletOutputStream.I had raised the same query in sun site,but did not get a reply yet.
So,hoping for some answers here.

Whats the jar file that I have to use here for this .Please let me know.Thanks.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Google makes it sound like that's a class internal to Tomcat. I don't see any public API's. Where did you hear about this class?
 
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the context? Where have you heard of this class? How do you know it exists?

A quick google search finds it as part of the Apache Messenger API, but that project is dormant, so you would have to download the code and build it yourself.

It also appears it is part of Tomcat, JTidy, and several other JEE implementations as part of their internal API. It seems likely that if you have a Servlet container than you have a 'BufferedServletOutputStream' somewhere.
 
monica singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have seen about this here in the following link.
https://issues.alfresco.com/jira/browse/ETHREEOH-974
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still trying to solve that same problem, eh?
If so, my answer is still the same: You have two choices: make the VM heap larger or load less data into memory. Even if you make the heap larger, you will eventually run into the physical limit of the machine you are running on.
 
monica singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Joe,

I am talkng about the same problem but a bit different one.Problem here is with the export.But ,as the problem is going in different directions ,and as per my view,questions related to IO should be in that topic,I had to raise like this.

Increasing the size of the memory is not the solution I would prefer for my application.
And reducing the heap object usage,I had done it as far as possible.
 
Steve Luke
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So be more specific about the problem please.

Are you using a web application? Servlets?
What does the link you posted have to do with it? It does not have BufferedServletOutputStream mentioned once. are you working with/on Alfresco?

What is the problem exactly?
 
Steve Luke
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

monica singh wrote:Increasing the size of the memory is not the solution I would prefer for my application.
And reducing the heap object usage,I had done it as far as possible.



p.s. If your problem is memory related, one of those two things has to change.
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Steve Luke wrote:

monica singh wrote:Increasing the size of the memory is not the solution I would prefer for my application.
And reducing the heap object usage,I had done it as far as possible.



p.s. If your problem is memory related, one of those two things has to change.



I've been telling monica that for a month.
 
Steve Luke
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Ess wrote:

Steve Luke wrote:
p.s. If your problem is memory related, one of those two things has to change.



I've been telling monica that for a month.



Yeah, I saw that in a couple of the other threads you pointed to. I was hoping if it was brought up again maybe it would sink in...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic