]
Tristan Tarrant commented on ISPN-9096:
---------------------------------------
I have found the reason: you need to prepend the system properties in the JAVA_OPTS env
variable for it to work:
.bq
JAVA_OPTS="-Dmaven.repo.local=/home_local/workspace/regression-build-infinispan/m2repo
-Dmaven.download.message=true" ./bin/standalone.sh
because otherwise the parameters are stomped upon
XmlPullParserException: Failed to resolve artifact
'org.infinispan.server:infinispan-server-infinispan:9.3.0-SNAPSHOT'
----------------------------------------------------------------------------------------------------------------------
Key: ISPN-9096
URL:
https://issues.jboss.org/browse/ISPN-9096
Project: Infinispan
Issue Type: Bug
Environment: Name : redhat-release-server
Version : 7.2
Release : 9.el7
Architecture: x86_64
Install Date: Dom 02 Out 2016 21:02:35 EDT
Group : System Environment/Base
Size : 42562
License : GPLv2
Signature : RSA/SHA256, Ter 27 Out 2015 04:47:46 EDT, Key ID 199e2f91fd431d51
Source RPM : redhat-release-server-7.2-9.el7.src.rpm
Build Date : Sex 23 Out 2015 09:25:19 EDT
Build Host :
x86-030.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager : Red Hat, Inc. <
http://bugzilla.redhat.com/bugzilla>
Vendor : Red Hat, Inc.
Summary : Red Hat Enterprise Linux Server release file
Description :
Red Hat Enterprise Linux Server release files
Reporter: Diego Lovison
Attachments: infinispan-server-empty-repo.log
Unable to start the standalone server.
{noformat}
15:38:23,825 INFO [org.jboss.modules] (main) JBoss Modules version 1.7.0.Final
15:38:24,948 INFO [org.jboss.msc] (main) JBoss MSC version 1.3.2.Final
15:38:24,988 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.1.Final
15:38:25,254 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: Infinispan Server
9.3.0-SNAPSHOT (WildFly Core 4.0.0.Final) starting
15:38:29,228 INFO [org.jboss.as.controller] (Controller Boot Thread) OPVDX002: Failed to
pretty print validation error: null
15:38:29,233 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught
exception during boot:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed
to parse configuration
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143)
at org.jboss.as.server.ServerService.boot(ServerService.java:377)
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:372)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module
org.infinispan.extension
at
org.jboss.as.controller.parsing.DeferredExtensionContext.load(DeferredExtensionContext.java:100)
at
org.jboss.as.server.parsing.StandaloneXml_6.readServerElement(StandaloneXml_6.java:240)
at org.jboss.as.server.parsing.StandaloneXml_6.readElement(StandaloneXml_6.java:140)
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:114)
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:52)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:122)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:76)
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:126)
... 3 more
Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException:
WFLYCTL0083: Failed to load module
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at
org.jboss.as.controller.parsing.DeferredExtensionContext.load(DeferredExtensionContext.java:92)
... 10 more
Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module
at
org.jboss.as.controller.parsing.DeferredExtensionContext.loadModule(DeferredExtensionContext.java:129)
at
org.jboss.as.controller.parsing.DeferredExtensionContext.access$000(DeferredExtensionContext.java:44)
at
org.jboss.as.controller.parsing.DeferredExtensionContext$1.call(DeferredExtensionContext.java:74)
at
org.jboss.as.controller.parsing.DeferredExtensionContext$1.call(DeferredExtensionContext.java:71)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: org.jboss.modules.ModuleLoadException: Error loading module from
/home_local/workspace/tmp_diego/infinispan/server/integration/build/target/infinispan-server-9.3.0-SNAPSHOT/modules/system/layers/base/org/infinispan/extension/main/module.xml
at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:304)
at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:260)
at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:221)
at org.jboss.modules.LocalModuleFinder.parseModuleXmlFile(LocalModuleFinder.java:250)
at org.jboss.modules.LocalModuleFinder.lambda$findModule$1(LocalModuleFinder.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFinder.java:195)
at org.jboss.modules.ModuleLoader.findModule0(ModuleLoader.java:693)
at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:686)
at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:496)
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:399)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:292)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:280)
at
org.jboss.as.controller.parsing.DeferredExtensionContext.loadModule(DeferredExtensionContext.java:111)
... 10 more
Caused by: org.jboss.modules.xml.XmlPullParserException: Failed to resolve artifact
'org.infinispan.server:infinispan-server-infinispan:9.3.0-SNAPSHOT' (position:
END_TAG seen
...g.infinispan.server:infinispan-server-infinispan:9.3.0-SNAPSHOT"/>... @8:91)
at org.jboss.modules.xml.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:981)
at org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleXmlParser.java:869)
at org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:659)
at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:426)
at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:302)
... 23 more
15:38:29,244 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server
boot has failed in an unrecoverable manner; exiting. See previous messages for details.
15:38:29,286 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: Infinispan Server
9.3.0-SNAPSHOT (WildFly Core 4.0.0.Final) stopped in 25ms
[hudson@edg-perf09 bin]$
{noformat}
I was not able to reproduce on my local machine. It is only occurring in the Jenkins
servers.