• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to configure in JBoss EAP console to connect front end JBoss to remote JBoss server?

 
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 major connection is through "jndi.jBoss.java.naming.provider.url". The networking traffic didn't show any signal from front end JBoss to remote JBoss server. How to configure in JBoss EAP console (Enterprise Application Platform)?

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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't fully understand what is being tried out, but port 1099 was a legacy of JBoss AS before version 7.x. It is no longer used for JNDI. Neither is the JNP protocol.

Are you doing some kind of JNDI lookups? What does the relevant code/configuration look like?
 
San-Yih Pan
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jaikiran,

Sorry to reply you late. Just came back from vacation.
The configuration is as follows which is to let the front end (web app) to connect to back end server.

jndi.jBoss.java.naming.provider.url=(remote server):1099
jndi.jBoss.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
jndi.jBoss.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces


Thanks,
Sam


 
reply
    Bookmark Topic Watch Topic
  • New Topic