Broken Pipe error using batik (SVG conversion)

Dev WO <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi guys,

I've created a method to rasterize an SVG image (using Batik). When I  
try to use this method in my application it appears it takes too long  
to execute (at least that's what I'm guessing), here's what I have in  
the log:

[2006-06-14 16:26:52 CEST] <WorkerThread0> <WOWorkerThread id=0  
socket=Socket[addr=/10.0.1.8,port=49708,localport=49645]>
Exception while sending response: java.net.SocketException: Broken pipe

I also get:
"No instance available" in the web browser quite some time after it  
loads (probably due to the broken pipe)


The created image (in this case a JPG) is created but it behaves  
strangely:
I can't open it before moving it somewhere else on the hard drive...  
If I put it back to its initial place it is then OK to open it. Might  
be a process not fully executed and moving the file forcing it to end...
I had to increase the memory (-Xmx400m -Xms200m) to get rid of the  
"out of memory error" I initially had.

Does anyone know how I could fix the broken pipe issue?

Thanks

Xavier

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.