My Stateless SessionBean successfully deployed with IIOP invoker,
can be looked up from a Servlet or standalone Java-Client,
and the Object returned is a "org.omg.stub.javax.ejb._EJBHome_Stub",
toString() returns its IOR (correct).
But trying to PortableRemoteObject.narrow() it to its Home-Interface returns null, even following the steps mentioned at http://www.jbossgroup.com/index.html?module=bb&op=viewtopic&p=3932015
The Properties I pass to my Client:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=jnp://localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming.client j2ee.clientName=my_client java.rmi.server.codebase=http://localhost:8083 java.security.policy=.\client.policy
<server> <mbean code="org.jboss.util.property.jmx.SystemPropertyClassValue" name="jboss.rmi:type=RMIClassLoader"> <attribute name="Property">java.rmi.server.RMIClassLoaderSpi</attribute> <attribute name="ClassName">org.jboss.system.JBossRMIClassLoader</attribute> </mbean> <mbean code="org.jboss.web.WebService" name="jboss:service=WebService"> <attribute name="Port">8083</attribute> <attribute name="DownloadServerClasses">true</attribute> <attribute name="Host">${jboss.bind.address}</attribute> <attribute name="BindAddress">${jboss.bind.address}</attribute> <depends optional-attribute-name="ThreadPool" proxy-type="attribute">jboss.system:service=ThreadPool</depends> </mbean> </server>
Any suggestions?
As far as I have seen, there are several other posts describing the same issue, but neither of them helped me to find a solutuin (and probably other users as well) :-(
Any help is really warmly welcome!