[JBoss-user] [Installation, Configuration Deployment] - Deploymentdescriptor for user defined client side intercepto

2006-01-19 Thread StefanKuhn
Hi!

Can anyone post a sample deployment descriptor (part of) for a clientside 
interceptor, where you have added an interceptor of your own?


I have written an tried out a container interceptor, but that doesn't solve my 
problem.

Here ist the interesting part of the deployment descriptor for my container 
interceptor:
container-configurationextends=Standard Stateful SessionBean
  |   container-nameP24EntryBeanContainer/container-name
  |   call-loggingtrue/call-logging
  |   
invoker-proxy-binding-namestateful-rmi-invoker/invoker-proxy-binding-name
  |   container-interceptors
  | 
interceptorinfo.pompadour.p24.interceptor.SyncInterceptor/interceptor
  | ...

The SyncInterceptor is my interceptor, that sync the access to my statefull 
session bean...on the server side... Of course that isn't what i want...



When setting up a client interceptor...
1. What does the deployment descriptor look like?
2. Do i have to use the extends= syntax as with the container interceptor?
3. What base class must my interceptor implement?
   The org.jboss.ejb.plugins.AbstractInterceptor?
   As in my container interceptor:
   public class SyncInterceptor extends 
org.jboss.ejb.plugins.AbstractInterceptor {
  |  ...
  |}


I have read the dokumentation, but i found no sample how to add an interceptor 
of your own. Nither client nor container interceptor.
(i case i havent overssen it of course)

I'd appreciate any help.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918323#3918323

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918323


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Deploymentdescriptor for user defined client side interc

2006-01-19 Thread StefanKuhn

Thank you very much!

I love you all! :-)

By the way, i found some Hints in the doc too...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918340#3918340

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918340


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - RemoteException - different tx context

2004-10-20 Thread StefanKuhn
Hi! 

Can anyone explain this exception? 
(what does ist mean?) 

It is thrown when calling a statefull session bean method (getGegenstandMain), from 
within a JSP file.

Thanks! 

Rgds 
Stefan 

18:54:31,105 ERROR [LogInterceptor] EJBException in method: 
  | public abstract util.Gegenstand bean_session.LogIn.getGegenstandMain(int) throws 
java.rmi.RemoteException:
  | javax.ejb.EJBException: Application Error: tried to enter Stateful bean with 
different tx context, 
  | contextTx: TransactionImpl:XidImpl[FormatId=257, GlobalId=p1510.server.info/121, 
BranchQual=, localId=121],
  | methodTx:  TransactionImpl:XidImpl[FormatId=257, GlobalId=p1510.server.info/122, 
BranchQual=, localId=122]

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852001#3852001

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852001


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - RemoteException - different tx context

2004-10-19 Thread StefanKuhn
Hi!

Can anyone explain this exception?
(what does ist mean?)
Thanks!

Rgds
Stefan

18:54:31,105 ERROR [LogInterceptor] EJBException in method: 
  | public abstract util.Gegenstand bean_session.LogIn.getGegenstandMain(int) throws 
java.rmi.RemoteException:
  | javax.ejb.EJBException: Application Error: tried to enter Stateful bean with 
different tx context, 
  | contextTx: TransactionImpl:XidImpl[FormatId=257, GlobalId=p1510.server.info/121, 
BranchQual=, localId=121],
  | methodTx:  TransactionImpl:XidImpl[FormatId=257, GlobalId=p1510.server.info/122, 
BranchQual=, localId=122]   

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851935#3851935

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851935


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user