Re: Binary data garbled
- From: Dave Miller <nonregistered@xxxxxxxxxxxx>
- Date: Fri, 30 May 2008 22:03:23 GMT
George Weis wrote:
Hi All:Suggests that the problem is in the use of cache. Do you write directly to the printer or are you writing via the host's spooler? If the former, check how the cache is being handled on the printer side; if the later look at spooler.
We are having a problem with an application that runs under
tomcat. One thing this application does is send binary files to a
remote printer. We know that the code in this application has at
least one problem. It handles the binary data as a String object and
we are told that we should not be doing this.
We'll fix this, but we hope this fixes our problem, because the
application seems to work fine for a few days. Then it gets 'stuck'
and sends garbled binary files to remote printer from that point on.
Sometimes restarting the tomcat application seems to fix things.Are you writing the data to disk as part of the process? If not, a hard reboot has to clear the server's cache which leaves the printer's.
Sometimes rebooting the host seems to fix things. Last time nothing
did and we had to switch over to another tomcat server.
We are running the application on tomcat 6.0.14, using
jdk1.5.0.12.
Anyone have any ideas?
thanks,
George
--
Dave Miller
Java Web Hosting at:
http://www.cheap-jsp-hosting.com/
.
- References:
- Binary data garbled
- From: George Weis
- Binary data garbled
- Prev by Date: Re: Capital Punishment
- Next by Date: Re: WORA high performance
- Previous by thread: Binary data garbled
- Next by thread: Re: Binary data garbled
- Index(es):
Relevant Pages
|
|