tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1848496 [6/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...
Date Sun, 09 Dec 2018 02:55:03 GMT
Modified: tomee/site/trunk/content/latest/docs/persistence-unit-ref.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/persistence-unit-ref.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/persistence-unit-ref.html (original)
+++ tomee/site/trunk/content/latest/docs/persistence-unit-ref.html Sun Dec  9 02:54:59 2018
@@ -109,9 +109,9 @@ lookup and injection.</p>
 <div class="sect1">
 <h2 id="_via_annotation">Via annotation</h2>
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.superbiz;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.superbiz;
 
 import javax.persistence.PersistenceUnit;
 import javax.persistence.EntityManagerFactory;
@@ -131,7 +131,7 @@ public class MyBean implements MyInterfa
         InitialContext unit = new InitialContext();
         EntityManagerFactory barEntityManagerFactory = (EntityManagerFactory) context.lookup("java:comp/env/org.superbiz.MyBean/myBarEntityManagerFactory");
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -143,9 +143,9 @@ public class MyBean implements MyInterfa
 <p>The above @PersistenceUnit annotation usage is 100% equivalent to the
 following xml.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;persistence-unit-ref&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;persistence-unit-ref&gt;
     &lt;persistence-unit-ref-name&gt;org.superbiz.calculator.MyBean/myBarEntityManagerFactory&lt;/persistence-unit-ref-name&gt;
     &lt;persistence-unit-name&gt;bar-unit&lt;/persistence-unit-name&gt;
     &lt;persistence-unit-type&gt;Transaction&lt;/persistence-unit-type&gt;
@@ -153,7 +153,7 @@ following xml.</p>
         &lt;injection-target-class&gt;org.superbiz.calculator.MyBean&lt;/injection-target-class&gt;
         &lt;injection-target-name&gt;myBarEntityManagerFactory&lt;/injection-target-name&gt;
     &lt;/injection-target&gt;
-&lt;/persistence-unit-ref&gt;</pre>
+&lt;/persistence-unit-ref&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -163,9 +163,9 @@ following xml.</p>
 <div class="sectionbody">
 <div class="sect2">
 <h3 id="_via_annotation_2">Via annotation</h3>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.superbiz;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.superbiz;
 
 import javax.persistence.PersistenceUnit;
 import javax.persistence.EntityManagerFactory;
@@ -180,7 +180,7 @@ public class MyBean implements MyInterfa
         InitialContext context = new InitialContext();
         EntityManagerFactory fooEntityManagerFactory = (EntityManagerFactory) context.lookup("java:comp/env/myFooEntityManagerFactory");
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -191,13 +191,13 @@ public class MyBean implements MyInterfa
 <p>The above @PersistenceUnit annotation usage is 100% equivalent to the
 following xml.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;persistence-unit-ref&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;persistence-unit-ref&gt;
     &lt;persistence-unit-ref-name&gt;myFooEntityManagerFactory&lt;/persistence-unit-ref-name&gt;
     &lt;persistence-unit-name&gt;foo-unit&lt;/persistence-unit-name&gt;
     &lt;persistence-unit-type&gt;Transaction&lt;/persistence-unit-type&gt;
-&lt;/persistence-unit-ref&gt;</pre>
+&lt;/persistence-unit-ref&gt;</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/properties-tool.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/properties-tool.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/properties-tool.html (original)
+++ tomee/site/trunk/content/latest/docs/properties-tool.html Sun Dec  9 02:54:59 2018
@@ -153,9 +153,9 @@ is created).</p>
 the new property value before constructing the individual component.</p>
 </div>
 <h1 id="_example_output" class="sect0">Example output</h1>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre># Container(id=Default CMP Container)
+<pre class="highlight"><code class="language-properties" data-lang="properties"># Container(id=Default CMP Container)
 # className: org.apache.openejb.core.cmp.CmpContainer
 #
 Default\ CMP\ Container.CmpEngineFactory=org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory
@@ -314,7 +314,7 @@ admin.only_from=localhost
 admin.port=4200
 admin.threads=1
 admin.name=admin
-admin.server=org.apache.openejb.server.admin.AdminDaemon</pre>
+admin.server=org.apache.openejb.server.admin.AdminDaemon</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/provisioning.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/provisioning.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/provisioning.html (original)
+++ tomee/site/trunk/content/latest/docs/provisioning.html Sun Dec  9 02:54:59 2018
@@ -137,9 +137,9 @@ the container is able to access through
 <div class="paragraph">
 <p>Example:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/MIDDLE/foo/bar/my-local-file.jar</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">/MIDDLE/foo/bar/my-local-file.jar</code></pre>
 </div>
 </div>
 </div>
@@ -152,9 +152,9 @@ JVM ones.</p>
 <div class="paragraph">
 <p>Example:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>http://atos.net/foo/bar/my-http-file.jar</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">http://atos.net/foo/bar/my-http-file.jar</code></pre>
 </div>
 </div>
 </div>
@@ -169,17 +169,17 @@ maven informations to deploy your applic
 <div class="paragraph">
 <p>The location should follow:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>mvn:groupId/artifactId[/[version]/[type]]</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">mvn:groupId/artifactId[/[version]/[type]]</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>or</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>mvn:groupId:artifactId[:[version]:[type]]</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">mvn:groupId:artifactId[:[version]:[type]]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -188,9 +188,9 @@ maven informations to deploy your applic
 <div class="paragraph">
 <p>For instance you can use:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>mvn:net.atos.xa/my-application/1.0.0/war</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">mvn:net.atos.xa/my-application/1.0.0/war</code></pre>
 </div>
 </div>
 </div>
@@ -214,9 +214,9 @@ a look to other tip pages).</p>
 <p>Another way to install it with tomee is to edit or create the file
 /conf/provisioning.properties and add the line:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>zip=http://repo1.maven.org/maven2/org/apache/openejb/openejb-provisionning/&lt;version&gt;/openejb-provisionning-&lt;version&gt;.zip</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">zip=http://repo1.maven.org/maven2/org/apache/openejb/openejb-provisionning/&lt;version&gt;/openejb-provisionning-&lt;version&gt;.zip</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/proxyfactory-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/proxyfactory-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/proxyfactory-config.html (original)
+++ tomee/site/trunk/content/latest/docs/proxyfactory-config.html Sun Dec  9 02:54:59 2018
@@ -101,10 +101,10 @@
 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;ProxyFactory id="myProxyFactory" type="ProxyFactory"&gt;
-&lt;/ProxyFactory&gt;</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;ProxyFactory id="myProxyFactory" type="ProxyFactory"&gt;
+&lt;/ProxyFactory&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -113,9 +113,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>myProxyFactory = new://ProxyFactory?type=ProxyFactory</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">myProxyFactory = new://ProxyFactory?type=ProxyFactory</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/queue-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/queue-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/queue-config.html (original)
+++ tomee/site/trunk/content/latest/docs/queue-config.html Sun Dec  9 02:54:59 2018
@@ -100,11 +100,11 @@
 file or in a <code>WEB-INF/resources.xml</code> file 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="myQueue" type="javax.jms.Queue"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Resource id="myQueue" type="javax.jms.Queue"&gt;
     destination =
-&lt;/Resource&gt;</pre>
+&lt;/Resource&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -113,10 +113,10 @@ following. All properties in the element
 <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>myQueue = new://Resource?type=javax.jms.Queue
-myQueue.destination =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">myQueue = new://Resource?type=javax.jms.Queue
+myQueue.destination =</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/remote-server.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/remote-server.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/remote-server.html (original)
+++ tomee/site/trunk/content/latest/docs/remote-server.html Sun Dec  9 02:54:59 2018
@@ -138,9 +138,9 @@ example.</p>
 <div class="paragraph">
 <p>Deploy your bean with the Deploy Tool:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>c:\openejb&gt; openejb.bat deploy beans\myBean.jar</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">c:\openejb&gt; openejb.bat deploy beans\myBean.jar</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -150,9 +150,9 @@ documentation for more details on deploy
 <div class="paragraph">
 <p>Start the server:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>c:\openejb&gt; openejb.bat start -h 25.14.3.92 -p 4201</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">c:\openejb&gt; openejb.bat start -h 25.14.3.92 -p 4201</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -162,15 +162,15 @@ the Remote Server.</p>
 <div class="paragraph">
 <p>Create an initial context in your client as such:</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("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
 p.put("java.naming.provider.url", "ejbd://25.14.3.92:4201");
 p.put("java.naming.security.principal", "myuser");
 p.put("java.naming.security.credentials", "mypass");
 
-InitialContext ctx = new InitialContext(p);</pre>
+InitialContext ctx = new InitialContext(p);</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/resource-injection.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/resource-injection.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/resource-injection.html (original)
+++ tomee/site/trunk/content/latest/docs/resource-injection.html Sun Dec  9 02:54:59 2018
@@ -170,12 +170,12 @@ The default value of 10 is assigned. You
 environment entries at deployment time using deployment descriptor
 (<strong>ejb-jar.xml</strong>).</p>
 </div>
-<div class="sect3">
-<h4 id="__resource_annotation_of_a_field">@Resource annotation of a field</h4>
-<div class="literalblock">
+<div class="sect2">
+<h3 id="__resource_annotation_of_a_field">@Resource annotation of a field</h3>
+<div class="listingblock">
 <div class="content">
-<pre>@Resource
-int maxLineItems = 10;</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">@Resource
+int maxLineItems = 10;</code></pre>
 </div>
 </div>
 </div>
@@ -193,9 +193,9 @@ setters can be used as a way to inject e
 <p>You could look up the env-entry using JNDI lookup() method and the
 following name:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>java:comp/env/org.apache.openejb.examples.resource.InvoiceBean/maxLineItems</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">java:comp/env/org.apache.openejb.examples.resource.InvoiceBean/maxLineItems</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -203,35 +203,35 @@ following name:</p>
 a instance field (or a name of the setter method without <em>set</em> prefix
 and the first letter lowercased).</p>
 </div>
-<div class="sect3">
-<h4 id="__resource_annotation_of_a_setter_method">@Resource annotation of a setter method</h4>
-<div class="literalblock">
+<div class="sect2">
+<h3 id="__resource_annotation_of_a_setter_method">@Resource annotation of a setter method</h3>
+<div class="listingblock">
 <div class="content">
-<pre>@Resource
+<pre class="highlight"><code class="language-java" data-lang="java">@Resource
 public void setMaxLineItems(int maxLineItems) {
     this.maxLineItems = maxLineItems;
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_using_env_entry_in_ejb_jar_xml">Using env-entry in ejb-jar.xml</h4>
-<div class="literalblock">
+<div class="sect2">
+<h3 id="_using_env_entry_in_ejb_jar_xml">Using env-entry in ejb-jar.xml</h3>
+<div class="listingblock">
 <div class="content">
-<pre>&lt;env-entry&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;env-entry&gt;
     &lt;description&gt;The maximum number of line items per invoice.&lt;/description&gt;
     &lt;env-entry-name&gt;org.apache.openejb.examples.injection.InvoiceBean/maxLineItems&lt;/env-entry-name&gt;
     &lt;env-entry-type&gt;java.lang.Integer&lt;/env-entry-type&gt;
     &lt;env-entry-value&gt;15&lt;/env-entry-value&gt;
-&lt;/env-entry&gt;</pre>
+&lt;/env-entry&gt;</code></pre>
 </div>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_using_resource_annotated_env_entry">Using @Resource annotated env-entry</h4>
-<div class="literalblock">
+<div class="sect2">
+<h3 id="_using_resource_annotated_env_entry">Using @Resource annotated env-entry</h3>
+<div class="listingblock">
 <div class="content">
-<pre>public void addLineItem(LineItem item) throws TooManyItemsException {
+<pre class="highlight"><code class="language-java" data-lang="java">public void addLineItem(LineItem item) throws TooManyItemsException {
    if (item == null) {
       throw new IllegalArgumentException("Line item must not be null");
    }
@@ -242,7 +242,7 @@ public void setMaxLineItems(int maxLineI
    } else {
       throw new TooManyItemsException("Number of items exceeded the maximum limit");
    }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -254,24 +254,27 @@ public void setMaxLineItems(int maxLineI
 write a setup method to create and initialize the InitialContext, and
 then write our test methods.</p>
 </div>
-<div class="sect3">
-<h4 id="_test_fixture">Test fixture</h4>
-<div class="literalblock">
+<div class="sect1">
+<h2 id="_test_fixture">Test fixture</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>protected void setUp() throws Exception {
+<pre class="highlight"><code class="language-java" data-lang="java">protected void setUp() throws Exception {
     Properties properties = new Properties();
     properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
     properties.setProperty("openejb.deployments.classpath.include", ".*resource-injection.*");
     initialContext = new InitialContext(properties);
-}</pre>
+}</code></pre>
+</div>
 </div>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_test_methods">Test methods</h4>
-<div class="literalblock">
+<div class="sect1">
+<h2 id="_test_methods">Test methods</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>public void testAddLineItem() throws Exception {
+<pre class="highlight"><code class="language-java" data-lang="java">public void testAddLineItem() throws Exception {
     Invoice order = (Invoice)initialContext.lookup("InvoiceBeanBusinessRemote");
     assertNotNull(order);
     LineItem item = new LineItem("ABC-1", "Test Item");
@@ -281,7 +284,8 @@ then write our test methods.</p>
     } catch (TooManyItemsException tmie) {
     fail("Test failed due to: " + tmie.getMessage());
     }
-}</pre>
+}</code></pre>
+</div>
 </div>
 </div>
 </div>
@@ -300,9 +304,9 @@ commands:</p>
 </div>
 </blockquote>
 </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.injection.PurchaseOrderBeanTest
@@ -333,7 +337,7 @@ Tests run: 2, Failures: 0, Errors: 0, Sk
 
 Results :
 
-Tests run: 4, Failures: 0, Errors: 0, Skipped: 0</pre>
+Tests run: 4, Failures: 0, Errors: 0, Skipped: 0</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/resource-ref-for-datasource.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/resource-ref-for-datasource.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/resource-ref-for-datasource.html (original)
+++ tomee/site/trunk/content/latest/docs/resource-ref-for-datasource.html Sun Dec  9 02:54:59 2018
@@ -97,9 +97,9 @@
             <div class="col-md-12">
                 <div id="preamble">
 <div class="sectionbody">
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>package org.superbiz.refs;
+<pre class="highlight"><code class="language-java" data-lang="java">package org.superbiz.refs;
 
 import javax.annotation.Resource;
 import javax.ejb.Stateless;
@@ -121,7 +121,7 @@ public class MyDataSourceRefBean impleme
         DataSource fooDataSource = (DataSource) context.lookup("java:comp/env/myFooDataSource");
         DataSource barDataSource = (DataSource) context.lookup("java:comp/env/org.superbiz.refs.MyDataSourceRefBean/myBarDataSource");
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -133,9 +133,9 @@ public class MyDataSourceRefBean impleme
 <p>The above @Resource annotation usage is 100% equivalent to the following
 xml.</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;myFooDataSource&lt;/res-ref-name&gt;
     &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
 &lt;/resource-ref&gt;
@@ -146,7 +146,7 @@ xml.</p>
         &lt;injection-target-class&gt;org.superbiz.refs.MyDataSourceRefBean&lt;/injection-target-class&gt;
         &lt;injection-target-name&gt;myBarDataSource&lt;/injection-target-name&gt;
     &lt;/injection-target&gt;
-&lt;/resource-ref&gt;</pre>
+&lt;/resource-ref&gt;</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/securing-a-web-service.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/securing-a-web-service.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/securing-a-web-service.html (original)
+++ tomee/site/trunk/content/latest/docs/securing-a-web-service.html Sun Dec  9 02:54:59 2018
@@ -212,13 +212,13 @@ content of this element is consistent wi
 <em>openejb.xml</em>. The format for properties is the same as if you would use
 a common java property file.</p>
 </div>
-<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;
   wss4j.in.action = UsernameToken
   wss4j.in.passwordType = PasswordDigest
   wss4j.in.passwordCallbackClass=org.superbiz.calculator.CustomPasswordHandler
-&lt;/properties&gt;</pre>
+&lt;/properties&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -232,9 +232,9 @@ naming conventions. Each property is mad
 <div class="paragraph">
 <p><em>openejb-jar.xml</em>.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;openejb-jar xmlns="http://tomee.apache.org/xml/ns/openejb-jar-2.2"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;openejb-jar xmlns="http://tomee.apache.org/xml/ns/openejb-jar-2.2"&gt;
     &lt;enterprise-beans&gt;
     ...
     &lt;session&gt;
@@ -252,18 +252,19 @@ naming conventions. Each property is mad
     &lt;/session&gt;
     ...
     &lt;/enterprise-beans&gt;
-&lt;/openejb-jar&gt;</pre>
+&lt;/openejb-jar&gt;</code></pre>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_request_sent_by_the_client_this_request_contains_soap_headers_to">Request sent by the client. This request contains SOAP headers to</h4>
+<div class="sect1">
+<h2 id="_request_sent_by_the_client_this_request_contains_soap_headers_to">Request sent by the client. This request contains SOAP headers to</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>manage security. You can see <em>UsernameToken</em> tag from the WS-Security
 specification.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>POST /CalculatorImplUsernameTokenHashedPassword HTTP/1.1
+<pre class="highlight"><code class="language-properties" data-lang="properties">POST /CalculatorImplUsernameTokenHashedPassword HTTP/1.1
 Content-Type: text/xml; charset=UTF-8
 SOAPAction: ""
 Accept: *
@@ -295,15 +296,17 @@ xmlns:wsse="http://docs.oasis-open.org/w
       &lt;arg1&gt;6&lt;/arg1&gt;
     &lt;/ns1:sum&gt;
   &lt;/soap:Body&gt;
-&lt;/soap:Envelope&gt;</pre>
+&lt;/soap:Envelope&gt;</code></pre>
 </div>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_the_response_returned_from_the_server">The response returned from the server.</h4>
-<div class="literalblock">
+</div>
+<div class="sect1">
+<h2 id="_the_response_returned_from_the_server">The response returned from the server.</h2>
+<div class="sectionbody">
+<div class="listingblock">
 <div class="content">
-<pre>HTTP/1.1 200 OK
+<pre class="highlight"><code class="language-properties" data-lang="properties">HTTP/1.1 200 OK
 Content-Length: 200
 Connection: close
 Content-Type: text/xml; charset=UTF-8
@@ -315,7 +318,8 @@ Server: OpenEJB/??? (unknown os)
       &lt;return&gt;10&lt;/return&gt;
     &lt;/ns1:sumResponse&gt;
   &lt;/soap:Body&gt;
-&lt;/soap:Envelope&gt;</pre>
+&lt;/soap:Envelope&gt;</code></pre>
+</div>
 </div>
 </div>
 </div>
@@ -330,9 +334,9 @@ with 1 should be honoured.</p>
 <p>Here is a snippet from the webservice-ws-security example demonstrating
 this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class CustomPasswordHandler implements CallbackHandler {
+<pre class="highlight"><code class="language-java" data-lang="java">public class CustomPasswordHandler implements CallbackHandler {
 
     public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
         WSPasswordCallback pc = (WSPasswordCallback) callbacks[0];
@@ -367,7 +371,7 @@ this:</p>
             }
         }
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <h1 id="_examples_a_full_example_webservice_ws_security_is_available_with" class="sect0">Examples A full example (webservice-ws-security) is available with</h1>

Modified: tomee/site/trunk/content/latest/docs/security-annotations.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/security-annotations.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/security-annotations.html (original)
+++ tomee/site/trunk/content/latest/docs/security-annotations.html Sun Dec  9 02:54:59 2018
@@ -155,9 +155,9 @@ methods</p>
 <div class="paragraph">
 <p>These three examples are all equivalent.</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 OpenSourceProjectBean implements Project {
 
     public String svnCheckout(String s) {
@@ -183,7 +183,7 @@ public class OpenSourceProjectBean imple
     public String svnCheckout(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -202,9 +202,9 @@ public class OpenSourceProjectBean imple
 <p>Restrict the 'svnCommit' method to only individuals logged in and part
 of the "committer" role. Note that more than one role can be listed.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer"})
 public class OpenSourceProjectBean implements Project {
 
@@ -216,7 +216,7 @@ public class OpenSourceProjectBean imple
     public String svnCheckout(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -239,9 +239,9 @@ public class OpenSourceProjectBean imple
 <p>You need to update the @DeclareRoles when referencing roles via
 isCallerInRole(roleName).</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 public class OpenSourceProjectBean implements Project {
 
@@ -257,7 +257,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>
@@ -269,9 +269,9 @@ public class OpenSourceProjectBean imple
 <p>Placing the annotation at the class level changes the default of
 PermitAll</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -287,7 +287,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -308,9 +308,9 @@ public class OpenSourceProjectBean imple
 the same time. These rules do not stack, so marking 'submitPatch'
 overrides the default of "committers".</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -327,7 +327,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -352,9 +352,9 @@ public class OpenSourceProjectBean imple
 annotation becomes very useful on individual methods to open them back
 up again.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -372,7 +372,7 @@ public class OpenSourceProjectBean imple
     public String submitPatch(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -400,9 +400,9 @@ public class OpenSourceProjectBean imple
 access from anyone, logged in or not. The method is still invokable from
 within the bean class itself.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateless
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateless
 @DeclareRoles({"committer", "contributor"})
 @RolesAllowed({"committer"})
 public class OpenSourceProjectBean implements Project {
@@ -425,7 +425,7 @@ public class OpenSourceProjectBean imple
     public String deleteProject(String s) {
     return s;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="ulist">
@@ -456,9 +456,9 @@ and most callbacks.</p>
 <div class="paragraph">
 <p>The following usages of @RolesAllowed have no effect.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@Stateful
+<pre class="highlight"><code class="language-java" data-lang="java">@Stateful
 @DecalredRoles({"committer"})
 public class MyStatefulBean implements  MyBusinessInterface  {
 
@@ -476,15 +476,15 @@ public class MyStatefulBean implements
 
     @AroundInvoke
     @RolesAllowed({"committer"})
-    public Object invoke(InvocationContext invocationContext) throws</pre>
+    public Object invoke(InvocationContext invocationContext) throws</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Exception \{ return invocationContext.proceed(); }</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    @PostActivate
+<pre class="highlight"><code class="language-java" data-lang="java">    @PostActivate
     @RolesAllowed({"committer"})
     public void activated(){
 
@@ -495,7 +495,7 @@ public class MyStatefulBean implements
     public void passivate(){
 
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/security.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/security.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/security.html (original)
+++ tomee/site/trunk/content/latest/docs/security.html Sun Dec  9 02:54:59 2018
@@ -108,9 +108,9 @@ through SQL queries)</p>
 your InitialContext with the standard javax.naming.Context properties
 for user/pass info, which is:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Properties props = new Properties();
+<pre class="highlight"><code class="language-java" data-lang="java">Properties props = new Properties();
 props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.RemoteInitialContextFactory");
 props.setProperty(Context.PROVIDER_URL, "ejbd://localhost:4201");
 props.setProperty(Context.SECURITY_PRINCIPAL, "someuser");
@@ -118,7 +118,7 @@ props.setProperty(Context.SECURITY_CREDE
 props.setProperty("openejb.authentication.realmName", "PropertiesLogin");
 // optional
 InitialContext ctx = new InitialContext(props);
-ctx.lookup(...);</pre>
+ctx.lookup(...);</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/securityservice-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/securityservice-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/securityservice-config.html (original)
+++ tomee/site/trunk/content/latest/docs/securityservice-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;SecurityService id="mySecurityService" type="SecurityService"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;SecurityService id="mySecurityService" type="SecurityService"&gt;
     defaultUser = guest
-&lt;/SecurityService&gt;</pre>
+&lt;/SecurityService&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -114,10 +114,10 @@ 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>mySecurityService = new://SecurityService?type=SecurityService
-mySecurityService.defaultUser = guest</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">mySecurityService = new://SecurityService?type=SecurityService
+mySecurityService.defaultUser = guest</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/service-locator.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/service-locator.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/service-locator.html (original)
+++ tomee/site/trunk/content/latest/docs/service-locator.html Sun Dec  9 02:54:59 2018
@@ -116,9 +116,9 @@ examples start with this basic class tha
 for a common prefix to be optionally applied to the beginning of all
 lookup strings.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class MyLocator {
+<pre class="highlight"><code class="language-java" data-lang="java">public class MyLocator {
     private final Context context;
 
     public MyLocator() throws NamingException {
@@ -140,7 +140,7 @@ lookup strings.</p>
             throw new IllegalArgumentException(e);
         }
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="sect1">
@@ -149,16 +149,16 @@ lookup strings.</p>
 <div class="paragraph">
 <p>class name of the interface such as: - {interfaceClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public &lt;T&gt; T lookup(Class&lt;T&gt; type) {
+<pre class="highlight"><code class="language-java" data-lang="java">public &lt;T&gt; T lookup(Class&lt;T&gt; type) {
     return (T) lookup(type.getName());
 }
 
 
 
 MyLocator locator = new MyLocator();
-Widget widget = locator.lookup(Widget.class);</pre>
+Widget widget = locator.lookup(Widget.class);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -166,11 +166,11 @@ Widget widget = locator.lookup(Widget.cl
 such as: - {moduleId}/{interfaceClass} -
 ejb/{moduleId}/{interfaceClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("ejb/superbiz");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("ejb/superbiz");
 Widget widget = locator.lookup(Widget.class);
-Store store = locator.lookup(Store.class);</pre>
+Store store = locator.lookup(Store.class);</code></pre>
 </div>
 </div>
 </div>
@@ -206,11 +206,11 @@ Widget blueWidget = locator.lookup("Blue
 such as: - {moduleId}/{ejbName}/{interfaceClass} -
 ejb/{moduleId}/{deploymentId}/{interfaceClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("accountingApp");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("accountingApp");
 Widget widget = locator.lookup("RedWidgetBean", Widget.class);
-Store store = locator.lookup("StoreBean", Store.class);</pre>
+Store store = locator.lookup("StoreBean", Store.class);</code></pre>
 </div>
 </div>
 </div>
@@ -231,16 +231,16 @@ class.</p>
 <div class="paragraph">
 <p>Works with: - {interfaceClass}/{ejbClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public &lt;T&gt; T lookup(Class&lt;T&gt; type, Class ejbClass) {
+<pre class="highlight"><code class="language-java" data-lang="java">public &lt;T&gt; T lookup(Class&lt;T&gt; type, Class ejbClass) {
     return (T) lookup(type.getName() + "/" + ejbClass.getName());
 }
 
 
 
 MyLocator locator = new MyLocator();
-Widget widget = locator.lookup(Widget.class, BlueWidgetBean.class);</pre>
+Widget widget = locator.lookup(Widget.class, BlueWidgetBean.class);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -248,11 +248,11 @@ Widget widget = locator.lookup(Widget.cl
 such as: - {moduleId}/{interfaceClass}/{ejbClass} -
 ejb/{moduleId}/{interfaceClass}/{ejbClass}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("ejb/purchasingApp");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("ejb/purchasingApp");
 Widget widget = locator.lookup(Widget.class, RedWidgetBean.class);
-Store store = locator.lookup(Store.class, StoreBean.class);</pre>
+Store store = locator.lookup(Store.class, StoreBean.class);</code></pre>
 </div>
 </div>
 </div>
@@ -265,20 +265,20 @@ Store store = locator.lookup(Store.class
 resulting in a JNDI tree that&#8217;s a bit more human readable. -
 \{ejbClass.simpleName}/\{interfaceClass.simpleName}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public &lt;T&gt; T lookup(Class ejbClass, Class&lt;T&gt; type) {
+<pre class="highlight"><code class="language-java" data-lang="java">public &lt;T&gt; T lookup(Class ejbClass, Class&lt;T&gt; type) {
     return (T) lookup(ejbClass.getSimpleName() + "" + type.getSimpleName());
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>and</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator();
-Widget widget = locator.lookup(RedWidgetBean.class, Widget.class);</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator();
+Widget widget = locator.lookup(RedWidgetBean.class, Widget.class);</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -287,11 +287,11 @@ such as: -
 {moduleId}/\{ejbClass.simpleName}/\{interfaceClass.simpleName} -
 ejb/{moduleId}/\{ejbClass.simpleName}/\{interfaceClass.simpleName}</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>MyLocator locator = new MyLocator("shippingApp");
+<pre class="highlight"><code class="language-java" data-lang="java">MyLocator locator = new MyLocator("shippingApp");
 Widget widget = locator.lookup(GreenWidgetBean.class, Widget.class);
-Store store = locator.lookup(SuperStoreBean.class, Store.class);</pre>
+Store store = locator.lookup(SuperStoreBean.class, Store.class);</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/singleton-beans.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/singleton-beans.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/singleton-beans.html (original)
+++ tomee/site/trunk/content/latest/docs/singleton-beans.html Sun Dec  9 02:54:59 2018
@@ -170,9 +170,9 @@ and then @Lock(WRITE) on specific method
 _http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/ReadWriteLock.html[java.util.concurrent.ReadWriteLock]
 _ API which looks like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public interface ReadWriteLock {
+<pre class="highlight"><code class="language-java" data-lang="java">public interface ReadWriteLock {
    /**
     * Returns the lock used for reading.
     *
@@ -186,7 +186,7 @@ _ API which looks like this:</p>
     * @return the lock used for writing.
     */
    Lock writeLock();
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -228,9 +228,9 @@ the
 <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/Lock.html">java.util.concurrent.locks.Lock</a>
 interface.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public interface Lock {
+<pre class="highlight"><code class="language-java" data-lang="java">public interface Lock {
 
     /**
      * Blocks (potentially) forever
@@ -253,7 +253,7 @@ interface.</p>
      */
     boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
 
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -317,13 +317,13 @@ the <em>@DependsOn</em> annotation which
 Singleton beans that must be started before the Singleton bean using the
 annotation.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>@DependsOn({"SingletonB", "SingletonC"})
+<pre class="highlight"><code class="language-java" data-lang="java">@DependsOn({"SingletonB", "SingletonC"})
 @Singleton
 public class SingletonA {
 
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -354,9 +354,9 @@ needed.</p>
 <div class="paragraph">
 <p>Singletons can be declared in the ejb-jar.xml as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;ejb-jar&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;ejb-jar&gt;
   &lt;enterprise-beans&gt;
     &lt;session&gt;
       &lt;ejb-name&gt;MySingletonBean&lt;/ejb-name&gt;
@@ -369,7 +369,7 @@ needed.</p>
       &lt;/depends-on&gt;
     &lt;/session&gt;
   &lt;/enterprise-beans&gt;
-&lt;/ejb-jar&gt;</pre>
+&lt;/ejb-jar&gt;</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/singletoncontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/singletoncontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/singletoncontainer-config.html (original)
+++ tomee/site/trunk/content/latest/docs/singletoncontainer-config.html Sun Dec  9 02:54:59 2018
@@ -103,11 +103,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="mySingletonContainer" type="SINGLETON"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Container id="mySingletonContainer" type="SINGLETON"&gt;
     accessTimeout = 30 seconds
-&lt;/Container&gt;</pre>
+&lt;/Container&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -117,10 +117,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>mySingletonContainer = new://Container?type=SINGLETON
-mySingletonContainer.accessTimeout = 30 seconds</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">mySingletonContainer = new://Container?type=SINGLETON
+mySingletonContainer.accessTimeout = 30 seconds</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/spring-and-openejb-3.0.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/spring-and-openejb-3.0.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/spring-and-openejb-3.0.html (original)
+++ tomee/site/trunk/content/latest/docs/spring-and-openejb-3.0.html Sun Dec  9 02:54:59 2018
@@ -106,9 +106,9 @@ page.{note} # Bootstrapping OpenEJB in S
 Include OpenEJB and its dependencies in your classpath as you would in a
 plain embedded scenario then add a custom factory like the following:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class OpenEjbFactoryBean implements org.springframework.beans.factory.FactoryBean {
+<pre class="highlight"><code class="language-java" data-lang="java">public class OpenEjbFactoryBean implements org.springframework.beans.factory.FactoryBean {
 
     private Properties properties = new Properties();
 
@@ -139,15 +139,15 @@ plain embedded scenario then add a custo
     boolean isSingleton() {
         return true;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>And include that at the top of your spring xml file as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
   &lt;property name="jndiEnvironment"&gt;
     &lt;props&gt;
       &lt;prop key="myDs"&gt;new://Resource?type=DataSource&lt;/prop&gt;
@@ -157,7 +157,7 @@ plain embedded scenario then add a custo
       &lt;prop key="myDs.Password"&gt;&lt;/prop&gt;
     &lt;/props&gt;
   &lt;/property&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -191,9 +191,9 @@ pull the EntityManager out and return it
 <div class="paragraph">
 <p>OrangeUnitBean.java</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/*
+<pre class="highlight"><code class="language-java" data-lang="java">/*
  * OpenEJB will automatically find this bean.  Just put it in the same jar
  * that your META-INF/persistence.xml file is located in and make sure that
  * that same jar file also has a META-INF/ejb-jar.xml file.  The ejb-jar.xml
@@ -208,28 +208,28 @@ public class OrangeUnitBean implements O
     public EntityManager getEntityManager() {
         return entityManager;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>OrangeUnitLocal.java</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/**
+<pre class="highlight"><code class="language-java" data-lang="java">/**
  * The local interface for the OrangeUnitBean
  */
 public interface OrangeUnitLocal {
    public EntityManager getEntityManager();
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>OrangeUnitFactoryBean.java</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>/**
+<pre class="highlight"><code class="language-java" data-lang="java">/**
  * This factory bean will lookup the OrangeUnitBean using the javax.naming.Context
  * that is created via the OpenEjbFactoryBean above.  It will simply grab the EntityManager
  * from that bean and hand it over to Spring.  Anyone in Spring-land can then easily get
@@ -262,26 +262,26 @@ public class OrangeUnitFactoryBean imple
     boolean isSingleton() {
         return true;
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The factory bean would then be declared in your spring xml file as
 follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="OrangeUnit" class="org.acme.OrangeUnitFactoryBean"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="OrangeUnit" class="org.acme.OrangeUnitFactoryBean"&gt;
   &lt;property name="context" ref="OpenEjbContext"&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The EntityManager can then easily be consumed by a spring bean.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>public class SomePojo {
+<pre class="highlight"><code class="language-java" data-lang="java">public class SomePojo {
 
     private EntityManager entityManager;
 
@@ -290,17 +290,17 @@ follows:</p>
     }
 
     ...
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>In the spring xml</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="SomePojo" class="org.acme.SomePojo"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="SomePojo" class="org.acme.SomePojo"&gt;
   &lt;property name="entityManager" ref="OrangeUnit"&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -310,9 +310,9 @@ spring xml:</p>
 <div class="paragraph">
 <p>Spring bean definitions combined</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;bean id="OpenEjbContext" class="org.acme.OpenEjbFactoryBean"&gt;
   &lt;property name="jndiEnvironment"&gt;
     &lt;props&gt;
       &lt;prop key="myDs"&gt;new://Resource?type=DataSource&lt;/prop&gt;
@@ -330,7 +330,7 @@ spring xml:</p>
 
 &lt;bean id="SomePojo" class="org.acme.SomePojo"&gt;
   &lt;property name="entityManager" ref="OrangeUnit"&gt;
-&lt;/bean&gt;</pre>
+&lt;/bean&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/spring-ejb-and-jpa.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/spring-ejb-and-jpa.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/spring-ejb-and-jpa.html (original)
+++ tomee/site/trunk/content/latest/docs/spring-ejb-and-jpa.html Sun Dec  9 02:54:59 2018
@@ -276,13 +276,13 @@ well.</p>
 <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.spring.MoviesTest
-log4j:WARN No appenders could be found for logger</pre>
+log4j:WARN No appenders could be found for logger</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -326,11 +326,11 @@ Exported EJB CineplexImpl with interface
 Spring bean CineplexImplLocal Tests run: 1, Failures: 0, Errors: 0,
 Skipped: 0, Time elapsed: 3.141 sec</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Results :
+<pre class="highlight"><code class="language-properties" data-lang="properties">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/standalone-server.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/standalone-server.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/standalone-server.html (original)
+++ tomee/site/trunk/content/latest/docs/standalone-server.html Sun Dec  9 02:54:59 2018
@@ -118,9 +118,7 @@ License.
 </tr>
 </table>
 </div>
-<div class="paragraph">
-<p>#Links to guide you through OpenEJB-Standalone-Server</p>
-</div>
+<h1 id="_links_to_guide_you_through_openejb_standalone_server" class="sect0">Links to guide you through OpenEJB-Standalone-Server</h1>
 <div class="ulist">
 <ul>
 <li>

Modified: tomee/site/trunk/content/latest/docs/startup.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/startup.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/startup.html (original)
+++ tomee/site/trunk/content/latest/docs/startup.html Sun Dec  9 02:54:59 2018
@@ -200,9 +200,9 @@ the port to which the telnet service sho
 <p>The following properties would then be used to get an InitialContext
 from the Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>java.naming.factory.initial  =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">java.naming.factory.initial  =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -273,9 +273,9 @@ will start up and bind to IP 10.45.67.8
 properties would then be used to get an InitialContext from the EJBd
 Server Service.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -294,9 +294,9 @@ java.naming.security.principal = myuser
 <p>The following properties would then be used to get an InitialContext
 from the Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -330,9 +330,9 @@ telnet client as such:</p>
 <p>The following properties would then be used to get an InitialContext
 from the Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -352,9 +352,9 @@ java.naming.security.principal = myuser
 <p>The following properties would then be used to get an InitialContext
 from the HTTP/Remote Server.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>   java.naming.factory.initial      =</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">   java.naming.factory.initial      =</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -430,12 +430,12 @@ starts.</p>
 <p>Once you start OpenEJB using the <em>openejb start</em> command the following
 output will be seen on the console</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Apache OpenEJB 3.0    build: 20070825-01:10
+<pre class="highlight"><code class="language-properties" data-lang="properties">Apache OpenEJB 3.0    build: 20070825-01:10
 http://tomee.apache.org/
 OpenEJB ready.
-[OPENEJB:init]</pre>
+[OPENEJB:init]</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/statefulcontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/statefulcontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/statefulcontainer-config.html (original)
+++ tomee/site/trunk/content/latest/docs/statefulcontainer-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;Container id="myStatefulContainer" type="STATEFUL"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Container id="myStatefulContainer" type="STATEFUL"&gt;
     accessTimeout = 30 seconds
     bulkPassivate = 100
     cache = org.apache.openejb.core.stateful.SimpleCache
@@ -113,7 +113,7 @@ body are optional.</p>
     frequency = 60
     passivator = org.apache.openejb.core.stateful.SimplePassivater
     timeOut = 20
-&lt;/Container&gt;</pre>
+&lt;/Container&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -122,16 +122,16 @@ 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>myStatefulContainer = new://Container?type=STATEFUL
+<pre class="highlight"><code class="language-properties" data-lang="properties">myStatefulContainer = new://Container?type=STATEFUL
 myStatefulContainer.accessTimeout = 30 seconds
 myStatefulContainer.bulkPassivate = 100
 myStatefulContainer.cache = org.apache.openejb.core.stateful.SimpleCache
 myStatefulContainer.capacity = 1000
 myStatefulContainer.frequency = 60
 myStatefulContainer.passivator = org.apache.openejb.core.stateful.SimplePassivater
-myStatefulContainer.timeOut = 20</pre>
+myStatefulContainer.timeOut = 20</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/statelesscontainer-config.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/statelesscontainer-config.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/statelesscontainer-config.html (original)
+++ tomee/site/trunk/content/latest/docs/statelesscontainer-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;Container id="myStatelessContainer" type="STATELESS"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Container id="myStatelessContainer" type="STATELESS"&gt;
     accessTimeout = 30 seconds
     callbackThreads = 5
     closeTimeout = 5 minutes
@@ -119,7 +119,7 @@ body are optional.</p>
     replaceFlushed = false
     strictPooling = true
     sweepInterval = 5 minutes
-&lt;/Container&gt;</pre>
+&lt;/Container&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -129,9 +129,9 @@ 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>myStatelessContainer = new://Container?type=STATELESS
+<pre class="highlight"><code class="language-properties" data-lang="properties">myStatelessContainer = new://Container?type=STATELESS
 myStatelessContainer.accessTimeout = 30 seconds
 myStatelessContainer.callbackThreads = 5
 myStatelessContainer.closeTimeout = 5 minutes
@@ -144,7 +144,7 @@ myStatelessContainer.minSize = 0
 myStatelessContainer.replaceAged = true
 myStatelessContainer.replaceFlushed = false
 myStatelessContainer.strictPooling = true
-myStatelessContainer.sweepInterval = 5 minutes</pre>
+myStatelessContainer.sweepInterval = 5 minutes</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -485,12 +485,12 @@ is used in creating the offset and allow
 initial ages into the future or into the past. The pool is filled at
 startup as follows:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>for (int i = 0; i &lt; poolMin; i++) {
+<pre class="highlight"><code class="language-java" data-lang="java">for (int i = 0; i &lt; poolMin; i++) {
     long ageOffset = (maxAge / poolMin * i * maxAgeOffset) % maxAge;
     pool.add(new Bean(), ageOffset));
-}</pre>
+}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -611,9 +611,9 @@ instances.</p>
 and calling <code>flush()</code>. See <code>SweepInterval</code> for details on how flush is
 performed.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>import javax.annotation.Resource;
+<pre class="highlight"><code class="language-java" data-lang="java">import javax.annotation.Resource;
 import javax.ejb.SessionContext;
 import javax.ejb.Stateless;
 import java.io.Flushable;
@@ -627,7 +627,7 @@ public class MyBean {
 
         ((Flushable) sessionContext).flush();
     }
-}</pre>
+}</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/system-properties.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/system-properties.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/system-properties.html (original)
+++ tomee/site/trunk/content/latest/docs/system-properties.html Sun Dec  9 02:54:59 2018
@@ -116,13 +116,13 @@ of the format:</p>
 <div class="paragraph">
 <p>..where id is the value in the config file for example:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;Connector id="mysql"&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;Connector id="mysql"&gt;
     JdbcDriver com.mysql.jdbc.Driver
     JdbcUrl jdbc:mysql://localhost/test
     UserName test
-&lt;/Connector&gt;</pre>
+&lt;/Connector&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -149,9 +149,9 @@ fashion as things in the openejb.xml fil
 <div class="paragraph">
 <p>For example, when OpenEJB starts it prints out the following:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>  ** Starting Services **
+<pre class="highlight"><code class="language-java" data-lang="java">  ** Starting Services **
   NAME             IP          PORT
   httpejbd         0.0.0.0         4204
   telnet           0.0.0.0         4202
@@ -159,7 +159,7 @@ fashion as things in the openejb.xml fil
   hsql             0.0.0.0         9001
   activemq         127.0.0.1       4206
   derbynet         0.0.0.0         4205
-  admin thread         0.0.0.0         4200</pre>
+  admin thread         0.0.0.0         4200</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -181,9 +181,9 @@ one of the following: bind, port, thread
 <p>So to set the address and port the ejbd service will bind to, simply
 specify this on the command line:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/telnet-console.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/telnet-console.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/telnet-console.html (original)
+++ tomee/site/trunk/content/latest/docs/telnet-console.html Sun Dec  9 02:54:59 2018
@@ -113,14 +113,14 @@
 </div>
 </blockquote>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>OPENEJB_HOME=/Users/dblevins/Desktop/openejb-1.0
+<pre class="highlight"><code class="language-properties" data-lang="properties">OPENEJB_HOME=/Users/dblevins/Desktop/openejb-1.0
 OpenEJB 1.0    build: 20060226-1701
 http://www.openejb.org
 resources 1
 OpenEJB ready.
-[init]</pre>
+[init]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -142,11 +142,11 @@ admin 0.0.0.0 4200<br>
 </div>
 </blockquote>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Trying ::1...
+<pre class="highlight"><code class="language-properties" data-lang="properties">Trying ::1...
 Connected to localhost.
-Escape character is '^]</pre>
+Escape character is '^]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -155,9 +155,9 @@ Escape character is '^]</pre>
 Containers: Default BMP Container Default CMP Container Default Stateful
 Container Default Stateless Container</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Deployments:
+<pre class="highlight"><code class="language-java" data-lang="java">Deployments:
  client/tests/stateful/EncBean
  client/tests/entity/cmp/RMI-over-IIOP/EJBHome
  client/tests/stateful/BasicStatefulHome
@@ -194,7 +194,7 @@ Container Default Stateless Container</p
  httpd/session
  client/tests/entity/cmp/allowed_operations/EntityHome
  client/tests/stateless/RMI-over-IIOP/EJBHome
-[openejb]</pre>
+[openejb]</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -214,14 +214,14 @@ you automatically after the first time O
 </div>
 </blockquote>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    server  = org.openejb.server.telnet.TelnetServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">    server  = org.openejb.server.telnet.TelnetServer
     bind    = 127.0.0.1
     port    = 4202
     disabled    = false
     threads = 5
-#   only_from   = 192.168.1.123</pre>
+#   only_from   = 192.168.1.123</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -232,9 +232,9 @@ concurrently access the Telnet service v
 <div class="paragraph">
 <p>Simply edit the config file and set 'disabled' to true</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    disabled    = true</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">    disabled    = true</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -253,28 +253,28 @@ rest of the file is a direct copy of the
 <p>For an example to restrict access to the localhost, you could configure
 the Telnet Service like this:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    server  = org.openejb.server.telnet.TelnetServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">    server  = org.openejb.server.telnet.TelnetServer
     bind    = 127.0.0.1
     port    = 4202
     disabled    = false
     threads = 5
-    only_from   = localhost</pre>
+    only_from   = localhost</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>If you wanted to restrict access to localhost <em>and</em> say the hosts
 192.168.1.207 and 192.168.1.16, you can simply add them to the list.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    server  = org.openejb.server.telnet.TelnetServer
+<pre class="highlight"><code class="language-properties" data-lang="properties">    server  = org.openejb.server.telnet.TelnetServer
     bind    = 127.0.0.1
     port    = 4202
     disabled    = false
     threads = 5
-    only_from   = localhost, 192.168.1.207, 192.168.1.16</pre>
+    only_from   = localhost, 192.168.1.207, 192.168.1.16</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/tip-concurrency.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tip-concurrency.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tip-concurrency.html (original)
+++ tomee/site/trunk/content/latest/docs/tip-concurrency.html Sun Dec  9 02:54:59 2018
@@ -99,9 +99,9 @@
 <p>If for whatever reason you want to define the global default concurrency
 add this to your META-INF/ejb-jar.xml:</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
     xmlns="http://java.sun.com/xml/ns/javaee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -114,15 +114,15 @@ add this to your META-INF/ejb-jar.xml:</
             &lt;concurrency-management-type&gt;Bean&lt;/concurrency-management-type&gt;
         &lt;/session&gt;
     &lt;enterprise-beans&gt;
-&lt;/ejb-jar&gt;</pre>
+&lt;/ejb-jar&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>You may need to create the file if it does not exist.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>src/main/resources/META-INF/ejb-jar.xml</pre>
+<pre class="highlight"><code class="language-java" data-lang="java">src/main/resources/META-INF/ejb-jar.xml</code></pre>
 </div>
 </div>
             </div>

Modified: tomee/site/trunk/content/latest/docs/tip-jersey-client.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tip-jersey-client.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tip-jersey-client.html (original)
+++ tomee/site/trunk/content/latest/docs/tip-jersey-client.html Sun Dec  9 02:54:59 2018
@@ -99,13 +99,13 @@
 <p>If you have an application that uses jersey-client in any way then it
 may fail with an error along the lines of:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Caused by: java.lang.ClassNotFoundException: com.sun.jersey.core.util.FeaturesAndProperties
+<pre class="highlight"><code class="language-properties" data-lang="properties">Caused by: java.lang.ClassNotFoundException: com.sun.jersey.core.util.FeaturesAndProperties
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java)
 at org.apache.tomee.catalina.LazyStopWebappClassLoader.loadClass(LazyStopWebappClassLoader.java)
-... 34 more</pre>
+... 34 more</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -119,9 +119,9 @@ javax.ws.rs.core.Configurable, so the ja
 which is what we would recommend. If you really want to keep Jersey then
 you can use set the following property in your <em>[TomEE].properties</em></p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>openejb.api.javax.ws.rs.Path.validation=false</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">openejb.api.javax.ws.rs.Path.validation=false</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/tip-weblogic.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tip-weblogic.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tip-weblogic.html (original)
+++ tomee/site/trunk/content/latest/docs/tip-weblogic.html Sun Dec  9 02:54:59 2018
@@ -98,15 +98,15 @@
                 <div class="paragraph">
 <p>How to lookup WebLogic Objects from within a TomEE context:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>Hashtable&lt;String, String&gt; props = new Hashtable&lt;String, String&gt;();
+<pre class="highlight"><code class="language-java" data-lang="java">Hashtable&lt;String, String&gt; props = new Hashtable&lt;String, String&gt;();
 props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
 props.put(javax.naming.Context.URL_PKG_PREFIXES, "weblogic.jndi.factories");
 props.put("java.naming.provider.url", "t3://your.host.name:7023");
 Context ctx = new InitialContext(props);
 
-IService s = (IService) ctx.lookup("java:global.com.test.ServiceImpl!com.test.IService");</pre>
+IService s = (IService) ctx.lookup("java:global.com.test.ServiceImpl!com.test.IService");</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/tomee-and-eclipse.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tomee-and-eclipse.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tomee-and-eclipse.html (original)
+++ tomee/site/trunk/content/latest/docs/tomee-and-eclipse.html Sun Dec  9 02:54:59 2018
@@ -298,9 +298,9 @@ hot deployment alter this value to true
 <div class="paragraph">
 <p>This is the relevant snippet of the web.xml file.</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;servlet&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;servlet&gt;
     &lt;servlet-name&gt;jsp&lt;/servlet-name&gt;
     &lt;servlet-class&gt;org.apache.jasper.servlet.JspServlet&lt;/servlet-class&gt;
     ....
@@ -309,7 +309,7 @@ hot deployment alter this value to true
         &lt;param-value&gt;true&lt;/param-value&gt;
     &lt;/init-param&gt;
     ....
-&lt;/servlet&gt;</pre>
+&lt;/servlet&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -323,10 +323,10 @@ hot deployment alter this value to true
 (which needs to be done through system properties). A quick workaround
 is to add these properties manually:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
--Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
+-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/tomee-and-hibernate.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tomee-and-hibernate.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tomee-and-hibernate.html (original)
+++ tomee/site/trunk/content/latest/docs/tomee-and-hibernate.html Sun Dec  9 02:54:59 2018
@@ -146,9 +146,9 @@ whichever JPA provider it needs.</p>
 <p>The following is an example of a fairly common <code>persistence.xml</code> for
 Hibernate</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;persistence version="1.0"
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;persistence version="1.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
@@ -163,17 +163,17 @@ Hibernate</p>
       &lt;property name="hibernate.hbm2ddl.auto" value="create-drop"/&gt;
     &lt;/properties&gt;
   &lt;/persistence-unit&gt;
-&lt;/persistence&gt;</pre>
+&lt;/persistence&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Note, TomEE will automatically add the following property unless it is
 explicitly configured:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>      &lt;property name="hibernate.transaction.manager_lookup_class"
-                value="org.apache.openejb.hibernate.TransactionManagerLookup"/&gt;</pre>
+<pre class="highlight"><code class="language-xml" data-lang="xml">      &lt;property name="hibernate.transaction.manager_lookup_class"
+                value="org.apache.openejb.hibernate.TransactionManagerLookup"/&gt;</code></pre>
 </div>
 </div>
 </div>
@@ -307,9 +307,9 @@ be sure to put your Database JDBC driver
 <p>The actual Maven dependencies for your project can be added in the usual
 way:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>    &lt;!-- Hibernate --&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">    &lt;!-- Hibernate --&gt;
     &lt;dependency&gt;
         &lt;groupId&gt;antlr&lt;/groupId&gt;
         &lt;artifactId&gt;antlr&lt;/artifactId&gt;
@@ -354,7 +354,7 @@ way:</p>
         &lt;groupId&gt;org.javassist&lt;/groupId&gt;
         &lt;artifactId&gt;javassist&lt;/artifactId&gt;
         &lt;version&gt;3.15.0-GA&lt;/version&gt;
-    &lt;/dependency&gt;</pre>
+    &lt;/dependency&gt;</code></pre>
 </div>
 </div>
 </div>

Modified: tomee/site/trunk/content/latest/docs/tomee-and-netbeans.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tomee-and-netbeans.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tomee-and-netbeans.html (original)
+++ tomee/site/trunk/content/latest/docs/tomee-and-netbeans.html Sun Dec  9 02:54:59 2018
@@ -95,7 +95,9 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="admonitionblock note">
+                <div id="preamble">
+<div class="sectionbody">
+<div class="admonitionblock note">
 <table>
 <tr>
 <td class="icon">
@@ -144,9 +146,13 @@ solution is to simply rename the jar fil
 installation - Be sure to document the change for yourself as a
 reminder.</p>
 </div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_quickstart_check_out_this_video_on">Quickstart Check out this video on</h2>
+<div class="sectionbody">
 <div class="paragraph">
-<p>###Quickstart Check out this video on
-<a href="https://www.youtube.com/watch?v=HISV7eagogI">How to Consume REST in a
+<p><a href="https://www.youtube.com/watch?v=HISV7eagogI">How to Consume REST in a
 Java Client</a></p>
 </div>
 <div class="paragraph">
@@ -216,6 +222,8 @@ the existing examples for this demo. Let
 <p><span class="image"><img src="http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_15.png" alt="alt text"></span>
 <span class="image"><img src="http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_16.png" alt="alt text"></span></p>
 </div>
+</div>
+</div>
             </div>
             
         </div>

Modified: tomee/site/trunk/content/latest/docs/tomee-and-security.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tomee-and-security.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tomee-and-security.html (original)
+++ tomee/site/trunk/content/latest/docs/tomee-and-security.html Sun Dec  9 02:54:59 2018
@@ -95,7 +95,9 @@
         <div class="row">
             
             <div class="col-md-12">
-                <div class="admonitionblock note">
+                <div id="preamble">
+<div class="sectionbody">
+<div class="admonitionblock note">
 <table>
 <tr>
 <td class="icon">
@@ -160,7 +162,7 @@ Extra TomEE layer adds support for JAAS
 </li>
 </ul>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
 <pre>* ....
 Supports any org.apache.catalina.Realm implementation</pre>
@@ -174,14 +176,19 @@ E.g. add users to $CATALINA_BASE/conf/to
 </li>
 </ul>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
 <pre>* ....
 Alternatively use login.config to provide your own security module</pre>
 </div>
 </div>
-<div class="paragraph">
-<p><mark>#</mark>#See Also: <a href="tomee-jaas.html">TomEE-and-JAAS</a></p>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_see_also_a_href_tomee_jaas_html_tomee_and_jaas_a">See Also: <a href="tomee-jaas.html">TomEE-and-JAAS</a></h2>
+<div class="sectionbody">
+
+</div>
 </div>
             </div>
             

Modified: tomee/site/trunk/content/latest/docs/tomee-directory-structure.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tomee-directory-structure.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tomee-directory-structure.html (original)
+++ tomee/site/trunk/content/latest/docs/tomee-directory-structure.html Sun Dec  9 02:54:59 2018
@@ -118,9 +118,7 @@ License.
 </tr>
 </table>
 </div>
-<div class="paragraph">
-<p>#TomEE Directory Layout:</p>
-</div>
+<h1 id="_tomee_directory_layout" class="sect0">TomEE Directory Layout:</h1>
 <div class="paragraph">
 <p>TomEE directory layout is the same as that of Tomcat, with a few changes
 as described below.</p>

Modified: tomee/site/trunk/content/latest/docs/tomee-jaas.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tomee-jaas.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tomee-jaas.html (original)
+++ tomee/site/trunk/content/latest/docs/tomee-jaas.html Sun Dec  9 02:54:59 2018
@@ -122,17 +122,17 @@ JAAS LoginModule as in Tomcat.</p>
 <p>Add to your <code>CATALINA_OPTS</code> the <code>java.security.auth.login.config</code> system
 property:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">-Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Configure your realm in server.xml file</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>&lt;?xml version='1.0' encoding='utf-8'?&gt;
+<pre class="highlight"><code class="language-xml" data-lang="xml">&lt;?xml version='1.0' encoding='utf-8'?&gt;
 &lt;Server port="8005" shutdown="SHUTDOWN"&gt;
   &lt;Listener className="org.apache.tomee.loader.OpenEJBListener" /&gt;
   &lt;Listener className="org.apache.catalina.security.SecurityListener" /&gt;
@@ -153,20 +153,20 @@ property:</p>
             unpackWARs="true" autoDeploy="true" /&gt;
     &lt;/Engine&gt;
   &lt;/Service&gt;
-&lt;/Server&gt;</pre>
+&lt;/Server&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>Configure your <code>login.config</code> file</p>
 </div>
-<div class="literalblock">
+<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=false
     UsersFile="users.properties"
     GroupsFile="groups.properties";
-};</pre>
+};</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -178,20 +178,20 @@ snippets of this page for instance).</p>
 <code>$CATALINA_BASE/conf/</code> folder. <code>users.properties</code> file contains user
 name and associated password entries, ex.:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>me=password
-tomee=tomee</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">me=password
+tomee=tomee</code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p><code>groups.properties</code> file specifies groups and their users, ex.:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>my-role=me
+<pre class="highlight"><code class="language-properties" data-lang="properties">my-role=me
 manager-gui=tomee,me
-tomee-admin=tomee</pre>
+tomee-admin=tomee</code></pre>
 </div>
 </div>
 <div class="paragraph">

Modified: tomee/site/trunk/content/latest/docs/tomee-logging-in-eclipse.html
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/tomee-logging-in-eclipse.html?rev=1848496&r1=1848495&r2=1848496&view=diff
==============================================================================
--- tomee/site/trunk/content/latest/docs/tomee-logging-in-eclipse.html (original)
+++ tomee/site/trunk/content/latest/docs/tomee-logging-in-eclipse.html Sun Dec  9 02:54:59 2018
@@ -100,10 +100,10 @@
 (which needs to be done through system properties). A quick workaround
 is to add these properties manually:</p>
 </div>
-<div class="literalblock">
+<div class="listingblock">
 <div class="content">
-<pre>-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
--Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</pre>
+<pre class="highlight"><code class="language-properties" data-lang="properties">-Djava.util.logging.config.file="&lt;tomee&gt;/conf/logging.properties"
+-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</code></pre>
 </div>
 </div>
 <div class="paragraph">



Mime
View raw message