• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

JBoss-eap-6.1 standalone, cannot connect to jndi.jBoss.java.naming.provider.url  RSS feed

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!