Add/remove/update system properties in JBoss EAP 8 / 7 / 6

Solution Verified - Updated -

Issue

  • How can I add/remove/remove all system properties with the CLI?
  • Is there a replacement for properties-service.xml?
  • Is there an alternative to using JAVA_OPTS for system properties?
  • Tried manually removing the system property and got error

    {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:
    " => {"Operation step-1" => "JBAS014803: Duplicate resource [(\"system-property\
    " => \"foo\")]"}}
    
  • Can we change system properties on without a restart?

  • How to update a system property using the jboss-cli in JBoss EAP 8 ?

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 8
    • 7
    • 6

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