This content has been marked as final.
Show 3 replies
-
1. Re: How to trace remote calls client-side
waynebaylor Aug 14, 2007 9:52 AM (in response to alessandro_rizzi)I'm not 100% sure about this, but you might be able to add an interceptor to the remote interfaces and do logging there.
-
2. Re: How to trace remote calls client-side
alessandro_rizzi Aug 14, 2007 10:01 AM (in response to alessandro_rizzi)"waynebaylor" wrote:
I'm not 100% sure about this, but you might be able to add an interceptor to the remote interfaces and do logging there.
Thanks.
I knew this was possible ... but I'm far away from knowing how. Anyone has do something similar, or has any suggestion?
I know only that I shoud add the incerceptor class in some JBoss xml (jboss-service.xml I guess) and that I should create a class that implemenst some interfaces ... any more datails will be nice :)
Bye
Alessandro -
3. Re: How to trace remote calls client-side
alessandro_rizzi Aug 14, 2007 12:08 PM (in response to alessandro_rizzi)Found it ... it was quite easy.
If anyone needs, I'll explain:
The file to modify is standardjboss.xml under the conf folder.
Find the lines like this:
<interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
and change the class with some class made by you which extends the class above (I suppose this is not required, but it's the easiest way)
Then you simply have to override the Invoke method ... and everything works.
Bye