You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2025/02/28 18:59:49 UTC

(tomee) branch main updated: TOMEE-3724 - Remove TomEE drop-in webapp usage

This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
     new ccdacb3dd5 TOMEE-3724 - Remove TomEE drop-in webapp usage
ccdacb3dd5 is described below

commit ccdacb3dd5a7df34ff70dbf788725a108e983f69
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Fri Feb 28 19:59:32 2025 +0100

    TOMEE-3724 - Remove TomEE drop-in webapp usage
---
 arquillian/arquillian-tomee-tests/pom.xml          |   5 -
 arquillian/arquillian-tomee-webapp-remote/pom.xml  | 229 -------------------
 .../webapp/TomEEWebappConfiguration.java           | 132 -----------
 .../arquillian/webapp/TomEEWebappContainer.java    | 254 ---------------------
 .../TomEEWebappEJBEnricherArchiveAppender.java     |  38 ---
 .../arquillian/webapp/TomEEWebappExtension.java    |  67 ------
 .../arquillian/webapp/TomEEWebappObserver.java     |  53 -----
 .../webapp/TomEEWebappRemoteExtension.java         |  34 ---
 ...org.jboss.arquillian.core.spi.LoadableExtension |   1 -
 .../default.arquillian-tomee-webapp.properties     |  23 --
 .../org/apache/openejb/arquillian/TestEjb.java     |  28 ---
 .../org/apache/openejb/arquillian/TestServlet.java |  42 ----
 .../TomEEContainerEarWithExplodedWarTest.java      | 105 ---------
 .../openejb/arquillian/TomEEContainerTest.java     |  79 -------
 .../TomEEContainerWithInstallerServletTest.java    |  60 -----
 .../arquillian/session/PojoSessionScoped.java      |  48 ----
 .../session/PojoSessionScopedServletWrapper.java   |  41 ----
 .../arquillian/session/SessionScopeTest.java       |  83 -------
 .../src/test/resources/arquillian.xml              |  40 ----
 arquillian/pom.xml                                 |   1 -
 pipelines/main-build-full-arquillian               |   2 +-
 rat.xml                                            |   1 -
 22 files changed, 1 insertion(+), 1365 deletions(-)

diff --git a/arquillian/arquillian-tomee-tests/pom.xml b/arquillian/arquillian-tomee-tests/pom.xml
index 91b57ac534..d715470ce1 100644
--- a/arquillian/arquillian-tomee-tests/pom.xml
+++ b/arquillian/arquillian-tomee-tests/pom.xml
@@ -109,11 +109,6 @@
       <artifactId>arquillian-tomee-remote</artifactId>
       <version>${project.version}</version>
     </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>arquillian-tomee-webapp-remote</artifactId>
-      <version>${project.version}</version>
-    </dependency>
     <dependency> <!-- tomee-embedded needs it + dependencies but tomee-*-remote doesn't need dependencies so to avoid conflicts bringing it back here -->
       <groupId>${project.groupId}</groupId>
       <artifactId>openejb-core</artifactId>
diff --git a/arquillian/arquillian-tomee-webapp-remote/pom.xml b/arquillian/arquillian-tomee-webapp-remote/pom.xml
deleted file mode 100644
index f1f0fea0a1..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/pom.xml
+++ /dev/null
@@ -1,229 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <artifactId>arquillian</artifactId>
-    <groupId>org.apache.tomee</groupId>
-    <version>10.0.1-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>arquillian-tomee-webapp-remote</artifactId>
-  <name>TomEE :: Arquillian Adaptors Parent :: Webapp Remote</name>
-
-  <properties>
-    <tomee.build.name>${project.groupId}.arquillian.tomee.webapp.remote</tomee.build.name>
-  </properties>
-
-  <dependencies>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>arquillian-openejb-transaction-provider</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.arquillian.container</groupId>
-      <artifactId>arquillian-container-spi</artifactId>
-      <version>${version.arquillian}</version>
-      <exclusions>
-        <exclusion>
-          <artifactId>shrinkwrap-descriptors-spi</artifactId>
-          <groupId>org.jboss.shrinkwrap.descriptors</groupId>
-        </exclusion>
-        <exclusion>
-          <artifactId>shrinkwrap-descriptors-api-base</artifactId>
-          <groupId>org.jboss.shrinkwrap.descriptors</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.arquillian.protocol</groupId>
-      <artifactId>arquillian-protocol-servlet-jakarta</artifactId>
-      <version>${version.arquillian-protocol-servlet-jakarta}</version>
-      <exclusions>
-        <exclusion>
-          <artifactId>shrinkwrap-descriptors-spi</artifactId>
-          <groupId>org.jboss.shrinkwrap.descriptors</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-catalina</artifactId>
-      <version>${tomcat.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-coyote</artifactId>
-      <version>${tomcat.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-jasper</artifactId>
-      <version>${tomcat.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.eclipse.jdt</groupId>
-          <artifactId>ecj</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.arquillian.junit</groupId>
-      <artifactId>arquillian-junit-container</artifactId>
-      <version>${version.arquillian}</version>
-      <scope>test</scope>
-      <exclusions>
-        <exclusion>
-          <artifactId>shrinkwrap-descriptors-spi</artifactId>
-          <groupId>org.jboss.shrinkwrap.descriptors</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>openejb-client</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>openejb-core</artifactId>
-      <version>${project.version}</version>
-      <exclusions>
-        <exclusion>
-          <artifactId>*</artifactId>
-          <groupId>*</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.openwebbeans</groupId>
-      <artifactId>openwebbeans-impl</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>arquillian-tomee-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>tomee-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.tomitribe</groupId>
-      <artifactId>swizzle</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.shrinkwrap.descriptors</groupId>
-      <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
-      <version>${version.shrinkwrap.descriptor}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>commons-httpclient</groupId>
-      <artifactId>commons-httpclient</artifactId>
-      <version>3.1</version>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>arquillian-common</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <filtering>true</filtering>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.basedir}/src/test/resources</directory>
-        <filtering>true</filtering>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.6.0</version>
-        <executions>
-          <execution>
-            <id>reserve-network-port</id>
-            <phase>pre-integration-test</phase>
-            <goals>
-              <goal>reserve-network-port</goal>
-            </goals>
-            <configuration>
-              <portNames>
-                <portName>tomee.http.port</portName>
-                <portName>tomee.shutdown.port</portName>
-              </portNames>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <version>3.8.0</version>
-        <executions>
-          <execution>
-            <id>copy-test-libs</id>
-            <phase>process-test-resources</phase>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>commons-httpclient</groupId>
-                  <artifactId>commons-httpclient</artifactId>
-                  <version>3.1</version>
-                </artifactItem>
-              </artifactItems>
-              <outputDirectory>
-                ${project.build.directory}/test-libs
-              </outputDirectory>
-              <stripVersion>true</stripVersion>
-            </configuration>
-            <goals>
-              <goal>copy</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappConfiguration.java b/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappConfiguration.java
deleted file mode 100644
index 1f91d776ba..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappConfiguration.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.tomee.arquillian.webapp;
-
-import org.apache.openejb.arquillian.common.Prefixes;
-import org.apache.openejb.arquillian.common.TomEEConfiguration;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @version $Rev$ $Date$
- */
-@Prefixes({"tomee", "tomee.webapp"})
-public class TomEEWebappConfiguration extends TomEEConfiguration {
-    private String tomcatVersion;
-    private String groupId;
-    private String artifactId;
-    private String version; // let the version be set from properties file otherwise latest will be 4.0.0
-    private String type;
-    private boolean removeUnusedWebapps = true;
-    private boolean useInstallerServlet;
-    private int ajpPort = 8009;
-    private String providerUrlPattern = "%s";
-
-    public String getProviderUrlPattern() {
-        return providerUrlPattern;
-    }
-
-    public void setProviderUrlPattern(String providerUrlPattern) {
-        this.providerUrlPattern = providerUrlPattern;
-    }
-
-    public String getGroupId() {
-        return groupId;
-    }
-
-    public void setGroupId(final String groupId) {
-        this.groupId = groupId;
-    }
-
-    public String getArtifactId() {
-        return artifactId;
-    }
-
-    public void setArtifactId(final String artifactId) {
-        this.artifactId = artifactId;
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public void setVersion(final String version) {
-        this.version = version;
-    }
-
-    public String getType() {
-        return type;
-    }
-
-    public void setType(final String type) {
-        this.type = type;
-    }
-
-    public boolean isUseInstallerServlet() {
-        return useInstallerServlet;
-    }
-
-    public void setUseInstallerServlet(final boolean useInstallerServlet) {
-        this.useInstallerServlet = useInstallerServlet;
-    }
-
-    public String getArtifactName() {
-
-        return String.format("%s:%s:%s:%s", getGroupId(), getArtifactId(), getVersion(), getType());
-
-    }
-
-    public String getTomcatVersion() {
-        return tomcatVersion;
-    }
-
-    public void setTomcatVersion(final String tomcatVersion) {
-        this.tomcatVersion = tomcatVersion;
-    }
-
-    public boolean isRemoveUnusedWebapps() {
-        return removeUnusedWebapps;
-    }
-
-    public void setRemoveUnusedWebapps(final boolean removeUnusedWebapps) {
-        this.removeUnusedWebapps = removeUnusedWebapps;
-    }
-
-    public int getAjpPort() {
-        return ajpPort;
-    }
-
-    public void setAjpPort(final int ajpPort) {
-        this.ajpPort = ajpPort;
-    }
-
-    @Override
-    public int[] portsAlreadySet() {
-        final List<Integer> value = new ArrayList<Integer>();
-        if (getStopPort() > 0) {
-            value.add(getStopPort());
-        }
-        if (getHttpPort() > 0) {
-            value.add(getHttpPort());
-        }
-        if (getAjpPort() > 0) {
-            value.add(getAjpPort());
-        }
-        return toInts(value);
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappContainer.java b/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappContainer.java
deleted file mode 100644
index aa2eb2e468..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappContainer.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.tomee.arquillian.webapp;
-
-import org.apache.openejb.arquillian.common.ArquillianFilterRunner;
-import org.apache.openejb.arquillian.common.Files;
-import org.apache.openejb.arquillian.common.IO;
-import org.apache.openejb.arquillian.common.Setup;
-import org.apache.openejb.arquillian.common.TomEEContainer;
-import org.apache.openejb.arquillian.common.Zips;
-import org.apache.openejb.config.RemoteServer;
-import org.apache.tomee.installer.Installer;
-import org.apache.tomee.installer.Paths;
-import org.jboss.arquillian.container.spi.client.container.LifecycleException;
-import org.jboss.arquillian.protocol.servlet5.ServletMethodExecutor;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.Arrays;
-import java.util.Map;
-import java.util.TreeMap;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-public class TomEEWebappContainer extends TomEEContainer<TomEEWebappConfiguration> {
-
-    private static final Logger logger = Logger.getLogger(TomEEWebappContainer.class.getName());
-
-    private RemoteServer container;
-    private boolean shutdown;
-    private File openejbHome;
-    private boolean wereOpenejbHomeSet = true;
-
-    @Override
-    protected String providerUrl() {
-        return String.format(configuration.getProviderUrlPattern(), super.providerUrl());
-    }
-
-    @Override
-    public void start() throws LifecycleException {
-        // see if TomEE is already running by checking the http port
-        final int httpPort = configuration.getHttpPort();
-        if (Setup.isRunning(configuration.getHost(), httpPort)) {
-
-            logger.info(String.format("Tomcat found running on port %s", httpPort));
-
-            return;
-        }
-
-        shutdown = true;
-
-        final String s = File.separator;
-        try {
-            final File workingDirectory = new File(configuration.getDir());
-
-            if (workingDirectory.exists()) {
-
-                Files.assertDir(workingDirectory);
-
-            } else {
-
-                Files.mkdir(workingDirectory);
-                Files.deleteOnExit(workingDirectory);
-            }
-
-            Files.readable(workingDirectory);
-            Files.writable(workingDirectory);
-
-            openejbHome = Setup.findHome(workingDirectory);
-            Installer installer = null;
-
-            if (openejbHome == null) {
-
-                downloadTomcat(workingDirectory, configuration.getTomcatVersion(), configuration.getDir());
-
-                openejbHome = Setup.findHome(workingDirectory);
-
-                Files.deleteOnExit(openejbHome);
-
-                final File webapp = new File(openejbHome, "webapps" + s + "tomee");
-
-                Files.mkdir(webapp);
-                downloadOpenEJBWebapp(webapp, configuration.getDir());
-
-                System.setProperty("catalina.home", openejbHome.getAbsolutePath());
-                System.setProperty("catalina.base", openejbHome.getAbsolutePath());
-
-                System.setProperty("openejb.deploymentId.format", System.getProperty("openejb.deploymentId.format", "{appId}/{ejbJarId}/{ejbName}"));
-
-                final Paths paths = new Paths(webapp);
-                installer = new Installer(paths, true);
-                if (!configuration.isUseInstallerServlet()) {
-                    installer.installAll();
-
-                }
-
-                wereOpenejbHomeSet = false;
-            }
-
-            Files.assertDir(openejbHome);
-            Files.readable(openejbHome);
-            Files.writable(openejbHome);
-
-            Setup.configureServerXml(openejbHome, configuration);
-            Setup.configureSystemProperties(openejbHome, configuration);
-
-            Setup.exportProperties(openejbHome, configuration, true);
-
-            final URL logging = Thread.currentThread().getContextClassLoader().getResource("default.remote.logging.properties");
-            if (logging != null) {
-                write(logging, new File(openejbHome, "conf" + s + "logging.properties"));
-            }
-
-            if (configuration.isRemoveUnusedWebapps()) {
-                Setup.removeUselessWebapps(openejbHome, "tomee");
-            }
-
-            if (logger.isLoggable(Level.FINE)) {
-                final Map<Object, Object> map = new TreeMap<>(System.getProperties());
-                for (final Map.Entry<Object, Object> entry : map.entrySet()) {
-                    System.out.printf("%s = %s\n", entry.getKey(), entry.getValue());
-                }
-            }
-
-            Setup.installArquillianBeanDiscoverer(openejbHome);
-
-            if (!wereOpenejbHomeSet && configuration.isUseInstallerServlet()) {
-                // instead of calling the Installer, let's just do like users do
-                // call the servlet installer instead
-                final String baseUrl = "http://" + configuration.getHost() + ":" + httpPort + "/tomee/installer";
-
-                assert installer != null;
-                installer.addTomEEAdminConfInTomcatUsers(true);
-
-                final RemoteServer tmpContainer = new RemoteServer();
-                tmpContainer.setPortStartup(httpPort);
-
-                try {
-                    tmpContainer.start();
-                } catch (final Exception e) {
-                    tmpContainer.destroy();
-                    throw e;
-                }
-
-                final URL url = new URL(baseUrl);
-                logger.info("Calling TomEE Installer Servlet on " + url);
-
-                for (int i = 0; i < Integer.getInteger("tomee.webapp.container.client.retries", 3); i++) {
-                    final URLConnection uc = url.openConnection();
-                    // dG9tZWU6dG9tZWU= --> Base64 of tomee:tomee
-                    final String authorizationString = "Basic dG9tZWU6dG9tZWU=";
-                    final int timeout = Integer.getInteger("tomee.webapp.container.client.timeout", 60000);
-                    uc.setConnectTimeout(timeout);
-                    uc.setReadTimeout(timeout);
-                    uc.setRequestProperty("Authorization", authorizationString);
-                    try {
-                        final InputStream is = uc.getInputStream();
-                        org.apache.openejb.loader.IO.slurp(is);
-                        is.close();
-                        break;
-                    } catch (final Exception e) {
-                        logger.warning(e.getMessage());
-                        Thread.sleep(1000);
-                    }
-                }
-
-                tmpContainer.stop();
-                tmpContainer.getServer().waitFor();
-            }
-
-            container = new RemoteServer();
-            container.setPortStartup(httpPort);
-            container.start(Arrays.asList(
-                    "-Dopenejb.system.apps=true",
-                    "-Dtomee.remote.support=true",
-                    "-Dorg.apache.openejb.servlet.filters=" + ArquillianFilterRunner.class.getName() + "=" + ServletMethodExecutor.ARQUILLIAN_SERVLET_MAPPING), "start", true);
-            container.killOnExit();
-        } catch (final Exception e) {
-            if (null != container) {
-                container.destroy();
-            }
-            throw new LifecycleException("Unable to start remote container on port: " + httpPort, e);
-        }
-    }
-
-    private static void write(final URL resource, final File file) throws IOException {
-        if (file.exists()) {
-            Files.delete(file);
-        }
-
-        try (final InputStream is = org.apache.openejb.loader.IO.read(resource)) {
-            IO.copy(is, file);
-        }
-    }
-
-    protected void downloadOpenEJBWebapp(final File targetDirectory, final String defaultTempDir) throws LifecycleException {
-        final String artifactName = configuration.getArtifactName();
-        final File zipFile = Setup.downloadFile(artifactName, null, defaultTempDir);
-        Zips.unzip(zipFile, targetDirectory);
-    }
-
-    protected void downloadTomcat(final File catalinaDirectory, final String tomcatVersion, final String defaultTempDir) throws LifecycleException {
-        String source = null;
-
-        try {
-            int v = Integer.parseInt(tomcatVersion.substring(0, tomcatVersion.indexOf('.')));
-            source = "http://archive.apache.org/dist/tomcat/tomcat-" + v + "/v" + v + "/bin/apache-tomcat-" + tomcatVersion + ".zip";
-        } catch (final Exception e) {
-            // no-op
-        }
-
-        if (source == null) {
-            throw new LifecycleException("Unable to find URL for Tomcat " + tomcatVersion);
-        }
-
-        final File zipFile = Setup.downloadFile("org.apache.tomcat:tomcat:" + tomcatVersion + ":zip", source, defaultTempDir);
-        Zips.unzip(zipFile, catalinaDirectory);
-    }
-
-    @Override
-    public void stop() throws LifecycleException {
-        // only stop the container if we started it
-        if (shutdown) {
-            try {
-                Setup.removeArquillianBeanDiscoverer(openejbHome);
-                container.destroy();
-            } finally {
-                resetSerialization();
-            }
-        }
-    }
-
-    @Override
-    public Class<TomEEWebappConfiguration> getConfigurationClass() {
-        return TomEEWebappConfiguration.class;
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappEJBEnricherArchiveAppender.java b/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappEJBEnricherArchiveAppender.java
deleted file mode 100644
index c83f4b9c97..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappEJBEnricherArchiveAppender.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.tomee.arquillian.webapp;
-
-import org.apache.openejb.arquillian.common.TomEEInjectionEnricher;
-import org.apache.openejb.arquillian.common.enrichment.OpenEJBEnricher;
-import org.apache.openejb.arquillian.common.mockito.MockitoEnricher;
-import org.apache.openejb.arquillian.transaction.OpenEJBTransactionProvider;
-import org.jboss.arquillian.container.test.spi.RemoteLoadableExtension;
-import org.jboss.arquillian.container.test.spi.client.deployment.AuxiliaryArchiveAppender;
-import org.jboss.shrinkwrap.api.Archive;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.spec.JavaArchive;
-
-public class TomEEWebappEJBEnricherArchiveAppender implements AuxiliaryArchiveAppender {
-    @Override
-    public Archive<?> createAuxiliaryArchive() {
-        return ShrinkWrap.create(JavaArchive.class, "arquillian-tomee-archive-appender.jar")
-                .addClasses(TomEEWebappObserver.class, TomEEWebappRemoteExtension.class, OpenEJBTransactionProvider.class)
-                .addClasses(OpenEJBEnricher.class, TomEEInjectionEnricher.class, MockitoEnricher.class)
-                .addAsServiceProvider(RemoteLoadableExtension.class, TomEEWebappRemoteExtension.class);
-    }
-}
\ No newline at end of file
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappExtension.java b/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappExtension.java
deleted file mode 100644
index 9636e92cc9..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappExtension.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.tomee.arquillian.webapp;
-
-import org.apache.openejb.arquillian.common.ArquillianUtil;
-import org.apache.openejb.arquillian.common.RemoteInitialContextObserver;
-import org.apache.openejb.arquillian.common.deployment.DeploymentExceptionObserver;
-import org.apache.openejb.arquillian.common.deployment.DeploymentExceptionProvider;
-import org.jboss.arquillian.container.spi.client.container.DeployableContainer;
-import org.jboss.arquillian.container.test.spi.client.deployment.AuxiliaryArchiveAppender;
-import org.jboss.arquillian.core.spi.LoadableExtension;
-import org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider;
-
-import java.util.concurrent.atomic.AtomicBoolean;
-import java.util.concurrent.locks.ReentrantLock;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-public class TomEEWebappExtension implements LoadableExtension {
-
-    private static final String ADAPTER = "tomee-webapp";
-    private static final AtomicBoolean registered = new AtomicBoolean(false);
-    private static final ReentrantLock lock = new ReentrantLock();
-
-    @Override
-    public void register(final ExtensionBuilder builder) {
-        if (ArquillianUtil.isCurrentAdapter(ADAPTER)) {
-
-            final ReentrantLock l = lock;
-            l.lock();
-
-            try {
-
-                if (!registered.getAndSet(true)) {
-
-                    try {
-                        builder.observer(DeploymentExceptionObserver.class);
-                        builder.observer(RemoteInitialContextObserver.class);
-
-                        builder.service(DeployableContainer.class, TomEEWebappContainer.class)
-                                .service(AuxiliaryArchiveAppender.class, TomEEWebappEJBEnricherArchiveAppender.class)
-                                .service(ResourceProvider.class, DeploymentExceptionProvider.class);
-                    } catch (final IllegalArgumentException e) {
-                        Logger.getLogger(TomEEWebappExtension.class.getName()).log(Level.WARNING, "TomEEWebappExtension: " + e.getMessage());
-                    }
-                }
-            } finally {
-                l.unlock();
-            }
-        }
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappObserver.java b/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappObserver.java
deleted file mode 100644
index 879d56d138..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappObserver.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.tomee.arquillian.webapp;
-
-import org.apache.openejb.util.AppFinder;
-import org.apache.webbeans.config.WebBeansContext;
-import org.jboss.arquillian.core.api.InstanceProducer;
-import org.jboss.arquillian.core.api.annotation.Inject;
-import org.jboss.arquillian.core.api.annotation.Observes;
-import org.jboss.arquillian.test.spi.annotation.SuiteScoped;
-import org.jboss.arquillian.test.spi.event.suite.BeforeSuite;
-
-import jakarta.enterprise.inject.spi.BeanManager;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-public class TomEEWebappObserver {
-    @Inject
-    @SuiteScoped
-    private InstanceProducer<BeanManager> beanManager;
-    @Inject
-    @SuiteScoped
-    private InstanceProducer<Context> context;
-
-    public void beforeSuite(@Observes final BeforeSuite event) {
-        final WebBeansContext webBeansContext = AppFinder.findAppContextOrWeb(
-                Thread.currentThread().getContextClassLoader(), AppFinder.WebBeansContextTransformer.INSTANCE);
-        if (webBeansContext != null) {
-            beanManager.set(webBeansContext.getBeanManagerImpl());
-        }
-        try {
-            context.set(new InitialContext());
-        } catch (final NamingException e) {
-            // no-op
-        }
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappRemoteExtension.java b/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappRemoteExtension.java
deleted file mode 100644
index c843a89df5..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/java/org/apache/tomee/arquillian/webapp/TomEEWebappRemoteExtension.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.tomee.arquillian.webapp;
-
-import org.apache.openejb.arquillian.common.TomEEInjectionEnricher;
-import org.apache.openejb.arquillian.transaction.OpenEJBTransactionProvider;
-import org.jboss.arquillian.container.test.spi.RemoteLoadableExtension;
-import org.jboss.arquillian.test.spi.TestEnricher;
-import org.jboss.arquillian.transaction.spi.provider.TransactionProvider;
-
-public class TomEEWebappRemoteExtension implements RemoteLoadableExtension {
-
-    @Override
-    public void register(final ExtensionBuilder builder) {
-        builder.observer(TomEEWebappObserver.class)
-            .service(TestEnricher.class, TomEEInjectionEnricher.class)
-            .service(TransactionProvider.class, OpenEJBTransactionProvider.class);
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension b/arquillian/arquillian-tomee-webapp-remote/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
deleted file mode 100644
index e2eea148e0..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
+++ /dev/null
@@ -1 +0,0 @@
-org.apache.tomee.arquillian.webapp.TomEEWebappExtension
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/main/resources/default.arquillian-tomee-webapp.properties b/arquillian/arquillian-tomee-webapp-remote/src/main/resources/default.arquillian-tomee-webapp.properties
deleted file mode 100644
index 4d4e280dfe..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/main/resources/default.arquillian-tomee-webapp.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-artifactId = tomee-webapp
-type = war
-removeUnusedWebapps = true
-useInstallerServlet = false
-version=${pom.version}
-groupId=${pom.groupId}
-tomcatVersion=${tomcat.version}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TestEjb.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TestEjb.java
deleted file mode 100644
index afc8801ff7..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TestEjb.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.arquillian;
-
-import jakarta.ejb.Stateless;
-
-@Stateless
-public class TestEjb {
-
-    public String greet(String name) {
-        return "Hello, " + name;
-    }
-
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TestServlet.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TestServlet.java
deleted file mode 100644
index 4c78b756d6..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TestServlet.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.arquillian;
-
-import java.io.IOException;
-
-import jakarta.ejb.EJB;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServlet;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpServlet {
-
-    @EJB
-    private TestEjb myEjb;
-
-    @Override
-    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
-        String name = req.getParameter("name");
-        if (name == null || name.length() == 0) {
-            name = "OpenEJB";
-        }
-
-        resp.getOutputStream().print(myEjb.greet(name));
-    }
-
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerEarWithExplodedWarTest.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerEarWithExplodedWarTest.java
deleted file mode 100644
index 6d93759169..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerEarWithExplodedWarTest.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.arquillian;
-
-import java.io.File;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Properties;
-
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-import org.apache.openejb.arquillian.common.Files;
-import org.apache.openejb.arquillian.common.IO;
-import org.apache.openejb.assembler.Deployer;
-import org.jboss.arquillian.container.test.api.Deployment;
-import org.jboss.arquillian.container.test.api.RunAsClient;
-import org.jboss.arquillian.junit.Arquillian;
-import org.jboss.arquillian.test.api.ArquillianResource;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.asset.StringAsset;
-import org.jboss.shrinkwrap.api.exporter.ExplodedExporter;
-import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
-import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.jboss.shrinkwrap.descriptor.api.Descriptors;
-import org.jboss.shrinkwrap.descriptor.api.application7.ApplicationDescriptor;
-import org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptor;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-@RunWith(Arquillian.class)
-@RunAsClient
-public class TomEEContainerEarWithExplodedWarTest {
-    private static final String TARGET_FOLDER = "target";
-    private static final String EAR_FILE = "test-ear.ear";
-    private static final String WAR_FILE = "test-web.war";
-    private static final String CONTEXT_PATH = "hello";
-    private static final String SERVLET_NAME = "servlet-ejb";
-    private static final String URL_PATTERN = "/ejb";
-    private static final String EXPECTED_CONTENT = "Hello";
-    private static final String INITIAL_CONTEXT_FACTORY_VALUE = "org.apache.openejb.client.RemoteInitialContextFactory";
-    private static final String DEPLOYER_LOOKUP_NAME = "openejb/DeployerBusinessRemote";
-
-    @Deployment
-    public static WebArchive createDeployment() throws Exception {
-        final WebArchive web = ShrinkWrap.create(WebArchive.class, WAR_FILE)
-                .addClass(TestServlet.class)
-                .addClass(TestEjb.class)
-                .setWebXML(new StringAsset(Descriptors.create(WebAppDescriptor.class)
-                        .createServlet().servletName(SERVLET_NAME).servletClass(TestServlet.class.getName()).up()
-                        .createServletMapping().servletName(SERVLET_NAME).urlPattern(URL_PATTERN).up()
-                        .exportAsString()));
-        ShrinkWrap.create(EnterpriseArchive.class, EAR_FILE).addAsModule(web)
-                .setApplicationXML(new StringAsset(Descriptors.create(ApplicationDescriptor.class)
-                        .createModule().getOrCreateWeb().contextRoot(CONTEXT_PATH).webUri(WAR_FILE).up().up()
-                        .exportAsString()))
-                .as(ExplodedExporter.class).exportExploded(new File(TARGET_FOLDER));
-        return ShrinkWrap.create(WebArchive.class);
-    }
-
-    @ArquillianResource
-    private URL url;
-
-    @Test
-    public void testShouldBeAbleToAccessWebApp() throws Exception {
-        final Deployer deployer = lookupDeployer();
-        final File earFolder = new File(TARGET_FOLDER, EAR_FILE);
-        deployer.deploy(earFolder.getAbsolutePath());
-        Assert.assertTrue(IO.slurp(getUrl()).contains(EXPECTED_CONTENT));
-        Files.deleteOnExit(earFolder);
-    }
-
-    private Deployer lookupDeployer() {
-        Deployer deployer = null;
-        final Properties properties = new Properties();
-        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, INITIAL_CONTEXT_FACTORY_VALUE);
-        try {
-            deployer = (Deployer) new InitialContext(properties).lookup(DEPLOYER_LOOKUP_NAME);
-        } catch (NamingException e) {
-            Assert.fail("Cannot lookup deployer " + e.getMessage());
-        }
-        return deployer;
-    }
-
-    private URL getUrl() throws MalformedURLException {
-        return new URL(url.getProtocol() + "://" + url.getHost() + ":" + url.getPort() + "/"
-                + CONTEXT_PATH + URL_PATTERN);
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerTest.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerTest.java
deleted file mode 100644
index 68e4b4213b..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerTest.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.arquillian;
-
-import java.io.ByteArrayOutputStream;
-import java.io.InputStream;
-import java.net.URL;
-
-import jakarta.ejb.EJB;
-
-import org.junit.Assert;
-
-import org.jboss.arquillian.container.test.api.Deployment;
-import org.jboss.arquillian.junit.Arquillian;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.asset.StringAsset;
-import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.jboss.shrinkwrap.descriptor.api.Descriptors;
-import org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptor;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-// todo: add arquillian enricher to use @ArquillianResource URl url;
-@RunWith(Arquillian.class)
-public class TomEEContainerTest {
-
-    @Deployment
-    public static WebArchive createDeployment() {
-        return ShrinkWrap.create(WebArchive.class, "test.war")
-        		.addClass(TestServlet.class).addClass(TestEjb.class).addClass(TomEEContainerTest.class)
-                .setWebXML(new StringAsset(
-                		Descriptors.create(WebAppDescriptor.class)
-                			.version("3.0")
-                                .createServlet().servletName("servlet-ejb").servletClass(TestServlet.class.getName()).up()
-                                .createServletMapping().servletName("servlet-ejb").urlPattern("/ejb").up()
-                                .exportAsString()));
-    }
-
-    @EJB
-    private TestEjb ejb;
-    
-    @Test 
-    public void testEjbIsNotNull() throws Exception {
-    	Assert.assertNotNull(ejb);
-    }
-
-    @Test
-    public void testShouldBeAbleToAccessServletAndEjb() throws Exception {
-        InputStream is = new URL("http://localhost:" + System.getProperty("tomee.httpPort", "10080") + "/test/ejb").openStream();
-        ByteArrayOutputStream os = new ByteArrayOutputStream();
-
-        int bytesRead;
-        byte[] buffer = new byte[8192];
-        while ((bytesRead = is.read(buffer)) > -1) {
-            os.write(buffer, 0, bytesRead);
-        }
-
-        is.close();
-        os.close();
-
-        String output = new String(os.toByteArray(), "UTF-8");
-        Assert.assertTrue(output.contains("Hello, OpenEJB"));
-    }
-
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerWithInstallerServletTest.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerWithInstallerServletTest.java
deleted file mode 100644
index 2ff6ab4770..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/TomEEContainerWithInstallerServletTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.arquillian;
-
-import org.junit.Assert;
-import org.apache.openejb.loader.IO;
-import org.jboss.arquillian.container.test.api.Deployment;
-import org.jboss.arquillian.container.test.api.RunAsClient;
-import org.jboss.arquillian.junit.Arquillian;
-import org.jboss.arquillian.test.api.ArquillianResource;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.asset.StringAsset;
-import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.jboss.shrinkwrap.descriptor.api.Descriptors;
-import org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptor;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import java.net.URL;
-
-@RunWith(Arquillian.class)
-@RunAsClient
-public class TomEEContainerWithInstallerServletTest {
-
-    @Deployment
-    public static WebArchive createDeployment() {
-        return ShrinkWrap.create(WebArchive.class, "test.war")
-                .addClass(TestServlet.class).addClass(TestEjb.class).addClass(TomEEContainerWithInstallerServletTest.class)
-                .setWebXML(new StringAsset(
-                        Descriptors.create(WebAppDescriptor.class)
-                                .version("3.0")
-                                .createServlet().servletName("servlet-ejb").servletClass(TestServlet.class.getName()).up()
-                                .createServletMapping().servletName("servlet-ejb").urlPattern("/ejb").up()
-                                .exportAsString()));
-    }
-
-    @ArquillianResource
-    private URL url;
-
-    @Test
-    public void testShouldBeAbleToAccessServletAndEjb() throws Exception {
-        URL ejbServletUrl = new URL(url.toExternalForm() + "ejb");
-        Assert.assertTrue(IO.slurp(ejbServletUrl).contains("Hello, OpenEJB"));
-    }
-
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/PojoSessionScoped.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/PojoSessionScoped.java
deleted file mode 100644
index a6f20a8b8d..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/PojoSessionScoped.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-
-package org.apache.openejb.arquillian.session;
-
-import jakarta.annotation.PostConstruct;
-import jakarta.enterprise.context.SessionScoped;
-import java.io.Serializable;
-import java.util.concurrent.atomic.AtomicInteger;
-
-@SessionScoped
-public class PojoSessionScoped implements Serializable {
-    private static AtomicInteger ID = new AtomicInteger();
-
-    private long ms;
-    private int id;
-
-    public PojoSessionScoped() {
-        ms = System.currentTimeMillis();
-    }
-
-    @PostConstruct
-    public void initId() {
-        id = ID.incrementAndGet();
-    }
-
-    public int getId() {
-        return id;
-    }
-
-    public long getMs() {
-        return ms;
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/PojoSessionScopedServletWrapper.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/PojoSessionScopedServletWrapper.java
deleted file mode 100644
index 5050478e13..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/PojoSessionScopedServletWrapper.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-
-package org.apache.openejb.arquillian.session;
-
-import jakarta.inject.Inject;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServlet;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import java.io.IOException;
-
-public class PojoSessionScopedServletWrapper extends HttpServlet {
-
-    private static final long serialVersionUID = -6092551791278955966L;
-
-    @Inject
-    private PojoSessionScoped pojo;
-
-    @Override
-    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
-        resp.setContentType("text/plain");
-        resp.getWriter().println("ms=" + pojo.getMs());
-        resp.getWriter().println("id=" + pojo.getId());
-    }
-
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/SessionScopeTest.java b/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/SessionScopeTest.java
deleted file mode 100644
index c3172e065e..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/java/org/apache/openejb/arquillian/session/SessionScopeTest.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-
-package org.apache.openejb.arquillian.session;
-
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpMethod;
-import org.apache.commons.httpclient.methods.GetMethod;
-import org.jboss.arquillian.container.test.api.Deployment;
-import org.jboss.arquillian.junit.Arquillian;
-import org.jboss.arquillian.test.api.ArquillianResource;
-import org.jboss.shrinkwrap.api.ArchivePaths;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.asset.EmptyAsset;
-import org.jboss.shrinkwrap.api.asset.StringAsset;
-import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.jboss.shrinkwrap.descriptor.api.Descriptors;
-import org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptor;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import java.io.File;
-import java.net.URL;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotSame;
-
-@RunWith(Arquillian.class)
-public class SessionScopeTest {
-    @ArquillianResource
-    private URL webappUrl;
-
-    @Deployment(testable = false)
-    public static WebArchive createDeployment() {
-        return ShrinkWrap.create(WebArchive.class, "test.war").addClass(PojoSessionScoped.class).addClass(PojoSessionScopedServletWrapper.class).addAsLibraries(new File("target/test-libs/commons-httpclient.jar")).addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"))
-                    .setWebXML(new StringAsset(
-                        Descriptors.create(WebAppDescriptor.class).version("3.0")
-                            .createServlet().servletName("servlet").servletClass(PojoSessionScopedServletWrapper.class.getName()).up()
-                            .createServletMapping().servletName("servlet").urlPattern("/session").up()
-                        .exportAsString()));
-    }
-
-    @Test
-    public void testShouldBeAbleToAccessServletAndEjb() throws Exception {
-        final String sessionUrl = webappUrl.toExternalForm() + "session";
-        String[] sessionResult = new String[2];
-        for (int i = 0; i < sessionResult.length; i++) {
-            HttpClient client = new HttpClient();
-            HttpMethod get = new GetMethod(sessionUrl);
-            String[] contents = new String[2];
-            try {
-                for (int j = 0; j < contents.length; j++) {
-                    int out = client.executeMethod(get);
-                    if (out != 200) {
-                        throw new RuntimeException("get " + sessionUrl + " returned " + out);
-                    }
-                    contents[j] = get.getResponseBodyAsString();
-                }
-
-                assertEquals(contents[0], contents[1]);
-            } finally {
-                get.releaseConnection();
-            }
-            sessionResult[i] = contents[0];
-        }
-
-        assertNotSame(sessionResult[0], sessionResult[1]);
-    }
-}
diff --git a/arquillian/arquillian-tomee-webapp-remote/src/test/resources/arquillian.xml b/arquillian/arquillian-tomee-webapp-remote/src/test/resources/arquillian.xml
deleted file mode 100644
index 7628a1ed7d..0000000000
--- a/arquillian/arquillian-tomee-webapp-remote/src/test/resources/arquillian.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
--->
-<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            xmlns="http://jboss.org/schema/arquillian"
-            xsi:schemaLocation="
-      http://jboss.org/schema/arquillian
-      http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
-
-  <container qualifier="tomee"
-             default="true">
-    <configuration>
-      <property name="httpPort">-1</property>
-      <property name="ajpPort">-1</property>
-      <property name="stopPort">-1</property>
-      <property name="tomcatVersion">${tomcat.version}</property>
-      <property name="useInstallerServlet">true</property>
-      <property name="dir">target/apache-tomee-remote</property>
-      <property name="appWorkingDir">target/arquillian-test-working-dir</property>
-      <property name="properties">
-        openejb.classloader.forced-load=org.apache.openejb
-      </property>
-    </configuration>
-  </container>
-</arquillian>
diff --git a/arquillian/pom.xml b/arquillian/pom.xml
index dcedd867f2..8a41803a36 100644
--- a/arquillian/pom.xml
+++ b/arquillian/pom.xml
@@ -36,7 +36,6 @@
     <module>arquillian-openejb-transaction-provider</module>
     <module>arquillian-tomee-embedded</module>
     <module>arquillian-tomee-remote</module>
-    <module>arquillian-tomee-webapp-remote</module>
     <module>arquillian-tomee-tests</module>
     <module>arquillian-tomee-moviefun-example</module>
     <module>arquillian-openejb-embedded</module>
diff --git a/pipelines/main-build-full-arquillian b/pipelines/main-build-full-arquillian
index e69ede04aa..ca2eae9fd1 100644
--- a/pipelines/main-build-full-arquillian
+++ b/pipelines/main-build-full-arquillian
@@ -47,7 +47,7 @@ pipeline {
             }
             steps {
                 timeout(time: 180, unit: 'MINUTES') {
-                    sh 'mvn -U --show-version --fail-at-end clean install -Pall-adapters -Dfile.encoding=UTF-8 -pl arquillian/arquillian-common,arquillian/arquillian-openejb-embedded,arquillian/arquillian-openejb-transaction-provider,arquillian/arquillian-tck,arquillian/arquillian-tomee-common,arquillian/arquillian-tomee-embedded,arquillian/arquillian-tomee-moviefun-example,arquillian/arquillian-tomee-remote,arquillian/arquillian-tomee-tests,arquillian/arquillian-tomee-webapp-remote,arqu [...]
+                    sh 'mvn -U --show-version --fail-at-end clean install -Pall-adapters -Dfile.encoding=UTF-8 -pl arquillian/arquillian-common,arquillian/arquillian-openejb-embedded,arquillian/arquillian-openejb-transaction-provider,arquillian/arquillian-tck,arquillian/arquillian-tomee-common,arquillian/arquillian-tomee-embedded,arquillian/arquillian-tomee-moviefun-example,arquillian/arquillian-tomee-remote,arquillian/arquillian-tomee-tests,arquillian/ziplock'
                 }
             }
             post {
diff --git a/rat.xml b/rat.xml
index e49a0eccca..cb4214849d 100644
--- a/rat.xml
+++ b/rat.xml
@@ -71,7 +71,6 @@
           <exclude name="arquillian/arquillian-tomee-remote/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension"/>
           <exclude name="arquillian/arquillian-tomee-tests/src/test/resources/org/apache/openejb/arquillian/tests/jaxrs/foo"/>
           <exclude name="arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/test.getresources"/>
-          <exclude name="arquillian/arquillian-tomee-webapp-remote/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension"/>
           <exclude name="arquillian/arquillian-openejb-embedded/src/main/resources/META-INF/services/cucumber.runtime.io.ResourceIteratorFactory" />
           <exclude name="arquillian/arquillian-openejb-embedded/src/main/resources/META-INF/services/org.apache.openejb.server.httpd.EmbeddedServletContext$ResourceProvider" />
           <exclude name="arquillian/arquillian-openejb-embedded/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension" />