Patches item #552010, was opened at 2002-05-03 15:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=552010&group_id=22866

Category: JBossServer
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Victor Langelo (vlangelo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Stateful session activation fails

Initial Comment:
A stateful session bean with references to other beans
fails to activate after being passivated. A security
check exception occurs while loading the bean references.

To fix this problem I moved the security interceptor in
the Standard stateful bean configuration from the end
of the chain to before the transaction interceptors.
The following patch may not be exactly accurate since I
have other customizations in my test system.

--- default/standardjboss.xml   Fri May  3 10:02:42 2002
+++ adpro/standardjboss.xml     Fri May  3 14:15:41 2002
@@ -154,6 +158,7 @@
 
        
<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
             <container-interceptors>
                
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+               
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                 <!-- CMT -->
                 <interceptor
transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                 <interceptor transaction="Container"
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
@@ -162,7 +167,6 @@
                 <interceptor
transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
                 <interceptor
transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
                 <interceptor transaction="Bean"
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
-               
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
             </container-interceptors>
 
        
<instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
 
        
<persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
@@ -194,6 +199,7 @@
 
        
<container-invoker>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker</container-invoker>
             <container-interceptors>
                
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+               
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
                 <!-- CMT -->
                 <interceptor
transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
                 <interceptor transaction="Container"
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
@@ -202,7 +208,6 @@
                 <interceptor
transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
                 <interceptor
transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
                 <interceptor transaction="Bean"
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
-               
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
             </container-interceptors>
 
               
<instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
                        
<persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=552010&group_id=22866

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to