EAP Windows Service won't start with VM arg which contains spaces.
Issue
- EAP 5.1 installed on a Windows 2003 test server as Windows service using the Native components and it has been working fine.
- When attempted to add some additional VM arguments including the following line:
set JAVA_OPTS=%JAVA_OPTS% "-Dcom.sun.jndi.ldap.connect.pool.protocol=plain ssl"
- Added the above option in the run.conf.bat file. If I then start the server with the run.bat file (manually) everything works fine and I see VM arguments have been utilized.
- If however weI try and start server as a Windows Service we get a message from Windows saying the service started and then stopped.
Environment
- JBoss Enterprise Application Platform (EAP) 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.