> wonder if -Dopenejb.log.factory=slf4j could be a workaround for older
> versions
Does not work for me.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663452.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
cau*
*Github: https://github.com/rmannibucau*
2013/6/3 vhubuo
> For the 1.6.0 builds everything work fine.
> For 1.5.2 and 1.5.3 ".useParentHandlers = true" workaround does not work.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.c
For the 1.6.0 builds everything work fine.
For 1.5.2 and 1.5.3 ".useParentHandlers = true" workaround does not work.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663433.html
Sent from the OpenEJB User mailing list
st servers I know don't log it. You might work around it by
>> > writing a CDI Extension which adds an @LogExceptions kind of
>> Interceptor to
>> > those beans. Or just add the interceptor to to those EJBs yourself
>> manually.
>> >
>> >
>&
on which adds an @LogExceptions kind of Interceptor
> to
> > those beans. Or just add the interceptor to to those EJBs yourself
> manually.
> >
> >
> > LieGrue,
> > strub
> >
> > >________
> > > From: Dmitrijs Litajevs
ourself manually.
>
>
> LieGrue,
> strub
>
> >
> > From: Dmitrijs Litajevs
> >To: users@tomee.apache.org
> >Sent: Thursday, 30 May 2013, 15:08
> >Subject: Re: Remote exceptions logging
> >
> >
> >I start the server. Copy app.war t
n which adds an @LogExceptions kind of Interceptor to
> those beans. Or just add the interceptor to to those EJBs yourself manually.
>
>
> LieGrue,
> strub
>
> >
> > From: Dmitrijs Litajevs
> >To: users@tomee.apache.org
> >Sen
gt; > > client. And
>> > > > >> I see the stack trace on client. But I don't see the stack trace
>> in
>> > > any
>> > > > of
>> > > > >> server log files.
>> > > > >>
>> > > > >> So my question is how does TomEE log unexpected exceptions in
>> > > stateless
>> > > > >> beans exposed via remote annotation ? And is there any
>> configuration
>> > > > >> available.
>> > > > >>
>> > > > >> I use a "clean" installation of 1.5.2 of the server without any
>> > > > >> configuration.
>> > > > >>
>> > > > >>> can you check with the snapshot, i just tried with 1.6.0-SNAPSHOT
>> > > > >>
>> > > > >> On 1.6.0-SNAPSHOT it works correctly.
>> > > > >>
>> > > > >> I get:
>> > > > >> май 30, 2013 9:14:57 AM
>> > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil
>> > > > handleSystemException
>> > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined
>> > > exception
>> > > > >> java.lang.UnsupportedOperationException: user defined exception
>> > > > >>
>> > > > >> What are your recommendations on production usage?
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >> View this message in context:
>> > > >
>> > >
>> >
>> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html
>> > > > >> Sent from the OpenEJB User mailing list archive at Nabble.com.
>> > > > >
>> > > >
>> > > >
>> > >
>> >
>>
>
>
GitHub: https://github.com/ChrisChristo
> > > > > > > >
> > > > > > > > On 30 May 2013, at 07:19, vhubuo
> > wrote:
> > > > > > > >
> > > > > > > >> Yes. The RuntimeExceptions are wrapped into EJBException for
> > the
> > > > > > > client. And
> > > > > > > >> I see the stack trace on client. But I don't see the stack
> > trace
> > > > in
> > > > > > any
> > > > > > > of
> > > > > > > >> server log files.
> > > > > > > >>
> > > > > > > >> So my question is how does TomEE log unexpected exceptions
> in
> > > > > > stateless
> > > > > > > >> beans exposed via remote annotation ? And is there any
> > > > configuration
> > > > > > > >> available.
> > > > > > > >>
> > > > > > > >> I use a "clean" installation of 1.5.2 of the server without
> > any
> > > > > > > >> configuration.
> > > > > > > >>
> > > > > > > >>> can you check with the snapshot, i just tried with
> > > 1.6.0-SNAPSHOT
> > > > > > > >>
> > > > > > > >> On 1.6.0-SNAPSHOT it works correctly.
> > > > > > > >>
> > > > > > > >> I get:
> > > > > > > >> май 30, 2013 9:14:57 AM
> > > > > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil
> > > > > > > handleSystemException
> > > > > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user
> defined
> > > > > > exception
> > > > > > > >> java.lang.UnsupportedOperationException: user defined
> > exception
> > > > > > > >>
> > > > > > > >> What are your recommendations on production usage?
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> --
> > > > > > > >> View this message in context:
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html
> > > > > > > >> Sent from the OpenEJB User mailing list archive at
> Nabble.com.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
; > > > > On 30 May 2013, at 07:19, vhubuo
> wrote:
> > > > > > >
> > > > > > >> Yes. The RuntimeExceptions are wrapped into EJBException for
> the
> > > > > > client. And
> > > > > > >> I see the stack trace on client. But I
pped into EJBException for
> the
> > > > > > client. And
> > > > > > >> I see the stack trace on client. But I don't see the stack
> trace
> > > in
> > > > > any
> > > > > > of
> > > > > > >> server log files.
> > > > > > >>
> > > > > > >> So my question is how does TomEE log unexpected exceptions in
> > > > > stateless
> > > > > > >> beans exposed via remote annotation ? And is there any
> > > configuration
> > > > > > >> available.
> > > > > > >>
> > > > > > >> I use a "clean" installation of 1.5.2 of the server without
> any
> > > > > > >> configuration.
> > > > > > >>
> > > > > > >>> can you check with the snapshot, i just tried with
> > 1.6.0-SNAPSHOT
> > > > > > >>
> > > > > > >> On 1.6.0-SNAPSHOT it works correctly.
> > > > > > >>
> > > > > > >> I get:
> > > > > > >> май 30, 2013 9:14:57 AM
> > > > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil
> > > > > > handleSystemException
> > > > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined
> > > > > exception
> > > > > > >> java.lang.UnsupportedOperationException: user defined
> exception
> > > > > > >>
> > > > > > >> What are your recommendations on production usage?
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >> --
> > > > > > >> View this message in context:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html
> > > > > > >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
files.
> > > > > >>
> > > > > >> So my question is how does TomEE log unexpected exceptions in
> > > > stateless
> > > > > >> beans exposed via remote annotation ? And is there any
> > configuration
> > > > > >> available.
> > > > > >>
> > > > > >> I use a "clean" installation of 1.5.2 of the server without any
> > > > > >> configuration.
> > > > > >>
> > > > > >>> can you check with the snapshot, i just tried with
> 1.6.0-SNAPSHOT
> > > > > >>
> > > > > >> On 1.6.0-SNAPSHOT it works correctly.
> > > > > >>
> > > > > >> I get:
> > > > > >> май 30, 2013 9:14:57 AM
> > > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil
> > > > > handleSystemException
> > > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined
> > > > exception
> > > > > >> java.lang.UnsupportedOperationException: user defined exception
> > > > > >>
> > > > > >> What are your recommendations on production usage?
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> --
> > > > > >> View this message in context:
> > > > >
> > > >
> > >
> >
> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html
> > > > > >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
in
> > > any
> > > > of
> > > > >> server log files.
> > > > >>
> > > > >> So my question is how does TomEE log unexpected exceptions in
> > > stateless
> > > > >> beans exposed via remote annotation ? And is there any
> confi
emote annotation ? And is there any configuration
> > > >> available.
> > > >>
> > > >> I use a "clean" installation of 1.5.2 of the server without any
> > > >> configuration.
> > > >>
> > > >>&g
> >> On 1.6.0-SNAPSHOT it works correctly.
> > >>
> > >> I get:
> > >> май 30, 2013 9:14:57 AM
> > >> org.apache.openejb.core.transaction.EjbTransactionUtil
> > handleSystemException
> > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined
> exception
> > >> java.lang.UnsupportedOperationException: user defined exception
> > >>
> > >> What are your recommendations on production usage?
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> View this message in context:
> >
> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html
> > >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> > >
> >
> >
>
1.6.0-SNAPSHOT it works correctly.
> >>
> >> I get:
> >> май 30, 2013 9:14:57 AM
> >> org.apache.openejb.core.transaction.EjbTransactionUtil
> handleSystemException
> >> SEVERE: EjbTransactionUtil.handleSystemException: user defined exception
> >> java.lang.UnsupportedOperationException: user defined exception
> >>
> >> What are your recommendations on production usage?
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html
> >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
>
; On 1.6.0-SNAPSHOT it works correctly.
>>
>> I get:
>> май 30, 2013 9:14:57 AM
>> org.apache.openejb.core.transaction.EjbTransactionUtil handleSystemException
>> SEVERE: EjbTransactionUtil.handleSystemException: user defined exception
>> java.lang.UnsupportedOperationException:
t; SEVERE: EjbTransactionUtil.handleSystemException: user defined exception
> java.lang.UnsupportedOperationException: user defined exception
>
> What are your recommendations on production usage?
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979
-exceptions-logging-tp4663282p4663338.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
onUtil
> handleSystemException
> SEVERE: EjbTransactionUtil.handleSystemException: user defined exception
> java.lang.UnsupportedOperationException: user defined exception
>
> What are your recommendations on production usage?
>
>
>
>
>
> --
> View this message in c
.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
t;
> - Original Message -
> > From: "Howard W. Smith, Jr."
> > To: users@tomee.apache.org
> > Cc: "us...@openejb.apache.org"
> > Sent: Wednesday, 29 May 2013, 22:14
> > Subject: Re: Remote exceptions logging
> >
> > see furthe
penjpa.jar packaged (becaue there
is no JPA done on the client)
LieGrue,
strub
- Original Message -
> From: "Howard W. Smith, Jr."
> To: users@tomee.apache.org
> Cc: "us...@openejb.apache.org"
> Sent: Wednesday, 29 May 2013, 22:14
> Subject: R
>> static InitialContext ctx;
>>
>> public static void main(String[] agrs) throws MalformedURLException,
>> NamingException {
>> Properties p = new Properties();
>> p.put(Context.INITIAL_CONTEXT_FACTORY,
>> org.apache.openejb.client.Rem
ory");
> p.put("java.naming.provider.url",
> "http://127.0.0.1:8080/tomee/ejb";);
> ctx = new InitialContext(p);
> ((NewClassRemote) ctx.lookup("NewClassRemote")).test();
> }
> }
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663314.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
exceptions from remote ejbs ?
How do I enable it ?
--
View this message in context:
http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663321.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
t;;);
ctx = new InitialContext(p);
((NewClassRemote) ctx.lookup("NewClassRemote")).test();
}
}
--
View this message in context:
http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663314.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
to configure logging to achieve this behavior?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
--
Jean-Louis
://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
29 matches
Mail list logo