[
https://issues.jboss.org/browse/WFWIP-213?page=com.atlassian.jira.plugin....
]
Jean Francois Denise resolved WFWIP-213.
----------------------------------------
Resolution: Done
The settings.xml are now properly set before user execution hooks.
Can't resolve artifact for module when executing CLI
modification
-----------------------------------------------------------------
Key: WFWIP-213
URL:
https://issues.jboss.org/browse/WFWIP-213
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Jan Blizňák
Assignee: Jean Francois Denise
Priority: Blocker
Using image
{{docker-registry.upshift.redhat.com/kwills/eap-cd-openshift-rhel8:18.0-EAP7-1216}} when
we workaround the issues WFWIP-208 & WFWIP-212 the CLI modification still won't
process successfully because of the exception:
{code:java}
I0926 13:20:23.465008 1 sti.go:697] Exception in thread "main"
org.jboss.modules.ModuleLoadException: Error loading module from
/opt/eap/modules/system/layers/base/org/apache/xerces/main/module.xml
I0926 13:20:23.465037 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:339)
I0926 13:20:23.465047 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:295)
I0926 13:20:23.465052 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:256)
I0926 13:20:23.465060 1 sti.go:697] at
org.jboss.modules.LocalModuleFinder.parseModuleXmlFile(LocalModuleFinder.java:250)
I0926 13:20:23.465067 1 sti.go:697] at
org.jboss.modules.LocalModuleFinder.lambda$findModule$1(LocalModuleFinder.java:195)
I0926 13:20:23.465075 1 sti.go:697] at
java.base/java.security.AccessController.doPrivileged(Native Method)
I0926 13:20:23.465082 1 sti.go:697] at
org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFinder.java:195)
I0926 13:20:23.465089 1 sti.go:697] at
org.jboss.modules.ModuleLoader.findModule0(ModuleLoader.java:696)
I0926 13:20:23.465096 1 sti.go:697] at
org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:689)
I0926 13:20:23.465103 1 sti.go:697] at
org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:499)
I0926 13:20:23.465110 1 sti.go:697] at
org.jboss.modules.DelegatingModuleLoader.preloadModule(DelegatingModuleLoader.java:57)
I0926 13:20:23.465117 1 sti.go:697] at
org.jboss.modules.Module.addPaths(Module.java:1252)
I0926 13:20:23.465125 1 sti.go:697] at
org.jboss.modules.Module.link(Module.java:1622)
I0926 13:20:23.465132 1 sti.go:697] at
org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
I0926 13:20:23.465141 1 sti.go:697] at
org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:299)
I0926 13:20:23.465147 1 sti.go:697] at org.jboss.modules.Main.main(Main.java:437)
I0926 13:20:23.465153 1 sti.go:697] Caused by:
org.jboss.modules.xml.XmlPullParserException: Failed to resolve artifact
'xerces:xercesImpl:2.12.0.SP02' (position: END_TAG seen ...esources>\n
<artifact name="xerces:xercesImpl:2.12.0.SP02"/>... @26:57)
I0926 13:20:23.465159 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:1063)
I0926 13:20:23.465177 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleXmlParser.java:950)
I0926 13:20:23.465206 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:710)
I0926 13:20:23.465211 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:471)
I0926 13:20:23.465217 1 sti.go:697] at
org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:337)
I0926 13:20:23.465224 1 sti.go:697] ... 15 more
{code}
Because jboss-modules will try to resolve artifact from ~/.m2/settings.xml and galleon
integration replaces this file before this error, there must be something wrong.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)