hi
if anyone has any idea, i'll be glad to hear them ! i'm stuck !!!!
---
on the server side, i start my name server (jndi) and my app, everything is going fine
on the client side, i start tomcat, fine ... i have some servlets and ejb, fine ... one of the servlet then tries to access the name server and it crashes :
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1;]
---
what is weird is :
* when i run server & client on the same machine, everything is going fine
* i'm sure the name server is correctly listening (netstat and telnet told me !)
* i'm sure the naming.factory.initial and naming.provider.url are correctly set ...
* all my policy files grant all accesses to everyone (....... i shouldn't !)
---
so WHY does this servlet try to access localhost (127.0.0.1) instead of accessing its provider.url ??? why do i get an access denied on my own machine ???
i've double-double-double checked the web.xml and server.xml files ....
please help !!! any advice appreciated )))
if anyone has any idea, i'll be glad to hear them ! i'm stuck !!!!
---
on the server side, i start my name server (jndi) and my app, everything is going fine
on the client side, i start tomcat, fine ... i have some servlets and ejb, fine ... one of the servlet then tries to access the name server and it crashes :
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1;]
---
what is weird is :
* when i run server & client on the same machine, everything is going fine
* i'm sure the name server is correctly listening (netstat and telnet told me !)
* i'm sure the naming.factory.initial and naming.provider.url are correctly set ...
* all my policy files grant all accesses to everyone (....... i shouldn't !)
---
so WHY does this servlet try to access localhost (127.0.0.1) instead of accessing its provider.url ??? why do i get an access denied on my own machine ???
i've double-double-double checked the web.xml and server.xml files ....
please help !!! any advice appreciated )))