outbound sockets not shown in Web console "Outbound Remote" if one contains port with property syntax
Environment
- Red Hat JBoss Enterprise Application Platform
- 6.4.1, 6.4.2
- 6.3.3
Issue
- Outbound-socket details not displayed / rendered in the admin console if ports use expressions
- I am configuring an outbound socket binding with host and port both parameterisable via properties.
The config XML regarding this part looks like this:
<outbound-socket-binding name="remote-jms1">
<remote-destination host="${remotejms.host:localhost}" port="${remotejms.port:5445}"></remote>
</outbound-socket-binding>
- In this state bindings aren't displayed on the "Outbound Remote" view any more, i.e. even the preconfigured
mail-smtpvanishes. - If I replace the port with a non-parametric value, all bindings are shown again
<outbound-socket-binding name="remote-jms1">
<remote-destination host="${remotejms.host:localhost}" port="5445"></remote>
</outbound-socket-binding>
Resolution
This is a known issue This content is not included.This content is not included.https://bugzilla.redhat.com/show_bug.cgi?id=1251542
Workaround
Use the CLI to read the resource information instead i.e.
/socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=customName:read-resource
SBR
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.