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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3b6c5aa  TOMEE-2649 yank polling-mdb module
3b6c5aa is described below

commit 3b6c5aa62608c49cd38fe7afa9667b2d83edf49b
Author: Jean-Louis Monteiro <[email protected]>
AuthorDate: Fri Aug 23 11:11:03 2019 +0200

    TOMEE-2649 yank polling-mdb module
---
 examples/polling-parent/polling-mdb/pom.xml        | 105 -------------------
 .../src/main/java/org/superbiz/mdb/Api.java        |  25 -----
 .../src/main/java/org/superbiz/mdb/ApiLog.java     |  64 ------------
 .../main/java/org/superbiz/mdb/CounterBean.java    |  44 --------
 .../src/main/java/org/superbiz/mdb/LogMdb.java     |  47 ---------
 .../src/main/resources/META-INF/beans.xml          |  20 ----
 .../src/main/resources/META-INF/ejb-jar.xml        |  38 -------
 .../polling-mdb/src/test/conf/tomee.xml            |  30 ------
 .../src/test/java/org/superbiz/SimpleMdbTest.java  | 116 ---------------------
 .../polling-mdb/src/test/resources/arquillian.xml  |  35 -------
 examples/polling-parent/pom.xml                    |   1 -
 examples/pom.xml                                   |   4 -
 12 files changed, 529 deletions(-)

diff --git a/examples/polling-parent/polling-mdb/pom.xml 
b/examples/polling-parent/polling-mdb/pom.xml
deleted file mode 100644
index f65c7e0..0000000
--- a/examples/polling-parent/polling-mdb/pom.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    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>polling-parent</artifactId>
-    <groupId>jug</groupId>
-    <version>8.0.0-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>polling-mdb</artifactId>
-  <name>TomEE :: Examples :: Polling :: MDB</name>
-  <packaging>war</packaging>
-
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomee</groupId>
-      <artifactId>openejb-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomee</groupId>
-      <artifactId>openejb-cxf-rs</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomee</groupId>
-      <artifactId>arquillian-tomee-remote</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.arquillian.junit</groupId>
-      <artifactId>arquillian-junit-container</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomee</groupId>
-      <artifactId>tomee-webservices</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomee</groupId>
-      <artifactId>ziplock</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>polling-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-war-plugin</artifactId>
-        <version>3.1.0</version>
-        <configuration>
-          <failOnMissingWebXml>false</failOnMissingWebXml>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.tomee.maven</groupId>
-        <artifactId>tomee-maven-plugin</artifactId>
-        <version>${tomee.version}</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.5.1</version>
-        <configuration>
-          <source>1.7</source>
-          <target>1.7</target>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.18.1</version>
-        <configuration> <!-- arquillian tomee embedded and openejb can 
conflict, since first one is suite scoped -->
-          <reuseForks>false</reuseForks>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/Api.java 
b/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/Api.java
deleted file mode 100644
index 4afa709..0000000
--- 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/Api.java
+++ /dev/null
@@ -1,25 +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.superbiz.mdb;
-
-import javax.ws.rs.ApplicationPath;
-
-@ApplicationPath("/api")
-public class Api {
-
-}
diff --git 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/ApiLog.java
 
b/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/ApiLog.java
deleted file mode 100644
index 9c3c101..0000000
--- 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/ApiLog.java
+++ /dev/null
@@ -1,64 +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.superbiz.mdb;
-
-import javax.annotation.Resource;
-import javax.ejb.EJB;
-import javax.jms.Connection;
-import javax.jms.ConnectionFactory;
-import javax.jms.JMSException;
-import javax.jms.Message;
-import javax.jms.MessageProducer;
-import javax.jms.Queue;
-import javax.jms.Session;
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.Response;
-import java.util.List;
-
-@Path("/log")
-public class ApiLog {
-
-    @Resource
-    private ConnectionFactory connectionFactory;
-
-    @Resource(name = "LoggingBean")
-    private Queue vector;
-
-    @EJB
-    private CounterBean logs;
-
-    @GET
-    @Path("/{txt}")
-    public Response get(@PathParam("txt") String txt) throws JMSException {
-        try (final Connection connection = 
connectionFactory.createConnection()) {
-            connection.start();
-            try (final Session session = connection.createSession(false, 
Session.AUTO_ACKNOWLEDGE)) {
-                try (final MessageProducer producer = 
session.createProducer(vector)) {
-                    final Message msg = session.createMessage();
-                    msg.setStringProperty("txt", txt);
-                    producer.send(msg);
-                }
-            }
-        }
-        return Response.ok().build();
-    }
-
-}
diff --git 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/CounterBean.java
 
b/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/CounterBean.java
deleted file mode 100644
index f512d76..0000000
--- 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/CounterBean.java
+++ /dev/null
@@ -1,44 +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.superbiz.mdb;
-
-import javax.ejb.Singleton;
-import javax.ejb.Startup;
-import java.util.Map;
-import java.util.TreeMap;
-import java.util.concurrent.atomic.AtomicInteger;
-
-@Singleton
-@Startup
-public class CounterBean {
-    private Map<Integer, AtomicInteger> logs = new TreeMap<>();
-
-    public void add(Integer beanId) {
-        if(!this.logs.containsKey(beanId)) {
-            this.logs.put(beanId, new AtomicInteger(0));
-        }
-        this.logs.get(beanId).incrementAndGet();
-    }
-
-    public Map<Integer, AtomicInteger> getUsage() {
-        Map<Integer, AtomicInteger> copy = new TreeMap<>();
-        copy.putAll(this.logs);
-        return copy;
-    }
-}
-
diff --git 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/LogMdb.java
 
b/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/LogMdb.java
deleted file mode 100644
index 38ac542..0000000
--- 
a/examples/polling-parent/polling-mdb/src/main/java/org/superbiz/mdb/LogMdb.java
+++ /dev/null
@@ -1,47 +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.superbiz.mdb;
-
-import javax.ejb.EJB;
-import javax.ejb.MessageDriven;
-import javax.jms.Message;
-import javax.jms.MessageListener;
-import java.util.concurrent.atomic.AtomicInteger;
-
-@MessageDriven(activationConfig = {
-        @javax.ejb.ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Queue"),
-        @javax.ejb.ActivationConfigProperty(propertyName = "destination", 
propertyValue = "LogMDB")
-})
-public class LogMdb implements MessageListener {
-    private static final AtomicInteger ID_MANAGER = new AtomicInteger(0);
-    private int id = ID_MANAGER.incrementAndGet();
-
-    @EJB
-    private CounterBean logs;
-
-    public void onMessage(Message message) {
-        logs.add(this.id);
-        try {
-            Thread.sleep(500);
-        } catch (InterruptedException e) {
-            throw new IllegalStateException(e);
-        }
-    }
-
-}
-
diff --git 
a/examples/polling-parent/polling-mdb/src/main/resources/META-INF/beans.xml 
b/examples/polling-parent/polling-mdb/src/main/resources/META-INF/beans.xml
deleted file mode 100644
index d93dcba..0000000
--- a/examples/polling-parent/polling-mdb/src/main/resources/META-INF/beans.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  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.
--->
-<beans/>
diff --git 
a/examples/polling-parent/polling-mdb/src/main/resources/META-INF/ejb-jar.xml 
b/examples/polling-parent/polling-mdb/src/main/resources/META-INF/ejb-jar.xml
deleted file mode 100644
index 5d7f679..0000000
--- 
a/examples/polling-parent/polling-mdb/src/main/resources/META-INF/ejb-jar.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    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.
--->
-
-<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"; metadata-complete="false">
-    <enterprise-beans>
-        <message-driven>
-            <ejb-name>LogBean</ejb-name>
-            <ejb-class>org.superbiz.mdb.LogMdb</ejb-class>
-            <messaging-type>javax.jms.MessageListener</messaging-type>
-            <activation-config>
-                <activation-config-property>
-                    
<activation-config-property-name>destination</activation-config-property-name>
-                    
<activation-config-property-value>LoggingBean</activation-config-property-value>
-                </activation-config-property>
-                <activation-config-property>
-                    
<activation-config-property-name>destinationType</activation-config-property-name>
-                    
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-                </activation-config-property>
-            </activation-config>
-        </message-driven>
-    </enterprise-beans>
-</ejb-jar>
diff --git a/examples/polling-parent/polling-mdb/src/test/conf/tomee.xml 
b/examples/polling-parent/polling-mdb/src/test/conf/tomee.xml
deleted file mode 100644
index 311426f..0000000
--- a/examples/polling-parent/polling-mdb/src/test/conf/tomee.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    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.
--->
-<tomee>
-    <Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
-        DataSource =
-        BrokerXmlConfig = broker:(vm://localhost)
-    </Resource>
-
-    <Container id="PoolingContainer" type="MESSAGE">
-        ResourceAdapter = MyJmsResourceAdapter
-        pool = true
-    </Container>
-</tomee>
diff --git 
a/examples/polling-parent/polling-mdb/src/test/java/org/superbiz/SimpleMdbTest.java
 
b/examples/polling-parent/polling-mdb/src/test/java/org/superbiz/SimpleMdbTest.java
deleted file mode 100644
index d70b8d8..0000000
--- 
a/examples/polling-parent/polling-mdb/src/test/java/org/superbiz/SimpleMdbTest.java
+++ /dev/null
@@ -1,116 +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.superbiz;
-
-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.ShrinkWrap;
-import org.jboss.shrinkwrap.api.asset.ClassLoaderAsset;
-import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.superbiz.mdb.Api;
-import org.superbiz.mdb.ApiLog;
-import org.superbiz.mdb.CounterBean;
-import org.superbiz.mdb.LogMdb;
-
-import javax.ejb.EJB;
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.net.HttpURLConnection;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.util.Map;
-import java.util.TreeMap;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import java.util.concurrent.TimeUnit;
-import java.util.concurrent.atomic.AtomicInteger;
-
-@RunWith(Arquillian.class)
-public class SimpleMdbTest {
-
-    @Deployment
-    public static WebArchive createDeployment() {
-        return ShrinkWrap.create(WebArchive.class)
-                .addClasses(Api.class, ApiLog.class, LogMdb.class, 
CounterBean.class)
-                .addAsResource(new ClassLoaderAsset("META-INF/beans.xml"), 
"META-INF/beans.xml")
-                .addAsResource(new ClassLoaderAsset("META-INF/ejb-jar.xml"), 
"META-INF/ejb-jar.xml");
-    }
-
-    @ArquillianResource
-    private URL deploymentUrl;
-
-    @EJB
-    private CounterBean logs;
-
-    @Test
-    public void testDataSourceOne() throws Exception {
-        ExecutorService executor = Executors.newFixedThreadPool(4);
-        for (int i = 0; i < 200; i++) {
-            executor.submit(new CallGet(this.deploymentUrl, i));
-        }
-        executor.shutdown();
-        Assert.assertTrue("Unable to execute all the GET calls", 
executor.awaitTermination(10, TimeUnit.SECONDS));
-        Map<Integer, AtomicInteger> expected = new TreeMap<>();
-        expected.put(1, new AtomicInteger(20));
-        expected.put(2, new AtomicInteger(20));
-        expected.put(3, new AtomicInteger(20));
-        expected.put(4, new AtomicInteger(20));
-        expected.put(5, new AtomicInteger(20));
-        expected.put(6, new AtomicInteger(20));
-        expected.put(7, new AtomicInteger(20));
-        expected.put(8, new AtomicInteger(20));
-        expected.put(9, new AtomicInteger(20));
-        expected.put(10, new AtomicInteger(20));
-        for(int i = 0; i < 10; i++) {
-            if (expected.toString().equals(logs.getUsage().toString())) {
-                break;
-            }
-            Thread.sleep(1000);
-        }
-        Assert.assertEquals(expected.toString(), logs.getUsage().toString());
-    }
-
-    private class CallGet implements Runnable {
-        private final URL url;
-        private final int index;
-
-        private CallGet(URL url, int index) {
-            this.url = url;
-            this.index = index;
-        }
-
-        @Override
-        public void run() {
-            try {
-                HttpURLConnection conn = (HttpURLConnection) 
url.toURI().resolve("log/lala_" + index).toURL().openConnection();
-                conn.setRequestMethod("GET");
-                try (BufferedReader rd = new BufferedReader(new 
InputStreamReader(conn.getInputStream()))) {
-                    while (rd.readLine() != null) {
-                        // ignore
-                    }
-                }
-            } catch (IOException | URISyntaxException e) {
-                // ignore
-            }
-        }
-    }
-}
diff --git 
a/examples/polling-parent/polling-mdb/src/test/resources/arquillian.xml 
b/examples/polling-parent/polling-mdb/src/test/resources/arquillian.xml
deleted file mode 100644
index 6c5236f..0000000
--- a/examples/polling-parent/polling-mdb/src/test/resources/arquillian.xml
+++ /dev/null
@@ -1,35 +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";
-    >
-
-  <container qualifier="tomee" default="true">
-    <configuration>
-      <property name="conf">src/test/conf/</property>
-      <property name="httpPort">-1</property>
-      <property name="stopPort">-1</property>
-      <property name="ajpPort">-1</property>
-      <property name="simpleLog">false</property>
-      <property name="dir">target/apache-tomee-remote</property>
-      <property 
name="appWorkingDir">target/arquillian-test-working-dir</property>
-      <property name="classifier">plus</property>
-    </configuration>
-  </container>
-</arquillian>
diff --git a/examples/polling-parent/pom.xml b/examples/polling-parent/pom.xml
index 674ed05..2929694 100644
--- a/examples/polling-parent/pom.xml
+++ b/examples/polling-parent/pom.xml
@@ -73,7 +73,6 @@
     <module>polling-core</module>
     <module>polling-web</module>
     <module>polling-client</module>
-    <module>polling-mdb</module>
   </modules>
 
   <dependencyManagement>
diff --git a/examples/pom.xml b/examples/pom.xml
index 54532f1..08c1511 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -134,11 +134,7 @@
     <module>myfaces-codi-demo</module>
     <module>persistence-fragment</module>
     <module>pojo-webservice</module>
-
-    <!-- Consider removing this example. Does not bring much value and the mdb 
module teaches wrong things
     <module>polling-parent</module>
-    -->
-
     <module>projectstage-demo</module>
     <module>quartz-app</module>
     <module>realm-in-tomee</module>

Reply via email to