You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2014/08/06 21:48:37 UTC

svn commit: r1616328 - in /tomee/tomee/trunk/examples/polling-parent: polling-web/pom.xml polling-web/src/test/resources/arquillian.xml pom.xml

Author: rmannibucau
Date: Wed Aug  6 19:48:36 2014
New Revision: 1616328

URL: http://svn.apache.org/r1616328
Log:
fixing polling sample

Modified:
    tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml
    tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml
    tomee/tomee/trunk/examples/polling-parent/pom.xml

Modified: tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml?rev=1616328&r1=1616327&r2=1616328&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml Wed Aug  6 19:48:36 2014
@@ -90,6 +90,14 @@
           <target>1.7</target>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.17</version>
+        <configuration> <!-- arquillian tomee embedded and can openejb conflicts since first one is suite scoped -->
+          <reuseForks>false</reuseForks>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>

Modified: tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml?rev=1616328&r1=1616327&r2=1616328&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml Wed Aug  6 19:48:36 2014
@@ -16,9 +16,9 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<arquillian
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    >
+<arquillian xmlns="http://jboss.org/schema/arquillian"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
   <container qualifier="tomee" default="true">
     <configuration> <!-- random ports -->
       <property name="httpPort">-1</property>

Modified: tomee/tomee/trunk/examples/polling-parent/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/pom.xml?rev=1616328&r1=1616327&r2=1616328&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/pom.xml (original)
+++ tomee/tomee/trunk/examples/polling-parent/pom.xml Wed Aug  6 19:48:36 2014
@@ -162,7 +162,7 @@
   </dependencyManagement>
 
   <properties>
-    <xbean.version>3.17</xbean.version>
+    <xbean.version>3.19-SNAPSHOT</xbean.version>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <version.tomee>2.0.0-SNAPSHOT</version.tomee>
     <version.openejb>5.0.0-SNAPSHOT</version.openejb>



Fwd: svn commit: r1616328 - in /tomee/tomee/trunk/examples/polling-parent: polling-web/pom.xml polling-web/src/test/resources/arquillian.xml pom.xml

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi guys,

just a quick note cause we did it several times (not blaming anyone
did it too :p): we *can't* use openejb AND arquillian-tomee-embedded
in the same test suite without forking (which should be avoided at
least in samples) cause arquillian is test*s* scoped (ie starts the
container once by JVM) so then OpenEJB is initialized and openejb
embedded is quite broken.

Fixing it means allowing 2 SystemInstance/OpenEJB in the same JVMs so
maybe something for TomEE 5 ;)


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



---------- Forwarded message ----------
From:  <rm...@apache.org>
Date: 2014-08-06 21:48 GMT+02:00
Subject: svn commit: r1616328 - in
/tomee/tomee/trunk/examples/polling-parent: polling-web/pom.xml
polling-web/src/test/resources/arquillian.xml pom.xml
To: commits@tomee.apache.org


Author: rmannibucau
Date: Wed Aug  6 19:48:36 2014
New Revision: 1616328

URL: http://svn.apache.org/r1616328
Log:
fixing polling sample

Modified:
    tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml
    tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml
    tomee/tomee/trunk/examples/polling-parent/pom.xml

Modified: tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml?rev=1616328&r1=1616327&r2=1616328&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml (original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-web/pom.xml Wed
Aug  6 19:48:36 2014
@@ -90,6 +90,14 @@
           <target>1.7</target>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.17</version>
+        <configuration> <!-- arquillian tomee embedded and can
openejb conflicts since first one is suite scoped -->
+          <reuseForks>false</reuseForks>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>

Modified: tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml?rev=1616328&r1=1616327&r2=1616328&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml
(original)
+++ tomee/tomee/trunk/examples/polling-parent/polling-web/src/test/resources/arquillian.xml
Wed Aug  6 19:48:36 2014
@@ -16,9 +16,9 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<arquillian
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    >
+<arquillian xmlns="http://jboss.org/schema/arquillian"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
   <container qualifier="tomee" default="true">
     <configuration> <!-- random ports -->
       <property name="httpPort">-1</property>

Modified: tomee/tomee/trunk/examples/polling-parent/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/polling-parent/pom.xml?rev=1616328&r1=1616327&r2=1616328&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/polling-parent/pom.xml (original)
+++ tomee/tomee/trunk/examples/polling-parent/pom.xml Wed Aug  6 19:48:36 2014
@@ -162,7 +162,7 @@
   </dependencyManagement>

   <properties>
-    <xbean.version>3.17</xbean.version>
+    <xbean.version>3.19-SNAPSHOT</xbean.version>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <version.tomee>2.0.0-SNAPSHOT</version.tomee>
     <version.openejb>5.0.0-SNAPSHOT</version.openejb>