Re: Remote exceptions logging

2013-06-03 Thread vhubuo
> 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.

Re: Remote exceptions logging

2013-06-03 Thread Romain Manni-Bucau
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

Re: Remote exceptions logging

2013-06-03 Thread 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.com/Remote-exceptions-logging-tp4663282p4663433.html Sent from the OpenEJB User mailing list

Re: Remote exceptions logging

2013-05-31 Thread Romain Manni-Bucau
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. >> > >> > >&

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
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

Re: Remote exceptions logging

2013-05-30 Thread Jean-Louis MONTEIRO
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

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
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

Re: Remote exceptions logging

2013-05-30 Thread Mark Struberg
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. >> > > > > >> > > > >> > > > >> > > >> > >> > >

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
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. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
; > > > > 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

Re: Remote exceptions logging

2013-05-30 Thread Howard W. Smith, Jr.
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. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
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. > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
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

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
emote annotation ? And is there any configuration > > > >> available. > > > >> > > > >> I use a "clean" installation of 1.5.2 of the server without any > > > >> configuration. > > > >> > > > >>&g

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
> >> 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. > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
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. > > > >

Re: Remote exceptions logging

2013-05-30 Thread Chris.Christo
; 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:

Re: Remote exceptions logging

2013-05-30 Thread Chris.Christo
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

Re: Remote exceptions logging

2013-05-30 Thread vhubuo
-exceptions-logging-tp4663282p4663338.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Remote exceptions logging

2013-05-29 Thread Romain Manni-Bucau
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

Re: Remote exceptions logging

2013-05-29 Thread vhubuo
.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Remote exceptions logging

2013-05-29 Thread Romain Manni-Bucau
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

Re: Remote exceptions logging

2013-05-29 Thread Mark Struberg
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

Re: Remote exceptions logging

2013-05-29 Thread Howard W. Smith, Jr.
>> 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

Re: Remote exceptions logging

2013-05-29 Thread Howard W. Smith, Jr.
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. >

Re: Remote exceptions logging

2013-05-29 Thread vhubuo
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.

Re: Remote exceptions logging

2013-05-29 Thread vhubuo
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.

Re: Remote exceptions logging

2013-05-29 Thread Jean-Louis MONTEIRO
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

Remote exceptions logging

2013-05-28 Thread vhubuo
://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282.html Sent from the OpenEJB User mailing list archive at Nabble.com.