Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sample-app-for-wildfly #150

Open
liweinan opened this issue Mar 15, 2022 · 7 comments
Open

fix sample-app-for-wildfly #150

liweinan opened this issue Mar 15, 2022 · 7 comments
Assignees

Comments

@liweinan
Copy link
Contributor

currlent it's broken:

image

@liweinan liweinan self-assigned this Mar 15, 2022
@liweinan
Copy link
Contributor Author

I firstly need to check how to upgrade resteasy and spring components into 6 in wildfly preview.

@liweinan
Copy link
Contributor Author

liweinan commented Mar 16, 2022

@jamezp Before fixing the embed server example I tried to use Galleon to setup a WildFly Preview installation and deploy resteasy 6.0.0.Final.

I firstly installed the preview release of wildfly:

[galleon-wildfly-preview]$ install wildfly-preview@maven(org.jboss.universe:community-universe):current

3C1CAF37-4351-4F42-9300-485CA5D0DFE0

Then I tried to install resteasy 6.0.0:

[galleon-wildfly-preview]$ install org.jboss.resteasy:galleon-feature-pack:6.0.0.Final

However it failed with:

[galleon-wildfly-preview]$ install org.jboss.resteasy:galleon-feature-pack:6.0.0.Final
Feature-packs resolved.
Error: Install failed.
 * The following layers configured to be excluded from configuration [model=standalone name=standalone-microprofile-ha.xml] would not have otherwise been installed: jpa. Either remove the corresponding exclusions or add ignore-not-excluded-layers option

Then I tried to install resteasy 5 and it partially worked:

[galleon-wildfly-preview]$ install org.jboss.resteasy:galleon-feature-pack:5.0.0.Final
Feature-packs resolved.
Installing packages 5 of 1060 (0.5%)EE9: transformed wildfly-elytron-tool-1.17.1.Final-ee9.jar
Installing packages 6 of 1060 (0.6%)EE9: transformed wildfly-client-all-25.0.1.Final-ee9.jar
EE9: transformed wildfly-cli-17.0.3.Final-ee9-client.jar
Installing packages 32 of 1060 (3.0%)EE9: transformed resteasy-spring-4.7.2.Final-ee9.jar
Installing packages 667 of 1060 (62.9%)Error: Install failed.
 * Failed to execute an artifact copying task of feature-pack wildfly-ee@maven(org.jboss.universe:community-universe):current#25.0.1.Final package org.wildfly.openssl
  * Failed to copy artifact org.wildfly.openssl:wildfly-openssl-linux-x86_64:jar:2.1.0.Final
   * /var/folders/0m/csp222ks3g17w_2qqrcw8ktm0000gn/T/0374a20e-82cb-4f5c-aff2-e57b37997748/staged/modules/system/layers/base/org/wildfly/openssl/main/lib/linux-x86_64/libwfssl.so
[galleon-wildfly-preview]$

Here is the whole installation process:

image

Though the installation failed however it's related with openssl and should be my local environement problem which I'll try to fix.

The question is: It seems resteasy 6 cannot be installed into wildfly-preview provisioned by Galleon. Is there anyway I can fix this?

@liweinan liweinan reopened this Mar 16, 2022
@liweinan
Copy link
Contributor Author

closed it by mistake, reopen it.

@liweinan
Copy link
Contributor Author

liweinan commented Mar 17, 2022

@jamezp
Copy link
Contributor

jamezp commented Mar 17, 2022

@liweinan You can run with install --ignore-not-excluded-layers=true org.jboss.resteasy:galleon-feature-pack:6.0.0.Final. FWIW you could just use install org.jboss.resteasy:galleon-feature-pack:6.0.0.Final and skip the WildFly Preview installed. However, that would be WildFly 25.0.1.Final.

@liweinan
Copy link
Contributor Author

@jamezp Thanks! I'll try it and go on reporting my progress here.

@liweinan
Copy link
Contributor Author

The --ignore-not-excluded-layers=true option works:

image

image

@jamezp Thanks!

I'll go on testing work.

@liweinan liweinan linked a pull request Apr 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants