[JBoss-user] java.naming.provider.url=myserver

2002-03-07 Thread Màris Orbidàns


How a client which server it should connect to ?

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!
java.naming.provider.url=myserver

I changed the line above and put this file in classpath of client.
Is this correct ? 

But what does mean the comment then ?

# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!

Maris


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] java.naming.provider.url=myserver

2002-03-07 Thread Lennart Petersson

If you copy this file to the client and uncomment java.naming.provider.url
entry then it is ok. If you  use it on server with the same row uncommented
then all calls within the server will use RMI with serializing etc... ---
very bad performance.

/Lennart

On 02-03-07 13:23, Màris Orbidàns [EMAIL PROTECTED] wrote:

 
 How a client which server it should connect to ?
 
 java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
 # Do NOT uncomment this line as it causes in VM calls to go over
 # RMI!
 java.naming.provider.url=myserver
 
 I changed the line above and put this file in classpath of client.
 Is this correct ?
 
 But what does mean the comment then ?
 
 # Do NOT uncomment this line as it causes in VM calls to go over
 # RMI!
 
 Maris
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


Sent using the Entourage X Test Drive.


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user