Hi Samisa,

> > 2008-04-28 11:04:25,255 [-] [Finalizer]  WARN TemporaryData Cleaning
up
> > unreleased temporary file work/temp/esb/tmp_43240.dat
> >
> > I think this is related to the way "big" responses are handled. They
are
> > streamed and temporarily written to disc, because they are larger
than
> > some internal buffer. The warning may indicate that the client code
does
> > not properly release the resources (in this case the temp file) and
some
> > utility class does its best to compensate this misbehaviour through
> > fixing this inside a finalize method and logging the above warning
(only
> > my blind guess).
> > Could you please check this and fix it, if I'm not wrong with my
> > uneducated guess! ;-)
> 
> Can we increase the log level, meaning only errors would be logged?

Hmm, actually I must admit that I don't understand your question. Of
course I could change the log level to error, which would magically hide
this warning. But why should I do this? I would like to see any
warnings. Normally they are very meaningful and good hints for possible
problems. If this warning is not correct in that place, which I can not
evaluate on without having a look at the code, then it should be changed
in the code to a debug or trace level, but I doubt it. I would guess the
warning is correct and someone simply forgot to release a resource, e.g.
close a temporary file handle via an explicit API-call. So this will be
done in a finalizer.

Regards,
   Eric

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to