Bug 745931 (EDG-36) - Endpoints ignore socket binding's port offset
Summary: Endpoints ignore socket binding's port offset
Keywords:
Status: CLOSED NEXTRELEASE
Alias: EDG-36
Product: JBoss Data Grid 6
Classification: JBoss
Component: EAP
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Tristan Tarrant
QA Contact:
URL: http://jira.jboss.org/jira/browse/EDG-36
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-09 20:55 UTC by Michal Linhard
Modified: 2014-03-17 04:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-25 14:15:32 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EDG-36 0 None Closed Endpoints ignore socket binding's port offset 2011-11-25 14:15:27 UTC

Description Michal Linhard 2011-10-09 20:55:08 UTC
project_key: EDG

https://github.com/infinispan/edg/blob/master/integration/src/main/java/com/redhat/datagrid/endpoint/EndpointService.java
method loadConnectorProperties sets the endpoint's port to socketBinding.getPort() but this value ignores the global port-offset

this is either AS7 bug - socketBinding.getPort() should return port with offset counted in
or EDG bug - we should use socketBinding.getSocketAddress() where the offset is counted in


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