Re: Binary data garbled



George Weis wrote:
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.
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.

Start by fixing the known problem and take it from there.

Arne
.



Relevant Pages

  • Re: Binary data garbled
    ... and sends garbled binary files to remote printer from that point on. ... check how the cache is being handled on the printer side; if the later look at spooler. ... did and we had to switch over to another tomcat server. ...
    (comp.lang.java.programmer)
  • Binary data garbled
    ... and sends garbled binary files to remote printer from that point on. ... Sometimes restarting the tomcat application seems to fix things. ...
    (comp.lang.java.programmer)
  • Tomcat4 RMI class loading bermuda triangle
    ... I'm trying to fix this problem for one week and i'm turning crazy ... I have this servlet working perfectly, finding every package i put in ... i used to try the same code with tomcat 3 and i changed to tomcat 4 ...
    (comp.lang.java.programmer)
  • JSP not recognizing all methods in a class
    ... get them to run on a jsp page, Tomcat will report the following for ... I had this problem before and uninstalling / reinstalling Tomcat ... Has anybody else seen this and know how to fix it? ...
    (comp.lang.java.help)
  • Re: Experience with tomcat
    ... Any recommendations on the Tomcat version? ... I've heard V4 consumes a lot of ... resources. ... V5 is supposed to fix that. ...
    (microsoft.public.inetserver.iis)