System properties cannot be set via run.bat script in EAP 5.2

Solution Verified - Updated -

Issue

  • We have set service binding property via run.bat script 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content