[jboss-jira] [JBoss JIRA] (WFCORE-1142) Remoting Subsystem RemoteOutboundConnectionService is caching ConnectionURI causing issues when DNS changes

Brian Stansberry (JIRA) issues at jboss.org
Thu Nov 19 16:40:00 EST 2015


     [ https://issues.jboss.org/browse/WFCORE-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-1142:
-------------------------------------
    Git Pull Request:   (was: https://github.com/wildfly/wildfly-core/pull/1229)


> Remoting Subsystem RemoteOutboundConnectionService is caching ConnectionURI causing issues when DNS changes
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1142
>                 URL: https://issues.jboss.org/browse/WFCORE-1142
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Remoting
>            Reporter: Brad Maxwell
>            Assignee: David Lloyd
>
> Description of problem:
> EJB CLient was configured with DNS FQDN to configure access to a remote EJB. If run a simple test adding an entry in /etc/hosts file pointing that FQDN to localhost for tests everything works. However, after finish the tests and remove the entry, the client still connects to localhost instead of resolve the new IP address. Even adding networkaddress.cache.ttl=30 inside security settings didn't work too.
> How reproducible:
> Everytime you use DNS names to connect to a remote EJB.
> Steps to Reproduce:
> 1. Configure a simple client that connects to a remote EJB using dns name
> 2. add an entry in /etc/hosts mapping the dns name to localhost
> 3. run the client code
> 4. remove the entry in /etc/hosts
> 5. run the client code again
> Actual results:
> EJB remote is still reached from localhost
> Expected results:
> After changing DNS record EJB will be reached in this new address



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list