dev@glassfish.java.net

Re: JCA and PrintWriter

From: Binod <Binod.Pg_at_Sun.COM>
Date: Wed, 13 Dec 2006 22:42:41 +0530

https://glassfish.dev.java.net/issues/show_bug.cgi?id=1735

I have raised an issue to track this.

- Binod.

Thomas Schuett wrote:

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