dev@glassfish.java.net

Re: JCA and PrintWriter

From: Binod <Binod.Pg_at_Sun.COM>
Date: Wed, 13 Dec 2006 17:51:28 +0530

Thomas Schuett wrote:

> Hi!
> I was wondering when the method
> javax.resource.spi.ManagedConnectionFactory setLogWriter
>
> is being called. As far as I understand it, it is called with a
> PrintWriter instance by the application server as soon as logging is
> enabled. How do I get glassfish to enable logging for my connector?

Can you try and use J2SE 1.4 logging in the resource adapter?

> Right now this method is never called for my deployed connector
> module. Am I missing some basic concepts?

GlassFish logging mechanism is based on J2SE 1.4 logging. setLogWriter
apis are not
implemented.

thanks,
Binod.

>
> Thanks
> Thomas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>