Skip to content

JBossTools don't support deployment of a JakarteEE10 EAR with JBoss EAP 8.0.0.GA runtime #801

@ludade

Description

@ludade

Hello,

I'm not able to deploy a JakartaEE10 EAR with JBoss Server tools on JBoss EAP 8 runtime (JakartaEE10 server): after selecting the ear, the plugin displays the following blocking message : "The server does not support version 10.0 of the J2EE Enterprise application specification."
However, the same EAR can be deployed by the plugin on WildFly 31 or if I change the JBoss EAP 8.0 server-type on the Eclipse server.xml file

Step to reproduce:

  1. With JBoss EAP 8.0.0.GA (KO)

Create on Eclipse Servers view a new server, the server type is: Red Hat JBoss Enterprise Application Server 8.0.

image

image

image
Note: Plugin can find server version (warning message).

image
Deployment is not allowed by the plugin.

  1. With WildFly 31.0.1.Final (OK)

image

  1. With JBoss EAP 8.0.0.GA and using WildFly server-type (OK)

I have changed on my Eclipse workspace\.metadata\.plugins\org.eclipse.wst.server.core\server.xml file the server-type & server-type-id type such as:

<server auto-publish-time="1" hostname="localhost" id="Red Hat JBoss EAP 8.0" name="Red Hat JBoss EAP 8.0 with Wildfly server-type " org.jboss.ide.eclipse.as.core.server.EXPOSE_MANAGEMENT_SERVICE="true" org.jboss.ide.eclipse.as.core.server.IGNORE_LAUNCH_COMMANDS="false" org.jboss.ide.eclipse.as.core.server.attributes.shutdownPollerKey="org.jboss.ide.eclipse.as.core.runtime.server.WebPoller" org.jboss.ide.eclipse.as.core.server.attributes.startupPollerKey="org.jboss.ide.eclipse.as.core.runtime.server.WebPoller" org.jboss.ide.eclipse.as.core.server.deployDirectoryType="server" org.jboss.ide.eclipse.as.core.server.serverMode="local" runtime-id="JBoss EAP 8.0 Runtime" server-type="org.jboss.ide.eclipse.as.wildfly.270" server-type-id="org.jboss.ide.eclipse.as.wildfly.270" start-timeout="450" stop-timeout="450" timestamp="5">
    <list key="modules"/>
  </server>

Now I'm able to deploy my EAR.

image

Note: JakartaEE10 WAR deployment work fine with the plugin. Only EAR deployment are not supported with JBoss EAP 8.

Testing environment:
Eclipse IDE 2024-03
JBossTools 4.29.0.Final
JBoss EAP 8.0.0.GA server
WildFly 31.0.1.Final
OpenJDK 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions