[JBoss-user] [Installation, Configuration & Deployment] - Re: Container Interceptor runs as Client Interceptor

2005-11-21 Thread sagi7
Hello,

here the solution for others with the same problem:

i use sessionFactory.openSession() instead of 
sessionFactory.getCurrentSession() and it works fine.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908130#3908130

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908130


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Container Interceptor runs as Client Interceptor

2005-11-20 Thread sagi7
Hello,

i am no more sure, if the interceptor runs in Client or server VM.
I get System.out messages in JBOSS Console and the Exception in Client VM (in 
the same Method).
org.hibernate.HibernateException: Unable to locate current JTA transaction
Maybe a wrong Bean Configuration that i cannot obtain the session?

Please Help!!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908054#3908054

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908054


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Container Interceptor runs as Client Interceptor

2005-11-11 Thread sagi7
Hello,

i have configured a Container-Interceptor in JBAS 4.0.2 with JBoss.xml and 
following configuration:


Test Container



de.test.pps.ejb.interceptor.SecurityInterceptor



org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor


org.jboss.ejb.plugins.LogInterceptor



org.jboss.ejb.plugins.SecurityInterceptor


org.jboss.ejb.plugins.LogInterceptor


org.jboss.ejb.plugins.TxInterceptorCMT


org.jboss.ejb.plugins.MetricsInterceptor



org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor



org.jboss.resource.connectionmanager.CachedConnectionInterceptor






My problem is, that the Interceptor runs in Client Container and cannot obtain 
a Hibernate Session.
Any Suggestions to configure as Container Interceptor?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906755#3906755

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906755


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user