users@glassfish.java.net

Re: Accessing DataSources via JNDI remotely or from out-of-container vm's

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Jul 2007 04:37:47 PDT

> You need not set "allow-non-component-callers" to
> access a resource remotely.
> Use these properties with your client.
> -Dorg.omg.CORBA.ORBInitialHost=HOSTNAME
> -Dorg.omg.CORBA.ORBInitialPort=3700 (IIOP-LISTENER)

Using that you can access only global JNDI space, not java: space. And as far as i know DataSources are available under java: context (i.e., accesible only from the same vm).

That's why, for example, jboss has the property use-java-context
[Message sent by forum member 'andresgr' (andresgr)]

http://forums.java.net/jive/thread.jspa?messageID=227922