You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2018/12/09 02:55:03 UTC

svn commit: r1848496 [3/16] - in /tomee/site/trunk/content: community/ latest/docs/ latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/client/ latest/docs/advanced/jms/ latest/docs/advanced/setup/ latest/docs/advanced/shad...

Modified: tomee/site/trunk/content/latest/docs/clients.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/clients.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/clients.html (original)
+++ tomee/site/trunk/content/latest/docs/clients.html Sun Dec  9 02:54:59 2018
@@ -95,28 +95,33 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="sect2">
-<h3 id="_local_client_embedded_container">Local Client (embedded container)</h3>
-<div class="literalblock">
+                <div class="sect1">
+<h2 id="_local_client_embedded_container">Local Client (embedded container)</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put("java.naming.factory.initial", "org.apache.openejb.client.LocalInitialContextFactory");
 
 InitialContext ctx = new InitialContext(p);
 
-MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</pre>
+MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</code></pre>
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_local_client_non_default_realm_name">Local Client (non-default realm name)</h3>
+</div>
+<div class="sect1">
+<h2 id="_local_client_non_default_realm_name">Local Client (non-default realm name)</h2>
+<div class="sectionbody">
 
 </div>
-<div class="sect2">
-<h3 id="_login_configuration_file_conf_login_config">Login configuration file (conf/login.config)</h3>
-<div class="literalblock">
+</div>
+<div class="sect1">
+<h2 id="_login_configuration_file_conf_login_config">Login configuration file (conf/login.config)</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>PropertiesLogin {
+<pre class="highlight"><code class="language-java" data-lang="java">PropertiesLogin {
     org.apache.openejb.core.security.jaas.PropertiesLoginModule required
     Debug=true
     UsersFile="users.properties"
@@ -127,29 +132,33 @@ MyApp {
     dataSourceName="MyDataSource"
     userSelect="SELECT username, password FROM users WHERE username=?"
     groupSelect="SELECT username, grp FROM users WHERE username=?";
-};</pre>
+};</code></pre>
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_code">Code</h3>
-<div class="literalblock">
+</div>
+<div class="sect1">
+<h2 id="_code">Code</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put("java.naming.factory.initial", "org.apache.openejb.client.LocalInitialContextFactory");
 p.put("openejb.authentication.realmName", "MyApp");
 
 InitialContext ctx = new InitialContext(p);
 
-MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</pre>
+MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</code></pre>
+</div>
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_remote_client_openejb_standalone">Remote Client (openejb standalone)</h3>
-<div class="literalblock">
+<div class="sect1">
+<h2 id="_remote_client_openejb_standalone">Remote Client (openejb standalone)</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
 p.put("java.naming.provider.url", "ejbd://localhost:4201");
 // user and pass optional
@@ -158,15 +167,17 @@ p.put("java.naming.security.credentials"
 
 InitialContext ctx = new InitialContext(p);
 
-MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</pre>
+MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</code></pre>
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_remote_client_with_http_openejb_standalone">Remote Client with HTTP (openejb standalone)</h3>
-<div class="literalblock">
+</div>
+<div class="sect1">
+<h2 id="_remote_client_with_http_openejb_standalone">Remote Client with HTTP (openejb standalone)</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
 p.put("java.naming.provider.url", "http://localhost:4204/ejb");
 // user and pass optional
@@ -175,15 +186,17 @@ p.put("java.naming.security.credentials"
 
 InitialContext ctx = new InitialContext(p);
 
-MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</pre>
+MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</code></pre>
+</div>
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_remote_client_with_http_in_tomee">Remote Client with HTTP (in TomEE)</h3>
-<div class="literalblock">
+<div class="sect1">
+<h2 id="_remote_client_with_http_in_tomee">Remote Client with HTTP (in TomEE)</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
 p.put("java.naming.provider.url", "http://127.0.0.1:8080/tomee/ejb");
 // user and pass optional
@@ -192,14 +205,17 @@ p.put("java.naming.security.credentials"
 
 InitialContext ctx = new InitialContext(p);
 
-MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</pre>
+MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote");</code></pre>
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_remote_client_using_ejb_injection_see_here_ejb_refs">Remote Client using @EJB Injection see here: ejb-refs</h3>
+</div>
+<div class="sect1">
+<h2 id="_remote_client_using_ejb_injection_see_here_ejb_refs">Remote Client using @EJB Injection see here: ejb-refs</h2>
+<div class="sectionbody">
 
 </div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/cmpentitycontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/cmpentitycontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/cmpentitycontainer-config.html (original)
+++ tomee/site/trunk/content/latest/docs/cmpentitycontainer-config.html Sun Dec  9 02:54:59 2018
@@ -101,11 +101,11 @@
 using a declaration like the following. All properties in the element
 body are optional.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Container id="myCmpEntityContainer" type="CMP_ENTITY"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Container id="myCmpEntityContainer" type="CMP_ENTITY"&gt;
     cmpEngineFactory = org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory
-&lt;/Container&gt;</pre>
+&lt;/Container&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -115,10 +115,10 @@ VirtualMachine <code>-D</code> propertie
 embedding TomEE via the <code>javax.ejb.embeddable.EJBContainer</code> API or
 <code>InitialContext</code></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>myCmpEntityContainer = new://Container?type=CMP_ENTITY
-myCmpEntityContainer.cmpEngineFactory = org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">myCmpEntityContainer = new://Container?type=CMP_ENTITY
+myCmpEntityContainer.cmpEngineFactory = org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/common-datasource-configurations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/common-datasource-configurations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/common-datasource-configurations.html (original)
+++ tomee/site/trunk/content/latest/docs/common-datasource-configurations.html Sun Dec  9 02:54:59 2018
@@ -110,14 +110,14 @@ details on all configuration options for
 <p>The drivers are included with OpenEJB 3.0 and HSQLDB is the default
 database.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="HSQLDB Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="HSQLDB Database" type="DataSource"&gt;
     JdbcDriver org.hsqldb.jdbcDriver
     JdbcUrl jdbc:hsqldb:file:hsqldb
     UserName sa
     Password
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -125,16 +125,16 @@ database.</p>
 <div class="sect1">
 <h2 id="_derby_embedded">Derby (Embedded)</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="Derby Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="Derby Database" type="DataSource"&gt;
     #Embedded Derby example
 
     JdbcDriver org.apache.derby.jdbc.EmbeddedDriver
     JdbcUrl jdbc:derby:derbyDB;create=true
     UserName admin
     Password pass
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -142,9 +142,9 @@ database.</p>
 <div class="sect1">
 <h2 id="_mysql">MySQL</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="MySQL Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="MySQL Database" type="DataSource"&gt;
     #  MySQL example
     #
     #  This connector will not work until you download the driver at:
@@ -153,7 +153,7 @@ database.</p>
     JdbcDriver  com.mysql.jdbc.Driver
     JdbcUrl jdbc:mysql://localhost/test
     UserName    test
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -161,9 +161,9 @@ database.</p>
 <div class="sect1">
 <h2 id="_oracle">Oracle</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="Oracle Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="Oracle Database" type="DataSource"&gt;
     #  Oracle example
     #
     #  This connector will not work until you download the driver at:
@@ -172,7 +172,7 @@ database.</p>
     JdbcUrl jdbc:oracle:thin:@localhost:1521:orcl
     UserName    scott
     Password    tiger
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -180,9 +180,9 @@ database.</p>
 <div class="sect1">
 <h2 id="_oraclexa">OracleXA</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="OracleXA Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="OracleXA Database" type="DataSource"&gt;
     #  OracleXA example
     #
     #  This connector will not work until you download the driver at:
@@ -191,7 +191,7 @@ database.</p>
     JdbcUrl jdbc:oracle:thin:@localhost:1521:orcl
     UserName    scott
     Password    tiger
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -199,9 +199,9 @@ database.</p>
 <div class="sect1">
 <h2 id="_posgresql">PosgreSQL</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="PostgreSQL Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="PostgreSQL Database" type="DataSource"&gt;
     #  PostgreSQL example
     #
     #  This connector will not work until you download the driver at:
@@ -210,7 +210,7 @@ database.</p>
     JdbcUrl  jdbc:postgresql://localhost/test
     UserName     postgres
     Password     pass
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -218,16 +218,16 @@ database.</p>
 <div class="sect1">
 <h2 id="_instantdb">InstantDB</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="InstantDB Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="InstantDB Database" type="DataSource"&gt;
     #  InstantDB example
     #
     JdbcDriver   org.enhydra.instantdb.jdbc.idbDriver
     JdbcUrl  jdbc:idb:conf/instantdb.properties
     UserName     Admin
     Password     pass
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/common-persistenceprovider-properties.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/common-persistenceprovider-properties.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/common-persistenceprovider-properties.html (original)
+++ tomee/site/trunk/content/latest/docs/common-persistenceprovider-properties.html Sun Dec  9 02:54:59 2018
@@ -105,22 +105,22 @@ various persistence providers out there.
 </div>
 </div>
 <h1 id="_toplink" class="sect0">TopLink</h1>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;properties&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;properties&gt;
 
   &lt;!--http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html--&gt;
   &lt;property name="toplink.ddl-generation" value="drop-and-create-tables"/&gt;
   &lt;property name="toplink.logging.level" value="FINEST"/&gt;
   &lt;property name="toplink.ddl-generation.output-mode" value="both"/&gt;
   &lt;property name="toplink.target-server" value="pl.zsk.samples.ejbservice.OpenEJBServerPlatform"/&gt;
-&lt;/properties&gt;</pre>
+&lt;/properties&gt;</code></pre>
 </div>
 </div>
 <h1 id="_openjpa" class="sect0">OpenJPA</h1>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;properties&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;properties&gt;
   &lt;!--http://openjpa.apache.org/faq.html--&gt;
   &lt;!-- does not create foreign keys, creates schema and deletes content of a database
        (deleteTableContents - foreign keys are created twice???), use dropDB instead --&gt;
@@ -130,16 +130,16 @@ various persistence providers out there.
   &lt;!--Create foreign keys--&gt;
   &lt;property name="openjpa.jdbc.MappingDefaults" value="ForeignKeyDeleteAction=restrict, JoinForeignKeyDeleteAction=restrict"/&gt;
   &lt;property name="openjpa.Log" value="DefaultLevel=TRACE,SQL=TRACE" /&gt;
-&lt;/properties&gt;</pre>
+&lt;/properties&gt;</code></pre>
 </div>
 </div>
 <h1 id="_hibernate" class="sect0">Hibernate</h1>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;properties&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;properties&gt;
   &lt;property name="hibernate.hbm2ddl.auto" value="create-drop"/&gt;
   &lt;property name="hibernate.transaction.manager_lookup_class" value="org.apache.openejb.hibernate.TransactionManagerLookup"/&gt;
-&lt;/properties&gt;</pre>
+&lt;/properties&gt;</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/configuration.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuration.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuration.html (original)
+++ tomee/site/trunk/content/latest/docs/configuration.html Sun Dec  9 02:54:59 2018
@@ -148,9 +148,9 @@ OpenEJB saves deployment descriptors - e
 <div class="paragraph">
 <p>Show a config file with the elements hyperlinked.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version="1.0"?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version="1.0"?&gt;
 &lt;openejb&gt;
   &lt;Container id="Default CMP Container" ctype="CMP_ENTITY"&gt;
     Global_TX_Database  c:/my/app/conf/postgresql.cmp_global_database.xml
@@ -166,7 +166,7 @@ OpenEJB saves deployment descriptors - e
   &lt;TransactionService id="Default Transaction Manager"/&gt;
   &lt;Deployments jar="c:/my/app/employee.jar"/&gt;
   &lt;Deployments dir="beans/" /&gt;
-&lt;/openejb&gt;</pre>
+&lt;/openejb&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -227,14 +227,14 @@ openejb.home are added to the classpath.
 <div class="paragraph">
 <p>A summary of the above in a different notation:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>openejb.home = user.dir (can be set explicitly)
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb.home = user.dir (can be set explicitly)
 openejb.base = openejb.home (can be set explicitly)
 openejb.conf = openejb.base/conf/openejb.conf (can be set explicitly)
 logging.conf = openejb.base/conf/logging.conf (can be set explicitly)
 deployments  = paths listed in openejb.conf (relative paths resolved from openejb.base)
-Classpath includes openejb.home/lib and openejb.home/dist</pre>
+Classpath includes openejb.home/lib and openejb.home/dist</code></pre>
 </div>
 </div>
 </div>
@@ -248,9 +248,9 @@ jars by name (abc-ejbs.jar and xyz-ejbs.
 <div class="paragraph">
 <p>An example layout:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/usr/local/openejb  (openejb.home)
+<pre class="highlight"><code class="language-java" data-lang="java">/usr/local/openejb  (openejb.home)
 /usr/local/openejb/lib  (in classpath)
 /usr/local/openejb/dist (in classpath)
 /home/jsmith/foo_app  (openejb.base)
@@ -258,7 +258,7 @@ jars by name (abc-ejbs.jar and xyz-ejbs.
 /home/jsmith/foo_app/conf/logging.conf
 /home/jsmith/foo_app/abc-ejbs.jar (Deployment entry in openejb.conf)
 /home/jsmith/foo_app/xyz-ejbs.jar (Deployment entry in openejb.conf)
-/home/jsmith/foo_app/logs/</pre>
+/home/jsmith/foo_app/logs/</code></pre>
 </div>
 </div>
 </div>
@@ -271,9 +271,9 @@ explicit paths for the openejb and log4j
 <div class="paragraph">
 <p>An example layout:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/usr/local/openejb  (openejb.home)
+<pre class="highlight"><code class="language-java" data-lang="java">/usr/local/openejb  (openejb.home)
 /usr/local/openejb/lib  (in classpath)
 /usr/local/openejb/dist (in classpath)
 /home/jsmith/foo_app  (openejb.base)
@@ -281,7 +281,7 @@ explicit paths for the openejb and log4j
 /home/jsmith/foo_app/abc-ejbs.jar (Deployment entry in openejb.xml)
 /home/jsmith/foo_app/xyz-ejbs.jar (Deployment entry in openejb.xml)
 /home/jsmith/foo_app/log4j.conf  (log4j.configuration)
-/home/jsmith/foo_app/mylogs/  (logging dir as defined in log4j.conf)</pre>
+/home/jsmith/foo_app/mylogs/  (logging dir as defined in log4j.conf)</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/configuring-containers-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuring-containers-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuring-containers-in-tests.html (original)
+++ tomee/site/trunk/content/latest/docs/configuring-containers-in-tests.html Sun Dec  9 02:54:59 2018
@@ -102,16 +102,16 @@ useful is to declare a Stateful SessionB
 guaranteed to passivate and activate on each call to the bean, allowing
 you to test your callbacks behave as you need them to.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
 
 p.put("myStatefulContainer", "new://Container?type=STATEFUL");
 p.put("myStatefulContainer.PoolSize", "0");
 p.put("myStatefulContainer.BulkPassivate", "1");
 
-Context context = new InitialContext(p);</pre>
+Context context = new InitialContext(p);</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/configuring-datasources-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuring-datasources-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuring-datasources-in-tests.html (original)
+++ tomee/site/trunk/content/latest/docs/configuring-datasources-in-tests.html Sun Dec  9 02:54:59 2018
@@ -103,9 +103,9 @@
 <p>You can configure data sources from within your test case (avoiding the
 need for an <code>openejb.xml</code> entirely) like so:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
 
 p.put("myDataSource", "new://Resource?type=DataSource");
@@ -113,7 +113,7 @@ p.put("myDataSource.JdbcDriver", "org.ap
 p.put("myDataSource.JdbcUrl", "jdbc:derby:derbyDB;create=true");
 p.put("myDataSource.JtaManaged", "true");
 
-Context context = new InitialContext(p);</pre>
+Context context = new InitialContext(p);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -122,46 +122,52 @@ the same driver. This is possible by def
 resource which points to the specific driver files required for the
 DataSource:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>p.put("myDataSourceOne", "new://Resource?type=DataSource&amp;classpath=/path/to/driverVersionOne.jar");
+<pre class="highlight"><code class="language-java" data-lang="java">p.put("myDataSourceOne", "new://Resource?type=DataSource&amp;classpath=/path/to/driverVersionOne.jar");
 p.put("myDataSourceOne.JdbcDriver", "org.apache.derby.jdbc.EmbeddedDriver");
-p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseOne;create=true");</pre>
+p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseOne;create=true");
+
+p.put("myDataSourceTwo", "new://Resource?type=DataSource&amp;classpath=/path/to/driverVersionTwo.jar");
+p.put("myDataSourceTwo.JdbcDriver", "org.apache.derby.jdbc.EmbeddedDriver");
+p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseTwo;create=true");
+[source,java]</code></pre>
 </div>
 </div>
 <div class="paragraph">
-<p>p.put("myDataSourceTwo", "new://Resource?type=DataSource&amp;classpath=/path/to/driverVersionTwo.jar");
-p.put("myDataSourceTwo.JdbcDriver", "org.apache.derby.jdbc.EmbeddedDriver");
-p.put("myDataSource.JdbcUrl", "jdbc:derby:myDatabaseTwo;create=true");</p>
+<p>This will allow an application to communicate through legacy drivers to
+the same JDBC provider.</p>
 </div>
-<div class="literalblock">
-<div class="content">
-<pre>This will allow an application to communicate through legacy drivers to
-the same JDBC provider.
-
-See link:embedded-configuration.html[Embedded Configuration] for further
-details on properties and overrides.
-
-See link:containers-and-resources.html[Containers and Resources] for a
-full list of supported Resource types and their properties.
-
-== Note on &lt;jta-data-source&gt; and &lt;non-jta-data-source&gt;
-
-When configuring DataSources to be used by persistence.xml files, the
-DataSource supplied for `&lt;jta-data-source&gt;` is typically identical to
-the `&lt;non-jta-data-source&gt;`, but with the `JtaManaged` property set
+<div class="paragraph">
+<p>See <a href="embedded-configuration.html">Embedded Configuration</a> for further
+details on properties and overrides.</p>
+</div>
+<div class="paragraph">
+<p>See <a href="containers-and-resources.html">Containers and Resources</a> for a
+full list of supported Resource types and their properties.</p>
+</div>
+<div class="sect1">
+<h2 id="_note_on_jta_data_source_and_non_jta_data_source">Note on &lt;jta-data-source&gt; and &lt;non-jta-data-source&gt;</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>When configuring DataSources to be used by persistence.xml files, the
+DataSource supplied for <code>&lt;jta-data-source&gt;</code> is typically identical to
+the <code>&lt;non-jta-data-source&gt;</code>, but with the <code>JtaManaged</code> property set
 differently. Keeping with our philosophy to free you up from redundant
 configuration, we will happily auto-create a missing jta-data-source or
-non-jta-data-source based upon the supplied DataSource.
-
-In the example above, a new DataSource would be generated as an exact
-copy but with the name "myDataSourceUnmanaged" and its `JtaManaged` flag
-set to `false`. If the supplied DataSource was not `JtaManaged`, then
+non-jta-data-source based upon the supplied DataSource.</p>
+</div>
+<div class="paragraph">
+<p>In the example above, a new DataSource would be generated as an exact
+copy but with the name "myDataSourceUnmanaged" and its <code>JtaManaged</code> flag
+set to <code>false</code>. If the supplied DataSource was not <code>JtaManaged</code>, then
 the generated DataSource would be called "myDataSourceJta" and have its
-`JtaManaged` flag set to `true`.
-
-When relying on this functionality it is not necessary to specify the
-name of the generated DataSource in the `persistence.xml` file.</pre>
+<code>JtaManaged</code> flag set to <code>true</code>.</p>
+</div>
+<div class="paragraph">
+<p>When relying on this functionality it is not necessary to specify the
+name of the generated DataSource in the <code>persistence.xml</code> file.</p>
+</div>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/configuring-datasources.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuring-datasources.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuring-datasources.html (original)
+++ tomee/site/trunk/content/latest/docs/configuring-datasources.html Sun Dec  9 02:54:59 2018
@@ -109,51 +109,51 @@ attributes.</p>
 <div class="paragraph">
 <p>For example, this annotation in your bean:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Resource(name = "myDerbyDatasource", type = javax.sql.DataSource.class)</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">@Resource(name = "myDerbyDatasource", type = javax.sql.DataSource.class)</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Would map to a Resource declared in your openejb.xml as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myDerbyDatasource" type="javax.sql.DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myDerbyDatasource" type="javax.sql.DataSource"&gt;
  . . . .
-&lt;Resource&gt;</pre>
+&lt;Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Note that in the xml element, the <em>type</em> value of <em>javax.sql.DataSource</em>
 can abbreviated to just <em>DataSource</em> as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myDerbyDatasource" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myDerbyDatasource" type="DataSource"&gt;
  . . . .
-&lt;Resource&gt;</pre>
+&lt;Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>It is also possible to specify the path to the driver jar file using a
 classpath attribute like so:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar"&gt;
  . . . .
-&lt;Resource&gt;</pre>
+&lt;Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>&#8230;&#8203;Or in a <a href="http://maven.apache.org/">Maven</a> environment like so:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1"&gt;
  . . . .
-&lt;Resource&gt;</pre>
+&lt;Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -187,11 +187,11 @@ other business criteria. That&#8217;s al
 <div class="sectionbody">
 <div class="sect2">
 <h3 id="_example_1">Example 1</h3>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="Default JDBC Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="Default JDBC Database" type="DataSource"&gt;
    . . . . .
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -201,11 +201,11 @@ Database</em></p>
 </div>
 <div class="sect2">
 <h3 id="_example_2">Example 2</h3>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="Derby Database"  type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="Derby Database"  type="DataSource"&gt;
   . . . . .
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -246,11 +246,11 @@ example of Derby.</p>
 <div class="paragraph">
 <p>With a Resource declaration in your openejb.xml like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myDerbyDatabase"  type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myDerbyDatabase"  type="DataSource"&gt;
   . . . . .
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -259,32 +259,32 @@ example of Derby.</p>
 <div class="paragraph">
 <p><em>BY matching variable name to resource name</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 public class FooBean {
     @Resource DataSource myDerbyDatabase;
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p><em>OR BY matching name</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 public class FooBean {
     @Resource(name="myDerbyDatabase")
     DataSource dataSource;
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p><em>OR BY JNDI lookup</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Resource(name="myDerbyDatabase", type=javax.sql.DataSource.class)
+<pre class="highlight"><code class="language-java" data-lang="java">@Resource(name="myDerbyDatabase", type=javax.sql.DataSource.class)
 @Stateless
 public class FooBean {
 
@@ -298,41 +298,41 @@ public class FooBean {
         DataSource dataSource = (DataSource)
         initialContext.lookup("java:comp/env/myDerbyDatabase");
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p><em>OR</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;resource-ref&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;resource-ref&gt;
   &lt;res-ref-name&gt;myDerbyDatabase&lt;/res-ref-name&gt;
   &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
-&lt;/resource-ref&gt;</pre>
+&lt;/resource-ref&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p><em>OR</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;resource-ref&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;resource-ref&gt;
    &lt;res-ref-name&gt;jdbc/myDerbyDatabase&lt;/res-ref-name&gt;
    &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
-&lt;/resource-ref&gt;</pre>
+&lt;/resource-ref&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p><em>OR</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;resource-ref&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;resource-ref&gt;
    &lt;res-ref-name&gt;someOtherName&lt;/res-ref-name&gt;
    &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
    &lt;mapped-name&gt;myDerbyDatabase&lt;/mapped-name&gt;
-&lt;/resource-ref&gt;</pre>
+&lt;/resource-ref&gt;</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/configuring-durations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuring-durations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuring-durations.html (original)
+++ tomee/site/trunk/content/latest/docs/configuring-durations.html Sun Dec  9 02:54:59 2018
@@ -157,9 +157,9 @@ be nice when using the abbreviated forms
 <div class="paragraph">
 <p>Abbreviations are accepted as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  if (u.equalsIgnoreCase("NANOSECONDS")) return TimeUnit.NANOSECONDS;
+<pre class="highlight"><code class="language-java" data-lang="java">  if (u.equalsIgnoreCase("NANOSECONDS")) return TimeUnit.NANOSECONDS;
   if (u.equalsIgnoreCase("NANOSECOND")) return TimeUnit.NANOSECONDS;
   if (u.equalsIgnoreCase("NANOS")) return TimeUnit.NANOSECONDS;
   if (u.equalsIgnoreCase("NANO")) return TimeUnit.NANOSECONDS;
@@ -194,7 +194,7 @@ be nice when using the abbreviated forms
 
   if (u.equalsIgnoreCase("DAYS")) return TimeUnit.DAYS;
   if (u.equalsIgnoreCase("DAY")) return TimeUnit.DAYS;
-  if (u.equalsIgnoreCase("D")) return TimeUnit.DAYS;</pre>
+  if (u.equalsIgnoreCase("D")) return TimeUnit.DAYS;</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/configuring-javamail.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuring-javamail.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuring-javamail.html (original)
+++ tomee/site/trunk/content/latest/docs/configuring-javamail.html Sun Dec  9 02:54:59 2018
@@ -104,16 +104,16 @@ javax.mail.Session.getDefaultInstance(Pr
 <div class="paragraph">
 <p>Here might be some example properties.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="SuperbizMail" type="javax.mail.Session"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="SuperbizMail" type="javax.mail.Session"&gt;
    mail.smtp.host=mail.superbiz.org
    mail.smtp.port=25
    mail.transport.protocol=smtp
    mail.smtp.auth=true
    mail.smtp.user=someuser
    password=mypassword
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -134,9 +134,9 @@ values before attempting to use them.</p
 <p>If you wanted to do a System property or InitialContext property
 override of the above example mail session, you could do so like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>java ... -DSuperbizMail.mail.smtp.host=localhost</pre>
+<pre class="highlight"><code class="language-bash" data-lang="bash">java ... -DSuperbizMail.mail.smtp.host=localhost</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/configuring-logging-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuring-logging-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuring-logging-in-tests.html (original)
+++ tomee/site/trunk/content/latest/docs/configuring-logging-in-tests.html Sun Dec  9 02:54:59 2018
@@ -146,9 +146,9 @@ replace it completely if all you want to
 <p>You can also put logging tweaks right in your InitialContext properties
 like so:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
 
 p.put("log4j.rootLogger", "fatal,C");
@@ -167,7 +167,7 @@ p.put("log4j.category.openjpa", "error")
 p.put("log4j.appender.C", "org.apache.log4j.ConsoleAppender");
 p.put("log4j.appender.C.layout", "org.apache.log4j.SimpleLayout");
 
-Context context = new InitialContext(p);</pre>
+Context context = new InitialContext(p);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -206,9 +206,9 @@ source of logging information.</p>
 <p>For your purposes, here are the contents of the default
 embedded.logging.properties file contained in OpenEJB 3.1.1</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>log4j.rootLogger           = fatal,C
+<pre class="highlight"><code class="language-properties" data-lang="properties">log4j.rootLogger           = fatal,C
 log4j.category.OpenEJB         = warn
 log4j.category.OpenEJB.server      = info
 log4j.category.OpenEJB.startup     = info
@@ -222,7 +222,7 @@ log4j.category.org.apache.geronimo = err
 log4j.category.openjpa         = error
 
 log4j.appender.C           = org.apache.log4j.ConsoleAppender
-log4j.appender.C.layout        = org.apache.log4j.SimpleLayout</pre>
+log4j.appender.C.layout        = org.apache.log4j.SimpleLayout</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/configuring-persistenceunits-in-tests.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/configuring-persistenceunits-in-tests.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/configuring-persistenceunits-in-tests.html (original)
+++ tomee/site/trunk/content/latest/docs/configuring-persistenceunits-in-tests.html Sun Dec  9 02:54:59 2018
@@ -135,9 +135,9 @@ properties or the initial context proper
 <div class="paragraph">
 <p>So for example with the following persistence.xml:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;persistence&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;persistence&gt;
   &lt;persistence-unit name="movie-unit"&gt;
     &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;
     &lt;jta-data-source&gt;movieDatabase&lt;/jta-data-source&gt;
@@ -147,7 +147,7 @@ properties or the initial context proper
       &lt;property name="hibernate.max_fetch_depth" value="3"/&gt;
     &lt;/properties&gt;
   &lt;/persistence-unit&gt;
-&lt;/persistence&gt;</pre>
+&lt;/persistence&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -155,15 +155,15 @@ properties or the initial context proper
 There are currently no facilities for removing them (if you have a need
 for that let us know&#8201;&#8212;&#8201;it hasn&#8217;t really come up so far).</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties p = new Properties();
 p.put(Context.INITIAL_CONTEXT_FACTORY,"org.apache.openejb.client.LocalInitialContextFactory");
 
 p.put("movie-unit.hibernate.hbm2ddl.auto", "update");
 p.put("movie-unit.hibernate.dialect", "org.hibernate.dialect.HSQLDialect");
 
-context = new InitialContext(p);</pre>
+context = new InitialContext(p);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -221,15 +221,15 @@ below.</p>
 <p>Note that you <strong>must</strong> use the <strong>unit name</strong> as the prefix. This will not
 work:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    Properties p = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">    Properties p = new Properties();
     p.put(Context.INITIAL_CONTEXT_FACTORY,"org.apache.openejb.client.LocalInitialContextFactory");
 
     p.put("hibernate.hbm2ddl.auto", "update");
     p.put("hibernate.dialect", "org.hibernate.dialect.HSQLDialect");
 
-    context = new InitialContext(p);</pre>
+    context = new InitialContext(p);</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/constructor-injection.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/constructor-injection.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/constructor-injection.html (original)
+++ tomee/site/trunk/content/latest/docs/constructor-injection.html Sun Dec  9 02:54:59 2018
@@ -104,9 +104,9 @@ your wish has come true. This is a featu
 release and with a bit of luck and support from people like yourself,
 we&#8217;ll see this as an EJB 3.1 feature as well.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 public class WidgetBean implements Widget {
 
     @EJB(beanName = "FooBean")
@@ -131,16 +131,16 @@ public class WidgetBean implements Widge
     public Foo getFoo() {
     return foo;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The @EJB, @Resource, @PersistenceUnit, and @PersistenceContext
 annotations can be placed at the class-level instead such as:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @EJB(name = "foo", beanInterface = Foo.class, beanName = "FooBean")
 @Resource(name = "count", type = int.class)
 @Resource(name = "ds", type = DataSource.class)
@@ -157,7 +157,7 @@ public class WidgetBean implements Widge
     public Foo getFoo() {
     return foo;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -178,9 +178,9 @@ sending note to
 <div class="paragraph">
 <p>Not yet possible</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 
 public class WidgetBean implements Widget {
 
@@ -195,7 +195,7 @@ public class WidgetBean implements Widge
     public Foo getFoo() {
         return foo;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/containers-and-resources.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/containers-and-resources.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/containers-and-resources.html (original)
+++ tomee/site/trunk/content/latest/docs/containers-and-resources.html Sun Dec  9 02:54:59 2018
@@ -95,9 +95,9 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="literalblock">
+                <div class="listingblock">
 <div class="content">
-<pre>          &lt;p&gt;&lt;a name="ContainersandResources-containers"&gt;&lt;/a&gt;&lt;/p&gt;</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">          &lt;p&gt;&lt;a name="ContainersandResources-containers"&gt;&lt;/a&gt;&lt;/p&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/contrib/debug/debug-intellij.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/contrib/debug/debug-intellij.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/contrib/debug/debug-intellij.html (original)
+++ tomee/site/trunk/content/latest/docs/contrib/debug/debug-intellij.html Sun Dec  9 02:54:59 2018
@@ -88,17 +88,15 @@
           <div class="col-md-12">
             <div class='page-header'>
               
-              <h1>null</h1>
+              <h1>Debugging an Apache</h1>
             </div>
           </div>
         </div>
         <div class="row">
             
             <div class="col-md-12">
-                <div class="paragraph">
-<p>#Debugging an Apache
-TomEE App in Intellij IDEA</p>
-</div>
+                <div id="preamble">
+<div class="sectionbody">
 <div class="paragraph">
 <p>Stepping through the <a href="http://tomee.apache.org/apache-tomee.html">TomEE</a>
 source code is a must-to-follow step if you want to understand how TomEE
@@ -121,9 +119,11 @@ debugging session with TomEE as a TomEE
 </li>
 </ul>
 </div>
-<div class="paragraph">
-<p>###Download the Source Code</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_download_the_source_code">Download the Source Code</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>For beginners it is recommended not to start with the trunk, because it
 is common to have some blockers or non-stable functionality which could
@@ -135,9 +135,11 @@ modification on TomEE.</p>
 <p><a href="http://www.apache.org/dyn/closer.cgi/tomee/tomee-1.7.1/openejb-4.7.1-source-release.zip">Click
 here to download TomEE 1.7.1 Source code</a></p>
 </div>
-<div class="paragraph">
-<p>###Build the Source Code</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_build_the_source_code">Build the Source Code</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>First extract the zip file named <strong>openejb-4.7.1-source-release.zip</strong> to
 any location. Lets assume it is your home folder.</p>
@@ -171,9 +173,11 @@ clean install</p>
 <p>More details about building the product from the source can be found
 <a href="http://tomee.apache.org/dev/source-code.html">here</a>.</p>
 </div>
-<div class="paragraph">
-<p>###Deploy TomEE</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_deploy_tomee">Deploy TomEE</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>The TomEE build builds several distributions (zip &amp; war files) to cater
 the different needs of different users. Here we discuss about the tomee
@@ -216,9 +220,11 @@ folder. Lets run the TomEE.</p>
 <div class="paragraph">
 <p>"INFO: Server startup in xxxx ms" is the Green light!</p>
 </div>
-<div class="paragraph">
-<p>###Prepare your IDE</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_prepare_your_ide">Prepare your IDE</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Lets prepare our IntelliJ IDEA for the debugging session.</p>
 </div>
@@ -270,9 +276,11 @@ folder. Lets run the TomEE.</p>
 <div class="paragraph">
 <p>Now your IDE will load the project.</p>
 </div>
-<div class="paragraph">
-<p>###First Breakpoint</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_first_breakpoint">First Breakpoint</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Next step is to put a breakpoint at the place where the code is
 triggered. Lets understand how the code is triggered.</p>
@@ -291,9 +299,11 @@ ServerListener.</p>
 <p>The execution of TomEE code starts in this lifecycleEvent method. So the
 first breakpoint should be on the lifecycleEvent method.</p>
 </div>
-<div class="paragraph">
-<p>###Run TomEE+ in debug mode</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_run_tomee_in_debug_mode">Run TomEE+ in debug mode</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>If you simply run <strong>catalina.sh jpda run</strong> in the bin folder of tomee
 deployment, the server starts in the debug mode but it will quckly pass
@@ -311,7 +321,7 @@ right after the #!/bin/sh line.</p>
 <div class="quoteblock">
 <blockquote>
 <div class="paragraph">
-<p>#!/bin/sh JPDA_SUSPEND="y"</p>
+<p>= !/bin/sh JPDA_SUSPEND="y"</p>
 </div>
 <div class="paragraph">
 <p>Now to time to run TomEE+ on debug mode.</p>
@@ -329,9 +339,11 @@ right after the #!/bin/sh line.</p>
 <p>The terminal should hang with the message <strong>"Listening for transport
 dt_socket at address: 8000"</strong></p>
 </div>
-<div class="paragraph">
-<p>###Attach IntelliJ IDEA debugger</p>
 </div>
+</div>
+<div class="sect1">
+<h2 id="_attach_intellij_idea_debugger">Attach IntelliJ IDEA debugger</h2>
+<div class="sectionbody">
 <div class="ulist">
 <ul>
 <li>
@@ -366,6 +378,8 @@ the Port to 8000</p>
 <p>Congratulations! You hit the break point you put at the startup of the
 TomEE code. Carry on with your debugging session to learn more.</p>
 </div>
+</div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/custom-injection.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/custom-injection.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/custom-injection.html (original)
+++ tomee/site/trunk/content/latest/docs/custom-injection.html Sun Dec  9 02:54:59 2018
@@ -138,9 +138,9 @@ in the <a href="downloads.html">openejb-
 <div class="sect1">
 <h2 id="_bean_class">Bean Class</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 public class Stratocaster {
 
     @Resource(name = "pickups")
@@ -184,7 +184,7 @@ public class Stratocaster {
     public File getCertificateOfAuthenticity() {
         return certificateOfAuthenticity;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -192,13 +192,13 @@ public class Stratocaster {
 <div class="sect1">
 <h2 id="_the_meta_inf_env_entries_properties_file">The META-INF/env-entries.properties file</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>guitarStringGuages=E1=0.052\nA=0.042\nD=0.030\nG=0.017\nB=0.013\nE=0.010
+<pre class="highlight"><code class="language-properties" data-lang="properties">guitarStringGuages=E1=0.052\nA=0.042\nD=0.030\nG=0.017\nB=0.013\nE=0.010
 certificateOfAuthenticity=/tmp/strat-certificate.txt
 dateCreated=1962-03-01
 pickups=S,S,S
-style=VINTAGE</pre>
+style=VINTAGE</code></pre>
 </div>
 </div>
 </div>
@@ -212,9 +212,9 @@ we&#8217;d like to allow abbreviated ver
 usable. We do this by creating a custom PropertyEditor for our Pickup
 enum like so:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class PickupEditor extends java.beans.PropertyEditorSupport {
+<pre class="highlight"><code class="language-java" data-lang="java">public class PickupEditor extends java.beans.PropertyEditorSupport {
     public void setAsText(String text) throws IllegalArgumentException {
         text = text.trim();
 
@@ -222,7 +222,7 @@ enum like so:</p>
         else if (text.equalsIgnoreCase("S")) setValue(Pickup.SINGLE_COIL);
         else throw new IllegalStateException("H and S are the only supported Pickup aliases");
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -230,9 +230,9 @@ enum like so:</p>
 class that will be executed should someone actually reference the Pickup
 type.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public enum Pickup {
+<pre class="highlight"><code class="language-java" data-lang="java">public enum Pickup {
 
     HUMBUCKER,
     SINGLE_COIL;
@@ -243,15 +243,15 @@ type.</p>
     static {
         PropertyEditorManager.registerEditor(Pickup.class, PickupEditor.class);
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
 </div>
 <h1 id="_test_case" class="sect0">Test Case</h1>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class StratocasterTest extends TestCase {
+<pre class="highlight"><code class="language-java" data-lang="java">public class StratocasterTest extends TestCase {
 
     @EJB
     private Stratocaster strat;
@@ -279,7 +279,7 @@ type.</p>
 
 
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <h1 id="_running_it" class="sect0">Running it</h1>
@@ -297,9 +297,9 @@ directory of the openejb:download.html[e
 <div class="paragraph">
 <p>Which should create output like the following.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-------------------------------------------------------
+<pre class="highlight"><code class="language-java" data-lang="java">-------------------------------------------------------
  T E S T S
 -------------------------------------------------------
 Running org.superbiz.enventries.StratocasterTest
@@ -323,7 +323,7 @@ Tests run: 1, Failures: 0, Errors: 0, Sk
 
 Results :
 
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0</pre>
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/datasource-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/datasource-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/datasource-config.html (original)
+++ tomee/site/trunk/content/latest/docs/datasource-config.html Sun Dec  9 02:54:59 2018
@@ -103,9 +103,9 @@
 using a declaration like the following. All properties in the element
 body are optional.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myDataSource" type="javax.sql.DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myDataSource" type="javax.sql.DataSource"&gt;
     accessToUnderlyingConnectionAllowed = false
     alternateUsernameAllowed = false
     connectionProperties =
@@ -134,7 +134,7 @@ body are optional.</p>
     timeBetweenEvictionRuns = -1 millisecond
     userName = sa
     validationQuery =
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -143,9 +143,9 @@ body are optional.</p>
 <code>-D</code> properties. The properties can also be used when embedding TomEE
 via the <code>javax.ejb.embeddable.EJBContainer</code> API or <code>InitialContext</code></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>myDataSource = new://Resource?type=javax.sql.DataSource
+<pre class="highlight"><code class="language-properties" data-lang="properties">myDataSource = new://Resource?type=javax.sql.DataSource
 myDataSource.accessToUnderlyingConnectionAllowed = false
 myDataSource.alternateUsernameAllowed = false
 myDataSource.connectionProperties =
@@ -173,7 +173,7 @@ myDataSource.testOnReturn = false
 myDataSource.testWhileIdle = false
 myDataSource.timeBetweenEvictionRuns = -1 millisecond
 myDataSource.userName = sa
-myDataSource.validationQuery =</pre>
+myDataSource.validationQuery =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -564,12 +564,12 @@ SQL SELECT statement that returns at lea
 <p>If true the raw physical connection to the database can be accessed
 using the following construct:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Connection conn = ds.getConnection();
+<pre class="highlight"><code class="language-java" data-lang="java">Connection conn = ds.getConnection();
 Connection rawConn = ((DelegatingConnection) conn).getInnermostDelegate();
 ...
-conn.close()</pre>
+conn.close()</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -702,10 +702,10 @@ statements.</p>
 <p>If true, a statement pool is created for each Connection and
 PreparedStatements created by one of the following methods are pooled:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public PreparedStatement prepareStatement(String sql);
-public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">public PreparedStatement prepareStatement(String sql);
+public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)</code></pre>
 </div>
 </div>
 </div>
@@ -770,15 +770,15 @@ XaDataSource can be defined as a standar
 <div class="paragraph">
 <p>First solution is to define as <code>JdbcDriver</code> an XADataSource:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myXaDs" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myXaDs" type="DataSource"&gt;
     JdbcDriver = org.foo.MyXaDataSource
 
     myXaProperty = value
 
     myPoolProperty = 10
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -801,22 +801,22 @@ factory mecanism.</p>
 <div class="paragraph">
 <p>An alternative is to define a resource for the XaDataSource:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myXa" class-name="org.foo.MyXaDataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myXa" class-name="org.foo.MyXaDataSource"&gt;
     myXaProperty = value
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>And then wrap it in the pool:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="myXaDs" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myXaDs" type="DataSource"&gt;
     DataSourceCreator = [dbcp|dbcp-alternative]
     myPoolProperty = 10
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -829,9 +829,9 @@ because it is reusing direct dbcp JTA ma
 <div class="paragraph">
 <p>For TomEE 1.7.0/1.7.1 you can need to add the property:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre> openejb.datasource.pool = true</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties"> openejb.datasource.pool = true</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/datasource-password-encryption.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/datasource-password-encryption.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/datasource-password-encryption.html (original)
+++ tomee/site/trunk/content/latest/docs/datasource-password-encryption.html Sun Dec  9 02:54:59 2018
@@ -120,9 +120,9 @@ not activated so plain passwords are use
 <div class="paragraph">
 <p>Default Plain text password example:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="MySQL Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="MySQL Database" type="DataSource"&gt;
     #  MySQL example
     #
     #  This connector will not work until you download the driver at:
@@ -132,7 +132,7 @@ not activated so plain passwords are use
     JdbcUrl jdbc:mysql://localhost/test
     UserName    test
     Password    Passw0rd
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -146,9 +146,9 @@ how relying on an HSM for example.</em>
 implement the <em>org.apache.openejb.resource.jdbc.cipher.PasswordCipher</em>
 interface.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Resource id="MySQL Database" type="DataSource"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="MySQL Database" type="DataSource"&gt;
     #  MySQL example
     #
     #  This connector will not work until you download the driver at:
@@ -162,7 +162,7 @@ interface.</p>
     xMH5uM1V9vQzVUv5LG7YLA==
     Password    xMH5uM1V9vQzVUv5LG7YLA==
     PasswordCipher Static3DES
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -189,9 +189,9 @@ plain text value using a given algorithm
 </div>
 <div class="sect3">
 <h4 id="_synopsis">SYNOPSIS</h4>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>openejb cipher [#options]</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb cipher [#options]</code></pre>
 </div>
 </div>
 </div>
@@ -216,17 +216,17 @@ directory C:-3.1.2.</p>
 <div class="paragraph">
 <p>In Windows, the cipher tool can be executed as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>`C:\openejb-3.1.2&gt; bin\openejb cipher --help`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`C:\openejb-3.1.2&gt; bin\openejb cipher --help`</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>In UNIX, Linux, or Mac OS X, the cipher tool can be executed as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>`\[user@host openejb-3.1.2]# bin/openejb cipher --help`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`\[user@host openejb-3.1.2]# bin/openejb cipher --help`</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -234,9 +234,9 @@ directory C:-3.1.2.</p>
 to make the scripts executable. You can do this with the following
 command.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>`\[user@host openejb-3.1.2]# chmod 755 bin/openejb`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`\[user@host openejb-3.1.2]# chmod 755 bin/openejb`</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -244,9 +244,9 @@ command.</p>
 right openejb script for your operating system and commands will appear
 in shorthand as show below.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>`openejb cipher --help`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`openejb cipher --help`</code></pre>
 </div>
 </div>
 </div>
@@ -283,17 +283,17 @@ Static3DES).</p>
 <div class="paragraph">
 <p>Encrypt a plain password using the default algorithm.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>`openejb cipher Passw0rd`</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">`openejb cipher Passw0rd`</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Output</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>xMH5uM1V9vQzVUv5LG7YLA==</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">xMH5uM1V9vQzVUv5LG7YLA==</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/deamon/lin-service.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/deamon/lin-service.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/deamon/lin-service.html (original)
+++ tomee/site/trunk/content/latest/docs/deamon/lin-service.html Sun Dec  9 02:54:59 2018
@@ -88,7 +88,7 @@
           <div class="col-md-12">
             <div class='page-header'>
               
-              <h1>null</h1>
+              <h1>Installing</h1>
             </div>
           </div>
         </div>
@@ -96,10 +96,6 @@
             
             <div class="col-md-12">
                 <div class="paragraph">
-<p>###Installing
-TomEE as a Windows® Service</p>
-</div>
-<div class="paragraph">
 <p>The different architecture exe&#8217;s are as follows (so always use the one
 that matches your system):</p>
 </div>

Modified: tomee/site/trunk/content/latest/docs/deamon/win-service.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/deamon/win-service.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/deamon/win-service.html (original)
+++ tomee/site/trunk/content/latest/docs/deamon/win-service.html Sun Dec  9 02:54:59 2018
@@ -88,7 +88,7 @@
           <div class="col-md-12">
             <div class='page-header'>
               
-              <h1>null</h1>
+              <h1>Installing</h1>
             </div>
           </div>
         </div>
@@ -96,10 +96,6 @@
             
             <div class="col-md-12">
                 <div class="paragraph">
-<p>###Installing
-TomEE as a Windows® Service</p>
-</div>
-<div class="paragraph">
 <p>The different architecture exe&#8217;s are as follows (so always use the one
 that matches your system):</p>
 </div>

Modified: tomee/site/trunk/content/latest/docs/deploy-tool.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/deploy-tool.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/deploy-tool.html (original)
+++ tomee/site/trunk/content/latest/docs/deploy-tool.html Sun Dec  9 02:54:59 2018
@@ -299,9 +299,9 @@ the barEjbs.jar. Wildcards can be used a
 <p>On running the deploy tool with a valid EJB jar the following output is
 printed on the console</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Application deployed successfully at {0}
+<pre class="highlight"><code class="language-properties" data-lang="properties">Application deployed successfully at {0}
 App(id=C:\samples\Calculator-new\hello-addservice.jar)
     EjbJar(id=hello-addservice.jar, path=C:\samples\Calculator-new\hello-addservice.jar)
     Ejb(ejb-name=HelloBean, id=HelloBean)
@@ -310,7 +310,7 @@ App(id=C:\samples\Calculator-new\hello-a
 
     Ejb(ejb-name=AddServiceBean, id=AddServiceBean)
         Jndi(name=AddServiceBean)
-        Jndi(name=AddServiceBeanLocal)</pre>
+        Jndi(name=AddServiceBeanLocal)</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/deploying-in-tomee.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/deploying-in-tomee.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/deploying-in-tomee.html (original)
+++ tomee/site/trunk/content/latest/docs/deploying-in-tomee.html Sun Dec  9 02:54:59 2018
@@ -118,9 +118,7 @@ License.
 </tr>
 </table>
 </div>
-<div class="paragraph">
-<p>#Deploying in TomEE</p>
-</div>
+<h1 id="_deploying_in_tomee" class="sect0">Deploying in TomEE</h1>
 <div class="paragraph">
 <p>Deploying applications in TomEE is as simple as deploying them in
 Tomcat.</p>
@@ -142,8 +140,8 @@ to the <strong>[TomEE]/apps</strong> fol
 <div class="sect1">
 <h2 id="_packaging">Packaging</h2>
 <div class="sectionbody">
-<div class="sect3">
-<h4 id="_one_archive">One archive</h4>
+<div class="sect2">
+<h3 id="_one_archive">One archive</h3>
 <div class="paragraph">
 <p>The basic idea of this approach is that your Servlets and EJBs are
 together in your WAR file as one application.</p>
@@ -168,8 +166,8 @@ together in your WAR file as one applica
 </ul>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_not_quite_j2ee_but_it_is_java_ee_6">Not quite J2EE (But it is Java EE 6)</h4>
+<div class="sect2">
+<h3 id="_not_quite_j2ee_but_it_is_java_ee_6">Not quite J2EE (But it is Java EE 6)</h3>
 <div class="paragraph">
 <p>This is very different than J2EE or Java EE 5 as there are not several
 levels of separation and classloader hierarchy any more.<br>

Modified: tomee/site/trunk/content/latest/docs/deployment-id.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/deployment-id.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/deployment-id.html (original)
+++ tomee/site/trunk/content/latest/docs/deployment-id.html Sun Dec  9 02:54:59 2018
@@ -216,11 +216,11 @@ and resources in the container system. n
 id as its JNDI lookup. For example, if a bean had a deployment-id of
 "/my/bean/foo", a non-bean client could lookup that bean as follows.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>...
+<pre class="highlight"><code class="language-java" data-lang="java">...
 Object bean = initialContext.lookup("/my/bean/Foo");
-...</pre>
+...</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -263,11 +263,11 @@ consist of the deployment ids of the bea
 the bean&#8217;s deployment id. For example, if a bean had a deployment-id of
 "/my/bean/foo", a client could lookup that bean as follows.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>...
+<pre class="highlight"><code class="language-java" data-lang="java">...
 Object bean = initialContext.lookup("/my/bean/Foo");
-...</pre>
+...</code></pre>
 </div>
 </div>
 </div>
@@ -289,9 +289,9 @@ So, just as with the Local Server and Re
 beans using the bean&#8217;s deployment id. OpenORB has a JNDI implementation
 of their naming service, so lookups can be done just as before.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>...
+<pre class="highlight"><code class="language-java" data-lang="java">...
 String[] args = ...
 
 // The ORB and Object
@@ -318,7 +318,7 @@ name[0] = new org.omg.CosNaming.NameComp
 // Finally, get the bean as a CORBA object
 // Equvalent to an InitialContext.lookup("/my/bean/foo");
 bean = context.resolve( name );
-...</pre>
+...</code></pre>
 </div>
 </div>
 </div>
@@ -335,9 +335,9 @@ loaded. In addition, the system will log
 one asking you to redeploy the jar and choose an different deployment ID
 for the bean.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>WARN : Jar C:\openejb\beans\fooEjbs.jar cannot be loaded.  The Deployment ID "/my/bean/foo" is already in use.  Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "FooBean".</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar C:\openejb\beans\fooEjbs.jar cannot be loaded.  The Deployment ID "/my/bean/foo" is already in use.  Please redeploy this jar and assign a different deployment ID to the bean with the ejb-name "FooBean".</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -366,9 +366,9 @@ rest of the beans in the disneyEjbs.jar
 "DonaldDuckBean" bean to function properly. The disneyEjbs.jar is
 skipped and the following warning is logged.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>WARN : Jar C:\openejb\beans\disneyEjbs.jar cannot be loaded.  The  Deployment ID "/my/favorite/duck" is already in use.  Please redeploy  this jar and assign a different deployment ID to the bean with the ejb-name "DonaldDuckBean".</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN : Jar C:\openejb\beans\disneyEjbs.jar cannot be loaded.  The  Deployment ID "/my/favorite/duck" is already in use.  Please redeploy  this jar and assign a different deployment ID to the bean with the ejb-name "DonaldDuckBean".</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/deployments.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/deployments.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/deployments.html (original)
+++ tomee/site/trunk/content/latest/docs/deployments.html Sun Dec  9 02:54:59 2018
@@ -103,14 +103,14 @@
 <p>To include a single jar by name, just declare a 'Deployments' element
 with a 'jar' attribute pointing to the jar file on the file system.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;openejb&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;openejb&gt;
 ...
 &lt;Deployments jar="c:\my\app\superEjbs.jar" /&gt;
 &lt;Deployments jar="c:\someplace\purchasing.jar" /&gt;
 &lt;Deployments jar="timeTrack.jar" /&gt;
-&lt;/openejb&gt;</pre>
+&lt;/openejb&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -130,16 +130,16 @@ for more details.</p>
 should load, simply declare a 'Deployments' element with a 'dir'
 attribute pointing to the directory containing the jar files.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;openejb&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;openejb&gt;
 ...
 
 &lt;Deployments dir="c:\my\app\beans\" /&gt;
 &lt;Deployments dir="c:\crimestopper\lib" /&gt;
 &lt;Deployments dir="ejbs" /&gt;
 &lt;Deployments dir="beans" /&gt;
-&lt;/openejb&gt;</pre>
+&lt;/openejb&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -169,9 +169,9 @@ in OpenEJB. You still need to follow the
 <div class="paragraph">
 <p>For example, if you have a directory structure like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&gt; C:\myapp\
+<pre class="highlight"><code class="language-java" data-lang="java">&gt; C:\myapp\
 &gt; C:\myapp\acmeEjbs\
 &gt; C:\myapp\acmeEjbs\META-INF\ejb-jar.xml
 &gt; C:\myapp\acmeEjbs\org\acme\Foo.class
@@ -179,20 +179,20 @@ in OpenEJB. You still need to follow the
 &gt; C:\myapp\acmeEjbs\org\acme\FooHome.class
 &gt; C:\myapp\acmeEjbs\org\acme\Bar.class
 &gt; C:\myapp\acmeEjbs\org\acme\BarBean.class
-&gt; C:\myapp\acmeEjbs\org\acme\BarHome.class</pre>
+&gt; C:\myapp\acmeEjbs\org\acme\BarHome.class</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Then you would delcare a 'Deployments' element with the 'dir' attribute
 set to 'C:' as shown below.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;openejb&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;openejb&gt;
 ...
 
 &lt;Deployments dir="c:\myapp\acmeEjbs" /&gt;
-&lt;/openejb&gt;</pre>
+&lt;/openejb&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -215,22 +215,22 @@ is an incredible asset.</p>
 <p>If your ejbs were loaded successfully you should see entries like the
 following (1.x and higher only):</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>INFO :  Loaded EJBs from
+<pre class="highlight"><code class="language-properties" data-lang="properties">INFO :  Loaded EJBs from
 /usr/local/openejb-1.0-beta1/beans/openejb-itests-beans.jar
 INFO :  Loaded EJBs from
-/usr/local/openejb-1.0-beta1/beans/openejb-webadmin-clienttools.jar</pre>
+/usr/local/openejb-1.0-beta1/beans/openejb-webadmin-clienttools.jar</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>If your ejbs failed to load, you will see an entry similar to the
 following.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>WARN :  Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar.
-Jar failed validation.  Use the validation tool for more details</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">WARN :  Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar.
+Jar failed validation.  Use the validation tool for more details</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -239,9 +239,9 @@ in the log file at startup. The Deployme
 used to lookup the ejb from a client of the Local or Remote Servers. The
 beans listed below are from our test suite.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>DEBUG:  Deployments   : 19
+<pre class="highlight"><code class="language-properties" data-lang="properties">DEBUG:  Deployments   : 19
 DEBUG:  Type        Deployment ID
 DEBUG:     CMP_ENTITY  client/tests/entity/cmp/RMI-over-IIOP/EJBHome
 DEBUG:     STATEFUL    client/tests/stateful/EncBean
@@ -261,7 +261,7 @@ DEBUG:     CMP_ENTITY  client/tests/enti
 DEBUG:     STATELESS   client/tools/DatabaseHome
 DEBUG:     CMP_ENTITY client/tests/entity/cmp/allowed_operations/EntityHome
 DEBUG:     BMP_ENTITY  client/tests/entity/bmp/EncBean
-DEBUG:     STATELESS   client/tests/stateless/RMI-over-IIOP/EJBHome</pre>
+DEBUG:     STATELESS   client/tests/stateless/RMI-over-IIOP/EJBHome</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/details-on-openejb-jar.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/details-on-openejb-jar.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/details-on-openejb-jar.html (original)
+++ tomee/site/trunk/content/latest/docs/details-on-openejb-jar.html Sun Dec  9 02:54:59 2018
@@ -135,14 +135,14 @@ breeze.</p>
 Hello World example. As you can see, the file format is extremely
 simple.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version="1.0"?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version="1.0"?&gt;
 &lt;openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1"&gt;
     &lt;ejb-deployment  ejb-name="Hello"
          deployment-id="Hello"
          container-id="Default Stateless Container"/&gt;
-&lt;/openejb-jar&gt;</pre>
+&lt;/openejb-jar&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -159,9 +159,9 @@ your jar.</p>
 <div class="paragraph">
 <p>Then you simply add a element to your element like this</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version="1.0"?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version="1.0"?&gt;
 &lt;openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1"&gt;
 
     &lt;ejb-deployment  ejb-name="Hello"
@@ -173,7 +173,7 @@ your jar.</p>
 
     &lt;/ejb-deployment&gt;
 
-&lt;/openejb-jar&gt;</pre>
+&lt;/openejb-jar&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -189,9 +189,9 @@ and provide access to the desired resour
 <p>You will need one element for every element in your ejb-jar.xml. So if
 you had an ejb-jar.xml like the following</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version="1.0"?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version="1.0"?&gt;
 &lt;ejb-jar&gt;
   &lt;enterprise-beans&gt;
     &lt;session&gt;
@@ -222,16 +222,16 @@ you had an ejb-jar.xml like the followin
 
     &lt;/session&gt;
   &lt;/enterprise-beans&gt;
-&lt;/ejb-jar&gt;</pre>
+&lt;/ejb-jar&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Then you would need two elements for that bean in your openejb-jar.xml
 file as such.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version="1.0"?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version="1.0"?&gt;
 &lt;openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1"&gt;
 
     &lt;ejb-deployment  ejb-name="MyExampleBean"
@@ -246,7 +246,7 @@ file as such.</p>
 
     &lt;/ejb-deployment&gt;
 
-&lt;/openejb-jar&gt;</pre>
+&lt;/openejb-jar&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/developer/ide/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/ide/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/ide/index.html (original)
+++ tomee/site/trunk/content/latest/docs/developer/ide/index.html Sun Dec  9 02:54:59 2018
@@ -121,24 +121,30 @@
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_eclipse">Eclipse</h3>
+<div class="sect1">
+<h2 id="_eclipse">Eclipse</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Be the first to write this part!</p>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_idea">Idea</h3>
+</div>
+<div class="sect1">
+<h2 id="_idea">Idea</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Be the first to write this part!</p>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_netbeans">Netbeans</h3>
+</div>
+<div class="sect1">
+<h2 id="_netbeans">Netbeans</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>Be the first to write this part!</p>
 </div>
 </div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/developer/json/index.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/json/index.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/developer/json/index.html (original)
+++ tomee/site/trunk/content/latest/docs/developer/json/index.html Sun Dec  9 02:54:59 2018
@@ -143,7 +143,7 @@ getting started but here are the basics
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="highlight"><code class="language-java" data-lang="java">{
+<pre class="highlight"><code class="language-json" data-lang="json">{
   "id": 1234,
   "name": "Johnzon doc"
 }</code></pre>