Bug 922686

Summary: Unable to start EAP if JBOSS_HOME ends with exclamation mark
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: Scripts and CommandsAssignee: baranowb <bbaranow>
Status: CLOSED NOTABUG QA Contact: Marek Kopecky <mkopecky>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1.0CC: bbaranow, cdewolf, jdoyle, myarboro, pkremens
Target Milestone: ---   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-24 14:02:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kremensky 2013-03-18 10:00:31 UTC
I am unable to start EAP if JBOSS_HOME ends with exclamation mark. This issue is same for both sh and bat scrits.

[pkremens@dhcp-4-200 ~/er2/jboss-eap-6.!/bin]$ ./standalone.sh 
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/pkremens/er2/jboss-eap-6.!

  JAVA: /usr/java/jdk1.6.0_31/bin/java

  JAVA_OPTS:  -server -XX:+UseCompressedOops -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

Mar 18, 2013 10:51:49 AM org.jboss.msc.service.ServiceContainerImpl <clinit>
INFO: JBoss MSC version 1.0.4.GA-redhat-1
Mar 18, 2013 10:51:49 AM org.jboss.as.server.ApplicationServerService start
INFO: JBAS015899: JBoss EAP 6.1.0.Beta1 (AS Unknown) starting
Mar 18, 2013 10:51:49 AM org.jboss.msc.service.ServiceControllerImpl$StartTask startFailed
ERROR: MSC000001: Failed to start service jboss.as
org.jboss.msc.service.StartException in service jboss.as: Failed to start service
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.util.ServiceConfigurationError: org.jboss.as.server.services.security.AbstractVaultReader: Error reading configuration file
	at java.util.ServiceLoader.fail(ServiceLoader.java:207)
	at java.util.ServiceLoader.parse(ServiceLoader.java:284)
	at java.util.ServiceLoader.access$200(ServiceLoader.java:164)
	at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:332)
	at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:415)
	at org.jboss.as.server.ApplicationServerService.service(ApplicationServerService.java:204)
	at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:140)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
	... 3 more
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:127)
	at java.util.jar.JarFile.<init>(JarFile.java:135)
	at java.util.jar.JarFile.<init>(JarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
	at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:55)
	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
	at java.net.URL.openStream(URL.java:1010)
	at java.util.ServiceLoader.parse(ServiceLoader.java:279)
	... 10 more
java.util.concurrent.ExecutionException: Operation failed
	at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
	at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
	at org.jboss.as.server.Main.main(Main.java:95)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.jboss.modules.Module.run(Module.java:262)
	at org.jboss.modules.Main.main(Main.java:329)
Caused by: org.jboss.msc.service.StartException in service jboss.as: Failed to start service
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.util.ServiceConfigurationError: org.jboss.as.server.services.security.AbstractVaultReader: Error reading configuration file
	at java.util.ServiceLoader.fail(ServiceLoader.java:207)
	at java.util.ServiceLoader.parse(ServiceLoader.java:284)
	at java.util.ServiceLoader.access$200(ServiceLoader.java:164)
	at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:332)
	at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:415)
	at org.jboss.as.server.ApplicationServerService.service(ApplicationServerService.java:204)
	at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:140)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
	... 3 more
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:127)
	at java.util.jar.JarFile.<init>(JarFile.java:135)
	at java.util.jar.JarFile.<init>(JarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
	at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:55)
	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
	at java.net.URL.openStream(URL.java:1010)
	at java.util.ServiceLoader.parse(ServiceLoader.java:279)
	... 10 more

Comment 2 Petr Kremensky 2014-02-19 13:26:31 UTC
Current (EAP 6.3.0.DR0) situation overview:
Server fails to start:
batch scripts:
 jboss-eap! - standalone
 jboss-eap! - domain
 jboss-žluťoučký-kůň - standalone
 jboss-žluťoučký-kůň - domain

shell scripts:
 jboss$eap - standalone
 jboss$eap - domain
 jboss-eap! - standalone
 jboss-eap! - domain

Comment 6 JBoss JIRA Server 2015-06-24 14:02:49 UTC
Bartosz Baranowski <bbaranow> updated the status of jira JBEAP-249 to Closed

Comment 7 JBoss JIRA Server 2015-06-29 07:06:56 UTC
Carlo de Wolf <cdewolf> updated the status of jira JBEAP-249 to Reopened

Comment 8 JBoss JIRA Server 2015-06-29 09:04:09 UTC
Bartosz Baranowski <bbaranow> updated the status of jira JBEAP-249 to Closed

Comment 9 JBoss JIRA Server 2015-06-29 09:05:18 UTC
Bartosz Baranowski <bbaranow> updated the status of jira JBEAP-249 to Reopened

Comment 10 JBoss JIRA Server 2015-06-29 09:05:23 UTC
Bartosz Baranowski <bbaranow> updated the status of jira JBEAP-249 to Coding In Progress

Comment 11 JBoss JIRA Server 2015-06-29 09:05:36 UTC
Bartosz Baranowski <bbaranow> updated the status of jira JBEAP-249 to Resolved

Comment 12 JBoss JIRA Server 2015-11-24 08:16:10 UTC
Marek Kopecký <mkopecky> updated the status of jira JBEAP-249 to Closed

Comment 13 JBoss JIRA Server 2016-01-29 08:45:01 UTC
Carlo de Wolf <cdewolf> updated the status of jira JBEAP-249 to Reopened

Comment 14 JBoss JIRA Server 2016-01-29 08:55:43 UTC
Carlo de Wolf <cdewolf> updated the status of jira JBEAP-249 to Resolved

Comment 15 JBoss JIRA Server 2016-07-13 16:36:59 UTC
Jiri Pallich <jpallich> updated the status of jira JBEAP-249 to Closed