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