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, 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