• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic