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

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

Open
ludade opened this issue Apr 11, 2024 · 1 comment

Comments

@ludade
Copy link

ludade commented Apr 11, 2024

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

@ludade
Copy link
Author

ludade commented Apr 11, 2024

Maybe an update of missing version 8 on this file: https://github.com/jbosstools/jbosstools-server/blob/main/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml.
I suppose a similar fix than this one: https://github.com/jbosstools/jbosstools-server/pull/597/files

Regards.

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

No branches or pull requests

1 participant