I am using tomee simple MDB. Can you make a change in tomee, that will
eliminate those lines from log?

Honestly, I don't know the answer to your question, sorry.
 On May 7, 2013 2:51 AM, "Romain Manni-Bucau" <[email protected]> wrote:

> Hi,
>
> there is no link to transactions, that's JCA (not JTA). You can configure
> logs to hide them. That said i wonder if it is not simply a start logging
> (for each session of the AMQ pool). Then it is removed and it should be
> better, no?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/5/7 Howard W. Smith, Jr. <[email protected]>
>
> > Revisiting this topic...
> >
> > On Sun, Mar 24, 2013 at 10:21 AM, Romain Manni-Bucau
> > <[email protected]>wrote:
> >
> > > I'd use 1 + SUPPORTS but 2 works fine too
> > >
> >
> >
> > > Le 24 mars 2013 15:01, "almos" <[email protected]> a écrit :
> > >
> > > >
> > > > 1) TransactionManagement=CMT + TransactionAttribute=NOT_SUPPORTED
> > > > 2) TransactionManagement=BMT
> > >
> >
> > So, I marked my MDBs with the following:
> >
> > TransactionManagement=CMT + TransactionAttribute=NOT_SUPPORTED
> > TransactionManagement=CMT + TransactionAttribute=SUPPORTS
> > TransactionManagement=CMT + TransactionAttribute=REQUIRED
> >
> > and i still get the following in the log:
> >
> > May 07, 2013 1:27:00 AM org.apache.geronimo.connector.work.WorkerContext
> > run
> > INFO: Removing non-required WorkContextHandler with no context:
> > org.apache.geronimo.connector.work.TransactionContextHandler@34a72c6
> > May 07, 2013 1:27:00 AM org.apache.geronimo.connector.work.WorkerContext
> > run
> > INFO: Removing non-required WorkContextHandler with no context:
> > org.apache.openejb.core.security.SecurityContextHandler@cb526da
> > May 07, 2013 1:27:00 AM org.apache.geronimo.connector.work.WorkerContext
> > run
> > INFO: Removing non-required WorkContextHandler with no context:
> > org.apache.geronimo.connector.work.HintsContextHandler@1d3ee0cc
> >
> > It would be nice to know how to prevent these lines showing up in the log
> > (every time a message is sent)..without using @Asynchronous methods. :)
> >
>

Reply via email to