Hi
I have been trying out the new WFS-NG in 12-beta to see if it works better than the old WFS module. While doing so, I suddenly had troubles printing to standard out. It turns out that not only does WFS-NG print requests and responses straight to System.out and System.err without going through the logging framework, it also closes System.out after doing so. The offender seems to be org.geotools.data.wfs.internal.DescribeFeatureTypeResponse. The TeeOutputStream used to write a copy of the response to System.out closes both streams when it is closed, not just the original output as I think is intended. Even if WFS-NG isn't considered stable yet, closing System.out is a rather nasty thing to do.
Regards
Tor Egil Riegels Strand