I have just started using jBoss and am trying to put my web server (tomcat)
and jBoss on different machines. However, when my servlet tries to access
the host, I get a connection refused with a
javax.naming.serviceUnavailableException (root exception is your
java.net.connectException)
I have uncommented java.rmi.server.useLocalHostName and put the host IP
address as the java.rmi.server.hostname in the jboss.properties file and as
the java.naming.provider.url in the jndi.properties file.

The code in the servlet is 
System.setProperty("java.naming.provider.url", "http://10.0.0.21:1099");

Any help would be very gratefully received

Tom


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to