users@glassfish.java.net

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

From: Manish Gupta <Manish.K.Gupta_at_Sun.COM>
Date: Wed, 25 Jul 2007 10:45:42 +0530

glassfish_at_javadesktop.org wrote:
>> 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).
>
Do you mean to say, JNDI DataSource can't be accessed from a stand alone
client?? If yes, then you are wrong.
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>