Hi, I have modified the Calculator sample to use an EJB binding for addService. I have deployed an AddService bean in Geronimo 2.0-SNAPSHOT Tomcat server. I am using an EmbeddedSCADomain to run the sample. I am facing a strange problem. When I run the sample in J2SE environment (I actually modified the testcase in sca/modules/binding-ejb to run this sample) everything runs fine. I see that the EJB is invoked for AddService. But when I run this sample inside Geronimo using the tuscany-plugin (see http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Tuscany+Geronimo+Integrationfor details on the Geronimo Tuscany Integration details), I am getting " java.rmi.MarshalException: Unable to create stub for class java.lang.Object; nested exception is: org.omg.CORBA.MARSHAL: Unable to create stub for class java.lang.Object: vmcid: Apache minor code: 0x2e completed: No "
Here is the reference ejb binding xml-fragment from Calculator-new.composite <reference name="addService"> <interface.java interface="calculator.AddService"/> <binding.ejb uri="corbaname:iiop:[EMAIL PROTECTED] :1050#AddServiceBean"/> </reference> Here is the session bean definition in ejb-jar.xml: <session> <description>AddService Bean</description> <display-name>AddServiceBean</display-name> <ejb-name>AddServiceBean</ejb-name> <home>calculator.AddServiceHome</home> <remote>calculator.AddService</remote> <local-home>calculator.AddServiceLocalHome</local-home> <local>calculator.AddServiceLocal</local> <ejb-class>calculator.AddServiceBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> </session> And the binding in openejb-jar.xml: <session> <ejb-name>AddServiceBean</ejb-name> <jndi-name>AddServiceBean</jndi-name> ... </session> Any ideas on what is making the difference in J2SE and J2EE enviroments in this context? Any help in resolving this problem is appreciated. Thanks and best regards, Vamsi