Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28309

Wildfly Adapter cannot use Wildfly 26 without issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.25.0.Final
    • 4.21.0.Final
    • server
    • None
    • +

      I use the actual Eclipse version (2021-12 with supported JDK 17). Adding a new server adapter for Wildfly 26 and starting the wildfly server throws exceptions like:

      An internal error occurred during: "Updating Deployment Scanners for Server: WildFly 24+". Could not initialize class org.wildfly.security.auth.client.DefaultAuthenticationContextProvider

      According to https://stackoverflow.com/questions/69006687/wildfly-eclipse-deployment-scanners the solution for the above problem is adding the following to "eclipse.ini":

      -vmargs
      --add-opens=java.base/java.security=ALL-UNNAMED
      

      This will prevent the error described above. I don't know if we have to adjust other settings also so that wildfly 26 can work (as usual) in eclipse with jdk 17. Looking in the section of "Running WildFly with SE 17" from  https://www.wildfly.org/news/2021/12/16/WildFly26-Final-Released/ there seems other settings, too.

       

      If possible, please adapt the jboss wildfly server adapter, so that such issues are resolved automatically.

       

              rstryker@redhat.com Robert Stryker
              nimo22 nimo stephan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: