JBoss EAP 6 cannot be installed as Windows Service if installation path contains a whitespace.

Solution Verified - Updated -

Issue

  • JBoss EAP can not be installed/started as Windows Service if the path where JBoss EAP is installed contains a blank like c:\Program Files. The following does not work :
C:\Program Files\jboss-eap-6.4\modules\system\layers\base\native\sbin>service install
The base directory does not exist: C:\Program Files\jboss-eap-6.4\standalone

As a workaround, one can define a link using command : mklink /j c:\ProgramFile "c:\Program File"

Environment

  • 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