Bug 1175442 - [GSS](6.4.z) Client Mapping expressions are allowed but are not resolved if used
Summary: [GSS](6.4.z) Client Mapping expressions are allowed but are not resolved if used
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.3
Assignee: Chao Wang
QA Contact: Jitka Kozana
URL:
Whiteboard:
Depends On:
Blocks: 1231259
TreeView+ depends on / blocked
 
Reported: 2014-12-17 18:25 UTC by wfink
Modified: 2018-12-09 19:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 10:35:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-4188 0 Major Resolved Client Mapping expressions are allowed but are not resolved if used 2017-03-10 14:48:20 UTC

Description wfink 2014-12-17 18:25:29 UTC
Description of problem:
If socket binding with client-mapping is used to provide a valid client address for EJB invocation to the client the expressions are not resolved.
Depend on the attribute the parsing failed direct during startup (port# is not numeric) or the expression is send to the client where the Exception is thrown at runtime.

Notice for EJB invocation the problem is only visible if the application is clustered, otherwise the cluster view (where the client-mapping take effect) is not send to the client.



How reproducible:
ejb-remote quickstart can be used (SLSB need to be @Clustered)


Steps to Reproduce:
1. use a EAP6.3 server and change the standalone-ha.xml
        <socket-binding name="remoting" port="${my.remoting.port}">
          <client-mapping destination-address="${jboss.node.name}" destination-port="4447"/>
        </socket-binding>

2. start the server and deploy the ejb-remote app
   the ${my.remoting.port} is correct resolved
3. Start the client
   this will fail as the client receive the ${jboss.node.name} as IP address

Actual results:
Depend on the attribute the server start fail or the client fail at runtime
- if client-mapping port use expr the parser fail during startup

Expected results:
To have a configuration which can use expressions (expr is allowed if I check CLI) it need to be resolved

Comment 2 JBoss JIRA Server 2015-02-05 00:20:36 UTC
Chao Wang <chaowan> updated the status of jira WFLY-4188 to Resolved

Comment 4 Ladislav Thon 2015-07-31 12:09:02 UTC
Verified with EAP 6.4.3.CP.CR1.

Comment 5 Petr Penicka 2017-01-17 10:35:11 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


Note You need to log in before you can comment on or make changes to this bug.