[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-16 Thread luigifonti
I have found a better solution now. In /etc/hosts, I added a second line associating the real IP address of the Linux machine to an IP name, instead of changing the localhost definition: 127.0.0.1 localhost 192.168.0.170 myhost.com With this addition things work fine. Loooking around in for

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-16 Thread luigifonti
I have seen that this problem is not specific to jboss, but more generally involves RMI. With localhost defined as 127.0.0.1 in /etc/hosts, RMI based servers refuse servicing the requests, and force remote clients to address the node 127.0.0.1 (i.e. the client itself). If you assign to localho

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-16 Thread luigifonti
OK, I've found a trick to get it working ! in /etc/hosts I wrote: 192.168.0.170 localhost in place of: 127.0.0.1 localhost i.e. I assigned to 'localhost' the address defined by DHCP. But if the address changes, should I edit /etc/hosts every time ? http://www.jboss.org/index.html?module=

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-15 Thread [EMAIL PROTECTED]
Exactly. With the config I show above, the server will tell the client to connect to itself. i.e. 127.0.0.1 You can get more details if you enable log4j TRACE logging for "org.jnp" on the client. Regards, Adrian http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825793#3825793";>View th

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-15 Thread luigifonti
OK, I tried now Context.listBindings(""), i.e. the empty name which should represent the Context itself. Again, I have the error: object not found in table. I am sure the problem is not on client side: if I try with different external servers (Win XP), things work. Only that damned server on Ma

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-15 Thread [EMAIL PROTECTED]
Try "" Also check /etc/hosts for 127.0.0.1 localhost myhost.com then read the FAQ forum Regards, Adrian http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825790#3825790";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825790>Reply to the post

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-15 Thread luigifonti
Yes I have already tried Context.list() and Context.listBindings(), but these methods require a name as parameter. What a name should I pass as parameter to list all the bindings ? I tried with "*", with "all" and more, but the result is always the same: object not found in table. All the jboss

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-15 Thread [EMAIL PROTECTED]
context.listBindings() Regards, Adrian http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825708#3825708";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825708>Reply to the post --- This SF

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-15 Thread darranl
Have a look at the JNDI API. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825680#3825680";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825680>Reply to the post --- This SF.Net email

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-12 Thread luigifonti
Thanks, but none of your suggestion works, sorry. My question is: Is there a way to list all the bounded names in jboss server, using a remote client (not jmx-console) ? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825346#3825346";>View the original post http://www.jboss.org/in

[JBoss-user] [EJB/JBoss] - Re: Remote clients JNDI problem

2004-03-11 Thread dsengupt
Your second set seems to be correct. Can you try by doing a "env = new Properties()". Additionally, have you tried by using the environment as VM parameters instead of creating a new Property? Something like -Djava.naming.provider.url=192.168.0.170:1099...etc. etc... Additionally, you can also