You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2012/01/05 03:56:49 UTC

svn commit: r801756 - in /websites/staging/openejb/trunk/content: ./ examples-trunk/ examples-trunk/persistence-fragment/ examples-trunk/persistence-fragment/src/ examples-trunk/persistence-fragment/src/main/ examples-trunk/persistence-fragment/src/mai...

Author: buildbot
Date: Thu Jan  5 02:56:48 2012
New Revision: 801756

Log:
Staging update by buildbot

Added:
    websites/staging/openejb/trunk/content/buildbot.html
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/pom.xml
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/superbiz/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/superbiz/injection/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/superbiz/injection/jpa/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/resources/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/resources/META-INF/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/resources/META-INF/persistence-fragment.xml
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/superbiz/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/superbiz/injection/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/superbiz/injection/jpa/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/resources/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/resources/META-INF/
    websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/resources/META-INF/persistence.xml
    websites/staging/openejb/trunk/content/properties-listing.html
Modified:
    websites/staging/openejb/trunk/content/examples-trunk/pom.xml
    websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java
    websites/staging/openejb/trunk/content/examples-trunk/simple-cdi-interceptor/README.html
    websites/staging/openejb/trunk/content/support.html
    websites/staging/openejb/trunk/content/system-properties.html

Added: websites/staging/openejb/trunk/content/buildbot.html
==============================================================================
--- websites/staging/openejb/trunk/content/buildbot.html (added)
+++ websites/staging/openejb/trunk/content/buildbot.html Thu Jan  5 02:56:48 2012
@@ -0,0 +1,101 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title></title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href=".//index.html">Home</a></small><br>
+<h1></h1>
+</div>
+
+<h1>Testing</h1>
+
+<p>1.2.3..</p>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>

Added: websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/pom.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/pom.xml (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/pom.xml Thu Jan  5 02:56:48 2012
@@ -0,0 +1,92 @@
+<?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.
+-->
+
+<!-- $Rev: 1178411 $ $Date: 2011-10-03 15:35:26 +0200 (lun. 03 oct. 2011) $ -->
+
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.superbiz</groupId>
+  <artifactId>persistence-fragment</artifactId>
+  <packaging>jar</packaging>
+  <version>1.1-SNAPSHOT</version>
+  <name>OpenEJB :: Examples :: Persistence Fragment</name>
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <build>
+    <defaultGoal>install</defaultGoal>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <repositories>
+    <repository>
+      <id>apache-m2-snapshot</id>
+      <name>Apache Snapshot Repository</name>
+      <url>http://repository.apache.org/snapshots</url>
+    </repository>
+  </repositories>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>javaee-api</artifactId>
+      <version>6.0-3-SNAPSHOT</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <!--
+    The <scope>test</scope> guarantees that non of your runtime
+    code is dependent on any OpenEJB classes.
+    -->
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>openejb-core</artifactId>
+      <version>4.0.0-beta-2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <!--
+  This section allows you to configure where to publish libraries for sharing.
+  It is not required and may be deleted.  For more information see:
+  http://maven.apache.org/plugins/maven-deploy-plugin/
+  -->
+  <distributionManagement>
+    <repository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/repo/</url>
+    </repository>
+    <snapshotRepository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/snapshot-repo/</url>
+    </snapshotRepository>
+  </distributionManagement>
+</project>
\ No newline at end of file

Added: websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/java/org/superbiz/injection/jpa/Movie.java Thu Jan  5 02:56:48 2012
@@ -0,0 +1,67 @@
+/**
+ * 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.injection.jpa;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+
+@Entity
+public class Movie {
+    @Id @GeneratedValue private long id;
+    private String director;
+    private String title;
+    private int year;
+
+    public Movie() {
+        // no-op
+    }
+
+    public Movie(String director, String title, int year) {
+        this.director = director;
+        this.title = title;
+        this.year = year;
+    }
+
+    public long getId() {
+        return id;
+    }
+
+    public String getDirector() {
+        return director;
+    }
+
+    public void setDirector(String director) {
+        this.director = director;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    public int getYear() {
+        return year;
+    }
+
+    public void setYear(int year) {
+        this.year = year;
+    }
+}

Added: websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/resources/META-INF/persistence-fragment.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/resources/META-INF/persistence-fragment.xml (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/main/resources/META-INF/persistence-fragment.xml Thu Jan  5 02:56:48 2012
@@ -0,0 +1,24 @@
+<?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.
+-->
+<persistence-fragment version="2.0">
+  <persistence-unit-fragment name="movie-unit">
+    <class>org.superbiz.injection.jpa.Movie</class>
+    <exclude-unlisted-classes>true</exclude-unlisted-classes>
+  </persistence-unit-fragment>
+</persistence-fragment>

Added: websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/java/org/superbiz/injection/jpa/MoviesTest.java Thu Jan  5 02:56:48 2012
@@ -0,0 +1,49 @@
+/**
+ * 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.injection.jpa;
+
+import org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory;
+import org.junit.Test;
+
+import javax.ejb.embeddable.EJBContainer;
+import javax.naming.Context;
+import javax.persistence.EntityManagerFactory;
+import javax.persistence.PersistenceUnit;
+import java.util.Properties;
+
+import static org.junit.Assert.assertTrue;
+
+public class MoviesTest {
+    @PersistenceUnit
+    private EntityManagerFactory emf;
+
+    @Test
+    public void test() throws Exception {
+        final Properties p = new Properties();
+        p.put("movieDatabase", "new://Resource?type=DataSource");
+        p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
+        p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb");
+
+        final EJBContainer container = EJBContainer.createEJBContainer(p);
+        final Context context = container.getContext();
+        context.bind("inject", this);
+
+        assertTrue(((ReloadableEntityManagerFactory) emf).getManagedClasses().contains(Movie.class.getName()));
+
+        container.close();
+    }
+}

Added: websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/resources/META-INF/persistence.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/resources/META-INF/persistence.xml (added)
+++ websites/staging/openejb/trunk/content/examples-trunk/persistence-fragment/src/test/resources/META-INF/persistence.xml Thu Jan  5 02:56:48 2012
@@ -0,0 +1,31 @@
+<?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.
+-->
+<persistence version="2.0"
+             xmlns="http://java.sun.com/xml/ns/persistence"
+             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+                       http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
+  <persistence-unit name="movie-unit">
+    <jta-data-source>movieDatabase</jta-data-source>
+    <non-jta-data-source>movieDatabaseUnmanaged</non-jta-data-source>
+    <properties>
+      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
+    </properties>
+  </persistence-unit>
+</persistence>

Modified: websites/staging/openejb/trunk/content/examples-trunk/pom.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/pom.xml (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/pom.xml Thu Jan  5 02:56:48 2012
@@ -16,8 +16,8 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-
-<!-- $Rev: 1222309 $ $Date: 2011-12-22 16:10:10 +0000 (Thu, 22 Dec 2011) $ -->
+<!--test 2-->
+<!-- $Rev: 1227447 $ $Date: 2012-01-05 02:28:55 +0000 (Thu, 05 Jan 2012) $ -->
 
 <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/maven-v4_0_0.xsd">
   <parent>
@@ -65,6 +65,7 @@
     <module>mbean-auto-registration</module>
     <module>movies-complete-meta</module>
     <module>movies-complete</module>
+    <module>persistence-fragment</module>
     <module>quartz-app</module>
     <module>reload-persistence-unit-properties</module>
     <module>rest-on-ejb</module>

Modified: websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java Thu Jan  5 02:56:48 2012
@@ -106,19 +106,20 @@ public class UserServiceTest {
                 .path("/user/list")
                 .get(String.class);
         assertEquals(
-                "<users>" +
-                        "<user>" +
-                        "<email>foo@foo.com</email>" +
-                        "<fullname>foo</fullname>" +
-                        "<id>1</id>" +
-                        "<password>foopwd</password>" +
-                        "</user>" +
-                        "<user>" +
-                        "<email>bar@bar.com</email>" +
-                        "<fullname>bar</fullname>" +
-                        "<id>2</id>" +
-                        "<password>barpwd</password>" +
-                        "</user>" +
+                "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
+                        "<users>" +
+                            "<user>" +
+                                "<email>foo@foo.com</email>" +
+                                "<fullname>foo</fullname>" +
+                                "<id>1</id>" +
+                                "<password>foopwd</password>" +
+                            "</user>" +
+                            "<user>" +
+                                "<email>bar@bar.com</email>" +
+                                "<fullname>bar</fullname>" +
+                                "<id>2</id>" +
+                                "<password>barpwd</password>" +
+                            "</user>" +
                         "</users>", users);
     }
 

Modified: websites/staging/openejb/trunk/content/examples-trunk/simple-cdi-interceptor/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-cdi-interceptor/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-cdi-interceptor/README.html Thu Jan  5 02:56:48 2012
@@ -147,7 +147,12 @@ public class BookForAShowOneInterceptorA
 
 <p>Lets quickly put up a [beans.xml file]</p>
 
-<pre><code>&amp;lt;beans&amp;gt;&lt;br/&gt;  &amp;lt;interceptors&amp;gt;&lt;br/&gt;    &amp;lt;class&amp;gt;org.superbiz.cdi.bookshow.interceptors.LoggingInterceptor&lt;br/&gt;    &amp;lt;/class&amp;gt;&lt;br/&gt;  &amp;lt;/interceptors&amp;gt;&lt;br/&gt;&amp;lt;/beans&amp;gt;
+<pre><code>&lt;beans&gt;
+  &lt;interceptors&gt;
+    &lt;class&gt;org.superbiz.cdi.bookshow.interceptors.LoggingInterceptor
+    &lt;/class&gt;
+  &lt;/interceptors&gt;
+&lt;/beans&gt;
 </code></pre>
 
 <p>in META-INF</p>

Added: websites/staging/openejb/trunk/content/properties-listing.html
==============================================================================
--- websites/staging/openejb/trunk/content/properties-listing.html (added)
+++ websites/staging/openejb/trunk/content/properties-listing.html Thu Jan  5 02:56:48 2012
@@ -0,0 +1,174 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>System Properties Listing</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href=".//index.html">Home</a></small><br>
+<h1>System Properties Listing</h1>
+</div>
+
+<h1>OpenEJB system properties</h1>
+
+<pre><code>|Name | Value | Description|
+----------------------------
+|openejb.embedded.remotable| bool | actiavte or not the remote services when available |
+|&lt;service prefix&gt;.bind, &lt;service prefix&gt;.port, &lt;service prefix&gt;.disabled, &lt;service prefix&gt;.threads| host or IP, port, bool| override the host. Available for ejbd and httpejbd services (used by jaxws and jaxrs), number of thread to maneg requests  | -
+|openejb.embedded.initialcontext.close | LOGOUT or DESTROY | configure the hook called when closing the initial context. Useful when starting OpenEJB from a new InitialContext([properties]) instantiation. By default it simply logs out the logged user if it exists. DESTROY means clean the container.|
+|javax.persistence.provider | string | override the JPA provider value|
+|javax.persistence.transactionType | string | override the transaction type for persistence contexts|
+|javax.persistence.jtaDataSource | string | override the JTA datasource value for persistence contexts|
+|javax.persistence.nonJtaDataSource | string | override the non JTA datasource value for persistence contexts|
+|openejb.descriptors.output | dump memory deployment descriptors. Can be used to set complete metadata to true and avoid scanning when starting the container or to check the used configuration.|
+|openejb.deployments.classpath.require.descriptor | CLIENT or EJB | can allow to filter what you want to scan (client modules or ejb modules)|
+|openejb.descriptors.output.folder | path | where to dump deployement descriptors if activated. |
+|openejb.strict.interface.declaration | bool | add some validations on session beans (spec validations in particular). false by default.|
+|openejb.conf.file or openejb.configuration | string | OpenEJB configuration file path|
+|openejb.debuggable-vm-hackery | bool | remove JMS informations from deployment|
+|openejb.validation.skip | bool | skip the validations done when OpenEJB deploys beans|
+|openejb.deployments.classpath.ear | bool | deploy the classpath as an ear|
+|openejb.webservices.enabled | bool | activate or not webservices|
+|openejb.validation.output.level | TERSE or MEDIUM or VERBOSE | level of the logs used to report validation errors|
+|openejb.user.mbeans.list | * or a list of classes separated by , | list of mbeans to deploy automatically|
+|openejb.deploymentId.format | composition (+string) of {ejbName} {ejbType} {ejbClass} and {ejbClass.simpleName}  | default {ejbName}. The format to use to deploy ejbs.|
+|openejb.deployments.classpath | bool | whether or not deploy from classpath|
+|openejb.deployments.classpath.include and openejb.deployments.classpath.exclude | regex | regex to filter the scanned classpath (when you are in this case)|
+|openejb.deployments.package.include and openejb.deployments.package.exclude | regex | regex to filter scanned packages|
+|openejb.autocreate.jta-datasource-from-non-jta-one | bool | whether or not auto create the jta datasource if it doesn't exist but a non jta datasource exists. Useful when using hibernate to be able to get a real non jta datasource.|
+|openejb.read-all.persistence.xml | bool | allow to scan persistence.xml in lib of the deployed webapp|
+|openejb.altdd.prefix | string | prefix use for altDD (example test to use a test.ejb-jar.xml).|
+|org.apache.openejb.default.system.interceptors | list of interceptor (qualified names) separated by a comma or a space | add these interceptor on all beans|
+|openejb.jndiname.strategy.class | class name | an implementation of org.apache.openejb.assembler.classic.JndiBuilder.JndiNameStrategy|
+|openejb.jndiname.failoncollision | bool | if a NameAlreadyBoundException is thrown or not when 2 EJBs have the same name|
+|openejb.jndiname.format | composition (+string) of these properties: ejbType, ejbClass, ejbClass.simpleName, ejbClass.packageName, ejbName, deploymentId, interfaceType, interfaceType.annotationName, interfaceType.annotationNameLC, interfaceType.xmlName, interfaceType.xmlNameCc, interfaceType.openejbLegacyName, interfaceClass, interfaceClass.simpleName, interfaceClass.packageName | default {deploymentId}{interfaceType.annotationName}. Change the name used for the ejb.|
+|openejb.org.quartz.threadPool.class | class qualified name which implements org.quartz.spi.ThreadPool | the thread pool used by quartz (used to manage ejb timers)|
+|openejb.localcopy | bool | default true. whether or not copy EJB arguments[/method/interface] for remote invocations.|
+|openejb.cxf.jax-rs.providers | the list of the qualified name of the JAX-RS providers separated by comma or space. Note: to specify a provider for a specific service suffix its class qualified name by ".providers", the value follow the same rules. Note 2: default is a shortcut for jaxb and json providers.|
+|openejb.wsAddress.format | composition (+string) of {ejbJarId}, ejbDeploymentId, ejbType, ejbClass, ejbClass.simpleName, ejbName, portComponentName, wsdlPort, wsdlService | default /{ejbDeploymentId}. The WS name format.|
+|org.apache.openejb.server.webservices.saaj.provider | axis2, sun or null | specified the saaj configuration|
+|[&lt;uppercase service name&gt;.]&lt;service id&gt;.&lt;name&gt; or [&lt;uppercase service name&gt;.]&lt;service id&gt;|&lt;name&gt; | whatever is supported (generally string, int ...) | set this value to the corresponding service. example: [EnterpriseBean.]&lt;ejb-name&gt;.activation.&lt;property&gt;, [PERSISTENCEUNIT.]&lt;persistence unit name&gt;.&lt;property&gt;, [RESOURCE.]&lt;name&gt;|&lt;property&gt; ...|
+| log4j.category.OpenEJB.options | DEBUG, INFO, ... | active one OpenEJB log level
+| openejb.jmx.active | bool | activate (by default) or not the OpenEJB JMX MBeans |
+| openejb.logger.external | bool | use another log configuration(log4j for instance) |
+| openejb.nobanner | bool | activate or not the OpenEJB banner (activated by default)
+
+Note: all resources can be configured by properties, see http://openejb.apache.org/embedded-configuration.html and http://openejb.apache.org/properties-tool.html|
+
+
+# OpenEJB client
+|Name | Value | Description|
+----------------------------
+|openejb.client.identityResolver | implementation of org.apache.openejb.client.IdentityResolver  | default org.apache.openejb.client.JaasIdentityResolver. The class to get the client identity.|
+|openejb.client.connection.pool.timeout or openejb.client.connectionpool.timeout | int (ms) | the timeout of the client|
+|openejb.client.connection.pool.size or openejb.client.connectionpool.size | int | size of the socket pool|
+|openejb.client.keepalive | int (ms) | the keepalive duration|
+
+# TomEE specific system properties
+|Name | Value | Description|
+----------------------------
+|openejb.crosscontext | bool | set the cross context property on tomcat context (can be done in the traditionnal way if the deployment is don through the webapp discovery and not the OpenEJB Deployer EJB)|
+|openejb.jsessionid-support | bool | remove URL from session tracking modes for this context (see javax.servlet.SessionTrackingMode)|
+|openejb.myfaces.disable-default-values | bool | by default TomEE will initialize myfaces with some its default values to avoid useless logging|
+|openejb.web.xml.major | int | major version of web.xml. Can be useful to force tomcat to scan servlet 3 annotatino when deploying with a servlet 2.x web.xml|
+|tomee.jaxws.subcontext | string | sub context used to bind jaxws web services, default is
+</code></pre>
+
+<p>webservices|
+    |tomee.jaxws.oldsubcontext| bool | wether or not activate old way to bind jaxws webservices directly
+on root context|</p>
+
+<pre><code># TomEE Arquillian adaptor
+|Name | Value | Description|
+----------------------------
+|tomee.ejbcontainer.http.port | int | tomee port, -1 means random. When using a random port you can retreive it getting this property too.|
+|tomee.arquillian.http | int | http port used by the embedded arquillian adaptor|
+|tomee.arquillian.stop | int | shutdown port used by the embedded arquillian adaptor|
+</code></pre>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>

Modified: websites/staging/openejb/trunk/content/support.html
==============================================================================
--- websites/staging/openejb/trunk/content/support.html (original)
+++ websites/staging/openejb/trunk/content/support.html Thu Jan  5 02:56:48 2012
@@ -108,6 +108,22 @@
 <li><a href="http://webchat.freenode.net/?channels=openejb">IRC</a></li>
 </ul>
 
+<p>Contributing doesn't always mean code.  If you love the project and want to see it grow, follow it on Facebook and Twitter.</p>
+
+<ul>
+<li><a href="http://twitter.com/ApacheTomEE">http://twitter.com/ApacheTomEE</a></li>
+<li><a href="http://facebook.com/ApacheTomEE">http://facebook.com/ApacheTomEE</a></li>
+</ul>
+
+<p>The more people we reach the more the project grows.</p>
+
+<ul>
+<li>Become an active retweeter</li>
+<li>Share Facebook posts</li>
+</ul>
+
+<p>Doing these two small things as often as possible are simple and powerful ways to help.  Do your part and watch the project grow grow grow!</p>
+
 <h2>Committers</h2>
 
 <p><TABLE><TBODY>

Modified: websites/staging/openejb/trunk/content/system-properties.html
==============================================================================
--- websites/staging/openejb/trunk/content/system-properties.html (original)
+++ websites/staging/openejb/trunk/content/system-properties.html Thu Jan  5 02:56:48 2012
@@ -72,48 +72,16 @@
 <h1>System Properties</h1>
 </div>
 
-<p><a name="SystemProperties-Generalproperties"></a></p>
-
-<h1>General properties<div class="info">:title=Update this section}</h1>
-
-<p>Update this section and add more documentation and examples of the usage of
-each property. Group similar properties<div class="info">}
-openejb.authentication.realmName
-openejb.base
-openejb.configuration
-openejb.deploymentId.format
-openejb.deployments.classpath
-openejb.deployments.classpath.ear
-openejb.deployments.classpath.exclude</p>
-
-<p>openejb.deployments.classpath.filter.descriptors
-openejb.deployments.classpath.filter.systemapps
-openejb.deployments.classpath.include</p>
-
-<p>openejb.deployments.classpath.require.descriptor
-openejb.deployments.classpath.ear
-openejb.descriptors.output
-openejb.embedded.remotable
-openejb.home
-openejb.jndiname.failoncollision
-openejb.jndiname.format
-openejb.jndiname.strategy.class
-openejb.localcopy
-openejb.log.factory
-openejb.nobanner
-openejb.provider.default
-openejb.validation.output.level
-openejb.validation.skip
-openejb.version</p>
+<h1>General properties</h1>
 
 <p><a name="SystemProperties-Overridingopenejb.xml"></a></p>
 
 <h1>Overriding openejb.xml</h1>
 
 <p>Anything in the openejb.xml file can be overridden via system properties of
-the format: 
-<div class="panel">}
-  -D<id>.<property-name>=<property-value><div class="panel">}</p>
+the format: </p>
+
+<p><code>-D&lt;id&gt;.&lt;property-name&gt;=&lt;property-value&gt;</code></p>
 
 <p>..where id is the value in the config file for example: </p>
 
@@ -152,9 +120,9 @@ fashion as things in the openejb.xml fil
 </code></pre>
 
 <p>Each of those has the same standard xinet.d-like properties which can also
-be configured as such:
-<div class="panel">}
-  -D<id>.<property-name>=<property-value><div class="panel">}</p>
+be configured as such:</p>
+
+<p><code>-D&lt;id&gt;.&lt;property-name&gt;=&lt;property-value&gt;</code></p>
 
 <p>... where 'id' is the name of the server service and 'property-name' is one
 of the following: bind, port, threads, disabled, only_from.</p>
@@ -162,9 +130,8 @@ of the following: bind, port, threads, d
 <p>So to set the address and port the ejbd service will bind to, simply
 specify this on the command line:</p>
 
-<blockquote>
-  <p>./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988</p>
-</blockquote>
+<pre><code>./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988
+</code></pre>