• Post Reply Bookmark Topic Watch Topic
  • New Topic

BufferedServletOutputStream

 
monica singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • 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
  • 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: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • 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: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • 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: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • 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...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!