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

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

Hello,



I need both local user and remote user (behind firewall) to access the same ejb, local 
user uses stateless-rmi-invoker, remote user uses stateless-http-invoker, I have no 
problem with local user, but remote user still uses stateless-rmi-invoker.



My jboss.xml configuration is as below: 





         <ejb-name>TestEjb</ejb-name>

         <jndi-name>TestSessionBean</jndi-name>

         <invoker-bindings>

            

               
<invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>

            



               
<invoker-proxy-binding-name>stateless-http-invoker</invoker-proxy-binding-name>

            

         </invoker-bindings>

      



<invoker-proxy-bindings>

      <!-- A custom invoker for RMI/HTTP -->

      <invoker-proxy-binding>

         stateless-http-invoker

         <invoker-mbean>jboss:service=invoker,type=http</invoker-mbean>

         <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>

         <proxy-factory-config>

            <client-interceptors>

               

                  org.jboss.proxy.ejb.HomeInterceptor

                  org.jboss.proxy.SecurityInterceptor

                  org.jboss.proxy.TransactionInterceptor

                  org.jboss.invocation.InvokerInterceptor

               

               

                  org.jboss.proxy.ejb.StatelessSessionInterceptor

                  org.jboss.proxy.SecurityInterceptor

                  org.jboss.proxy.TransactionInterceptor

                  org.jboss.invocation.InvokerInterceptor

               

            </client-interceptors>

         </proxy-factory-config>

      </invoker-proxy-binding>



   </invoker-proxy-bindings>



If I only set one invoker at a time, local user can access ejb by 
stateless-rmi-invoker, and remote user can access ejb by stateless-http-invoker. but 
when I set them together, it doesn't work.



Any helps are appreciated.



Mark


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to