How to pass different VM arguments in service.bat file ?

Solution Unverified - Updated -

Issue

  • We want to install JBoss EAP 5 as Windows service and we want to pass the following options to start server instance
-c $Profile -g $Partition_Name -u 10.10.10.10 -Djboss.messaging.ServerPeerID=1 -b 20.20.20.20
  • How to pass these VM arguments in service.bat file

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Microsoft 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