dev@glassfish.java.net

Re: JCA and PrintWriter

From: Thomas Schuett <info_at_thomas-schuett.de>
Date: Wed, 13 Dec 2006 17:38:45 +0100

Ok. Java Logging API is more convinient anyway ,-)

thanks,

    Thomas

Binod schrieb:
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net