What is the difference between JAVA_OPTS and SERVER_OPTS for JBoss?

Solution Verified - Updated -

Issue

  • We need to pass some parameters such as "-c standalone-full.xml" and "-b 0.0.0.0" to our JBoss running as an OS service, do we add these to JAVA_OPTS or SERVER_OPTS in our startup script or is there a difference?

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.