System properties cannot be set via run.bat script in EAP 5.2
Issue
- We have set service binding property via
run.batscript for cluster environment like:
run.bat -c all -Djboss.service.binding.set=ports-01
It worked fine in EAP 5.1.x. However, It does not work in EAP 5.2, got following exception in server.log:
XX:XX:XX,XXX ERROR [AbstractKernelController] Error installing to Instantiated: name=SystemPropertyBinder#8 state=Described
org.jboss.services.binding.NoSuchBindingException: No binding udp-bind_port found for service JGroups in set true
at org.jboss.services.binding.impl.PojoServiceBindingStore.getServiceBinding(PojoServiceBindingStore.java:98)
...
- JBoss-EAP-5.2.0 run.bat is not taking parameters with an equal sign ("="), this used to work in our old version.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.2.0
- Windows
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
