Fuse bin/client utility can't parse properties in etc/org.apache.karaf.shell.cfg
Environment
- Red Hat JBoss Fuse
- 6.1
- 6.2
Issue
Although the Fuse server process can parse custom properties in configuration files such as etc/org.apache.karaf.shell.cfg, the bin/client utility can not. If, for example, you use a custom property to define the SSH port for administration clients, like this:
sshPort=${my_ssh_port}
Fuse will parse it correctly and use the right port, but the client utility will fail with a NumberFormatException.
Resolution
Please upgrade to Fuse 6.2.1. Some support for parsing custom properties of this form has been added to that release.
Root Cause
The necessary parsing logic was not implementing in the client utility before Fuse 6.2.1.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
