Michael Musgrove [
https://community.jboss.org/people/mmusgrov] created the discussion
"Re: PortableRemoteObject.narrow() returns null"
To view the discussion, visit:
https://community.jboss.org/message/766443#766443
--------------------------------------------------------------
Brian Lara wrote:
This will not help as I have to use IIOP for distributed transactions and not JRMP.
My EJB client is in separate EAR and separate server from one running EJB and there will
be distributed transaction.
Of course you are correct, i gave you the settings for a
local transaction. How about:
properties.put(Context.PROVIDER_URL, "corbaloc:marka:3528/NameService
properties.setProperty(Context.URL_PKG_PREFIXES,
"org.jboss.iiop.naming:org.jboss.naming.client:org.jnp.interfaces");
properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.cosnaming.CNCtxFactory");
properties.put(Context.OBJECT_FACTORIES,
"org.jboss.tm.iiop.client.IIOPClientUserTransactionObjectFactory");
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/766443#766443]
Start a new discussion in JNDI and Naming at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]