Issue with installing WildFly 28.0.1.Final using Galleon provisioning tool

352 views
Skip to first unread message

Alan Hadžić

unread,
Jul 6, 2023, 12:27:24 PM7/6/23
to WildFly
Hi,

I'm encountering an issue when trying to install WildFly 28.0.1.Final using the Galleon provisioning tool. Below is an example of my galleon-provision.xml file:
...
<?xml version="1.0" ?>

<installation xmlns="urn:jboss:galleon:provisioning:3.0">
<feature-pack location="wildfly-ee@maven(org.jboss.universe:community-universe):current#28.0.1.Final">
<default-configs inherit="false"/>
</feature-pack>
<feature-pack location="org.wildfly.extras.graphql:wildfly-microprofile-graphql-feature-pack:2.0.0.Final">
<default-configs inherit="false"/>
<packages inherit="false"/>
</feature-pack>
<config model="standalone" name="standalone.xml">
<layers>
<!-- The base server -->
<include name="cloud-server"/>
<include name="microprofile-openapi"/>
<!-- Management console -->
<include name="management"/>
<include name="web-console"/>
<!-- Microprofile GraphQL -->
<include name="microprofile-graphql"/>
<!-- OIDC Client-->
<include name="elytron"/>
<!-- Messaging -->
<include name="messaging-activemq"/>
<!-- Jakarta email -->
<include name="mail"/>
</layers>
</config>
<options>
<option name="optional-packages" value="passive+"/>
</options>
</installation>
...

I'm running the following command: `galleon.sh provision provision.xml --dir=wildfly` with Galleon version 5.0.2. However, I received the following error:
...
Error: Provisioning failed.
 * Failed to resolve configuration layer  model standalone named microprofile-opentracing
  * Failed to process feature-pack wildfly@maven(org.jboss.universe:community-universe):current#27.0.0.Final feature [subsystem.microprofile-opentracing-smallrye]
   * Failed to resolve feature-pack wildfly@maven(org.jboss.universe:community-universe):current#27.0.0.Final package org.wildfly.extension.microprofile.opentracing-smallrye
    * Failed to resolve feature-pack wildfly@maven(org.jboss.universe:community-universe):current#27.0.0.Final package io.jaegertracing.jaeger
     * Failed to resolve package com.squareup.okhttp3 in wildfly-ee@maven(org.jboss.universe:community-universe):current#28.0.1.Final
...

As a newcomer to WildFly, I would appreciate more context on why this provisioning file works for other versions (e.g., 27, 26) but not for version 28. I would also like to know how to debug and resolve these package resolution issues.

Thank you for your assistance.

Jean Francois Denise

unread,
Jul 7, 2023, 4:25:15 AM7/7/23
to wil...@googlegroups.com

Hi,

a new graphql feature-pack (https://github.com/wildfly-extras/wildfly-graphql-feature-pack/releases/tag/2.1.0.Final) has been released tha tworks with WIldFly 28.

In WildFLy major versions some JBoss Module modules can be added, removed, in such a case the feature-packs that depend on those must be updated.

So I suggest that you use graphql 2.0.1.Final.

JF

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/a12d7ccf-1939-43a3-9399-077abccce3b1n%40googlegroups.com.

Alan Hadžić

unread,
Jul 7, 2023, 7:05:50 AM7/7/23
to Jean Francois Denise, wil...@googlegroups.com
Hi, 

Thank you for the response! Indeed it was a version mismatch. 

Best regards Alan

You received this message because you are subscribed to a topic in the Google Groups "WildFly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wildfly/c_MaI524NTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/5fad983a-8f76-654c-a4d5-210853af2719%40redhat.com.
Reply all
Reply to author
Forward
0 new messages