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