posted 9 years ago
Hi,
I am trying to connect a front end (JBoss-eap-6.1 standalone) to a remote server (JBoss-eap-6.3) standalone.
The jndi properties are set as follows:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=(ServerName):1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
The following errors occurred:
javax.naming.CommunicationException: Could not obtain connection to any of these urls: (ServerName):1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server (ServerName)/(ServerIP):1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server (ServerName)/(ServerIP):1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
I've ever tried the following 2 methods but it didn't work.
(1) In the Application Platform (console), tried to write the (ServerIP) into General Configuration -> Interfaces -> management -> Inet Address.
(2) Started the server with "standalone.bat -b (ServerIP)".
Any help will be highly appreciated.
Sam