[jira] [Updated] (TOMEE-2261) Make service.bat compatible with JDK11+
[ https://issues.apache.org/jira/browse/TOMEE-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2261: -- Affects Version/s: (was: 8.0.0-Final) (was: 7.1.1) (was: 7.0.6) 8.0.0-M1 > Make service.bat compatible with JDK11+ > --- > > Key: TOMEE-2261 > URL: https://issues.apache.org/jira/browse/TOMEE-2261 > Project: TomEE > Issue Type: Improvement > Components: TomEE Core Server >Affects Versions: 8.0.0-M1, 7.0.5, 7.1.0 >Reporter: Bruno Baptista >Assignee: Jonathan Gallimore >Priority: Major > Labels: pull-request-available > > service.bat fails to start TomEE as a service on Windows 2012 R2, at least, > while using OpenJDK 11. > Upon further analysis, The issue was found to be the absence of a jdk\jre > folder inside OpenJDK 11 and the use of the endorsed property. > We need to upgrade the file to make it compatible with newer JDK versions. > The batch file has to be, either improved by considering the different Java > versions, or duplicated by keeping the current one and adding a new one for > JDK 11+. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2252) Update Apache Johnzon to v1.1.11
[ https://issues.apache.org/jira/browse/TOMEE-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2252: -- Component/s: TomEE Core Server > Update Apache Johnzon to v1.1.11 > > > Key: TOMEE-2252 > URL: https://issues.apache.org/jira/browse/TOMEE-2252 > Project: TomEE > Issue Type: Dependency upgrade > Components: TomEE Core Server >Reporter: Otavio Goncalves de Santana >Priority: Major > Fix For: 8.0.0-Final, 1.7.6, 7.0.6 > > > Based on the Johnzon issue: https://issues.apache.org/jira/browse/JOHNZON-190 > The Apache TomEE needs to update this library either version 8.x, 7.1.x, and > 7.0.x as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2252) Update Apache Johnzon to v1.1.11
[ https://issues.apache.org/jira/browse/TOMEE-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2252: -- Affects Version/s: 8.0.0-M1 > Update Apache Johnzon to v1.1.11 > > > Key: TOMEE-2252 > URL: https://issues.apache.org/jira/browse/TOMEE-2252 > Project: TomEE > Issue Type: Dependency upgrade > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Otavio Goncalves de Santana >Priority: Major > Fix For: 8.0.0-Final, 1.7.6, 7.0.6 > > > Based on the Johnzon issue: https://issues.apache.org/jira/browse/JOHNZON-190 > The Apache TomEE needs to update this library either version 8.x, 7.1.x, and > 7.0.x as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2298) Upgrade CXF to 3.2.8
[ https://issues.apache.org/jira/browse/TOMEE-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2298: -- Description: The upgrade to cxf 3.2.7 (https://issues.apache.org/jira/browse/TOMEE-2269) incorporate a bug that cxf 3.2.7 has with MicroProfile Rest Client (https://issues.apache.org/jira/browse/CXF-7912). We need to update to cxf 3.2.8 if TomEE 8.0.0-Final will still use microprofile-rest-client 1.0. This issue doesn't arises if you use microprofile-rest-client 1.1 contained in microprofile-boom 1.4. was: The upgrade to cxf 3.2.7 (https://issues.apache.org/jira/browse/TOMEE-2269) incorporate a bug that cxf 3.2.7 has with MicroProfile Rest Client (https://issues.apache.org/jira/browse/CXF-7912). We need to update to cxf 3.2.8 if TomEE 8.0.0-Final will still uste microprofile-rest-client 1.0. This issue doesn't arises if you use microprofile-rest-client 1.1 contained in microprofile-boom 1.4. > Upgrade CXF to 3.2.8 > > > Key: TOMEE-2298 > URL: https://issues.apache.org/jira/browse/TOMEE-2298 > Project: TomEE > Issue Type: Dependency upgrade > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Cesar Hernandez >Priority: Major > Fix For: 8.0.0-Final > > > The upgrade to cxf 3.2.7 (https://issues.apache.org/jira/browse/TOMEE-2269) > incorporate a bug that cxf 3.2.7 has with MicroProfile Rest Client > (https://issues.apache.org/jira/browse/CXF-7912). > > We need to update to cxf 3.2.8 if TomEE 8.0.0-Final will still use > microprofile-rest-client 1.0. > This issue doesn't arises if you use microprofile-rest-client 1.1 contained > in microprofile-boom 1.4. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TOMEE-2252) Update Apache Johnzon to v1.1.11
[ https://issues.apache.org/jira/browse/TOMEE-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705711#comment-16705711 ] Martin Wiesner commented on TOMEE-2252: --- For the 7.x branch, we can not update Johnzon to the version as proposed in the title of this issue. [~romain.manni-bucau] (and others?) integrated Johnzon 1.0.1 for the latest releases (7.0.5 and 7.1.0). AFAIK, Johnzon 1.1.x is only used/bundled in TomEE 8.0.x atm, right? Therefore, one should adjust the field *Fix Version/s* to reflect that it will only update Johnzon for TomEE 8.0.0-Final, once they are released. Speaking of 1.7.6, this should also be removed from that field here. Otherwise people might get confused heavily. > Update Apache Johnzon to v1.1.11 > > > Key: TOMEE-2252 > URL: https://issues.apache.org/jira/browse/TOMEE-2252 > Project: TomEE > Issue Type: Dependency upgrade > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Otavio Goncalves de Santana >Priority: Major > Fix For: 8.0.0-Final, 1.7.6, 7.0.6 > > > Based on the Johnzon issue: https://issues.apache.org/jira/browse/JOHNZON-190 > The Apache TomEE needs to update this library either version 8.x, 7.1.x, and > 7.0.x as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2274) Upgrade JAXB to latest version (2.3.1)
[ https://issues.apache.org/jira/browse/TOMEE-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2274: -- Component/s: TomEE Core Server > Upgrade JAXB to latest version (2.3.1) > -- > > Key: TOMEE-2274 > URL: https://issues.apache.org/jira/browse/TOMEE-2274 > Project: TomEE > Issue Type: Dependency upgrade > Components: TomEE Core Server >Affects Versions: 1.7.5, 8.0.0-M1, 7.0.5, 7.1.0 >Reporter: Jean-Louis MONTEIRO >Assignee: Jean-Louis MONTEIRO >Priority: Major > Fix For: 8.0.0-Final > > > Issue with Java 11 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2277) Java11: module name for TomEE
[ https://issues.apache.org/jira/browse/TOMEE-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2277: -- Affects Version/s: (was: 7.0.4) (was: 1.7.5) 7.0.5 > Java11: module name for TomEE > - > > Key: TOMEE-2277 > URL: https://issues.apache.org/jira/browse/TOMEE-2277 > Project: TomEE > Issue Type: Improvement >Affects Versions: 8.0.0-M1, 7.0.5, 7.1.0 >Reporter: Jean-Louis MONTEIRO >Priority: Major > Fix For: 8.0.0-Final > > > We need to define modules in TomEE. > A quick workaround would be to define a module per maven artifact. > > We'll need to then do a proper linking with dependencies. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2277) Java11: module name for TomEE
[ https://issues.apache.org/jira/browse/TOMEE-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2277: -- Component/s: TomEE Core Server > Java11: module name for TomEE > - > > Key: TOMEE-2277 > URL: https://issues.apache.org/jira/browse/TOMEE-2277 > Project: TomEE > Issue Type: Improvement > Components: TomEE Core Server >Affects Versions: 8.0.0-M1, 7.0.5, 7.1.0 >Reporter: Jean-Louis MONTEIRO >Priority: Major > Fix For: 8.0.0-Final > > > We need to define modules in TomEE. > A quick workaround would be to define a module per maven artifact. > > We'll need to then do a proper linking with dependencies. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2266: -- Affects Version/s: 8.0.0-M1 > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released. > PR to come. > (Work done as part of the Bean Validation certification process) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2266: -- Description: TomEE master is currently using a SNAPSHOT whereas the final has been released. PR to come. (Work done as part of the Bean Validation certification process) For reference see: [https://beanvalidation.org/2.0] was: TomEE master is currently using a SNAPSHOT whereas the final has been released. PR to come. (Work done as part of the Bean Validation certification process) > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released. > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: [https://beanvalidation.org/2.0] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2266: -- Description: TomEE master is currently using a SNAPSHOT whereas the final has been released. PR to come. (Work done as part of the Bean Validation certification process) For reference see: - [http://bval.apache.org|http://bval.apache.org/] - [https://beanvalidation.org/2.0] - [https://jcp.org/en/jsr/detail?id=380] was: TomEE master is currently using a SNAPSHOT whereas the final has been released. PR to come. (Work done as part of the Bean Validation certification process) For reference see: - [http://bval.apache.org|http://bval.apache.org/] - [https://beanvalidation.org/2.0] - [https://jcp.org/en/jsr/detail?id=380] > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released. > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: > - [http://bval.apache.org|http://bval.apache.org/] > - [https://beanvalidation.org/2.0] > - [https://jcp.org/en/jsr/detail?id=380] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2266: -- Description: TomEE master is currently using a SNAPSHOT whereas the final has been released. PR to come. (Work done as part of the Bean Validation certification process) For reference see: - [http://bval.apache.org|http://bval.apache.org/] - [https://beanvalidation.org/2.0] - [https://jcp.org/en/jsr/detail?id=380] was: TomEE master is currently using a SNAPSHOT whereas the final has been released. PR to come. (Work done as part of the Bean Validation certification process) For reference see: [https://beanvalidation.org/2.0] > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released. > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: > - [http://bval.apache.org|http://bval.apache.org/] > - [https://beanvalidation.org/2.0] > - [https://jcp.org/en/jsr/detail?id=380] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2266: -- Description: TomEE master is currently using a SNAPSHOT whereas the final has been released on Oct 28, 2018 and is available in Maven central and via http://bval.apache.org/downloads.html PR to come. (Work done as part of the Bean Validation certification process) For reference see: - [http://bval.apache.org|http://bval.apache.org/] - [https://beanvalidation.org/2.0] - [https://jcp.org/en/jsr/detail?id=380] was: TomEE master is currently using a SNAPSHOT whereas the final has been released. PR to come. (Work done as part of the Bean Validation certification process) For reference see: - [http://bval.apache.org|http://bval.apache.org/] - [https://beanvalidation.org/2.0] - [https://jcp.org/en/jsr/detail?id=380] > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released on Oct 28, 2018 and is available in Maven central and via > http://bval.apache.org/downloads.html > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: > - [http://bval.apache.org|http://bval.apache.org/] > - [https://beanvalidation.org/2.0] > - [https://jcp.org/en/jsr/detail?id=380] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2266: -- Description: TomEE master is currently using a SNAPSHOT whereas the final has been released end of October 2018 and is available in Maven central and via [http://bval.apache.org/downloads.html]. PR to come. (Work done as part of the Bean Validation certification process) For reference see: - [http://bval.apache.org|http://bval.apache.org/] - [https://beanvalidation.org/2.0] - [https://jcp.org/en/jsr/detail?id=380] was: TomEE master is currently using a SNAPSHOT whereas the final has been released on Oct 28, 2018 and is available in Maven central and via http://bval.apache.org/downloads.html PR to come. (Work done as part of the Bean Validation certification process) For reference see: - [http://bval.apache.org|http://bval.apache.org/] - [https://beanvalidation.org/2.0] - [https://jcp.org/en/jsr/detail?id=380] > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released end of October 2018 and is available in Maven central and via > [http://bval.apache.org/downloads.html]. > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: > - [http://bval.apache.org|http://bval.apache.org/] > - [https://beanvalidation.org/2.0] > - [https://jcp.org/en/jsr/detail?id=380] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705720#comment-16705720 ] Martin Wiesner commented on TOMEE-2266: --- [~gsmet] I update the description of this issue. Unclear to me: Has there been a PR? If not: Could you provide one for this issue? If not, please signal this here, so others can take over with this topic. > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released end of October 2018 and is available in Maven central and via > [http://bval.apache.org/downloads.html]. > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: > - [http://bval.apache.org|http://bval.apache.org/] > - [https://beanvalidation.org/2.0] > - [https://jcp.org/en/jsr/detail?id=380] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wiesner updated TOMEE-2266: -- Component/s: TomEE Core Server > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released. > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: [https://beanvalidation.org/2.0] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (TOMEE-2266) Upgrade Apache BVal to 2.0.0
[ https://issues.apache.org/jira/browse/TOMEE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705720#comment-16705720 ] Martin Wiesner edited comment on TOMEE-2266 at 12/1/18 8:25 AM: [~gsmet] I updated the description of this issue. Unclear to me: Has there been a PR? If yes: Could link the PR into this issue via a comment? If no: Could you provide such a PR for this issue? If not, please signal this here, so other devs can take over with this topic. was (Author: mawiesne): [~gsmet] I update the description of this issue. Unclear to me: Has there been a PR? If not: Could you provide one for this issue? If not, please signal this here, so others can take over with this topic. > Upgrade Apache BVal to 2.0.0 > > > Key: TOMEE-2266 > URL: https://issues.apache.org/jira/browse/TOMEE-2266 > Project: TomEE > Issue Type: Task > Components: TomEE Core Server >Affects Versions: 8.0.0-M1 >Reporter: Guillaume Smet >Priority: Major > > TomEE master is currently using a SNAPSHOT whereas the final has been > released end of October 2018 and is available in Maven central and via > [http://bval.apache.org/downloads.html]. > PR to come. (Work done as part of the Bean Validation certification process) > For reference see: > - [http://bval.apache.org|http://bval.apache.org/] > - [https://beanvalidation.org/2.0] > - [https://jcp.org/en/jsr/detail?id=380] -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TOMEE-2264) Unable to deploy this war on TomEE Plus using Java 11
[ https://issues.apache.org/jira/browse/TOMEE-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705724#comment-16705724 ] Martin Wiesner commented on TOMEE-2264: --- [~fcourtau] Thanks for reporting. I'll try to take a closer look at the files you attached next week and the overall situation (duplicate candidate with TOMEE-2200). > Unable to deploy this war on TomEE Plus using Java 11 > - > > Key: TOMEE-2264 > URL: https://issues.apache.org/jira/browse/TOMEE-2264 > Project: TomEE > Issue Type: Bug > Components: TomEE Core Server >Affects Versions: 7.1.0 >Reporter: François Courtault >Priority: Critical > Attachments: Errors deploying war using Java 11 with beans.xml > inside.txt, Errors deploying war using Java 11 without web.xml and beans.xml > inside.txt, JAXRSSkeleton.war > > > Hello, > Start TomEE Plus using Java 11: no issue > Copy [^JAXRSSkeleton.war] in the webapps folder: see the attachments either > or not beans.xml is included. > I don't have this kind of issue if TomEE uses Java 8. > Maybe this issue is the same than TOMEE-2200 ? > Best Regards. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
tomee git commit: add css for tables
Repository: tomee Updated Branches: refs/heads/master d5fcddc9c -> 6771ef9c6 add css for tables Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/6771ef9c Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/6771ef9c Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/6771ef9c Branch: refs/heads/master Commit: 6771ef9c6eba3e9bdc485f939b236fe66c7b7a9f Parents: d5fcddc Author: dblevins Authored: Sat Dec 1 13:18:34 2018 -0800 Committer: dblevins Committed: Sat Dec 1 13:18:34 2018 -0800 -- docs/activemqresourceadapter-config.mdtext | 5 +++-- docs/admin/cluster/index.adoc | 25 - docs/advanced/client/jndi.adoc | 4 +--- docs/annotations,-xml-and-defaults.mdtext | 2 +- docs/bmpentitycontainer-config.mdtext | 2 +- docs/client-server-transports.mdtext | 2 +- docs/cmpentitycontainer-config.mdtext | 2 +- docs/comparison.mdtext | 2 +- docs/containers-and-resources.mdtext | 22 +++--- docs/datasource-config.mdtext | 2 +- docs/datasource-password-encryption.mdtext | 2 +- docs/deploy-tool.mdtext| 2 +- docs/faq_openejb-jar.html.mdtext | 2 -- docs/initialcontext-config.mdtext | 2 +- docs/javaee7-status.mdtext | 2 +- docs/javamailsession-config.mdtext | 2 +- docs/jmsconnectionfactory-config.mdtext| 2 +- docs/jndi-names.mdtext | 2 +- docs/managedcontainer-config.mdtext| 2 +- docs/maven/build-mojo.mdtext | 2 +- docs/maven/configtest-mojo.mdtext | 2 +- docs/maven/debug-mojo.mdtext | 2 +- docs/maven/deploy-mojo.mdtext | 4 ++-- docs/maven/exec-mojo.mdtext| 2 +- docs/maven/help-mojo.mdtext| 2 +- docs/maven/index.mdtext| 2 +- docs/maven/list-mojo.mdtext| 2 +- docs/maven/run-mojo.mdtext | 2 +- docs/maven/start-mojo.mdtext | 2 +- docs/maven/stop-mojo.mdtext| 2 +- docs/maven/undeploy-mojo.mdtext| 4 ++-- docs/messagedrivencontainer-config.mdtext | 2 +- docs/new-in-openejb-3.0.mdtext | 6 +- docs/openejb.xml.mdtext| 5 - docs/orb-config.mdtext | 2 +- docs/properties-listing.mdtext | 8 docs/proxyfactory-config.mdtext| 2 +- docs/queue-config.mdtext | 2 +- docs/security.mdtext | 4 ++-- docs/securityservice-config.mdtext | 2 +- docs/singletoncontainer-config.mdtext | 2 +- docs/spring-and-openejb-3.0.mdtext | 5 + docs/spring-ejb-and-jpa.mdtext | 2 +- docs/spring.mdtext | 2 +- docs/statefulcontainer-config.mdtext | 2 +- docs/statelesscontainer-config.mdtext | 2 +- docs/tomee-embedded-maven-plugin.mdtext| 2 +- docs/tomee-maven-plugin.mdtext | 2 +- docs/tomee-version-policies.mdtext | 2 +- docs/topic-config.mdtext | 2 +- docs/transaction-annotations.mdtext| 2 +- docs/transactionmanager-config.mdtext | 2 +- docs/validation-tool.mdtext| 2 +- 53 files changed, 100 insertions(+), 76 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/6771ef9c/docs/activemqresourceadapter-config.mdtext -- diff --git a/docs/activemqresourceadapter-config.mdtext b/docs/activemqresourceadapter-config.mdtext index 8f85dc7..a0c1920 100644 --- a/docs/activemqresourceadapter-config.mdtext +++ b/docs/activemqresourceadapter-config.mdtext @@ -19,8 +19,9 @@ Alternatively, a ActiveMQResourceAdapter can be declared via properties in the ` myActiveMQResourceAdapter.startupTimeout = 10 seconds Properties and xml can be mixed. Properties will override the xml allowing for easy configuration change without the need for ${} style variable substitution. Properties are not case sensitive. If a property is specified that is not supported by the declared ActiveMQResourceAdapter a warning will be logged. If a ActiveMQResourceAdapter is needed by the application and one is not declared, TomEE will create one dynamically using default settings. Multiple ActiveMQResourceAdapter declarations are allowed. -# Supported Properties - + +## Supported Properties + Property Type http://git-wip-us.apache.org/repos/asf/tomee/blob/6771ef9c/docs/admin/cluster/index.adoc -- diff --git a/docs/admin/cluster/index.adoc b/docs/admin/cluster/index.adoc index 8
[1/6] tomee-site-generator git commit: Restyle CSS so main text is the focus
Repository: tomee-site-generator Updated Branches: refs/heads/master 3538e28d8 -> 27d6e3ab5 Restyle CSS so main text is the focus Project: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/commit/95625132 Tree: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/tree/95625132 Diff: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/diff/95625132 Branch: refs/heads/master Commit: 95625132bab541910575a04d716b87c3f9ba7d0a Parents: 3538e28 Author: dblevins Authored: Fri Nov 30 20:28:39 2018 -0800 Committer: dblevins Committed: Fri Nov 30 20:28:39 2018 -0800 -- src/main/jbake/assets/css/cardio.css | 88 ++- src/main/jbake/assets/css/idea.css | 1 - src/main/jbake/templates/page.gsp| 4 +- 3 files changed, 43 insertions(+), 50 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/95625132/src/main/jbake/assets/css/cardio.css -- diff --git a/src/main/jbake/assets/css/cardio.css b/src/main/jbake/assets/css/cardio.css index 71c6ad6..ad6ec18 100755 --- a/src/main/jbake/assets/css/cardio.css +++ b/src/main/jbake/assets/css/cardio.css @@ -1,12 +1,4 @@ @import url(http://fonts.googleapis.com/css?family=Roboto:300,400,500,700); -body { - font-family: 'Roboto', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif; - font-size: 14px; - overflow-x: hidden; - color: #2a3237; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} .parallax { position: absolute; @@ -52,41 +44,6 @@ body { color: #80287a; } -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: 'Roboto', 'Avenir Next', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif; - position: relative; - margin: 10px 0; -} - -h1 { - font-size: 60px; -} - -h2 { - font-size: 48px; -} - -h3 { - font-size: 30px; -} - -h4 { - font-size: 24px; -} - -h5 { - font-size: 18px; -} - -h6 { - font-size: 16px; -} - ul.white-list { padding: 0; list-style-type: none; @@ -152,12 +109,47 @@ header .typed-cursor { animation-iteration-count: infinite; } -a { - text-decoration: none; - color: #80287a; - -webkit-transition: all 0.3s ease; - transition: all 0.3s ease; + +pre { + border: 0px solid #ccc; +} +code { + color: #8a6d3b; + background-color: #f5f5f5; +} +p { +margin: 20px 0 20px; +} +body { +font-size: 17px; +line-height: 1.5; +-webkit-font-smoothing: antialiased; +} +h1, .h1, h2, .h2, h3, .h3 { +margin-top: 30px; +margin-bottom: 10px; +} +h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { +font-weight: 300; +} +h4, .h4, h5, .h5, h6, .h6 { +margin-top: 25px; +} +.page-header h1 { + font-weight: 500; +} +.page-header { +margin: 40px 0 0px; +} +li { + margin-bottom: 10px; } +/*a {*/ + /*text-decoration: none;*/ + /*color: #80287a;*/ + /*-webkit-transition: all 0.3s ease;*/ + /*transition: all 0.3s ease;*/ +/*}*/ /* Navigation Bar ( Navbar ) */ nav.navbar { http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/95625132/src/main/jbake/assets/css/idea.css -- diff --git a/src/main/jbake/assets/css/idea.css b/src/main/jbake/assets/css/idea.css index a0ec680..4338cc5 100755 --- a/src/main/jbake/assets/css/idea.css +++ b/src/main/jbake/assets/css/idea.css @@ -5,7 +5,6 @@ Intellij Idea-like styling (c) Vasily Polovnyov .hljs { display: block; padding: 0.5em; color: #000; - background: #fff; } .hljs-subst, http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/95625132/src/main/jbake/templates/page.gsp -- diff --git a/src/main/jbake/templates/page.gsp b/src/main/jbake/templates/page.gsp index b0c64d3..5a16635 100755 --- a/src/main/jbake/templates/page.gsp +++ b/src/main/jbake/templates/page.gsp @@ -3,6 +3,7 @@ + <%if (content.containsKey('tomeepdf')) {%> @@ -11,8 +12,9 @@ <% } %> - ${content.title} + ${content.title} + <%if (content.body) {%>
[5/6] tomee-site-generator git commit: Fix footer links.
Fix footer links. Project: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/commit/d68dee2e Tree: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/tree/d68dee2e Diff: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/diff/d68dee2e Branch: refs/heads/master Commit: d68dee2ed4d63cc0039a364b429fd57bc09ff216 Parents: 6458194 Author: dblevins Authored: Sat Dec 1 13:50:49 2018 -0800 Committer: dblevins Committed: Sat Dec 1 13:50:49 2018 -0800 -- src/main/jbake/templates/footer.gsp | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/d68dee2e/src/main/jbake/templates/footer.gsp -- diff --git a/src/main/jbake/templates/footer.gsp b/src/main/jbake/templates/footer.gsp index 48b46f3..76d185d 100755 --- a/src/main/jbake/templates/footer.gsp +++ b/src/main/jbake/templates/footer.gsp @@ -2,10 +2,10 @@ - Apache TomEE the little great server. + Be simple. Be certified. Be Tomcat. "A good application in a good server" - https://fr-fr.facebook.com/ApacheTomEE/";> + https://www.facebook.com/ApacheTomEE/";> https://twitter.com/apachetomee";> https://plus.google.com/communities/105208241852045684449";> @@ -13,21 +13,21 @@ - Documentation + Documentation - How to configure - Dir. Structure - Testing - Clustering + How to configure + Dir. Structure + Testing + Clustering Examples - CDI Interceptor - REST with CDI - EJB - JSF + CDI Interceptor + REST with CDI + EJB + JSF @@ -59,9 +59,9 @@ - Administrators - Developers - Advanced + Administrators + Developers + Advanced Community
[6/6] tomee-site-generator git commit: Update reference to master. Disable PDF
Update reference to master. Disable PDF Project: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/commit/27d6e3ab Tree: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/tree/27d6e3ab Diff: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/diff/27d6e3ab Branch: refs/heads/master Commit: 27d6e3ab51cf7f40fdb0ddf9e18ed2391bb02323 Parents: d68dee2 Author: dblevins Authored: Sat Dec 1 13:51:48 2018 -0800 Committer: dblevins Committed: Sat Dec 1 13:51:48 2018 -0800 -- src/main/java/org/apache/tomee/website/JBake.java | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/27d6e3ab/src/main/java/org/apache/tomee/website/JBake.java -- diff --git a/src/main/java/org/apache/tomee/website/JBake.java b/src/main/java/org/apache/tomee/website/JBake.java index 20bbbd0..e397968 100755 --- a/src/main/java/org/apache/tomee/website/JBake.java +++ b/src/main/java/org/apache/tomee/website/JBake.java @@ -42,7 +42,7 @@ public class JBake { new File("target/jbake"), new File("repos"), new File("src/main/jbake"), -new Source("https://github.com/dblevins/tomee.git";, "tomee-8.0.x-docs", "tomee-8.0", true), +new Source("https://git-wip-us.apache.org/repos/asf/tomee.git";, "master", "tomee-8.0", true), new Source("https://git-wip-us.apache.org/repos/asf/tomee.git";, "tomee-7.1.0", "tomee-7.1"), new Source("https://git-wip-us.apache.org/repos/asf/tomee.git";, "tomee-7.0.5", "tomee-7.0"), new Source("https://git-wip-us.apache.org/repos/asf/tomee.git";, "master", "master") @@ -64,10 +64,10 @@ public class JBake { System.out.println(" > baking"); oven.bake(); -if (!skipPdf) { -System.out.println(" > pdfifying"); -PDFify.generatePdf(pdfSource, destination); -} +//if (!skipPdf) { +//System.out.println(" > pdfifying"); +//PDFify.generatePdf(pdfSource, destination); +//} copyFileLayoutToDirStructure(destination); System.out.println(" > done :)");
[2/6] tomee-site-generator git commit: Restore styling on main page
Restore styling on main page Project: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/commit/1a5ceae1 Tree: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/tree/1a5ceae1 Diff: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/diff/1a5ceae1 Branch: refs/heads/master Commit: 1a5ceae14791e098a550e968ea6b1d42824799a6 Parents: 9562513 Author: dblevins Authored: Sat Dec 1 08:40:08 2018 -0800 Committer: dblevins Committed: Sat Dec 1 08:40:08 2018 -0800 -- src/main/jbake/assets/css/cardio.css | 18 ++ src/main/jbake/templates/index.gsp | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/1a5ceae1/src/main/jbake/assets/css/cardio.css -- diff --git a/src/main/jbake/assets/css/cardio.css b/src/main/jbake/assets/css/cardio.css index ad6ec18..0128a63 100755 --- a/src/main/jbake/assets/css/cardio.css +++ b/src/main/jbake/assets/css/cardio.css @@ -120,6 +120,10 @@ code { p { margin: 20px 0 20px; } +td p { +margin: 0px; +} + body { font-size: 17px; line-height: 1.5; @@ -144,6 +148,10 @@ h4, .h4, h5, .h5, h6, .h6 { li { margin-bottom: 10px; } + +.nav > li { + margin: 0px; +} /*a {*/ /*text-decoration: none;*/ /*color: #80287a;*/ @@ -395,6 +403,16 @@ section { margin: 20px 0; } +header h2 { + font-size: 48px; + font-weight: 500; +} + +section h5 { + font-weight: 500; + font-size: 20px; +} + .intro-tables .intro-table .heading { margin: 0; padding: 30px; http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/1a5ceae1/src/main/jbake/templates/index.gsp -- diff --git a/src/main/jbake/templates/index.gsp b/src/main/jbake/templates/index.gsp index 5ff75be..227f1d7 100755 --- a/src/main/jbake/templates/index.gsp +++ b/src/main/jbake/templates/index.gsp @@ -10,7 +10,7 @@ Apache TomEE -The Embedded or Remote EE Application Server +MicroProfile and Jakarta EE on Tomcat |
[jira] [Created] (TOMEE-2305) Final parameters and use of diamond operator
Hayri Cicek created TOMEE-2305: -- Summary: Final parameters and use of diamond operator Key: TOMEE-2305 URL: https://issues.apache.org/jira/browse/TOMEE-2305 Project: TomEE Issue Type: Improvement Affects Versions: 7.1.0 Reporter: Hayri Cicek Made some minor changes like making final variables, final parameters, usage of diamond operator and override -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[3/6] tomee-site-generator git commit: Styling for admonition blocks
Styling for admonition blocks Project: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/commit/5651b699 Tree: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/tree/5651b699 Diff: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/diff/5651b699 Branch: refs/heads/master Commit: 5651b699adaf01323616742731a3a56be541235a Parents: 1a5ceae Author: dblevins Authored: Sat Dec 1 12:31:30 2018 -0800 Committer: dblevins Committed: Sat Dec 1 12:31:30 2018 -0800 -- src/main/jbake/assets/css/cardio.css | 90 +-- src/main/jbake/jbake.properties | 2 +- src/main/jbake/templates/menu.gsp| 3 ++ 3 files changed, 90 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/5651b699/src/main/jbake/assets/css/cardio.css -- diff --git a/src/main/jbake/assets/css/cardio.css b/src/main/jbake/assets/css/cardio.css index 0128a63..580cc42 100755 --- a/src/main/jbake/assets/css/cardio.css +++ b/src/main/jbake/assets/css/cardio.css @@ -112,13 +112,14 @@ header .typed-cursor { pre { border: 0px solid #ccc; + margin: 0 0 20px; } code { color: #8a6d3b; background-color: #f5f5f5; } p { -margin: 20px 0 20px; +margin: 0px 0 20px; } td p { margin: 0px; @@ -129,15 +130,16 @@ body { line-height: 1.5; -webkit-font-smoothing: antialiased; } -h1, .h1, h2, .h2, h3, .h3 { +h1, .h1, h2, .h2, h3, .h3, h4, .h4, { margin-top: 30px; margin-bottom: 10px; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 300; } -h4, .h4, h5, .h5, h6, .h6 { +h5, .h5, h6, .h6 { margin-top: 25px; +font-weight: 600; } .page-header h1 { font-weight: 500; @@ -1180,4 +1182,84 @@ h2 { /*ensure downlooad as PDF are clickable*/ } vspace { height: 1em; -} \ No newline at end of file +} + +.admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-align: left; font-weight: bold; } + +.tableblock > caption { text-align: left; font-weight: bold; white-space: nowrap; overflow: visible; max-width: 0; } + +table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { font-size: inherit; } + +.admonitionblock > table { + border: 0; + background: none; + width: 100%; + margin: 0px 0px 20px; +} + +.admonitionblock > table td.icon { + text-align: center; + width: 80px; +} + +.admonitionblock > table td.icon img { + max-width: none; +} + +.admonitionblock > table td.icon .title { + font-weight: bold; + text-transform: uppercase; +} + +.admonitionblock > table td.content { + padding-left: 1.125em; + padding-right: 1.25em; + border-left: 1px solid #dd; + color: #6f6f6f; + font-size: 15px; +} + +.admonitionblock > table td.content > :last-child > :last-child { + margin-bottom: 0; +} + +[class^="icon-"], [class*=" icon-"] { +display: inline-block; +vertical-align: middle; +background-position: 14px 14px; +background-repeat: no-repeat; +} +span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } + +.admonitionblock td.icon [class^="fa icon-"]:before { + font-size: 2.5em; + text-shadow: 1px 1px 2px #e6e6e6; + cursor: default; /* -webkit-font-smoothing: antialiased; */ +} + +.admonitionblock td.icon .icon-note:before { + content: "\f05a"; + color: #005498; + color: #80a8c7; +} + +.admonitionblock td.icon .icon-tip:before { + content: "\f0eb"; + text-shadow: 1px 1px 2px rgba(222, 222, 68, 0.8); + color: #c7ba71; +} + +.admonitionblock td.icon .icon-warning:before { + content: "\f071"; + color: #da8f33; +} + +.admonitionblock td.icon .icon-caution:before { + content: "\f06d"; + color: #af5e40; +} + +.admonitionblock td.icon .icon-important:before { + content: "\f06a"; + color: #bd5a5a; +} http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/5651b699/src/main/jbake/jbake.properties -- diff --git a/src/main/jbake/jbake.properties b/src/main/jbake/jbake.properties index ef3f1d0..b40573c 100755 --- a/src/main/jbake/jbake.properties +++ b/src/main/jbake/jbake.properties @@ -15,5 +15,5 @@ template.blog.file = blog.gsp # template.archive.file = archive.gsp # te
[4/6] tomee-site-generator git commit: Styling for markdown tables
Styling for markdown tables Project: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/commit/64581941 Tree: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/tree/64581941 Diff: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/diff/64581941 Branch: refs/heads/master Commit: 64581941ed6a6879cae0b8793059b9f0b4b80b7a Parents: 5651b69 Author: dblevins Authored: Sat Dec 1 13:15:00 2018 -0800 Committer: dblevins Committed: Sat Dec 1 13:15:00 2018 -0800 -- src/main/jbake/assets/css/cardio.css | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/64581941/src/main/jbake/assets/css/cardio.css -- diff --git a/src/main/jbake/assets/css/cardio.css b/src/main/jbake/assets/css/cardio.css index 580cc42..617bd32 100755 --- a/src/main/jbake/assets/css/cardio.css +++ b/src/main/jbake/assets/css/cardio.css @@ -145,7 +145,7 @@ h5, .h5, h6, .h6 { font-weight: 500; } .page-header { -margin: 40px 0 0px; +margin: 40px 0 20px; } li { margin-bottom: 10px; @@ -1263,3 +1263,27 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } content: "\f06a"; color: #bd5a5a; } + +/* Markdown table */ +.mdtable { + border: 1px solid #ddd; + width: 100%; + max-width: 100%; + margin-bottom: 20px; +} +.mdtable > thead > tr > th, .mdtable > thead > tr > td { +border-bottom-width: 2px; +} +.mdtable > thead > tr > th, .mdtable > tbody > tr > th, .mdtable > tfoot > tr > th, .mdtable > thead > tr > td, .mdtable > tbody > tr > td, .mdtable > tfoot > tr > td { +border: 1px solid #ddd; +} +.mdtable > thead > tr > th { +vertical-align: bottom; +border-bottom: 2px solid #ddd; +} +.mdtable > thead > tr > th, .mdtable > tbody > tr > th, .mdtable > tfoot > tr > th, .mdtable > thead > tr > td, .mdtable > tbody > tr > td, .mdtable > tfoot > tr > td { +padding: 8px; +line-height: 1.42857143; +vertical-align: top; +border-top: 1px solid #ddd; +}
svn commit: r1847923 [2/4] - in /tomee/site/trunk/content: ./ blog/ blog/2016/03/ blog/2017/ community/ css/ security/ tags/
Modified: tomee/site/trunk/content/download-archive.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/download-archive.html?rev=1847923&r1=1847922&r2=1847923&view=diff == --- tomee/site/trunk/content/download-archive.html (original) +++ tomee/site/trunk/content/download-archive.html Sat Dec 1 22:00:15 2018 @@ -46,6 +46,8 @@ + + @@ -69,13 +71,13 @@ Documentation - Examples Community Security Downloads + @@ -83,6 +85,7 @@ + @@ -91,8 +94,9 @@ - Archive + Archive + @@ -2722,10 +2726,10 @@ Note: Only the TomEE 1.x WebProfile and - Apache TomEE the little great server. + Be simple. Be certified. Be Tomcat. "A good application in a good server" - https://fr-fr.facebook.com/ApacheTomEE/";> + https://www.facebook.com/ApacheTomEE/";> https://twitter.com/apachetomee";> https://plus.google.com/communities/105208241852045684449";> @@ -2733,21 +2737,21 @@ Note: Only the TomEE 1.x WebProfile and - Documentation + Documentation - How to configure - Dir. Structure - Testing - Clustering + How to configure + Dir. Structure + Testing + Clustering Examples - CDI Interceptor - REST with CDI - EJB - JSF + CDI Interceptor + REST with CDI + EJB + JSF @@ -2779,9 +2783,9 @@ Note: Only the TomEE 1.x WebProfile and - Administrators - Developers - Advanced + Administrators + Developers + Advanced Community Modified: tomee/site/trunk/content/download-ng.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/download-ng.html?rev=1847923&r1=1847922&r2=1847923&view=diff == --- tomee/site/trunk/content/download-ng.html (original) +++ tomee/site/trunk/content/download-ng.html Sat Dec 1 22:00:15 2018 @@ -46,6 +46,8 @@ + + @@ -69,
svn commit: r1847923 [1/4] - in /tomee/site/trunk/content: ./ blog/ blog/2016/03/ blog/2017/ community/ css/ security/ tags/
Author: dblevins Date: Sat Dec 1 22:00:15 2018 New Revision: 1847923 URL: http://svn.apache.org/viewvc?rev=1847923&view=rev Log: Maven update of the website on the Sat Dec 01 14:00:11 PST 2018 from dblevins Modified: tomee/site/trunk/content/blog/2016/03/new-website.html tomee/site/trunk/content/blog/2017/tomee-7.0.3-released.html tomee/site/trunk/content/blog/index.html tomee/site/trunk/content/community/commercial.html tomee/site/trunk/content/community/contributors.html tomee/site/trunk/content/community/index.html tomee/site/trunk/content/community/social.html tomee/site/trunk/content/community/sources.html tomee/site/trunk/content/css/cardio.css tomee/site/trunk/content/css/idea.css tomee/site/trunk/content/docs.html tomee/site/trunk/content/documentation.html tomee/site/trunk/content/download-archive.html tomee/site/trunk/content/download-ng.html tomee/site/trunk/content/index.html tomee/site/trunk/content/security/index.html tomee/site/trunk/content/security/support.html tomee/site/trunk/content/sitemap.xml tomee/site/trunk/content/tags/website.html Modified: tomee/site/trunk/content/blog/2016/03/new-website.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/blog/2016/03/new-website.html?rev=1847923&r1=1847922&r2=1847923&view=diff == --- tomee/site/trunk/content/blog/2016/03/new-website.html (original) +++ tomee/site/trunk/content/blog/2016/03/new-website.html Sat Dec 1 22:00:15 2018 @@ -47,6 +47,8 @@ + + @@ -70,13 +72,13 @@ Documentation - Examples Community Security Downloads + @@ -108,10 +110,10 @@ - Apache TomEE the little great server. + Be simple. Be certified. Be Tomcat. "A good application in a good server" - https://fr-fr.facebook.com/ApacheTomEE/";> + https://www.facebook.com/ApacheTomEE/";> https://twitter.com/apachetomee";> https://plus.google.com/communities/105208241852045684449";> @@ -119,21 +121,21 @@ - Documentation + Documentation - How to configure - Dir. Structure - Testing - Clustering + How to configure + Dir. Structure + Testing + Clustering Examples - CDI Interceptor - REST with CDI - EJB - JSF + CDI Interceptor + REST with CDI + EJB + JSF
svn commit: r1847923 [3/4] - in /tomee/site/trunk/content: ./ blog/ blog/2016/03/ blog/2017/ community/ css/ security/ tags/
Modified: tomee/site/trunk/content/sitemap.xml URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/sitemap.xml?rev=1847923&r1=1847922&r2=1847923&view=diff == --- tomee/site/trunk/content/sitemap.xml (original) +++ tomee/site/trunk/content/sitemap.xml Sat Dec 1 22:00:15 2018 @@ -2,868 +2,6033 @@ http://www.sitemaps.org/schemas/sitemap/0.9"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd";> - http://tomee.apache.org/developer/migration/tomee-1-to-7.html + http://tomee.apache.org/latest/docs/developer/migration/tomee-1-to-7.html 2017-06-17 - http://tomee.apache.org/advanced/jms/jms-configuration.html + http://tomee.apache.org/master/docs/developer/migration/tomee-1-to-7.html + 2017-06-17 + + + + http://tomee.apache.org/tomee-8.0/docs/developer/migration/tomee-1-to-7.html + 2017-06-17 + + + + http://tomee.apache.org/latest/docs/advanced/jms/jms-configuration.html 2017-02-22 - http://tomee.apache.org/examples/access-timeout-meta.html - 2016-09-06 + http://tomee.apache.org/master/docs/advanced/jms/jms-configuration.html + 2017-02-22 - http://tomee.apache.org/examples/access-timeout.html - 2016-09-06 + http://tomee.apache.org/tomee-8.0/docs/advanced/jms/jms-configuration.html + 2017-02-22 - http://tomee.apache.org/examples/alternate-descriptors.html - 2016-09-06 + http://tomee.apache.org/latest/docs/developer/tools/gradle-plugins.html + 2016-05-31 - http://tomee.apache.org/examples/applet.html - 2016-09-06 + http://tomee.apache.org/master/docs/developer/tools/gradle-plugins.html + 2016-05-31 - http://tomee.apache.org/examples/application-composer.html - 2016-09-06 + http://tomee.apache.org/tomee-8.0/docs/developer/tools/gradle-plugins.html + 2016-05-31 - http://tomee.apache.org/examples/applicationcomposer-jaxws-cdi.html - 2016-09-06 + http://tomee.apache.org/community/commercial.html + 2016-03-16 - http://tomee.apache.org/examples/applicationexception.html - 2016-09-06 + http://tomee.apache.org/community/index.html + 2016-03-16 - http://tomee.apache.org/examples/arquillian-jpa.html - 2016-09-06 + http://tomee.apache.org/community/social.html + 2016-03-16 - http://tomee.apache.org/examples/async-methods.html - 2016-09-06 + http://tomee.apache.org/community/sources.html + 2016-03-16 - http://tomee.apache.org/examples/async-postconstruct.html - 2016-09-06 + http://tomee.apache.org/latest/docs/admin/configuration/application.html + 2016-03-16 - http://tomee.apache.org/examples/bean-validation-design-by-contract.html - 2016-09-06 + http://tomee.apache.org/latest/docs/admin/configuration/containers.html + 2016-03-16 - http://tomee.apache.org/examples/bval-evaluation-redeployment.html - 2016-09-06 + http://tomee.apache.org/latest/docs/admin/configuration/index.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-alternative-and-stereotypes.html - 2016-09-06 + http://tomee.apache.org/latest/docs/admin/configuration/resources.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-application-scope.html - 2016-09-06 + http://tomee.apache.org/latest/docs/admin/configuration/server.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-basic.html - 2016-09-06 + http://tomee.apache.org/latest/docs/admin/file-layout.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-ejbcontext-jaas.html - 2016-09-06 + http://tomee.apache.org/latest/docs/admin/index.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-events.html - 2016-09-06 + http://tomee.apache.org/latest/docs/advanced/applicationcomposer/index.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-interceptors.html - 2016-09-06 + http://tomee.apache.org/latest/docs/advanced/index.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-produces-disposes.html - 2016-09-06 + http://tomee.apache.org/latest/docs/advanced/setup/index.html + 2016-03-16 - http://tomee.apache.org/examples/cdi-produces-field.html - 2016-09-06 + http://tomee.apache.org/latest/docs/advanced/shading/index.html
svn commit: r1847923 [4/4] - in /tomee/site/trunk/content: ./ blog/ blog/2016/03/ blog/2017/ community/ css/ security/ tags/
Modified: tomee/site/trunk/content/tags/website.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tags/website.html?rev=1847923&r1=1847922&r2=1847923&view=diff == --- tomee/site/trunk/content/tags/website.html (original) +++ tomee/site/trunk/content/tags/website.html Sat Dec 1 22:00:15 2018 @@ -47,6 +47,8 @@ + + @@ -70,13 +72,13 @@ Documentation - Examples Community Security Downloads + @@ -120,10 +122,10 @@ - Apache TomEE the little great server. + Be simple. Be certified. Be Tomcat. "A good application in a good server" - https://fr-fr.facebook.com/ApacheTomEE/";> + https://www.facebook.com/ApacheTomEE/";> https://twitter.com/apachetomee";> https://plus.google.com/communities/105208241852045684449";> @@ -131,21 +133,21 @@ - Documentation + Documentation - How to configure - Dir. Structure - Testing - Clustering + How to configure + Dir. Structure + Testing + Clustering Examples - CDI Interceptor - REST with CDI - EJB - JSF + CDI Interceptor + REST with CDI + EJB + JSF @@ -177,9 +179,9 @@ - Administrators - Developers - Advanced + Administrators + Developers + Advanced Community
svn commit: r1847928 [1/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Author: dblevins Date: Sat Dec 1 23:20:56 2018 New Revision: 1847928 URL: http://svn.apache.org/viewvc?rev=1847928&view=rev Log: Maven update of the website on the Sat Dec 01 15:20:50 PST 2018 from dblevins Added: tomee/site/trunk/content/css/bootstrap-grid.css (with props) tomee/site/trunk/content/css/bootstrap-grid.css.map tomee/site/trunk/content/css/bootstrap-grid.min.css (with props) tomee/site/trunk/content/css/bootstrap-grid.min.css.map tomee/site/trunk/content/css/bootstrap-reboot.css (with props) tomee/site/trunk/content/css/bootstrap-reboot.css.map tomee/site/trunk/content/css/bootstrap-reboot.min.css (with props) tomee/site/trunk/content/css/bootstrap-reboot.min.css.map tomee/site/trunk/content/css/bootstrap.min.css (with props) tomee/site/trunk/content/css/bootstrap.min.css.map tomee/site/trunk/content/js/bootstrap.bundle.js (with props) tomee/site/trunk/content/js/bootstrap.bundle.js.map tomee/site/trunk/content/js/bootstrap.bundle.min.js (with props) tomee/site/trunk/content/js/bootstrap.bundle.min.js.map tomee/site/trunk/content/js/bootstrap.js (with props) tomee/site/trunk/content/js/bootstrap.js.map tomee/site/trunk/content/js/bootstrap.min.js.map tomee/site/trunk/content/latest/ tomee/site/trunk/content/latest/docs/ tomee/site/trunk/content/latest/examples/ tomee/site/trunk/content/latest/index.html (with props) tomee/site/trunk/content/master/ tomee/site/trunk/content/master/docs/ tomee/site/trunk/content/master/examples/ tomee/site/trunk/content/master/index.html (with props) tomee/site/trunk/content/tomee-7.0/ tomee/site/trunk/content/tomee-7.0/examples/ tomee/site/trunk/content/tomee-7.0/index.html (with props) tomee/site/trunk/content/tomee-7.1/ tomee/site/trunk/content/tomee-7.1/examples/ tomee/site/trunk/content/tomee-7.1/index.html (with props) tomee/site/trunk/content/tomee-8.0/ tomee/site/trunk/content/tomee-8.0/docs/ tomee/site/trunk/content/tomee-8.0/examples/ tomee/site/trunk/content/tomee-8.0/index.html (with props) Added: tomee/site/trunk/content/css/bootstrap-grid.css URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/css/bootstrap-grid.css?rev=1847928&view=auto == --- tomee/site/trunk/content/css/bootstrap-grid.css (added) +++ tomee/site/trunk/content/css/bootstrap-grid.css Sat Dec 1 23:20:56 2018 @@ -0,0 +1,1912 @@ +/*! + * Bootstrap Grid v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +@-ms-viewport { + width: device-width; +} + +html { + box-sizing: border-box; + -ms-overflow-style: scrollbar; +} + +*, +*::before, +*::after { + box-sizing: inherit; +} + +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { +max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { +max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { +max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { +max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, +.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, +.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, +.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, +.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, +.col-xl-auto { + position: relative; + width: 100%; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; +} + +.col-1 { + -ms-flex: 0 0 8.33%; + flex: 0 0 8.33%; + max-width
svn commit: r1847928 [2/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Added: tomee/site/trunk/content/css/bootstrap-grid.min.css.map URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/css/bootstrap-grid.min.css.map?rev=1847928&view=auto == --- tomee/site/trunk/content/css/bootstrap-grid.min.css.map (added) +++ tomee/site/trunk/content/css/bootstrap-grid.min.css.map Sat Dec 1 23:20:56 2018 @@ -0,0 +1 @@ +{"version":3,"sources":["../../scss/bootstrap-grid.scss","dist/css/bootstrap-grid.css","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../scss/mixins/_grid-framework.scss","../../scss/utilities/_display.scss","../../scss/utilities/_flex.scss"],"names":[],"mappings":";AAQE,cAAgB,MAAA,aAGlB,KACE,WAAA,WACA,mBAAA,UAGF,ECCA,QADA,SDGE,WAAA,QEdA,WCAA,MAAA,KACA,cAAA,KACA,aAAA,KACA,aAAA,KACA,YAAA,KCmDE,yBFvDF,WCYI,UAAA,OC2CF,yBFvDF,WCYI,UAAA,OC2CF,yBFvDF,WCYI,UAAA,OC2CF,0BFvDF,WCYI,UAAA,QDAJ,iBCZA,MAAA,KACA,cAAA,KACA,aAAA,KACA,aAAA,KACA,YAAA,KDkBA,KCJA,QAAA,YAAA,QAAA,KACA,cAAA,KAAA,UAAA,KACA,aAAA,MACA,YAAA,MDOA,YACE,aAAA,EACA,YAAA,EAFF,iBD2CF,0BCrCM,cAAA,EACA,aAAA,EGjCJ,KAAA,OAAA,QAAA,QAAA,QAAA,OAAA,OAAA,OAAA,OAAA,OAAA,OAAA,OAAA,OJ2EF,UAEqJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACtG,aAFqJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACtG,aAFkJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW, UAAW,UAAW,UAAW,UACnG,aAEqJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACtG,aI9EI,SAAA,SACA,MAAA,KACA,WAAA,IACA,cAAA,KACA,aAAA,KAmBE,KACE,wBAAA,EAAA,WAAA,EACA,kBAAA,EAAA,UAAA,EACA,UAAA,KAEF,UACE,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,MAAA,KACA,UAAA,KAIA,OFFN,SAAA,EAAA,EAAA,UAAA,KAAA,EAAA,EAAA,UAIA,UAAA,UEFM,OFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,OFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,OFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,OFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,OFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,OFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,OFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,OFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,QFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,QFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,QFFN,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KAIA,UAAA,KEGI,aAAwB,eAAA,GAAA,MAAA,GAExB,YAAuB,eAAA,GAAA,MAAA,GAGrB,SAAwB,eA AA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,UAAwB,eAAA,GAAA,MAAA,GAAxB,UAAwB,eAAA,GAAA,MAAA,GAAxB,UAAwB,eAAA,GAAA,MAAA,GAMtB,UFTR,YAAA,UESQ,UFTR,YAAA,WESQ,UFTR,YAAA,IESQ,UFTR,YAAA,WESQ,UFTR,YAAA,WESQ,UFTR,YAAA,IESQ,UFTR,YAAA,WESQ,UFTR,YAAA,WESQ,UFTR,YAAA,IESQ,WFTR,YAAA,WESQ,WFTR,YAAA,WCUE,yBC7BE,QACE,wBAAA,EAAA,WAAA,EACA,kBAAA,EAAA,UAAA,EACA,UAAA,KAEF,aACE,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,MAAA,KACA,UAAA,KAIA,UFFN,SAAA,EAAA,EAAA,UAAA,KAAA,EAAA,EAAA,UAIA,UAAA,UEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA, EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,WFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,WFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,WFFN,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KAIA,UAAA,KEGI,gBAAwB,eAAA,GAAA,MAAA,GAExB,eAAuB,eAAA,GAAA,MAAA,GAGrB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,aAAwB,eAAA,GAAA,MAAA,GAAxB,aAAwB,eAAA,GAAA,MAAA,GAAxB,aAAwB,eAAA,GAAA,MAAA,GAMtB,aFTR,YAAA,EESQ,aFTR,YAAA,UESQ,aFTR,YAAA,WESQ,aFTR,YAAA,IESQ,aFTR,YAAA,WESQ,aFTR,YAAA,WESQ,aFTR,YAAA,IESQ,aFTR,YAAA,WESQ,aFTR,YAAA,WESQ,aFTR,YAAA,IESQ,cFTR,YAAA,WESQ,cFTR,YAAA,YCUE,yBC7BE,QACE,wBAAA,EAAA,WAAA,EACA,kBAAA,EAAA,UAAA,EACA,UAAA,KAEF,aACE,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,MA AA,KACA,UAAA,KAIA,UFFN,SAAA,EAAA,EAAA,UAAA,KAAA,EAAA,EAAA,UAIA,UAAA,UEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,UFFN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEFM,WFFN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEFM,WFFN,SA
svn commit: r1847928 [8/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Propchange: tomee/site/trunk/content/js/bootstrap.js -- svn:eol-style = native Added: tomee/site/trunk/content/js/bootstrap.js.map URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/js/bootstrap.js.map?rev=1847928&view=auto == --- tomee/site/trunk/content/js/bootstrap.js.map (added) +++ tomee/site/trunk/content/js/bootstrap.js.map Sat Dec 1 23:20:56 2018 @@ -0,0 +1 @@ [... 3 lines stripped ...] Added: tomee/site/trunk/content/js/bootstrap.min.js.map URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/js/bootstrap.min.js.map?rev=1847928&view=auto == --- tomee/site/trunk/content/js/bootstrap.min.js.map (added) +++ tomee/site/trunk/content/js/bootstrap.min.js.map Sat Dec 1 23:20:56 2018 @@ -0,0 +1 @@ [... 3 lines stripped ...] Added: tomee/site/trunk/content/latest/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/index.html?rev=1847928&view=auto == --- tomee/site/trunk/content/latest/index.html (added) +++ tomee/site/trunk/content/latest/index.html Sat Dec 1 23:20:56 2018 @@ -0,0 +1,193 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + latest resources + + + + + + + + + +Documentation + + +Examples + + + + + + + + + + + + Be simple. Be certified. Be Tomcat. + "A good application in a good server" + + https://www.facebook.com/ApacheTomEE/";> + https://twitter.com/apachetomee";> + https://plus.google.com/communities/105208241852045684449";> + + + + + + Documentation + + How to configure + Dir. Structure + Testing + Clustering + + + + Examples +
svn commit: r1847928 [4/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Added: tomee/site/trunk/content/css/bootstrap-reboot.min.css.map URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/css/bootstrap-reboot.min.css.map?rev=1847928&view=auto == --- tomee/site/trunk/content/css/bootstrap-reboot.min.css.map (added) +++ tomee/site/trunk/content/css/bootstrap-reboot.min.css.map Sat Dec 1 23:20:56 2018 @@ -0,0 +1 @@ +{"version":3,"sources":["../../scss/bootstrap-reboot.scss","../../scss/_reboot.scss","dist/css/bootstrap-reboot.css","bootstrap-reboot.css","../../scss/mixins/_hover.scss"],"names":[],"mappings":";;ACoBA,ECXA,QADA,SDeE,WAAA,WAGF,KACE,YAAA,WACA,YAAA,KACA,yBAAA,KACA,qBAAA,KACA,mBAAA,UACA,4BAAA,YAKA,cACE,MAAA,aAMJ,QAAA,MAAA,WAAA,OAAA,OAAA,OAAA,OAAA,KAAA,IAAA,QACE,QAAA,MAWF,KACE,OAAA,EACA,YAAA,aAAA,CAAA,kBAAA,CAAA,UAAA,CAAA,MAAA,CAAA,gBAAA,CAAA,KAAA,CAAA,UAAA,CAAA,mBAAA,CAAA,gBAAA,CAAA,iBAAA,CAAA,mBACA,UAAA,KACA,YAAA,IACA,YAAA,IACA,MAAA,QACA,WAAA,KACA,iBAAA,KEvBF,sBFgCE,QAAA,YASF,GACE,WAAA,YACA,OAAA,EACA,SAAA,QAaF,GAAA,GAAA,GAAA,GAAA,GAAA,GACE,WAAA,EACA,cAAA,MAQF,EACE,WAAA,EACA,cAAA,KChDF,0BD0DA,YAEE,gBAAA,UACA,wBAAA,UAAA,OAAA,gBAAA,UAAA,OACA,OAAA,KACA,cAAA,EAGF,QACE,cAAA,KACA,WAAA,OACA,YAAA,QCrDF,GDwDA,GCzDA,GD4DE,WAAA,EACA,cAAA,KAGF,MCxDA,MACA,MAFA,MD6DE,cAAA,EAGF,GACE,YAAA,IAGF,GACE,cAAA,MACA,YAAA,EAGF,WACE,OAAA,EAAA,EAAA,KAGF,IACE,WAAA,OAIF,EC1DA,OD4DE,YAAA,OAIF,MACE,UAAA,IA QF,IChEA,IDkEE,SAAA,SACA,UAAA,IACA,YAAA,EACA,eAAA,SAGF,IAAM,OAAA,OACN,IAAM,IAAA,MAON,EACE,MAAA,QACA,gBAAA,KACA,iBAAA,YACA,6BAAA,QG7LA,QHgME,MAAA,QACA,gBAAA,UAUJ,8BACE,MAAA,QACA,gBAAA,KGzMA,oCAAA,oCH4ME,MAAA,QACA,gBAAA,KANJ,oCAUI,QAAA,EClEJ,KACA,ID0EA,ICzEA,KD6EE,YAAA,cAAA,CAAA,KAAA,CAAA,MAAA,CAAA,QAAA,CAAA,iBAAA,CAAA,aAAA,CAAA,UACA,UAAA,IAGF,IAEE,WAAA,EAEA,cAAA,KAEA,SAAA,KAGA,mBAAA,UAQF,OAEE,OAAA,EAAA,EAAA,KAQF,IACE,eAAA,OACA,aAAA,KAGF,IAGE,SAAA,OACA,eAAA,OAQF,MACE,gBAAA,SAGF,QACE,YAAA,OACA,eAAA,OACA,MAAA,QACA,WAAA,KACA,aAAA,OAGF,GAGE,WAAA,QAQF,MAEE,QAAA,aACA,cAAA,MAMF,OACE,cAAA,EAOF,aACE,QAAA,IAAA,OACA,QAAA,IAAA,KAAA,yBC9GF,ODiHA,MC/GA,SADA,OAEA,SDmHE,OAAA,EACA,YAAA,QACA,UAAA,QACA,YAAA,QAGF,OCjHA,MDmHE,SAAA,QAGF,OCjHA,ODmHE,eAAA,KC7GF,aACA,cDkHA,OCpHA,mBDwHE,mBAAA,OCjHF,gCACA,+BACA,gCDmHA,yBAIE,QAAA,EACA,aAAA,KClHF,qBDqHA,kBAEE,WAAA,WACA,QAAA,EAIF,iBCrHA,2BACA,kBAFA,iBD+HE,mBAAA,QAGF,SACE,SAAA,KAEA,OAAA,SAGF,SAME,UAAA,EAEA,QAAA,EACA,OAAA,EACA,OAAA,EAKF,OACE,QAAA,MACA,MAAA,KACA,UAAA ,KACA,QAAA,EACA,cAAA,MACA,UAAA,OACA,YAAA,QACA,MAAA,QACA,YAAA,OAGF,SACE,eAAA,SEnIF,yCDEA,yCDuIE,OAAA,KEpIF,cF4IE,eAAA,KACA,mBAAA,KExIF,4CDEA,yCD+IE,mBAAA,KAQF,6BACE,KAAA,QACA,mBAAA,OAOF,OACE,QAAA,aAGF,QACE,QAAA,UACA,OAAA,QAGF,SACE,QAAA,KErJF,SF2JE,QAAA","sourcesContent":["/*!\n * Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n\n@import \"functions\";\n@import \"variables\";\n@import \"mixins\";\n@import \"reboot\";\n","// stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new style s.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n// 2. Change the default font family in all browsers.\n// 3. Correct the line height in all browsers.\n// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.\n// 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so\n//we force a non-overlapping, non-auto-hiding scrollbar to counteract.\n// 6. Change the default tap highlight to be completely transparent in iOS.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box; // 1\n}\n\nhtml {\n font-family: sans-serif; // 2\n line-height: 1.15; // 3\n -webkit-text-size-adjust: 100%; // 4\n -ms-text-size-adjust: 100%; // 4\n -ms-overflow-style: scrollbar; // 5\n -webkit-tap-highlight-color: rgba($black, 0); // 6\n}\n\n// IE10+ doesn't honor `` in some cases.\n@at-root {\n @-ms-viewport {\nwidth: device-width;\n }\n}\n\n// stylelint-disable selector-list-comma-newline-after\n// Shim for \"new\" HTML5 structural elements to display correctly (IE10, older browsers)\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Set an explicit initial text-align value s
svn commit: r1847928 [5/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Added: tomee/site/trunk/content/js/bootstrap.bundle.js URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/js/bootstrap.bundle.js?rev=1847928&view=auto == --- tomee/site/trunk/content/js/bootstrap.bundle.js (added) +++ tomee/site/trunk/content/js/bootstrap.bundle.js Sat Dec 1 23:20:56 2018 @@ -0,0 +1,6461 @@ +/*! + * Bootstrap v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery')) : + typeof define === 'function' && define.amd ? define(['exports', 'jquery'], factory) : + (factory((global.bootstrap = {}),global.jQuery)); +}(this, (function (exports,$) { 'use strict'; + + $ = $ && $.hasOwnProperty('default') ? $['default'] : $; + + function _defineProperties(target, props) { +for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); +} + } + + function _createClass(Constructor, protoProps, staticProps) { +if (protoProps) _defineProperties(Constructor.prototype, protoProps); +if (staticProps) _defineProperties(Constructor, staticProps); +return Constructor; + } + + function _defineProperty(obj, key, value) { +if (key in obj) { + Object.defineProperty(obj, key, { +value: value, +enumerable: true, +configurable: true, +writable: true + }); +} else { + obj[key] = value; +} + +return obj; + } + + function _objectSpread(target) { +for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { +ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; +})); + } + + ownKeys.forEach(function (key) { +_defineProperty(target, key, source[key]); + }); +} + +return target; + } + + function _inheritsLoose(subClass, superClass) { +subClass.prototype = Object.create(superClass.prototype); +subClass.prototype.constructor = subClass; +subClass.__proto__ = superClass; + } + + /** + * -- + * Bootstrap (v4.1.3): util.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -- + */ + + var Util = function ($$$1) { +/** + * + * Private TransitionEnd Helpers + * + */ +var TRANSITION_END = 'transitionend'; +var MAX_UID = 100; +var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) + +function toType(obj) { + return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase(); +} + +function getSpecialTransitionEndEvent() { + return { +bindType: TRANSITION_END, +delegateType: TRANSITION_END, +handle: function handle(event) { + if ($$$1(event.target).is(this)) { +return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params + } + + return undefined; // eslint-disable-line no-undefined +} + }; +} + +function transitionEndEmulator(duration) { + var _this = this; + + var called = false; + $$$1(this).one(Util.TRANSITION_END, function () { +called = true; + }); + setTimeout(function () { +if (!called) { + Util.triggerTransitionEnd(_this); +} + }, duration); + return this; +} + +function setTransitionEndSupport() { + $$$1.fn.emulateTransitionEnd = transitionEndEmulator; + $$$1.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); +} +/** + * -- + * Public Util Api + * -- + */ + + +var Util = { + TRANSITION_END: 'bsTransitionEnd', + getUID: function getUID(prefix) { +do { + // eslint-disable-next-line no-bitwise + prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a fast
svn commit: r1847928 [7/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Added: tomee/site/trunk/content/js/bootstrap.js URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/js/bootstrap.js?rev=1847928&view=auto == --- tomee/site/trunk/content/js/bootstrap.js (added) +++ tomee/site/trunk/content/js/bootstrap.js Sat Dec 1 23:20:56 2018 @@ -0,0 +1,3944 @@ +/*! + * Bootstrap v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery'), require('popper.js')) : + typeof define === 'function' && define.amd ? define(['exports', 'jquery', 'popper.js'], factory) : + (factory((global.bootstrap = {}),global.jQuery,global.Popper)); +}(this, (function (exports,$,Popper) { 'use strict'; + + $ = $ && $.hasOwnProperty('default') ? $['default'] : $; + Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper; + + function _defineProperties(target, props) { +for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); +} + } + + function _createClass(Constructor, protoProps, staticProps) { +if (protoProps) _defineProperties(Constructor.prototype, protoProps); +if (staticProps) _defineProperties(Constructor, staticProps); +return Constructor; + } + + function _defineProperty(obj, key, value) { +if (key in obj) { + Object.defineProperty(obj, key, { +value: value, +enumerable: true, +configurable: true, +writable: true + }); +} else { + obj[key] = value; +} + +return obj; + } + + function _objectSpread(target) { +for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { +ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; +})); + } + + ownKeys.forEach(function (key) { +_defineProperty(target, key, source[key]); + }); +} + +return target; + } + + function _inheritsLoose(subClass, superClass) { +subClass.prototype = Object.create(superClass.prototype); +subClass.prototype.constructor = subClass; +subClass.__proto__ = superClass; + } + + /** + * -- + * Bootstrap (v4.1.3): util.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -- + */ + + var Util = function ($$$1) { +/** + * + * Private TransitionEnd Helpers + * + */ +var TRANSITION_END = 'transitionend'; +var MAX_UID = 100; +var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) + +function toType(obj) { + return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase(); +} + +function getSpecialTransitionEndEvent() { + return { +bindType: TRANSITION_END, +delegateType: TRANSITION_END, +handle: function handle(event) { + if ($$$1(event.target).is(this)) { +return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params + } + + return undefined; // eslint-disable-line no-undefined +} + }; +} + +function transitionEndEmulator(duration) { + var _this = this; + + var called = false; + $$$1(this).one(Util.TRANSITION_END, function () { +called = true; + }); + setTimeout(function () { +if (!called) { + Util.triggerTransitionEnd(_this); +} + }, duration); + return this; +} + +function setTransitionEndSupport() { + $$$1.fn.emulateTransitionEnd = transitionEndEmulator; + $$$1.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); +} +/** + * -- + * Public Util Api + * -- + */ + + +var Util = { + TRANSITION_END: 'bsTransitionEnd', + getUID: function getUID(prefix) { +do { +
svn commit: r1847928 [6/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Propchange: tomee/site/trunk/content/js/bootstrap.bundle.js -- svn:eol-style = native Added: tomee/site/trunk/content/js/bootstrap.bundle.js.map URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/js/bootstrap.bundle.js.map?rev=1847928&view=auto == --- tomee/site/trunk/content/js/bootstrap.bundle.js.map (added) +++ tomee/site/trunk/content/js/bootstrap.bundle.js.map Sat Dec 1 23:20:56 2018 @@ -0,0 +1 @@ [... 3 lines stripped ...] Added: tomee/site/trunk/content/js/bootstrap.bundle.min.js URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/js/bootstrap.bundle.min.js?rev=1847928&view=auto == --- tomee/site/trunk/content/js/bootstrap.bundle.min.js (added) +++ tomee/site/trunk/content/js/bootstrap.bundle.min.js Sat Dec 1 23:20:56 2018 @@ -0,0 +1,7 @@ +/*! + * Bootstrap v4.1.3 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.bootstrap={},e.jQuery)}(this,function(e,t){"use strict";function i(e,t){for(var n=0;nthis._items.length-1||e<0))if(this._isSliding)k(this._element).one(q.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n=i.clientWidth&&n>=i.clientHeight}),u=0l[e]&&!i.escapeWithReference&&(n=Math.min(u[t],l[e]-("right"===e?u.width:u.height))),Ve({},t,n)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=ze({},u,f[t](e))}),e.offsets.popper=u,e},priority:["left","right","top" ,"bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]o(i[a])&&(e.offsets.popper[l]=o(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!pt(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,s=o.popper,a=o.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",u=l?"Top":"Left",f=u.toLowerCase(),h=l?"left":"top",d=l?"bottom":"right",p=nt(i)[c];a[d]-ps[d]&&(e.offsets. popper[f]+=a[f]+p-s[d]),e.offsets.popper=Ge(e.offsets.popper);var m=a[f]+a[c]/2-p/2,g=Pe(e.instance.popper),_=parseFloat(g["margin"+u],10),v=parseFloat(g["border"+u+"Width"],10),y=m-e.offsets.popper[f]-_-v;return y=Math.max(Math.min(s[c]-p,y),0),e.arrowElement=i,e.offsets.arrow=(Ve(n={},f,Math.round(y)),Ve(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(at(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=$e(p.instance.popper,p.instance.reference,m.padding,m.boundariesElement,p.positionFixed),_=p.placement.split("-")[0],v=it(_),y=p.placement.split("-")[1]||"",E=[];switch(m.behavior){case vt:E=[_,v];break;case yt:E=_t(_);break;case Et:E=_t(_,!0);break;default:E=m.behavior}return E.forEach(function(e,t){if(_!==e||E.length===t+1)return p;_=p.placement.split("-")[0],v=it(_);var n,i=p.offsets.popper,r=p.offsets.reference,o=Math.floor,s="left"===_&&o(i.right)>o(r.left)||"right"===_&&o(i.left)o(r.top)||"bottom"===_&&o(i.top)o(g.right),c=o(i.top)o(g.bottom),f="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&u,h=-1!==["top","bottom"].indexOf(_),d=!!m.flipVariations&&(h&&"start"===y&&a||h&&"end"===y&&l||!h&&"start"===y&&c||!h&&"end"===y&&u);(s||f||d)&&(p.flipped=!0,(s||f)&&(_=E[t+1]),d&&(y="end"===(n=y)?"start":"start"===n?"end":n),p.placement=_+(y?"-"+y:""),p.offsets.popper=ze({},p.offsets.popper,rt(p.instance.popper,p.offsets.reference,p.placement)),p=st(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),e.placement=it(t),e.offsets.popper=Ge(r),e}},hide:{order:800,enabled:!0,fn:function(e) {if(!pt(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=ot(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom|
svn commit: r1847928 [3/8] - in /tomee/site/trunk/content: css/ js/ latest/ latest/docs/ latest/examples/ master/ master/docs/ master/examples/ tomee-7.0/ tomee-7.0/examples/ tomee-7.1/ tomee-7.1/exam
Added: tomee/site/trunk/content/css/bootstrap-reboot.css.map URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/css/bootstrap-reboot.css.map?rev=1847928&view=auto == --- tomee/site/trunk/content/css/bootstrap-reboot.css.map (added) +++ tomee/site/trunk/content/css/bootstrap-reboot.css.map Sat Dec 1 23:20:56 2018 @@ -0,0 +1 @@ +{"version":3,"sources":["../../scss/bootstrap-reboot.scss","../../scss/_reboot.scss","../../scss/_variables.scss","bootstrap-reboot.css","../../scss/mixins/_hover.scss"],"names":[],"mappings":";;GAMG;ACcH;;;EAGE,uBAAsB;CACvB;;AAED;EACE,wBAAuB;EACvB,kBAAiB;EACjB,+BAA8B;EAC9B,2BAA0B;EAC1B,8BAA6B;EAC7B,8CCZa;CDad;;AAIC;EACE,oBAAmB;CEdtB;;AFoBD;EACE,eAAc;CACf;;AAUD;EACE,UAAS;EACT,sLCgMoM;ED/LpM,gBCoMgC;EDnMhC,iBCwM+B;EDvM/B,iBC2M+B;ED1M/B,eC3CgB;ED4ChB,iBAAgB;EAChB,uBCtDa;CDuDd;;AExBD;EFgCE,sBAAqB;CACtB;;AAQD;EACE,wBAAuB;EACvB,UAAS;EACT,kBAAiB;CAClB;;AAYD;EACE,cAAa;EACb,sBC6KyC;CD5K1C;;AAOD;EACE,cAAa;EACb,oBCkE8B;CDjE/B;;AASD;;EAEE,2BAA0B;EAC1B,0CAAiC;EAAjC,kCAAiC;EACjC,aAAY;EACZ,iBAAgB;CACjB;;AAED;EACE,oBAAmB;EACnB,mBAAkB;EAClB,qBAAoB;CACrB;;AAED;;;EAGE,cAAa;EACb,oBAAmB;CACpB;;AAEDEAIE,iBAAgB;CACjB;;AAED;EACE,iBCgH+B;CD/GhC;;AAED;EACE,qBAAoB;EACpB,eAAc;CACf;;AAED;EACE,iBAAgB;CACjB;;AAED;EACE,mBAAkB;CACnB;;AAGD;;EAEE,oBAAmB;CACpB;;AAGD;EACE,eAAc;CACf;;AAOD;;EAEE,mBAAkB;EAClB ,eAAc;EACd,eAAc;EACd,yBAAwB;CACzB;;AAED;EAAM,eAAc;CAAI;;AACxB;EAAM,WAAU;CAAI;;AAOpB;EACE,eC9Je;ED+Jf,sBC/B8B;EDgC9B,8BAA6B;EAC7B,sCAAqC;CAMtC;;AGnMC;EHgME,eCnCgD;EDoChD,2BCnCiC;CE9Jb;;AH2MxB;EACE,eAAc;EACd,sBAAqB;CAUtB;;AGnNC;EH4ME,eAAc;EACd,sBAAqB;CG1MtB;;AHoMH;EAUI,WAAU;CACX;;AAQHEAIE,kGCagH;EDZhH,eAAc;CACf;;AAED;EAEE,cAAa;EAEb,oBAAmB;EAEnB,eAAc;EAGd,8BAA6B;CAC9B;;AAOD;EAEE,iBAAgB;CACjB;;AAOD;EACE,uBAAsB;EACtB,mBAAkB;CACnB;;AAED;EAGE,iBAAgB;EAChB,uBAAsB;CACvB;;AAOD;EACE,0BAAyB;CAC1B;;AAED;EACE,qBC8BkC;ED7BlC,wBC6BkC;ED5BlC,eCrRgB;EDsRhB,iBAAgB;EAChB,qBAAoB;CACrB;;AAED;EAGE,oBAAmB;CACpB;;AAOD;EAEE,sBAAqB;EACrB,sBC+F2C;CD9F5C;;AAKD;EACE,iBAAgB;CACjB;;AAMD;EACE,oBAAmB;EACnB,2CAA0C;CAC3C;;AAED;EAKE,UAAS;EACT,qBAAoB;EACpB,mBAAkB;EAClB,qBAAoB;CACrB;;AAED;;EAEE,kBAAiB;CAClB;;AAED;;EAEE,qBAAoB;CACrB;;AAKDEAIE,2BAA0B;CAC3B;;AAGDEAIE,WAAU;EACV,mBAAkB;CACnB;;AAED;;EAEE,uBAAsB;EACtB,WAAU;CACX;;AAGDEASE,4BAA2B;CAC5B;;AAED;EACE,eAAc;EAEd,iBAAgB;CACjB;;AAED;EAME,aAAY;EAEZ,WAA U;EACV,UAAS;EACT,UAAS;CACV;;AAID;EACE,eAAc;EACd,YAAW;EACX,gBAAe;EACf,WAAU;EACV,qBAAoB;EACpB,kBAAiB;EACjB,qBAAoB;EACpB,eAAc;EACd,oBAAmB;CACpB;;AAED;EACE,yBAAwB;CACzB;;AEpID;;EFyIE,aAAY;CACb;;AErID;EF4IE,qBAAoB;EACpB,yBAAwB;CACzB;;AEzID;;EFiJE,yBAAwB;CACzB;;AAOD;EACE,cAAa;EACb,2BAA0B;CAC3B;;AAMD;EACE,sBAAqB;CACtB;;AAED;EACE,mBAAkB;EAClB,gBAAe;CAChB;;AAED;EACE,cAAa;CACd;;AEtJD;EF2JE,yBAAwB;CACzB","file":"bootstrap-reboot.css","sourcesContent":["/*!\n * Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors\n * Copyright 2011-2018 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n\n@import \"functions\";\n@import \"variables\";\n@import \"mixins\";\n@import \"reboot\";\n","// stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-ven dor-prefix\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n// 2. Change the default font family in all browsers.\n// 3. Correct the line height in all browsers.\n// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.\n// 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so\n//we force a non-overlapping, non-auto-hiding scrollbar to counteract.\n// 6. Change the default tap highlight to be completely transparent in iOS.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box; // 1\n}\n\nhtml {\n font-family: sans-serif; // 2\n line-height: 1.15; // 3\n -webkit-text-size-adjust: 100%; // 4\n -m s-text-size-adjust: 100%; // 4\n -ms-overflow-style: scrollbar; // 5\n -webkit-tap-highlight-color: rgba($black, 0); // 6\n}\n\n// IE10+ doesn't honor `` in some cases.\n@at-root {\n @-ms-viewport {\n width: device-width;\n }\n}\n\n// stylelint-disable selector-list-comma-newline-after\n// Shim for \"new\" HTML5 structural elements to display correctly (IE10, older browsers)\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n// stylelint-enable selector-list-comma-newline-after\n\n// Body\
svn commit: r1847929 - in /tomee/site/trunk/content: community/ latest/docs/ latest/docs/admin/ latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/ latest/docs/advanced/a
Author: dblevins Date: Sat Dec 1 23:36:00 2018 New Revision: 1847929 URL: http://svn.apache.org/viewvc?rev=1847929&view=rev Log: Maven update of the website on the Sat Dec 01 15:33:19 PST 2018 from dblevins [This commit notification would consist of 249 parts, which exceeds the limit of 50 ones, so it was shortened to the summary.]
svn commit: r1847931 [5/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/latest/docs/developer/classloading/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/classloading/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/latest/docs/developer/classloading/index.html (added) +++ tomee/site/trunk/content/latest/docs/developer/classloading/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,239 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + The TomEE ClassLoader + + + + + + + +TomEE ClassLoading is directly mapped to Tomcat one. + + +[ +{ +label: 'JVM', +description: 'The JVM classloader launching tomcat main(String[])', +children: [ +{ +label:'common.loader', +description:'Customizable in conf/catalina.properties, the common loader is the Tomcat classloader', +children: [ +{ +label:'shared.loader', +description:'Optional layer where you can add libraries for the web applications not seen by Tomcat. It is generally not used and not encouraged since Tomcat 6', +children: [ +{ +label:'webapp1', +description:'loader of one of your wars, it container WEB-INF/classes, WEB-INF/lib/.jar' +}, +{ +label:'webapp2', +description:'loader of another one of your wars, it container WEB-INF/classes, WEB-INF/lib/.jar' +}, +{ +label:'application1', +description:'loader of another application, it can be an ear, it contains lib and ejbmodules of the ear', +children: [ +{ +label:'earwebapp1', +description:'loader of one of the wars of the ear' +}, +{ +label:'earwebapp2', +description:'loader of the other webapp of the ear' +} +] +} +] +} +] +} +] +} +] + + +Click on the tree (JVM) on the left to see the detail there. + + + + + + + + +
svn commit: r1847931 [1/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Author: dblevins Date: Sun Dec 2 00:12:50 2018 New Revision: 1847931 URL: http://svn.apache.org/viewvc?rev=1847931&view=rev Log: Maven update of the website on the Sat Dec 01 16:12:35 PST 2018 from dblevins Added: tomee/site/trunk/content/latest/docs/admin/cluster/index.html (with props) tomee/site/trunk/content/latest/docs/admin/configuration/application.html (with props) tomee/site/trunk/content/latest/docs/admin/configuration/containers.html (with props) tomee/site/trunk/content/latest/docs/admin/configuration/index.html (with props) tomee/site/trunk/content/latest/docs/admin/configuration/resources.html (with props) tomee/site/trunk/content/latest/docs/admin/configuration/server.html (with props) tomee/site/trunk/content/latest/docs/advanced/applicationcomposer/index.html (with props) tomee/site/trunk/content/latest/docs/advanced/client/jndi.html (with props) tomee/site/trunk/content/latest/docs/advanced/jms/jms-configuration.html (with props) tomee/site/trunk/content/latest/docs/advanced/setup/index.html (with props) tomee/site/trunk/content/latest/docs/advanced/shading/index.html (with props) tomee/site/trunk/content/latest/docs/advanced/tomee-embedded/index.html (with props) tomee/site/trunk/content/latest/docs/contrib/debug/debug-intellij.html (with props) tomee/site/trunk/content/latest/docs/developer/classloading/index.html (with props) tomee/site/trunk/content/latest/docs/developer/configuration/cxf.html (with props) tomee/site/trunk/content/latest/docs/developer/ide/index.html (with props) tomee/site/trunk/content/latest/docs/developer/json/index.html (with props) tomee/site/trunk/content/latest/docs/developer/migration/tomee-1-to-7.html (with props) tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/ tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html (with props) tomee/site/trunk/content/latest/docs/developer/testing/arquillian/ tomee/site/trunk/content/latest/docs/developer/testing/arquillian/index.html (with props) tomee/site/trunk/content/latest/docs/developer/testing/index.html (with props) tomee/site/trunk/content/latest/docs/developer/testing/other/ tomee/site/trunk/content/latest/docs/developer/testing/other/index.html (with props) tomee/site/trunk/content/latest/docs/developer/tools/gradle-plugins.html (with props) tomee/site/trunk/content/latest/docs/developer/tools/index.html (with props) tomee/site/trunk/content/latest/docs/developer/tools/maven/ tomee/site/trunk/content/latest/docs/developer/tools/maven-plugins.html (with props) tomee/site/trunk/content/latest/docs/developer/tools/maven/applicationcomposer.html (with props) tomee/site/trunk/content/latest/docs/developer/tools/maven/embedded.html (with props) tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html (with props) tomee/site/trunk/content/master/docs/admin/cluster/index.html (with props) tomee/site/trunk/content/master/docs/admin/configuration/application.html (with props) tomee/site/trunk/content/master/docs/admin/configuration/containers.html (with props) tomee/site/trunk/content/master/docs/admin/configuration/index.html (with props) tomee/site/trunk/content/master/docs/admin/configuration/resources.html (with props) tomee/site/trunk/content/master/docs/admin/configuration/server.html (with props) tomee/site/trunk/content/master/docs/advanced/applicationcomposer/index.html (with props) tomee/site/trunk/content/master/docs/advanced/client/jndi.html (with props) tomee/site/trunk/content/master/docs/advanced/jms/jms-configuration.html (with props) tomee/site/trunk/content/master/docs/advanced/setup/index.html (with props) tomee/site/trunk/content/master/docs/advanced/shading/index.html (with props) tomee/site/trunk/content/master/docs/advanced/tomee-embedded/index.html (with props) tomee/site/trunk/content/master/docs/contrib/debug/debug-intellij.html (with props) tomee/site/trunk/content/master/docs/developer/classloading/index.html (with props) tomee/site/trunk/content/master/docs/developer/configuration/cxf.html (with props) tomee/site/trunk/content/master/docs/developer/ide/index.html (with props) tomee/site/trunk/content/master/docs/developer/json/index.html (with props) tomee/site/trunk/content/master/docs/developer/migration/tomee-1-to-7.html (with props) tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/ tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html (with props) tomee/site/trunk/content/master/docs/developer/testing/arquillian/ tomee/site/trunk/content/master/docs/developer/testing/arquillian/index.html (with props)
svn commit: r1847931 [4/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/latest/docs/advanced/setup/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/advanced/setup/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/latest/docs/advanced/setup/index.html (added) +++ tomee/site/trunk/content/latest/docs/advanced/setup/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,327 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + How to Setup TomEE in production + + + + + + + + + +You can use TomEE as described on Directory Structure page but in production it is better to +split TomEE and application binaries and configuration. + + +Idea is to have this kind of layout (the root is the one you prefer): + + +[{ +label: '/some/path', +description: 'any location on your file system', +children: [ +{ +label: 'tomee', +description: 'all tomee binaries will be there, note: you often do the same for the JVM versions you have', +children: [ +{ +label: 'tomee-1.7.1', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +}, +{ +label: 'tomee-1.7.2', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +}, +{ +label: 'tomee-7.0.0-M3', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +} +] +}, +{ +label: 'applications', +description: 'all applications', +children: [ +{ +label: 'application1', +description: 'any application instance (ie configuration + binaries)', +
svn commit: r1847931 [9/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/master/docs/admin/configuration/containers.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/admin/configuration/containers.html?rev=1847931&view=auto == --- tomee/site/trunk/content/master/docs/admin/configuration/containers.html (added) +++ tomee/site/trunk/content/master/docs/admin/configuration/containers.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,903 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Resources + + + + + + + + + +All containers will be created automatically - which means you don’t need to define them +if you don’t need to tune their configuration - when a bean of their type if found. + + +To avoid that use openejb.offline property and set it to true. See Server Configuration for more detail. + + + + +@Stateless + +A @Stateless container. + + +Declarable in tomee.xml via + + + ++AccessTimeout = 30 seconds +MaxSize = 10 +MinSize = 0 +StrictPooling = true +MaxAge = 0 hours +ReplaceAged = true +ReplaceFlushed = false +MaxAgeOffset = -1 +IdleTimeout = 0 minutes +GarbageCollection = false +SweepInterval = 5 minutes +CallbackThreads = 5 +CloseTimeout = 5 minutes +UseOneSchedulerThreadByBean = false +EvictionThreads = 1 + + + + +Declarable in properties via + + + +Foo = new://Container?type=STATELESS +Foo.AccessTimeout = 30 seconds +Foo.MaxSize = 10 +Foo.MinSize = 0 +Foo.StrictPooling = true +Foo.MaxAge = 0 hours +Foo.ReplaceAged = true +Foo.ReplaceFlushed = false +Foo.MaxAgeOffset = -1 +Foo.IdleTimeout = 0 minutes +Foo.GarbageCollection = false +Foo.SweepInterval = 5 minutes +Foo.CallbackThreads = 5 +Foo.CloseTimeout = 5 minutes +Foo.UseOneSchedulerThreadByBean = false +Foo.EvictionThreads = 1 + + + +Configuration + +AccessTimeout + +Specifies the time an invokation should wait for an instance +of the pool to become available. + + +After the timeout is reached, if an instance in the pool cannot +be obtained, the method invocation will fail. + + +Usable time units: nanoseconds, microsecons, milliseconds, +seconds, minutes, hours, days. Or any combination such as +"1 hour and 27 minutes and 10 seconds" + + +Any usage of the javax.ejb.AccessTimeout annotation will +override this setting for the bean or method where the +annotation is used. + + + +MaxSize + +Specifies the size of the bean pools for this stateless +SessionBean container. If StrictPooling is not used, instances +will still be created beyond this number if there is demand, but +they will not be returned to the pool and instead will be +immediately destroyed. + + + +MinSize + +Specifies the minimum number of bean instances that should be in +the pool for each bean. P
svn commit: r1847931 [19/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/tomee-8.0/docs/developer/classloading/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/classloading/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/tomee-8.0/docs/developer/classloading/index.html (added) +++ tomee/site/trunk/content/tomee-8.0/docs/developer/classloading/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,239 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + The TomEE ClassLoader + + + + + + + +TomEE ClassLoading is directly mapped to Tomcat one. + + +[ +{ +label: 'JVM', +description: 'The JVM classloader launching tomcat main(String[])', +children: [ +{ +label:'common.loader', +description:'Customizable in conf/catalina.properties, the common loader is the Tomcat classloader', +children: [ +{ +label:'shared.loader', +description:'Optional layer where you can add libraries for the web applications not seen by Tomcat. It is generally not used and not encouraged since Tomcat 6', +children: [ +{ +label:'webapp1', +description:'loader of one of your wars, it container WEB-INF/classes, WEB-INF/lib/.jar' +}, +{ +label:'webapp2', +description:'loader of another one of your wars, it container WEB-INF/classes, WEB-INF/lib/.jar' +}, +{ +label:'application1', +description:'loader of another application, it can be an ear, it contains lib and ejbmodules of the ear', +children: [ +{ +label:'earwebapp1', +description:'loader of one of the wars of the ear' +}, +{ +label:'earwebapp2', +description:'loader of the other webapp of the ear' +} +] +} +] +} +] +} +] +} +] + + +Click on the tree (JVM) on the left to see the detail there. + + + + + + + + +
svn commit: r1847931 [11/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/master/docs/advanced/setup/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/advanced/setup/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/master/docs/advanced/setup/index.html (added) +++ tomee/site/trunk/content/master/docs/advanced/setup/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,327 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + How to Setup TomEE in production + + + + + + + + + +You can use TomEE as described on Directory Structure page but in production it is better to +split TomEE and application binaries and configuration. + + +Idea is to have this kind of layout (the root is the one you prefer): + + +[{ +label: '/some/path', +description: 'any location on your file system', +children: [ +{ +label: 'tomee', +description: 'all tomee binaries will be there, note: you often do the same for the JVM versions you have', +children: [ +{ +label: 'tomee-1.7.1', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +}, +{ +label: 'tomee-1.7.2', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +}, +{ +label: 'tomee-7.0.0-M3', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +} +] +}, +{ +label: 'applications', +description: 'all applications', +children: [ +{ +label: 'application1', +description: 'any application instance (ie configuration + binaries)', +
svn commit: r1847931 [3/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/latest/docs/admin/configuration/server.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/admin/configuration/server.html?rev=1847931&view=auto == --- tomee/site/trunk/content/latest/docs/admin/configuration/server.html (added) +++ tomee/site/trunk/content/latest/docs/admin/configuration/server.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,557 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Container Configuration + + + + + + + +Server + + + + + + + + +Name +Value +Description + + + + +openejb.embedded.remotable +bool +activate or not the remote services when available + + +.bind,.port, .disabled, .threads +host or IP, port, bool +override the host. Available for ejbd and httpejbd services (used by jaxws and jaxrs), number of thread to manage requests + + +openejb.embedded.initialcontext.close +LOGOUT or DESTROY +configure the hook called when closing the initial context. Useful when starting OpenEJB from a new InitialContext([properties]) instantiation. By default it simply logs out the logged user if it exists. DESTROY means clean the container. + + +javax.persistence.provider +string +override the JPA provider value + + +javax.persistence.transactionType +string +override the transaction type for persistence contexts + + +javax.persistence.jtaDataSource +string +override the JTA datasource value for persistence contexts + + +javax.persistence.nonJtaDataSource +string +override the non JTA datasource value for persistence contexts + + +openejb.descriptors.output +bool +dump memory deployment descriptors. Can be used to set complete metadata to true and avoid scanning when starting the container or to check the used configuration. + + +openejb.deployments.classpath.require.descriptor +CLIENT or EJB +can allow to filter what you want to scan (client modules or ejb modules) + + +openejb.descriptors.output.folder +path +where to dump deployement descriptors if activated. + + +openejb.strict.interface.declaration +bool +add some validations on session beans (spec validations in particular). false by default. + + +openejb.conf.file or openejb.configuration +string +OpenEJB configuration file path + + +openejb.debuggable-vm-hackery +bool +remove JMS informations from deployment + + +openejb.validation.skip +bool +skip the validations done when OpenEJB deploys beans + + +openejb.deployments.classpath.ear +bool +deploy the classpath as an ear + + +openejb.webservices.enabled +bool +activate or not webservices + + +openejb.validation.output.level +TERSE or MEDIUM or VERBOSE +level of the logs used to report validation errors + + +openejb.user.mbeans.list * or a list of classes separate
svn commit: r1847931 [2/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/latest/docs/admin/configuration/containers.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/admin/configuration/containers.html?rev=1847931&view=auto == --- tomee/site/trunk/content/latest/docs/admin/configuration/containers.html (added) +++ tomee/site/trunk/content/latest/docs/admin/configuration/containers.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,903 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Resources + + + + + + + + + +All containers will be created automatically - which means you don’t need to define them +if you don’t need to tune their configuration - when a bean of their type if found. + + +To avoid that use openejb.offline property and set it to true. See Server Configuration for more detail. + + + + +@Stateless + +A @Stateless container. + + +Declarable in tomee.xml via + + + ++AccessTimeout = 30 seconds +MaxSize = 10 +MinSize = 0 +StrictPooling = true +MaxAge = 0 hours +ReplaceAged = true +ReplaceFlushed = false +MaxAgeOffset = -1 +IdleTimeout = 0 minutes +GarbageCollection = false +SweepInterval = 5 minutes +CallbackThreads = 5 +CloseTimeout = 5 minutes +UseOneSchedulerThreadByBean = false +EvictionThreads = 1 + + + + +Declarable in properties via + + + +Foo = new://Container?type=STATELESS +Foo.AccessTimeout = 30 seconds +Foo.MaxSize = 10 +Foo.MinSize = 0 +Foo.StrictPooling = true +Foo.MaxAge = 0 hours +Foo.ReplaceAged = true +Foo.ReplaceFlushed = false +Foo.MaxAgeOffset = -1 +Foo.IdleTimeout = 0 minutes +Foo.GarbageCollection = false +Foo.SweepInterval = 5 minutes +Foo.CallbackThreads = 5 +Foo.CloseTimeout = 5 minutes +Foo.UseOneSchedulerThreadByBean = false +Foo.EvictionThreads = 1 + + + +Configuration + +AccessTimeout + +Specifies the time an invokation should wait for an instance +of the pool to become available. + + +After the timeout is reached, if an instance in the pool cannot +be obtained, the method invocation will fail. + + +Usable time units: nanoseconds, microsecons, milliseconds, +seconds, minutes, hours, days. Or any combination such as +"1 hour and 27 minutes and 10 seconds" + + +Any usage of the javax.ejb.AccessTimeout annotation will +override this setting for the bean or method where the +annotation is used. + + + +MaxSize + +Specifies the size of the bean pools for this stateless +SessionBean container. If StrictPooling is not used, instances +will still be created beyond this number if there is demand, but +they will not be returned to the pool and instead will be +immediately destroyed. + + + +MinSize + +Specifies the minimum number of bean instances that should be in +the pool for each bean. P
svn commit: r1847931 [16/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/containers.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/containers.html?rev=1847931&view=auto == --- tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/containers.html (added) +++ tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/containers.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,903 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Resources + + + + + + + + + +All containers will be created automatically - which means you don’t need to define them +if you don’t need to tune their configuration - when a bean of their type if found. + + +To avoid that use openejb.offline property and set it to true. See Server Configuration for more detail. + + + + +@Stateless + +A @Stateless container. + + +Declarable in tomee.xml via + + + ++AccessTimeout = 30 seconds +MaxSize = 10 +MinSize = 0 +StrictPooling = true +MaxAge = 0 hours +ReplaceAged = true +ReplaceFlushed = false +MaxAgeOffset = -1 +IdleTimeout = 0 minutes +GarbageCollection = false +SweepInterval = 5 minutes +CallbackThreads = 5 +CloseTimeout = 5 minutes +UseOneSchedulerThreadByBean = false +EvictionThreads = 1 + + + + +Declarable in properties via + + + +Foo = new://Container?type=STATELESS +Foo.AccessTimeout = 30 seconds +Foo.MaxSize = 10 +Foo.MinSize = 0 +Foo.StrictPooling = true +Foo.MaxAge = 0 hours +Foo.ReplaceAged = true +Foo.ReplaceFlushed = false +Foo.MaxAgeOffset = -1 +Foo.IdleTimeout = 0 minutes +Foo.GarbageCollection = false +Foo.SweepInterval = 5 minutes +Foo.CallbackThreads = 5 +Foo.CloseTimeout = 5 minutes +Foo.UseOneSchedulerThreadByBean = false +Foo.EvictionThreads = 1 + + + +Configuration + +AccessTimeout + +Specifies the time an invokation should wait for an instance +of the pool to become available. + + +After the timeout is reached, if an instance in the pool cannot +be obtained, the method invocation will fail. + + +Usable time units: nanoseconds, microsecons, milliseconds, +seconds, minutes, hours, days. Or any combination such as +"1 hour and 27 minutes and 10 seconds" + + +Any usage of the javax.ejb.AccessTimeout annotation will +override this setting for the bean or method where the +annotation is used. + + + +MaxSize + +Specifies the size of the bean pools for this stateless +SessionBean container. If StrictPooling is not used, instances +will still be created beyond this number if there is demand, but +they will not be returned to the pool and instead will be +immediately destroyed. + + + +MinSize + +Specifies the minimum number of bean instances that should be in +the pool for
svn commit: r1847931 [8/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html?rev=1847931&view=auto == --- tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html (added) +++ tomee/site/trunk/content/latest/docs/developer/tools/maven/tomee.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,711 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + TomEE Maven Plugin + + + + + + + + + +TomEE Maven Plugin is a set of goals for the development and to prepare to go in production: + + + + +tomee:build + + +tomee:exec + + +tomee:configtest + + +tomee:debug + + +tomee:deploy + + +tomee:exec + + +tomee:list + + +tomee:run + + +tomee:start + + +tomee:stop + + +tomee:undeploy + + + + + + +Run + +The most commonly used goal, it allows to start a tomee with applications. Here is its configuration: + + + + + + + + + +Name +Default +Description + + + + +synchronization +- +a synchronization (see after the table) + + +synchronizations +- +list of synchronizations + + +reloadOnUpdate +- +should the application be redeployed when a synchronization is triggered + + +skipCurrentProject +false +should current project not be considered as a deployable even if its packaging is compatible (war typically) + + +tomeeVersion +auto, plugin one +which version of TomEE to use + + +tomeeGroupId +org.apache.tomee +TomEE artifact groupId + + +tomeeArtifactId +apache-tomee +TomEE artifact artifactId + + +tomeeType +zip +the type of the TomEE artifact , only zip supported at the moment + + +tomeeClassifier +webprofile +which flavor of TomEE to use (classifier) + + +tomeeShutdownPort +read from server.xml +the shutdown port + + +tomeeShutdownAttempts +60 +how many times to wait for startup/shutdown (waits 1s in between) + + +tomeeShutdownCommand +SHUTDOWN +the shutdown command + + +tomeeAjpPort +read from the pom +the AJP port if needed + + +tomeeHttpsPort +read from the pom +the HTTPS port if needed + + +args +- +command line arguments (system properties, javaagent, JVM options …) + + +debug +- +start and wait for a remote debugger to connect + + +debugPort +5005 +used when debug to change the default port + + +simpleLog +false +use one line logs + + +extractWars +false +explode wars before starting + + +stripWarVersion +true +remove the version from the war name + + +stripVersion +false +remove the version from the artifact name whatever it is (even jar) + + +webappResources +${project.basedir}/src/main/webapp +where web resources are + + +webappClasses and classes +${project.build.outputDirectory} +where artifact binaries are + + +catalinaBase +${project.build.directory}/apache-tomee +where to create the tom
svn commit: r1847931 [10/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/master/docs/admin/configuration/server.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/admin/configuration/server.html?rev=1847931&view=auto == --- tomee/site/trunk/content/master/docs/admin/configuration/server.html (added) +++ tomee/site/trunk/content/master/docs/admin/configuration/server.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,557 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Container Configuration + + + + + + + +Server + + + + + + + + +Name +Value +Description + + + + +openejb.embedded.remotable +bool +activate or not the remote services when available + + +.bind,.port, .disabled, .threads +host or IP, port, bool +override the host. Available for ejbd and httpejbd services (used by jaxws and jaxrs), number of thread to manage requests + + +openejb.embedded.initialcontext.close +LOGOUT or DESTROY +configure the hook called when closing the initial context. Useful when starting OpenEJB from a new InitialContext([properties]) instantiation. By default it simply logs out the logged user if it exists. DESTROY means clean the container. + + +javax.persistence.provider +string +override the JPA provider value + + +javax.persistence.transactionType +string +override the transaction type for persistence contexts + + +javax.persistence.jtaDataSource +string +override the JTA datasource value for persistence contexts + + +javax.persistence.nonJtaDataSource +string +override the non JTA datasource value for persistence contexts + + +openejb.descriptors.output +bool +dump memory deployment descriptors. Can be used to set complete metadata to true and avoid scanning when starting the container or to check the used configuration. + + +openejb.deployments.classpath.require.descriptor +CLIENT or EJB +can allow to filter what you want to scan (client modules or ejb modules) + + +openejb.descriptors.output.folder +path +where to dump deployement descriptors if activated. + + +openejb.strict.interface.declaration +bool +add some validations on session beans (spec validations in particular). false by default. + + +openejb.conf.file or openejb.configuration +string +OpenEJB configuration file path + + +openejb.debuggable-vm-hackery +bool +remove JMS informations from deployment + + +openejb.validation.skip +bool +skip the validations done when OpenEJB deploys beans + + +openejb.deployments.classpath.ear +bool +deploy the classpath as an ear + + +openejb.webservices.enabled +bool +activate or not webservices + + +openejb.validation.output.level +TERSE or MEDIUM or VERBOSE +level of the logs used to report validation errors + + +openejb.user.mbeans.list * or a list of classes separate
svn commit: r1847931 [12/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/master/docs/developer/classloading/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/classloading/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/master/docs/developer/classloading/index.html (added) +++ tomee/site/trunk/content/master/docs/developer/classloading/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,239 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + The TomEE ClassLoader + + + + + + + +TomEE ClassLoading is directly mapped to Tomcat one. + + +[ +{ +label: 'JVM', +description: 'The JVM classloader launching tomcat main(String[])', +children: [ +{ +label:'common.loader', +description:'Customizable in conf/catalina.properties, the common loader is the Tomcat classloader', +children: [ +{ +label:'shared.loader', +description:'Optional layer where you can add libraries for the web applications not seen by Tomcat. It is generally not used and not encouraged since Tomcat 6', +children: [ +{ +label:'webapp1', +description:'loader of one of your wars, it container WEB-INF/classes, WEB-INF/lib/.jar' +}, +{ +label:'webapp2', +description:'loader of another one of your wars, it container WEB-INF/classes, WEB-INF/lib/.jar' +}, +{ +label:'application1', +description:'loader of another application, it can be an ear, it contains lib and ejbmodules of the ear', +children: [ +{ +label:'earwebapp1', +description:'loader of one of the wars of the ear' +}, +{ +label:'earwebapp2', +description:'loader of the other webapp of the ear' +} +] +} +] +} +] +} +] +} +] + + +Click on the tree (JVM) on the left to see the detail there. + + + + + + + + +
svn commit: r1847931 [7/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/latest/docs/developer/testing/other/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/testing/other/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/latest/docs/developer/testing/other/index.html (added) +++ tomee/site/trunk/content/latest/docs/developer/testing/other/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,347 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Other Testing Techniques + + + + + + + +EJBContainer + +The EJBContainer API is a JavaEE API enriched by some OpenEJB features to make the testing easier. + + +It starts a container (embedded for case we are interested in) scanning the classpath. This operation can be +slow and if you go with this solution maybe think to start it only once for all tests. + + +Sample + + +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +import javax.ejb.embeddable.EJBContainer; +import javax.inject.Inject; +import javax.naming.NamingException; + +import static org.junit.Assert.assertTrue; + +public class ATest { +@Inject +private MyCDIBean aBean; + +@PersistenceContext +private EntityManager em; + +@Resource +private DataSource ds; + +@BeforeClass +public static void start() throws NamingException { +container = EJBContainer.createEJBContainer(); +} + +@AfterClass +public static void shutdown() { +if (container != null) { +container.close(); +} +} + +@Before +public void inject() throws NamingException { +container.getContext().bind("inject", this); +} + +@After +public void reset() throws NamingException { +container.getContext().unbind("inject"); +} + +@Test +public void aTest() { +// ... +} +} + + + +It will use createEJBContainer() method to start the container and application, and close() to shutdown it. + + +OpenEJB provides the bind("inject") hack to be able to get injection in the test class. + + + + +OpenEJB JUnit + +openejb-junit is another artifact providing some facilities for testing. + + +EJBContainer Rule + + +@Properties({ +@Property(key = DeploymentFilterable.CLASSPATH_EXCLUDE, value = "jar:.*"), +@Property(key = DeploymentFilterable.CLASSPATH_INCLUDE, value = ".*openejb-junit.*") +}) +public class TestEJBContainerDefaultConfig { +@Rule +public final EJBContainerRule containerRule = new EJBContainerRule(this); + +@org.apache.openejb.junit.jee.resources.TestResource +private Context ctx; + +@org.apache.openejb.junit.jee.resources.TestResource +private java.util.Properties props; + +@org.a
svn commit: r1847931 [6/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/do
Added: tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html (added) +++ tomee/site/trunk/content/latest/docs/developer/testing/applicationcomposer/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,663 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + ApplicationComposer: The TomEE Swiss Knife + + + + + + + + + +ApplicationComposer API is mainly contained in org.apache.openejb.testing package (historically, today we would have called the package org.apache.tomee.applicationcomposer). + + + + +Dependencies + +To start using ApplicationComposer you need to add some dependencies. + + +The minimum required one is openejb-core: + + + ++ + + + +If you need JAXRS services you’ll add (or replace thanks to transitivity of maven) openejb-cxf-rs: + + + +org.apache.tomee +openejb-core +${openejb.version> ++ + + + +If you need JAXWS services you’ll add (or replace thanks to transitivity of maven) openejb-cxf: + + + +org.apache.tomee +openejb-cxf-rs +${openejb.version> ++ + + + + +ApplicationComposer Components + +@Module + +An ApplicationComposer needs at minimum a module (the application you need to deploy). + + +To do so you have two cases: + + +before TomEE 7.x: you can only write method(s) decorated with @Module +since TomEE 7.x: you can skip it and use @Classes directly on the ApplicationComposer class as a shortcut for: + + + +@Module public WebApp app() { return new WebApp(); } + + + +The expected returned type of these methods are in org.apache.openejb.jee package: + + + + +Application: entry point to create an ear + + +WebApp: a web application + + +EjbJar: an ejb module + + +EnterpriseBean children: a simple EJB + + +Persistence: a persistence module with multiple units + + +PersistenceUnit: a simple unit (automatically wrapped in a Persistence) + + +Connector: a JCA connector module + + +Beans: a CDI module, + + +Class[] or Class: a set of classes scanned to discover annotations + + + + +Note that for easiness @Classes was added to be able to describe a module and some scanned classes. For instance the following snippet will create a web application with classes C1, C2 as CDI beans and E1 as an EJB automaticalorg.apache.tomee +openejb-cxf +${openejb.version> +
svn commit: r1847931 [17/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/server.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/server.html?rev=1847931&view=auto == --- tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/server.html (added) +++ tomee/site/trunk/content/tomee-8.0/docs/admin/configuration/server.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,557 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Container Configuration + + + + + + + +Server + + + + + + + + +Name +Value +Description + + + + +openejb.embedded.remotable +bool +activate or not the remote services when available + + +.bind,.port, .disabled, .threads +host or IP, port, bool +override the host. Available for ejbd and httpejbd services (used by jaxws and jaxrs), number of thread to manage requests + + +openejb.embedded.initialcontext.close +LOGOUT or DESTROY +configure the hook called when closing the initial context. Useful when starting OpenEJB from a new InitialContext([properties]) instantiation. By default it simply logs out the logged user if it exists. DESTROY means clean the container. + + +javax.persistence.provider +string +override the JPA provider value + + +javax.persistence.transactionType +string +override the transaction type for persistence contexts + + +javax.persistence.jtaDataSource +string +override the JTA datasource value for persistence contexts + + +javax.persistence.nonJtaDataSource +string +override the non JTA datasource value for persistence contexts + + +openejb.descriptors.output +bool +dump memory deployment descriptors. Can be used to set complete metadata to true and avoid scanning when starting the container or to check the used configuration. + + +openejb.deployments.classpath.require.descriptor +CLIENT or EJB +can allow to filter what you want to scan (client modules or ejb modules) + + +openejb.descriptors.output.folder +path +where to dump deployement descriptors if activated. + + +openejb.strict.interface.declaration +bool +add some validations on session beans (spec validations in particular). false by default. + + +openejb.conf.file or openejb.configuration +string +OpenEJB configuration file path + + +openejb.debuggable-vm-hackery +bool +remove JMS informations from deployment + + +openejb.validation.skip +bool +skip the validations done when OpenEJB deploys beans + + +openejb.deployments.classpath.ear +bool +deploy the classpath as an ear + + +openejb.webservices.enabled +bool +activate or not webservices + + +openejb.validation.output.level +TERSE or MEDIUM or VERBOSE +level of the logs used to report validation errors + + +openejb.user.mbeans.list * or a list of cla
svn commit: r1847931 [20/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html (added) +++ tomee/site/trunk/content/tomee-8.0/docs/developer/testing/applicationcomposer/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,663 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + ApplicationComposer: The TomEE Swiss Knife + + + + + + + + + +ApplicationComposer API is mainly contained in org.apache.openejb.testing package (historically, today we would have called the package org.apache.tomee.applicationcomposer). + + + + +Dependencies + +To start using ApplicationComposer you need to add some dependencies. + + +The minimum required one is openejb-core: + + + ++ + + + +If you need JAXRS services you’ll add (or replace thanks to transitivity of maven) openejb-cxf-rs: + + + +org.apache.tomee +openejb-core +${openejb.version> ++ + + + +If you need JAXWS services you’ll add (or replace thanks to transitivity of maven) openejb-cxf: + + + +org.apache.tomee +openejb-cxf-rs +${openejb.version> ++ + + + + +ApplicationComposer Components + +@Module + +An ApplicationComposer needs at minimum a module (the application you need to deploy). + + +To do so you have two cases: + + +before TomEE 7.x: you can only write method(s) decorated with @Module +since TomEE 7.x: you can skip it and use @Classes directly on the ApplicationComposer class as a shortcut for: + + + +@Module public WebApp app() { return new WebApp(); } + + + +The expected returned type of these methods are in org.apache.openejb.jee package: + + + + +Application: entry point to create an ear + + +WebApp: a web application + + +EjbJar: an ejb module + + +EnterpriseBean children: a simple EJB + + +Persistence: a persistence module with multiple units + + +PersistenceUnit: a simple unit (automatically wrapped in a Persistence) + + +Connector: a JCA connector module + + +Beans: a CDI module, + + +Class[] or Class: a set of classes scanned to discover annotations + + + + +Note that for easiness @Classes was added to be able to describe a module and some scanned classes. For instance the following snippet will create a web application with classes C1, C2 as CDI beans and E1 as an EJBorg.apache.tomee +openejb-cxf +${openejb.version> +
svn commit: r1847931 [21/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html (added) +++ tomee/site/trunk/content/tomee-8.0/docs/developer/testing/other/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,347 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Other Testing Techniques + + + + + + + +EJBContainer + +The EJBContainer API is a JavaEE API enriched by some OpenEJB features to make the testing easier. + + +It starts a container (embedded for case we are interested in) scanning the classpath. This operation can be +slow and if you go with this solution maybe think to start it only once for all tests. + + +Sample + + +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +import javax.ejb.embeddable.EJBContainer; +import javax.inject.Inject; +import javax.naming.NamingException; + +import static org.junit.Assert.assertTrue; + +public class ATest { +@Inject +private MyCDIBean aBean; + +@PersistenceContext +private EntityManager em; + +@Resource +private DataSource ds; + +@BeforeClass +public static void start() throws NamingException { +container = EJBContainer.createEJBContainer(); +} + +@AfterClass +public static void shutdown() { +if (container != null) { +container.close(); +} +} + +@Before +public void inject() throws NamingException { +container.getContext().bind("inject", this); +} + +@After +public void reset() throws NamingException { +container.getContext().unbind("inject"); +} + +@Test +public void aTest() { +// ... +} +} + + + +It will use createEJBContainer() method to start the container and application, and close() to shutdown it. + + +OpenEJB provides the bind("inject") hack to be able to get injection in the test class. + + + + +OpenEJB JUnit + +openejb-junit is another artifact providing some facilities for testing. + + +EJBContainer Rule + + +@Properties({ +@Property(key = DeploymentFilterable.CLASSPATH_EXCLUDE, value = "jar:.*"), +@Property(key = DeploymentFilterable.CLASSPATH_INCLUDE, value = ".*openejb-junit.*") +}) +public class TestEJBContainerDefaultConfig { +@Rule +public final EJBContainerRule containerRule = new EJBContainerRule(this); + +@org.apache.openejb.junit.jee.resources.TestResource +private Context ctx; + +@org.apache.openejb.junit.jee.resources.TestResource +private java.util.Properties props;
svn commit: r1847931 [15/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html?rev=1847931&view=auto == --- tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html (added) +++ tomee/site/trunk/content/master/docs/developer/tools/maven/tomee.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,711 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + TomEE Maven Plugin + + + + + + + + + +TomEE Maven Plugin is a set of goals for the development and to prepare to go in production: + + + + +tomee:build + + +tomee:exec + + +tomee:configtest + + +tomee:debug + + +tomee:deploy + + +tomee:exec + + +tomee:list + + +tomee:run + + +tomee:start + + +tomee:stop + + +tomee:undeploy + + + + + + +Run + +The most commonly used goal, it allows to start a tomee with applications. Here is its configuration: + + + + + + + + + +Name +Default +Description + + + + +synchronization +- +a synchronization (see after the table) + + +synchronizations +- +list of synchronizations + + +reloadOnUpdate +- +should the application be redeployed when a synchronization is triggered + + +skipCurrentProject +false +should current project not be considered as a deployable even if its packaging is compatible (war typically) + + +tomeeVersion +auto, plugin one +which version of TomEE to use + + +tomeeGroupId +org.apache.tomee +TomEE artifact groupId + + +tomeeArtifactId +apache-tomee +TomEE artifact artifactId + + +tomeeType +zip +the type of the TomEE artifact , only zip supported at the moment + + +tomeeClassifier +webprofile +which flavor of TomEE to use (classifier) + + +tomeeShutdownPort +read from server.xml +the shutdown port + + +tomeeShutdownAttempts +60 +how many times to wait for startup/shutdown (waits 1s in between) + + +tomeeShutdownCommand +SHUTDOWN +the shutdown command + + +tomeeAjpPort +read from the pom +the AJP port if needed + + +tomeeHttpsPort +read from the pom +the HTTPS port if needed + + +args +- +command line arguments (system properties, javaagent, JVM options …) + + +debug +- +start and wait for a remote debugger to connect + + +debugPort +5005 +used when debug to change the default port + + +simpleLog +false +use one line logs + + +extractWars +false +explode wars before starting + + +stripWarVersion +true +remove the version from the war name + + +stripVersion +false +remove the version from the artifact name whatever it is (even jar) + + +webappResources +${project.basedir}/src/main/webapp +where web resources are + + +webappClasses and classes +${project.build.outputDirectory} +where artifact binaries are + + +catalinaBase +${project.build.directory}/apache-tomee +where to create the tom
svn commit: r1847931 [18/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/tomee-8.0/docs/advanced/setup/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/advanced/setup/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/tomee-8.0/docs/advanced/setup/index.html (added) +++ tomee/site/trunk/content/tomee-8.0/docs/advanced/setup/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,327 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + How to Setup TomEE in production + + + + + + + + + +You can use TomEE as described on Directory Structure page but in production it is better to +split TomEE and application binaries and configuration. + + +Idea is to have this kind of layout (the root is the one you prefer): + + +[{ +label: '/some/path', +description: 'any location on your file system', +children: [ +{ +label: 'tomee', +description: 'all tomee binaries will be there, note: you often do the same for the JVM versions you have', +children: [ +{ +label: 'tomee-1.7.1', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +}, +{ +label: 'tomee-1.7.2', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +}, +{ +label: 'tomee-7.0.0-M3', +description: 'a particular tomee version (just unzip it there)', +children: [ +{ label: 'bin', description: 'the startup binaries/scripts' }, +{ label: 'conf', description: 'default shared configuration for this version, can be overwritten by instance' }, +{ label: 'lib', description: 'the binaries' } +] +} +] +}, +{ +label: 'applications', +description: 'all applications', +children: [ +{ +label: 'application1', +description: 'any application instance (ie configuration + binaries)',
svn commit: r1847931 [22/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/tomee.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/tomee.html?rev=1847931&view=auto == --- tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/tomee.html (added) +++ tomee/site/trunk/content/tomee-8.0/docs/developer/tools/maven/tomee.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,711 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + TomEE Maven Plugin + + + + + + + + + +TomEE Maven Plugin is a set of goals for the development and to prepare to go in production: + + + + +tomee:build + + +tomee:exec + + +tomee:configtest + + +tomee:debug + + +tomee:deploy + + +tomee:exec + + +tomee:list + + +tomee:run + + +tomee:start + + +tomee:stop + + +tomee:undeploy + + + + + + +Run + +The most commonly used goal, it allows to start a tomee with applications. Here is its configuration: + + + + + + + + + +Name +Default +Description + + + + +synchronization +- +a synchronization (see after the table) + + +synchronizations +- +list of synchronizations + + +reloadOnUpdate +- +should the application be redeployed when a synchronization is triggered + + +skipCurrentProject +false +should current project not be considered as a deployable even if its packaging is compatible (war typically) + + +tomeeVersion +auto, plugin one +which version of TomEE to use + + +tomeeGroupId +org.apache.tomee +TomEE artifact groupId + + +tomeeArtifactId +apache-tomee +TomEE artifact artifactId + + +tomeeType +zip +the type of the TomEE artifact , only zip supported at the moment + + +tomeeClassifier +webprofile +which flavor of TomEE to use (classifier) + + +tomeeShutdownPort +read from server.xml +the shutdown port + + +tomeeShutdownAttempts +60 +how many times to wait for startup/shutdown (waits 1s in between) + + +tomeeShutdownCommand +SHUTDOWN +the shutdown command + + +tomeeAjpPort +read from the pom +the AJP port if needed + + +tomeeHttpsPort +read from the pom +the HTTPS port if needed + + +args +- +command line arguments (system properties, javaagent, JVM options …) + + +debug +- +start and wait for a remote debugger to connect + + +debugPort +5005 +used when debug to change the default port + + +simpleLog +false +use one line logs + + +extractWars +false +explode wars before starting + + +stripWarVersion +true +remove the version from the war name + + +stripVersion +false +remove the version from the artifact name whatever it is (even jar) + + +webappResources +${project.basedir}/src/main/webapp +where web resources are + + +webappClasses and classes +${project.build.outputDirectory} +where artifact binaries are + + +catalinaBase +${project.build.directory}/apache-tomee +where to cr
svn commit: r1847931 [14/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/master/docs/developer/testing/other/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/testing/other/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/master/docs/developer/testing/other/index.html (added) +++ tomee/site/trunk/content/master/docs/developer/testing/other/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,347 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + Other Testing Techniques + + + + + + + +EJBContainer + +The EJBContainer API is a JavaEE API enriched by some OpenEJB features to make the testing easier. + + +It starts a container (embedded for case we are interested in) scanning the classpath. This operation can be +slow and if you go with this solution maybe think to start it only once for all tests. + + +Sample + + +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +import javax.ejb.embeddable.EJBContainer; +import javax.inject.Inject; +import javax.naming.NamingException; + +import static org.junit.Assert.assertTrue; + +public class ATest { +@Inject +private MyCDIBean aBean; + +@PersistenceContext +private EntityManager em; + +@Resource +private DataSource ds; + +@BeforeClass +public static void start() throws NamingException { +container = EJBContainer.createEJBContainer(); +} + +@AfterClass +public static void shutdown() { +if (container != null) { +container.close(); +} +} + +@Before +public void inject() throws NamingException { +container.getContext().bind("inject", this); +} + +@After +public void reset() throws NamingException { +container.getContext().unbind("inject"); +} + +@Test +public void aTest() { +// ... +} +} + + + +It will use createEJBContainer() method to start the container and application, and close() to shutdown it. + + +OpenEJB provides the bind("inject") hack to be able to get injection in the test class. + + + + +OpenEJB JUnit + +openejb-junit is another artifact providing some facilities for testing. + + +EJBContainer Rule + + +@Properties({ +@Property(key = DeploymentFilterable.CLASSPATH_EXCLUDE, value = "jar:.*"), +@Property(key = DeploymentFilterable.CLASSPATH_INCLUDE, value = ".*openejb-junit.*") +}) +public class TestEJBContainerDefaultConfig { +@Rule +public final EJBContainerRule containerRule = new EJBContainerRule(this); + +@org.apache.openejb.junit.jee.resources.TestResource +private Context ctx; + +@org.apache.openejb.junit.jee.resources.TestResource +private java.util.Properties props; + +@org.a
svn commit: r1847931 [13/22] - in /tomee/site/trunk/content: latest/docs/admin/cluster/ latest/docs/admin/configuration/ latest/docs/advanced/applicationcomposer/ latest/docs/advanced/client/ latest/d
Added: tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html?rev=1847931&view=auto == --- tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html (added) +++ tomee/site/trunk/content/master/docs/developer/testing/applicationcomposer/index.html Sun Dec 2 00:12:50 2018 @@ -0,0 +1,663 @@ + + + + + + + + Apache TomEE + + + + + + + + + + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-2717626-1']); + _gaq.push(['_setDomainName', 'apache.org']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Apache TomEE + + + + + + Documentation + Community + Security + Downloads + + + + + + + + + + + + + + + + + Download as PDF + + + + ApplicationComposer: The TomEE Swiss Knife + + + + + + + + + +ApplicationComposer API is mainly contained in org.apache.openejb.testing package (historically, today we would have called the package org.apache.tomee.applicationcomposer). + + + + +Dependencies + +To start using ApplicationComposer you need to add some dependencies. + + +The minimum required one is openejb-core: + + + ++ + + + +If you need JAXRS services you’ll add (or replace thanks to transitivity of maven) openejb-cxf-rs: + + + +org.apache.tomee +openejb-core +${openejb.version> ++ + + + +If you need JAXWS services you’ll add (or replace thanks to transitivity of maven) openejb-cxf: + + + +org.apache.tomee +openejb-cxf-rs +${openejb.version> ++ + + + + +ApplicationComposer Components + +@Module + +An ApplicationComposer needs at minimum a module (the application you need to deploy). + + +To do so you have two cases: + + +before TomEE 7.x: you can only write method(s) decorated with @Module +since TomEE 7.x: you can skip it and use @Classes directly on the ApplicationComposer class as a shortcut for: + + + +@Module public WebApp app() { return new WebApp(); } + + + +The expected returned type of these methods are in org.apache.openejb.jee package: + + + + +Application: entry point to create an ear + + +WebApp: a web application + + +EjbJar: an ejb module + + +EnterpriseBean children: a simple EJB + + +Persistence: a persistence module with multiple units + + +PersistenceUnit: a simple unit (automatically wrapped in a Persistence) + + +Connector: a JCA connector module + + +Beans: a CDI module, + + +Class[] or Class: a set of classes scanned to discover annotations + + + + +Note that for easiness @Classes was added to be able to describe a module and some scanned classes. For instance the following snippet will create a web application with classes C1, C2 as CDI beans and E1 as an EJB automaticalorg.apache.tomee +openejb-cxf +${openejb.version> +
[22/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/maven/build-mojo.md -- diff --git a/docs/maven/build-mojo.md b/docs/maven/build-mojo.md new file mode 100644 index 000..7b7e1e5 --- /dev/null +++ b/docs/maven/build-mojo.md @@ -0,0 +1,1426 @@ +index-group=Unrevised +type=page +status=published +~~ + +tomee:build + +Full name: + +org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:build + +Description: + +Create but not run a TomEE. + +Attributes: + + + +Requires a Maven project to be executed. + +Requires dependency resolution of artifacts in scope: runtime+system. + +Requires dependency collection of artifacts in scope: runtime. + + + +Optional Parameters + + + + + +Name + +Type + +Since + +Description + + + + +apacheRepos + +String + +- + +(no description)Default value is: snapshots.User property is: tomee-plugin.apache-repos. + + + + +appDir + +String + +- + +relative to tomee.base.Default value is: apps. + + + + +apps + +List + +- + +(no description) + + + + +args + +String + +- + +(no description)User property is: tomee-plugin.args. + + + + +attach + +boolean + +- + +(no description)Default value is: true.User property is: tomee-plugin.attach. + + + + +bin + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/bin.User property is: tomee-plugin.bin. + + + + +catalinaBase + +File + +- + +(no description)Default value is: ${project.build.directory}/apache-tomee.User property is: tomee-plugin.catalina-base. + + + + +checkStarted + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.check-started. + + + + +classifier + +String + +- + +(no description)User property is: tomee-plugin.classifier. + + + + +classpaths + +List + +- + +(no description) + + + + +config + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/conf.User property is: tomee-plugin.conf. + + + + +context + +String + +- + +rename the current artifact + + + + +debug + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.debug. + + + + +debugPort + +int + +- + +(no description)Default value is: 5005.User property is: tomee-plugin.debugPort. + + + + +deployOpenEjbApplication + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.deploy-openejb-internal-application. + + + + +docBases + +List + +- + +for TomEE and wars only, which docBase to use for this war. + + + + +ejbRemote + +boolean + +- + +(no description)Default value is: true.User property is: tomee-plugin.ejb-remote. + + + + +externalRepositories + +List + +- + +for TomEE and wars only, add some external repositories to +classloader. + + + + +forceReloadable + +boolean + +- + +force webapp to be reloadableDefault value is: false.User property is: tomee-plugin.force-reloadable. + + + + +javaagents + +List + +- + +(no description) + + + + +keepServerXmlAsthis + +boolean + +- + +(Removed since 7.0.0)Default value is: false.User property is: tomee-plugin.keep-server-xml. + + + + +lib + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/lib.User property is: tomee-plugin.lib. + + + + +libDir + +String + +- + +rela
[03/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/security.mdtext -- diff --git a/docs/security.mdtext b/docs/security.mdtext deleted file mode 100644 index cfe223b..000 --- a/docs/security.mdtext +++ /dev/null @@ -1,144 +0,0 @@ -Title: Security - -# Security - How To. - -We currently have two authentication mechanisms to choose from: -* *PropertiesLoginModule* (a basic text file based login that looks up -users and groups from the specified properties files) -* *SQLLoginModule* (database based login that looks up users and groups -in a database through SQL queries) - -To make your program authenticate itself to the server, simply construct -your InitialContext with the standard javax.naming.Context properties for -user/pass info, which is: - -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"); -props.setProperty(Context.SECURITY_CREDENTIALS, "thepass"); -props.setProperty("openejb.authentication.realmName", "PropertiesLogin"); -// optional -InitialContext ctx = new InitialContext(props); -ctx.lookup(...); - -That will get you logged in and all your calls from that context should -execute as you. - -*$\{openejb.base\}/conf/login.config* is a standard JAAS config file. -Here, you can configure any number of security realms to authenticate -against. -To specify which of the realms you want to authenticate against, you can -set the *openejb.authentication.realmName* property to any of the -configured realm names in *login.config*. -If you don't speficy a realm name, the default (currently -*PropertiesLogin*) is used. -For examples and more information on JAAS configuration, see the [JAAS Reference Guide](http://java.sun.com/javase/6/docs/technotes/guides/security/jaas/JAASRefGuide.html) -. - - -## PropertiesLoginModule - -Supported options: - -OptionDescriptionRequired -UsersFilename of the properties file that contains the users and their -passwords*yes* -GroupsFilename of the properties file that contains the groups and their -member lists*yes* - - -*UsersFile* and *GroupsFile* are read in on every login, so +you can -update them+ on a running system and those users will "show up" immediately -+without the need for a restart+ of any kind. - - -## SQLLoginModule - -You can either use a data source or configure the JDBC URL through which -the user/group lookups will be made. - -If you use a *DataSource*, you must specify its JNDI name with the -*dataSourceName* option. - -If you use JDBC directly, you have to specify at least the JDBC URL of the -database. -The driver should be autodetected (provided the appropriate jar is on your -classpath), but if that fails for some reason, you can force a specific -driver using the *jdbcDriver* option. -For more information on JDBC URLs, see the [JDBC Guide](http://java.sun.com/javase/6/docs/technotes/guides/jdbc/) - -The *userSelect* query must return a two-column list of user names -(column 1) and passwords (column 2). This query should normally return a -single row, which can be achieved by the use of a query parameter -placeholder "?". -Any such placeholders in both queries will be filled in with the username -that the client is trying to log in with. -The *groupSelect* query must return a two-column list of user names and -their groups (or "roles" in the EJB world). - -Supported options: - -OptionDescriptionRequired -dataSourceNamethe name of a data source*yes* (alternative 1) -jdbcURLa standard JDBC URL*yes* (alternative 2) -jdbcDriverthe fully qualified class name of the database driverno -jdbcUserthe user name for accessing the databaseno -jdbcPasswordthe password for accessing the databaseno -userSelectthe SQL query that returns a list of users and their -passwords*yes* - -groupSelectthe SQL query that returns a list of users and groups -(roles)*yes* - -digestthe name of the digest algorithm (e.g. "MD5" or "SHA") for digest -authenticationno -encodingthe digest encoding, can be "hex" or "base64"no - - - -# PLUG POINTS - -There are four-five different plug points where you could customize the -functionality. From largest to smallest: -- *The SecurityService interface*: As before all security work -(authentication and authorization) is behind this interface, only the -methods on it have been updated. If you want to do something really "out -there" or need total control, this is where you go. Plugging in your own -SecurityService should really be a last resort. We still have our "do -nothing" SecurityService implementation just as before, but it is no longer -the default. +You can add a new SecurityService impl by creating a -service-jar.xml and packing it in your jar+. You can configure OpenEJB to -use a diffe
[30/30] tomee git commit: Normalize file mode to 644
Normalize file mode to 644 Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/c1bf6fbe Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/c1bf6fbe Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/c1bf6fbe Branch: refs/heads/master Commit: c1bf6fbe4d86ed1b52565d036bb4467ae41747c2 Parents: c87be44 Author: dblevins Authored: Sat Dec 1 18:19:22 2018 -0800 Committer: dblevins Committed: Sat Dec 1 18:19:22 2018 -0800 -- .../src/main/java/org/superbiz/appexception/BusinessException.java | 0 .../main/java/org/superbiz/appexception/ThrowBusinessException.java | 0 .../java/org/superbiz/appexception/ThrowBusinessExceptionImpl.java | 0 .../main/java/org/superbiz/appexception/ValueRequiredException.java | 0 .../org/superbiz/appexception/ThrowBusinessExceptionImplTest.java| 0 examples/bean-validation-design-by-contract/README.md| 0 examples/bean-validation-design-by-contract/pom.xml | 0 .../main/java/org/superbiz/designbycontract/OlympicGamesManager.java | 0 .../main/java/org/superbiz/designbycontract/PoleVaultingManager.java | 0 .../java/org/superbiz/designbycontract/PoleVaultingManagerBean.java | 0 .../test/java/org/superbiz/designbycontract/OlympicGamesTest.java| 0 .../java/org/tomitribe/connector/starter/api/SampleConnection.java | 0 .../org/tomitribe/connector/starter/api/SampleConnectionFactory.java | 0 .../connector/starter/adapter/SampleConnectionFactoryImpl.java | 0 .../tomitribe/connector/starter/adapter/SampleConnectionImpl.java| 0 .../tomitribe/connector/starter/adapter/SampleManagedConnection.java | 0 .../connector/starter/adapter/SampleManagedConnectionFactory.java| 0 .../connector/starter/adapter/SampleManagedConnectionMetaData.java | 0 .../src/main/java/org/superbiz/connector/api/SampleConnection.java | 0 .../java/org/superbiz/connector/api/SampleConnectionFactory.java | 0 .../org/superbiz/connector/adapter/SampleConnectionFactoryImpl.java | 0 .../java/org/superbiz/connector/adapter/SampleConnectionImpl.java| 0 .../java/org/superbiz/connector/adapter/SampleManagedConnection.java | 0 .../superbiz/connector/adapter/SampleManagedConnectionFactory.java | 0 .../superbiz/connector/adapter/SampleManagedConnectionMetaData.java | 0 .../org/superbiz/connector/adapter/SampleConnectionFactoryImpl.java | 0 .../java/org/superbiz/connector/adapter/SampleConnectionImpl.java| 0 .../java/org/superbiz/connector/adapter/SampleManagedConnection.java | 0 .../superbiz/connector/adapter/SampleManagedConnectionFactory.java | 0 .../superbiz/connector/adapter/SampleManagedConnectionMetaData.java | 0 .../src/main/java/org/superbiz/connector/api/SampleConnection.java | 0 .../java/org/superbiz/connector/api/SampleConnectionFactory.java | 0 examples/dynamic-datasource-routing/pom.xml | 0 .../java/org/superbiz/dynamicdatasourcerouting/BoostrapUtility.java | 0 .../java/org/superbiz/dynamicdatasourcerouting/DeterminedRouter.java | 0 .../src/main/java/org/superbiz/dynamicdatasourcerouting/Person.java | 0 .../java/org/superbiz/dynamicdatasourcerouting/RoutedPersister.java | 0 .../src/main/resources/META-INF/org.router/service-jar.xml | 0 .../src/main/resources/META-INF/persistence.xml | 0 .../org/superbiz/dynamicdatasourcerouting/DynamicDataSourceTest.java | 0 .../java/org/superbiz/interceptors/ClassLevelInterceptorOne.java | 0 .../superbiz/interceptors/ClassLevelInterceptorSuperClassOne.java| 0 .../superbiz/interceptors/ClassLevelInterceptorSuperClassTwo.java| 0 .../java/org/superbiz/interceptors/ClassLevelInterceptorTwo.java | 0 .../main/java/org/superbiz/interceptors/DefaultInterceptorOne.java | 0 .../main/java/org/superbiz/interceptors/DefaultInterceptorTwo.java | 0 .../java/org/superbiz/interceptors/FullyInterceptedSuperClass.java | 0 .../java/org/superbiz/interceptors/MethodLevelInterceptorOne.java| 0 .../java/org/superbiz/interceptors/MethodLevelInterceptorTwo.java| 0 .../org/superbiz/interceptors/SuperClassOfClassLevelInterceptor.java | 0 .../src/main/java/org/superbiz/interceptors/ThirdSLSBean.java| 0 .../src/main/java/org/superbiz/interceptors/ThirdSLSBeanLocal.java | 0 examples/interceptors/src/main/resources/META-INF/ejb-jar.xml| 0 .../test/java/org/superbiz/interceptors/FullyInterceptedTest.java| 0 .../org/superbiz/interceptors/MethodLevelInterceptorOnlyTest.java| 0 .../src/test/java/org/superbiz/interceptors/ThirdSLSBeanTest.java| 0 examples/mbean-auto-registration/README.md | 0 examples/mbean-auto-registration/pom.xml | 0 .../src/main/java/org/superbiz/mbean/GuessHowManyMBean.java | 0 .../mbean-auto-registration/src/main/resources/META-INF/bean
[05/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/maven/stop-mojo.mdtext -- diff --git a/docs/maven/stop-mojo.mdtext b/docs/maven/stop-mojo.mdtext deleted file mode 100644 index 989e0d1..000 --- a/docs/maven/stop-mojo.mdtext +++ /dev/null @@ -1,1324 +0,0 @@ - -tomee:stop - -Full name: - -org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:stop - -Description: - -Stop a TomEE started with start command. - -Attributes: - - - -Requires a Maven project to be executed. - -Requires dependency resolution of artifacts in scope: runtime+system. - -Requires dependency collection of artifacts in scope: runtime. - - - -Optional Parameters - - - - - -Name - -Type - -Since - -Description - - - - -apacheRepos - -String - -- - -(no description)Default value is: snapshots.User property is: tomee-plugin.apache-repos. - - - - -appDir - -String - -- - -relative to tomee.base.Default value is: apps. - - - - -apps - -List - -- - -(no description) - - - - -args - -String - -- - -(no description)User property is: tomee-plugin.args. - - - - -bin - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/bin.User property is: tomee-plugin.bin. - - - - -catalinaBase - -File - -- - -(no description)Default value is: ${project.build.directory}/apache-tomee.User property is: tomee-plugin.catalina-base. - - - - -checkStarted - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.check-started. - - - - -classpaths - -List - -- - -(no description) - - - - -config - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/conf.User property is: tomee-plugin.conf. - - - - -context - -String - -- - -rename the current artifact - - - - -debug - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.debug. - - - - -debugPort - -int - -- - -(no description)Default value is: 5005.User property is: tomee-plugin.debugPort. - - - - -deployOpenEjbApplication - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.deploy-openejb-internal-application. - - - - -docBases - -List - -- - -for TomEE and wars only, which docBase to use for this war. - - - - -ejbRemote - -boolean - -- - -(no description)Default value is: true.User property is: tomee-plugin.ejb-remote. - - - - -externalRepositories - -List - -- - -for TomEE and wars only, add some external repositories to -classloader. - - - - -forceReloadable - -boolean - -- - -force webapp to be reloadableDefault value is: false.User property is: tomee-plugin.force-reloadable. - - - - -javaagents - -List - -- - -(no description) - - - - -keepServerXmlAsthis - -boolean - -- - -(Removed since 7.0.0)Default value is: false.User property is: tomee-plugin.keep-server-xml. - - - - -lib - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/lib.User property is: tomee-plugin.lib. - - - - -libDir - -String - -- - -relative to tomee.base.Default value is: lib. - - - - -libs - -List - -- - -supported formats: --> groupId:artifactId:version... --> -unzip:groupId:artifactId:version... --> remove:prefix (often -prefix = artifactId) - - - - -mainDir - -File - -- -
[27/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/callbacks.md -- diff --git a/docs/callbacks.md b/docs/callbacks.md new file mode 100644 index 000..d8016b1 --- /dev/null +++ b/docs/callbacks.md @@ -0,0 +1,167 @@ +index-group=Unrevised +type=page +status=published +title=Callbacks +~~ +Correct usage of PostConstruct, PreDestroy, PrePassivate, PostActivate, and +AroundInvoke for EJBs and Interceptors. + +For Stateful, Stateless, and MessageDriven, the syntax is as follows: + + - @PostConstructvoid () + - @PreDestroy void () + - @PrePassivate void () + - @PostActivate void () + +For an Interceptor, the syntax includes InvocationContext as follows: + + - @PostConstruct void (InvocationContext) + - @PreDestroy void (InvocationContext) + - @PrePassivate void (InvocationContext) + - @PostActivate void (InvocationContext) + +The AroundInvoke syntax for an EJB or Interceptor is the same: + + - @AroundInvoke Object (InvocationContext) throws Exception + + + +## Stateless + + +import javax.ejb.Stateless; +import javax.annotation.PostConstruct; +import javax.annotation.PreDestroy; +import javax.interceptor.AroundInvoke; +import javax.interceptor.InvocationContext; + +@Stateless +public class MyStatelessBean implements MyBusinessInterface { + +@PostConstruct +public void constructed(){ + +} + +@PreDestroy +public void destroy(){ + +} + +@AroundInvoke +public Object invoke(InvocationContext invocationContext) throws Exception { + return invocationContext.proceed(); +} +} + + + +## Stateful + + +import javax.ejb.Stateful; +import javax.ejb.PostActivate; +import javax.ejb.PrePassivate; +import javax.annotation.PostConstruct; +import javax.annotation.PreDestroy; +import javax.interceptor.AroundInvoke; +import javax.interceptor.InvocationContext; + +@Stateful +public class MyStatefulBean implements MyBusinessInterface { + +@PostConstruct +public void constructed(){ + +} + +@PreDestroy +public void destroy(){ + +} + +@AroundInvoke +public Object invoke(InvocationContext invocationContext) throws Exception { + return invocationContext.proceed(); +} + +@PostActivate +public void activated(){ + +} + +@PrePassivate +public void passivate(){ + +} +} + + + +## MessageDriven + + +import javax.ejb.MessageDriven; +import javax.annotation.PostConstruct; +import javax.annotation.PreDestroy; +import javax.interceptor.AroundInvoke; +import javax.interceptor.InvocationContext; + +@MessageDriven +public class MyMessageDrivenBean implements MyListenerInterface { + +@PostConstruct +public void constructed(){ + +} + +@PreDestroy +public void destroy(){ + +} + +@AroundInvoke +public Object invoke(InvocationContext invocationContext) throws Exception { + return invocationContext.proceed(); +} +} + + + +## Interceptor + + +import javax.annotation.PostConstruct; +import javax.annotation.PreDestroy; +import javax.interceptor.InvocationContext; +import javax.interceptor.AroundInvoke; +import javax.ejb.PostActivate; +import javax.ejb.PrePassivate; + +public class MyInterceptor { + +@PostConstruct +public void constructed(InvocationContext invocationContext){ + +} + +@PreDestroy +public void destroy(InvocationContext invocationContext){ + +} + +@AroundInvoke +public Object invoke(InvocationContext invocationContext) throws Exception { + return invocationContext.proceed(); +} + +@PostActivate +public void activated(InvocationContext invocationContext){ + +} + +@PrePassivate +public void passivate(InvocationContext invocationContext){ + +} +} http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/changing-jms-implementations.md -- diff --git a/docs/changing-jms-implementations.md b/docs/changing-jms-implementations.md new file mode 100644 index 000..ca74f61 --- /dev/null +++ b/docs/changing-jms-implementations.md @@ -0,0 +1,136 @@ +index-group=Unrevised +type=page +status=published +title=Changing JMS Implementations +~~ +Notice:Licensed to the Apache
[07/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/maven/exec-mojo.mdtext -- diff --git a/docs/maven/exec-mojo.mdtext b/docs/maven/exec-mojo.mdtext deleted file mode 100644 index db1c600..000 --- a/docs/maven/exec-mojo.mdtext +++ /dev/null @@ -1,1547 +0,0 @@ - -tomee:exec - -Full name: - -org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:exec - -Description: - -(no description) - -Attributes: - - - -Requires a Maven project to be executed. - -Requires dependency resolution of artifacts in scope: runtime+system. - -Requires dependency collection of artifacts in scope: runtime. - - - -Optional Parameters - - - - - -Name - -Type - -Since - -Description - - - - -apacheRepos - -String - -- - -(no description)Default value is: snapshots.User property is: tomee-plugin.apache-repos. - - - - -appDir - -String - -- - -relative to tomee.base.Default value is: apps. - - - - -apps - -List - -- - -(no description) - - - - -args - -String - -- - -(no description)User property is: tomee-plugin.args. - - - - -attach - -boolean - -- - -(no description)Default value is: true.User property is: tomee-plugin.attach. - - - - -bin - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/bin.User property is: tomee-plugin.bin. - - - - -catalinaBase - -File - -- - -(no description)Default value is: ${project.build.directory}/apache-tomee.User property is: tomee-plugin.catalina-base. - - - - -checkStarted - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.check-started. - - - - -classifier - -String - -- - -(no description)User property is: tomee-plugin.classifier. - - - - -classpaths - -List - -- - -(no description) - - - - -config - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/conf.User property is: tomee-plugin.conf. - - - - -context - -String - -- - -rename the current artifact - - - - -debug - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.debug. - - - - -debugPort - -int - -- - -(no description)Default value is: 5005.User property is: tomee-plugin.debugPort. - - - - -deployOpenEjbApplication - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.deploy-openejb-internal-application. - - - - -distributionName - -String - -- - -(no description)Default value is: tomee.zip.User property is: tomee-plugin.distribution-name. - - - - -docBases - -List - -- - -for TomEE and wars only, which docBase to use for this war. - - - - -ejbRemote - -boolean - -- - -(no description)Default value is: true.User property is: tomee-plugin.ejb-remote. - - - - -execFile - -File - -- - -(no description)Default value is: ${project.build.directory}/${project.build.finalName}-exec.jar.User property is: tomee-plugin.exec-file. - - - - -externalRepositories - -List - -- - -for TomEE and wars only, add some external repositories to -classloader. - - - - -forceReloadable - -boolean - -- - -force webapp to be reloadableDefault value is: false.User property is: tomee-plugin.force-reloadable. - - - - -javaagents - -List - -- - -(no description) - - - - -keepServerXmlAsthis - -boolean - -- - -(Removed since
[17/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/remote-server.md -- diff --git a/docs/remote-server.md b/docs/remote-server.md new file mode 100644 index 000..460dfc0 --- /dev/null +++ b/docs/remote-server.md @@ -0,0 +1,64 @@ +index-group=Unrevised +type=page +status=published +title=Remote Server +~~ + +!http://www.openejb.org/images/diagram-remote-server.gif|valign=top, +align=right, hspace=15! + +# Accessing EJBs Remotely + +When using OpenEJB as a stand-alone server you can connect across a network +and access EJBs from a remote client. The client code for accessing an +EJB's Remote Interface is the same, however to actually connect across a +network to the server, you need to specify different JNDI parameters. + + +# Short version + +Using OpenEJB's default remote server implementation is pretty straight +forward. You simply need to: + +1. Deploy your bean. +1. Start the server on the IP and Port you want, 25.14.3.92 and 4201 for +example. +1. Use that information in your client to create an initial context +1. Add the right jars to your client's classpath + +So, here it is in short. + +Deploy your bean with the Deploy Tool: + +c:\openejb> openejb.bat deploy beans\myBean.jar + +See the [OPENEJBx30:Deploy Tool](openejbx30:deploy-tool.html) + documentation for more details on deploying beans. + +Start the server: + +c:\openejb> openejb.bat start -h 25.14.3.92 -p 4201 + +See the Remote Server command-line guide for more details on starting the +Remote Server. + +Create an initial context in your client as such: + + +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); + + +If you don't have any EJBs or clients to run, try the ubiquitous [Hello World](openejbx30:hello-world.html) + example. +Add the following library to your clients classpath: + +* openejb-client-x.x.x.jar +* javaee-api-x.x.jar + +Both can be found in the lib directory where you installed OpenEJB or in Maven repositories. http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/resource-injection.md -- diff --git a/docs/resource-injection.md b/docs/resource-injection.md new file mode 100644 index 000..ac019ed --- /dev/null +++ b/docs/resource-injection.md @@ -0,0 +1,184 @@ +index-group=Unrevised +type=page +status=published +~~ + +# @Resource Overview + +This example demonstrates the use of the injection of environment entries +using **@Resource** annotation. + +The EJB 3.0 specification (*EJB Core Contracts and Requirements*) section +16.2.2 reads: + +*A field or method of a bean class may be annotated to request that an entry from the bean's environment be injected. Any of the types of resources or other environment entries described in this chapter may be injected. Injection may also be requested using entries in the deployment descriptor corresponding to each of these +resource types.* + +*Environment entries may also be injected into the bean through bean methods that follow the naming conventions for JavaBeans properties. The annotation is applied to the set method for the property, which is the method that is called to inject the environment entry. The JavaBeans property name (not the method name) is used as the default JNDI name.* + +The *PurchaseOrderBean* class shows use of field-level **@Resource** +annotation. + +The *InvoiceBean* class shows the use of method-level **@Resource** +annotation. + +The source for this example can be checked out from svn: + +> $ svn co +http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/injection-of-env-entry + +To run it change your working directory to the directory +*injection-of-env-entry* and run the following maven2 commands: + +>$ cd injection-of-env-entry + +>$ mvn clean install + + +# The Code + + +## Injection through field (field-level injection) + +The *maxLineItem* field in *PurchaseOrderBean* class is annotated with **@Resource** annotation to inform the EJB container the location where in the code the injection of a simple environment entry should take place. The default value of 10 is assigned. You can modify the value of the environment entries at deployment time using deployment descriptor (**ejb-jar.xml**). + + + @Resource annotation of a field + + +@Resource +int maxLineItems = 10; + + + +## Injection through a setter method (method-level injection) + +The *setMaxLineItem* method in *InvoiceBean* class is annotated with +*@Resource* annotation to inject the simple environment entry. Only setters +can be used as a way to inject environment entry
[14/30] tomee git commit: Rename *.mdtext files to *.md
Rename *.mdtext files to *.md Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/c3f8984b Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/c3f8984b Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/c3f8984b Branch: refs/heads/master Commit: c3f8984bc3ab29c389dd970306a4bfaf7df2743e Parents: 6771ef9 Author: dblevins Authored: Sat Dec 1 17:01:59 2018 -0800 Committer: dblevins Committed: Sat Dec 1 17:01:59 2018 -0800 -- docs/Configuring-in-tomee.mdtext| 41 - docs/activemqresourceadapter-config.mdtext | 67 - docs/alternate-descriptors.mdtext | 114 -- docs/annotations,-xml-and-defaults.mdtext | 565 --- docs/app-clients-and-jndi.mdtext| 69 - docs/application-deployment-solutions.mdtext| 75 - ...plication-discovery-via-the-classpath.mdtext | 91 -- docs/application-resources.mdtext | 247 --- docs/arquillian-available-adapters.mdtext | 262 --- docs/arquillian-getting-started.mdtext | 20 - docs/basics---getting-things.mdtext | 103 -- docs/basics---security.mdtext | 52 - docs/basics---transactions.mdtext | 56 - docs/bmpentitycontainer-config.mdtext | 35 - docs/bouncy-castle.mdtext | 31 - docs/built-in-type-converters.mdtext| 91 -- docs/callbacks.mdtext | 164 -- docs/changing-jms-implementations.mdtext| 133 -- docs/client-server-transports.mdtext| 19 - docs/clients.mdtext | 101 -- docs/cmpentitycontainer-config.mdtext | 34 - docs/collapsed-ear.mdtext | 42 - docs/common-datasource-configurations.mdtext| 111 -- docs/common-errors.mdtext | 27 - ...common-persistenceprovider-properties.mdtext | 44 - docs/comparison.mdtext | 219 --- docs/concepts.mdtext| 75 - docs/configuration.mdtext | 140 -- docs/configuring-containers-in-tests.mdtext | 24 - docs/configuring-datasources-in-tests.mdtext| 56 - docs/configuring-datasources.mdtext | 167 -- docs/configuring-durations.mdtext | 64 - docs/configuring-javamail.mdtext| 37 - docs/configuring-logging-in-tests.mdtext| 114 -- ...configuring-persistenceunits-in-tests.mdtext | 141 -- docs/constructor-injection.mdtext | 95 -- docs/containers-and-resources.mdtext| 479 -- docs/contrib/debug/debug-intellij.mdtext| 129 -- docs/custom-injection.mdtext| 192 --- docs/datasource-config.mdtext | 537 -- docs/datasource-password-encryption.mdtext | 124 -- docs/deamon/lin-service.mdtext | 13 - docs/deamon/win-service.mdtext | 13 - docs/declaring-references.mdtext|2 - docs/deploy-tool.mdtext | 161 -- docs/deploying-in-tomee.mdtext | 69 - docs/deployment-id.mdtext | 227 --- docs/deployments.mdtext | 131 -- docs/details-on-openejb-jar.mdtext | 152 -- docs/documentation.mdtext | 102 -- docs/documentation.old.mdtext | 102 -- docs/dynamic-datasource.mdtext | 216 --- docs/eclipse-plugin.mdtext | 38 - docs/ejb-failover.mdtext| 88 - docs/ejb-local-ref.mdtext | 49 - docs/ejb-over-ssl.mdtext| 96 -- docs/ejb-ref.mdtext | 47 - docs/ejb-refs.mdtext| 174 -- docs/ejb-request-logging.mdtext | 94 -- docs/ejbd-transport.mdtext | 132 -- docs/embedded-and-remotable.mdtext | 179 -- docs/embedded-configuration.mdtext | 132 -- docs/embedding.mdtext | 26 - docs/failover-logging.mdtext| 38 - docs/faq.mdtext | 96 -- docs/features.mdtext|1 - docs/from-glassfish-to-tomee.mdtext |3 - ...ting-with-openejb,-jetty-and-selenium.mdtext | 236 --- docs/generating-ejb-3-annotations.mdtext| 57 - docs/getting-started.mdtext | 169 -- docs/hello-world.mdtext | 246 --- docs/hibernate.mdtext | 94 -- docs/initialcontext-config.mdtext | 24 - docs/installation-drop-in-war.mdtext| 41 - docs/installation.mdtext| 30 - docs/install
[13/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/callbacks.mdtext -- diff --git a/docs/callbacks.mdtext b/docs/callbacks.mdtext deleted file mode 100644 index 143da30..000 --- a/docs/callbacks.mdtext +++ /dev/null @@ -1,164 +0,0 @@ -Title: Callbacks -Correct usage of PostConstruct, PreDestroy, PrePassivate, PostActivate, and -AroundInvoke for EJBs and Interceptors. - -For Stateful, Stateless, and MessageDriven, the syntax is as follows: - - - @PostConstructvoid () - - @PreDestroy void () - - @PrePassivate void () - - @PostActivate void () - -For an Interceptor, the syntax includes InvocationContext as follows: - - - @PostConstruct void (InvocationContext) - - @PreDestroy void (InvocationContext) - - @PrePassivate void (InvocationContext) - - @PostActivate void (InvocationContext) - -The AroundInvoke syntax for an EJB or Interceptor is the same: - - - @AroundInvoke Object (InvocationContext) throws Exception - - - -## Stateless - - -import javax.ejb.Stateless; -import javax.annotation.PostConstruct; -import javax.annotation.PreDestroy; -import javax.interceptor.AroundInvoke; -import javax.interceptor.InvocationContext; - -@Stateless -public class MyStatelessBean implements MyBusinessInterface { - -@PostConstruct -public void constructed(){ - -} - -@PreDestroy -public void destroy(){ - -} - -@AroundInvoke -public Object invoke(InvocationContext invocationContext) throws Exception { - return invocationContext.proceed(); -} -} - - - -## Stateful - - -import javax.ejb.Stateful; -import javax.ejb.PostActivate; -import javax.ejb.PrePassivate; -import javax.annotation.PostConstruct; -import javax.annotation.PreDestroy; -import javax.interceptor.AroundInvoke; -import javax.interceptor.InvocationContext; - -@Stateful -public class MyStatefulBean implements MyBusinessInterface { - -@PostConstruct -public void constructed(){ - -} - -@PreDestroy -public void destroy(){ - -} - -@AroundInvoke -public Object invoke(InvocationContext invocationContext) throws Exception { - return invocationContext.proceed(); -} - -@PostActivate -public void activated(){ - -} - -@PrePassivate -public void passivate(){ - -} -} - - - -## MessageDriven - - -import javax.ejb.MessageDriven; -import javax.annotation.PostConstruct; -import javax.annotation.PreDestroy; -import javax.interceptor.AroundInvoke; -import javax.interceptor.InvocationContext; - -@MessageDriven -public class MyMessageDrivenBean implements MyListenerInterface { - -@PostConstruct -public void constructed(){ - -} - -@PreDestroy -public void destroy(){ - -} - -@AroundInvoke -public Object invoke(InvocationContext invocationContext) throws Exception { - return invocationContext.proceed(); -} -} - - - -## Interceptor - - -import javax.annotation.PostConstruct; -import javax.annotation.PreDestroy; -import javax.interceptor.InvocationContext; -import javax.interceptor.AroundInvoke; -import javax.ejb.PostActivate; -import javax.ejb.PrePassivate; - -public class MyInterceptor { - -@PostConstruct -public void constructed(InvocationContext invocationContext){ - -} - -@PreDestroy -public void destroy(InvocationContext invocationContext){ - -} - -@AroundInvoke -public Object invoke(InvocationContext invocationContext) throws Exception { - return invocationContext.proceed(); -} - -@PostActivate -public void activated(InvocationContext invocationContext){ - -} - -@PrePassivate -public void passivate(InvocationContext invocationContext){ - -} -} - http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/changing-jms-implementations.mdtext -- diff --git a/docs/changing-jms-implementations.mdtext b/docs/changing-jms-implementations.mdtext deleted file mode 100644 index 1975441..000 --- a/docs/changing-jms-implementations.mdtext +++ /dev/null @@ -1,133 +0,0 @@ -Title: Changing JMS Implementations -Notice:Licensed to the Apache Software Foundation (ASF) under one - or more contributor license
[12/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/containers-and-resources.mdtext -- diff --git a/docs/containers-and-resources.mdtext b/docs/containers-and-resources.mdtext deleted file mode 100644 index a568bad..000 --- a/docs/containers-and-resources.mdtext +++ /dev/null @@ -1,479 +0,0 @@ -Title: Containers and Resources - - - - -CMP_ENTITY -Declarable in tomee.xml via - -- - - -Declarable in properties via - -Foo = new://Container?type=CMP_ENTITY - -Supports the following properties - - - - Property Name - Description - - - CmpEngineFactory - Default value is org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory. - - - - - -TransactionManager -Declarable in tomee.xml via - -- - - -Supports the following properties - - - - Property Name - Description - - - defaultTransactionTimeoutSeconds - Default value is 10 minutes. - - - - - - -BMP_ENTITY -Declarable in tomee.xml via - -- - - -Declarable in properties via - -Foo = new://Container?type=BMP_ENTITY - -Supports the following properties - - - - Property Name - Description - - - PoolSize - Specifies the size of the bean pools for this bmp entity container. Default value is 10. - - - - - - -STATELESS -Declarable in tomee.xml via - -- - - -Declarable in properties via - -Foo = new://Container?type=STATELESS - -Supports the following properties - - - - Property Name - Description - - - TimeOut - Specifies the time to wait between invocations. This value is measured in milliseconds. A value of 5 would result in a time-out of 5 milliseconds between invocations. A value of zero would mean no timeout. Default value is 0. - - - PoolSize - Specifies the size of the bean pools for this stateless SessionBean container. Default value is 10. - - - StrictPooling - StrictPooling tells the container what to do when the pool reaches it's maximum size and there are incoming requests that need instances. With strict pooling, requests will have to wait for instances to become available. The pool size will never grow beyond the the set PoolSize value. Without strict pooling, the container will create temporary instances to meet demand. The instances will last for just one method invocation and then are removed. Default value is true. - - - - - - -STATEFUL -Declarable in tomee.xml via - -- - - -Declarable in properties via - -Foo = new://Container?type=STATEFUL - -Supports the following properties - - - - Property Name - Description - - - Passivator - The passivator is responsible for writing beans to disk at passivation time. Different passivators can be used by setting this property to the fully qualified class name of the PassivationStrategy implementation. The passivator is not responsible for invoking any callbacks or other processing, its only responsibly is to write the bean state to disk. Known implementations: org.apache.openejb.core.stateful.RAFPassivater org.apache.openejb.core.stateful.SimplePassivater Default value is org.apache.openejb.core.stateful.SimplePassivater. - - - TimeOut - Specifies the time to wait between invocations. This value is measured in minutes. A value of 5 would result in a time-out of 5 minutes between invocations. A value of zero would mean no timeout. Default value is 20. - - - PoolSize - Specifies the size of the bean pools for this stateful SessionBean container. Default value is 1000. - - - BulkPassivate - Property name that specifies the number of instances to passivate at one time when doing bulk passivation. Default value is 100. - - - - - - -MESSAGE -Declarable in tomee.xml via - -- - - -Declarable in properties via - -Foo = new://Container?type=MESSAGE - -Supports the following properties - - - - Property Name - Description - - - ResourceAdapter - The resource adapter delivers messages to the container Default value is Default JMS Resource Adapter. - - - MessageListenerInterface - Specifies the message listener interface handled by this container Default value is javax.jms.MessageListener. - - - ActivationSpecClass - Specifies the activation spec class Default value is org.apache.activemq.ra.ActiveMQActivationSpec. - - - InstanceLimit - Specifies the maximum number of bean instances that are allowed to exist for each MDB deployment. Default value is 10. - - - - - - - -Resources - -javax.sql.DataSource -Declarable in tomee.xml via - -- - - -Declarable in properties via - -Foo = new://Resource?type=javax.sql.DataSource - -Supports the following properties - - - - Property N
[02/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/system-properties-files.mdtext -- diff --git a/docs/system-properties-files.mdtext b/docs/system-properties-files.mdtext deleted file mode 100644 index e457401..000 --- a/docs/system-properties-files.mdtext +++ /dev/null @@ -1,20 +0,0 @@ -Title: System Properties Files - -# OpenEJB System Properties File - -OpenEJB and TomEE are really configurable in particular through system properties. - -What is not so known is these system properties can be read from several places. The order is important, -it means if the second place provides the same property than the first one, the first one will be -omitted. - -Here how it works: - -* JVM system properties: -Dxxx=yyy -* user system.properties: the file ${user.home}/.openejb/system.properties -* instance system.properties: conf/system.properties - -Note: generally you place in the user system properties file the contant configuration (check my openejb -version for instance). - - http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/system-properties.mdtext -- diff --git a/docs/system-properties.mdtext b/docs/system-properties.mdtext deleted file mode 100644 index 8b53bd4..000 --- a/docs/system-properties.mdtext +++ /dev/null @@ -1,64 +0,0 @@ -Title: System Properties - - - -You can find a list of properties [here](properties-listing.html). But read on to understand how these can be used. - -# Overriding openejb.xml - -Anything in the openejb.xml file can be overridden via system properties of -the format: - - - `-D.=` - -..where id is the value in the config file for example: - - - -JdbcDriver com.mysql.jdbc.Driver -JdbcUrl jdbc:mysql://localhost/test -UserName test - - - -Could be overridden as follows via system properties on the command line: - -> ./bin/openejb start -Dmysql.JdbcDriver=com.mysql.jdbc.Driver -> -Dmysql.JdbcUrl=jdbc:mysql://localhost/test -Dmysql.UserName=test - - - -# Overriding Server Services - -Any server service installed into OpenEJB can be overridden in the same -fashion as things in the openejb.xml file. - -For example, when OpenEJB starts it prints out the following: - - - ** Starting Services ** - NAMEIP PORT - httpejbd0.0.0.0 4204 - telnet 0.0.0.0 4202 - ejbd0.0.0.0 4201 - hsql0.0.0.0 9001 - activemq127.0.0.1 4206 - derbynet0.0.0.0 4205 - admin thread0.0.0.0 4200 - - -Each of those has the same standard xinet.d-like properties which can also -be configured as such: - - - `-D.=` - - -... where 'id' is the name of the server service and 'property-name' is one -of the following: bind, port, threads, disabled, only_from. - -So to set the address and port the ejbd service will bind to, simply -specify this on the command line: - -./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/telnet-console.mdtext -- diff --git a/docs/telnet-console.mdtext b/docs/telnet-console.mdtext deleted file mode 100644 index 793201e..000 --- a/docs/telnet-console.mdtext +++ /dev/null @@ -1,163 +0,0 @@ -Title: Telnet Console -{note} Availability: Since OpenEJB 0.9{note} - - -# Basic Usage - -To use OpenEJB's Telnet Console, simply boot your server normally. - -> $ ./bin/openejb start - - -OPENEJB_HOME=/Users/dblevins/Desktop/openejb-1.0 -OpenEJB 1.0build: 20060226-1701 -http://www.openejb.org -resources 1 -OpenEJB ready. -[init] - OpenEJB Remote Server - ** Starting Services ** - NAMEIP PORT - webadmin0.0.0.0 4203 - httpejbd0.0.0.0 4204 - telnet 0.0.0.0 4202 - ejbd0.0.0.0 4201 - admin 0.0.0.0 4200 ---- -Ready! - - - -Then in another shell telnet in - -> $ telnet localhost 4202 - -Trying ::1... -Connected to localhost. -Escape character is '^] -'. -OpenEJB Remote Server Console -type 'help' for a list of commands -[openejb] -$ help - stop - exit - system - version - lookup - help -[openejb] -$ system -Containers: - Default BMP Container - Default CMP Container - Default Stateful Container - Default Stateless Container - -Deployments: - client/tests/stateful/EncBean - client/tests/entity/cmp/RMI-over-IIOP/EJBHome - client/tests/stateful/BasicStatefulHome - ClientTools/ViewClass - Weba
[04/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/openejb.xml.mdtext -- diff --git a/docs/openejb.xml.mdtext b/docs/openejb.xml.mdtext deleted file mode 100644 index 1836d35..000 --- a/docs/openejb.xml.mdtext +++ /dev/null @@ -1,96 +0,0 @@ -title=openejb.xml -type=page -status=published -~~ - - -# Overview - -The openejb.xml is the main configuration file for the container system and -its services such as transaction, security, and data sources. - -The format is a mix of xml and properties inspired by the format of the -httpd configuration file. Basically: - - - - ...properties... - - - -Such as: - - - - username foo - password bar - - - -*Note the space*. White space is a valid name/value pair separator in any -java properties file (along with semi-colon). So the above is equivalent -to: - - - username = foo - password = bar - - -You are free to use white space, ":", or "=" for your name/value pair -separator with no effect on OpenEJB. - - -## Property Defaults and Overriding - -The openejb.xml file itself functions as an override, default values are -specified via other means (service-jar.xml files in the classpath), -therefore you only need to specify property values here for 2 reasons: -1. you wish to for documentation purposes -2. you need to change the default value - -The default openejb.xml file has most of the useful properties for each -component explicitly listed with default values for documentation purposes. - It is safe to delete them and be assured that no behavior will change if a -smaller config file is desired. - -Overriding can also be done via the command line or plain Java system -properties. See [System Properties](system-properties.html) - for details. - - -## What properties are available? - -To know what properties can be overriden the './bin/openejb properties' -command is very useful: see [Properties Tool](properties-tool.html) - -Its function is to connect to a running server and print a canonical list -of all properties OpenEJB can see via the various means of configuration. -When sending requests for help to the users list or jira, it is highly -encouraged to send the output of this tool with your message. - - -## Not configurable via openejb.xml - -The only thing not yet configurable via this file are ServerServices due to -OpenEJB's embeddable nature and resulting long standing tradition of -keeping the container system separate from the server layer. This may -change someday, but untill then ServerServices are configurable via -conf/.properties files such as conf/ejbd.properties to -configure the main protocol that services EJB client requests. - -The format of those properties files is greatly adapted from the xinet.d style -of configuration and even shares similar functionality and properties such -as host-based authorization (HBA) via the 'only_from' property. - - -## Restoring openejb.xml to the defaults - -To restore this file to its original default state, you can simply delete -it or rename it and OpenEJB will see it's missing and unpack another -openejb.xml into the conf/ directory when it starts. - -This is not only handy for recovering from a non-functional config, but -also for upgrading as OpenEJB will not overwrite your existing -configuration file should you choose to unpack an new distro over the top -of an old one -- this style of upgrade is safe provided you move your old -lib/ directory first. http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/openjpa.mdtext -- diff --git a/docs/openjpa.mdtext b/docs/openjpa.mdtext deleted file mode 100644 index 7e51d53..000 --- a/docs/openjpa.mdtext +++ /dev/null @@ -1,111 +0,0 @@ -Title: OpenJPA -OpenJPA is bundled with OpenEJB as the default persistence provider. - -An example of working `persistence.xml` for OpenJPA: - -http://java.sun.com/xml/ns/persistence"; version="1.0"> - - -movieDatabase -movieDatabaseUnmanaged -org.superbiz.injection.jpa.Movie - - - - - - - - -Where the datasources above are configured in your openejb.xml as follows: - - - JdbcDriver = org.hsqldb.jdbcDriver - JdbcUrl = jdbc:hsqldb:mem:moviedb - - - - JdbcDriver = org.hsqldb.jdbcDriver - JdbcUrl = jdbc:hsqldb:mem:moviedb - JtaManaged = false - - - -Or in properties as follows: - -p.put("movieDatabase", "new://Resource?type=DataSource"); -p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver"); -p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb"); - -p.put("movieDatabaseUnmanaged", "new://Resource?type=DataSource"); -p.put("movieDatabaseUnmanaged.JdbcDriver", "org.hsqldb.jdbcDriver"); -p.put("movieDatabaseUnmanaged.JdbcUrl", "jdbc:hsqld
[01/30] tomee git commit: Rename *.mdtext files to *.md
Repository: tomee Updated Branches: refs/heads/master 6771ef9c6 -> c1bf6fbe4 http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/tomee-version-policies.mdtext -- diff --git a/docs/tomee-version-policies.mdtext b/docs/tomee-version-policies.mdtext deleted file mode 100644 index 577603e..000 --- a/docs/tomee-version-policies.mdtext +++ /dev/null @@ -1,24 +0,0 @@ -. -# TomEE versioning policies - -TomEE version policy is made of three dot-separated numbers: x.y.z - - - x is the major version. It corresponds to the maximum Java EE specification supported by TomEE and a codebase generation, starting with value 1 for Java EE 6 support. Next major will be 7 targetting JavaEE 7 etc... - - - y is the minor version. It corresponds to a features level, starting at 0. Initial TomEE release was 1.0.0, followed by 1.5.0 because of the accumulation of features changes delivered since 1.0.0. Note that features changes must comply with the Java EE specification level given by TomEE's major version. - - - z is the fix level. It corresponds to bug fixes changes without new features, starting at 0. Upgrades of embedded components (Tomcat, OpenEJB, MyFaces, etc.) are normally part of bug fixes releases. - -These policies allow an Java EE application to be certified with a given TomEEE version x.y.z and to be compatible with TomEE versions x.y1.* with y1>y and compatible with TomEE version x.y.z1 with z1>z. - -Important: being JavaEE certified means the server passed the Test Compatibility Kit (TCK). To simplify/summarize it is a big test suite to validate your are compliant with a JavaEE version. TomEE 1.x passed the JavaEE 6 TCK which was donated to Apache Software Foundation by Oracle. This donation hasn't been done to Apache for JavaEE 7 so TomEE is not able for now to be validated against it and therefore TomEE versions targetting JavaEE 7 are not yet certified. - -To make it more explicit here is a small table showing the targetted JavaEE version and the related certification state by version: - - -TomEE VersionJavaEE VersionCertified -1.x6Yes -7.x7No - - - http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/tomee-webaccess.mdtext -- diff --git a/docs/tomee-webaccess.mdtext b/docs/tomee-webaccess.mdtext deleted file mode 100644 index 4331604..000 --- a/docs/tomee-webaccess.mdtext +++ /dev/null @@ -1,18 +0,0 @@ -Title: -Notice:Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - . - http://www.apache.org/licenses/LICENSE-2.0 - . - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/tomee-webapp.mdtext -- diff --git a/docs/tomee-webapp.mdtext b/docs/tomee-webapp.mdtext deleted file mode 100644 index e14eb35..000 --- a/docs/tomee-webapp.mdtext +++ /dev/null @@ -1,58 +0,0 @@ -Title: About the 'tomee' webapp -Notice:Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - . - http://www.apache.org/licenses/LICENSE-2.0 - . - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - -There are two forms of the `tomee` webapp to consider: - - - from an **tomee-1.x.x.war** that has been downloaded and added to a Tomcat 7 install. This `tomee` webapp will contain all the nece
[20/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/maven/help-mojo.md -- diff --git a/docs/maven/help-mojo.md b/docs/maven/help-mojo.md new file mode 100644 index 000..430ee60 --- /dev/null +++ b/docs/maven/help-mojo.md @@ -0,0 +1,149 @@ +index-group=Unrevised +type=page +status=published +~~ + +tomee:help + +Full name: + +org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:help + +Description: + +Display help information on tomee-maven-plugin. +Call mvn tomee:help -Ddetail=true +-Dgoal=to display parameter details. + +Attributes: + + + +The goal is thread-safe and supports parallel builds. + + + +Optional Parameters + + + + + +Name + +Type + +Since + +Description + + + + +detail + +boolean + +- + +If true, display all settable properties for each +goal.Default value is: false.User property is: detail. + + + + +goal + +String + +- + +The name of the goal for which to show help. If unspecified, all +goals will be displayed.User property is: goal. + + + + +indentSize + +int + +- + +The number of spaces per indentation level, should be positive.Default value is: 2.User property is: indentSize. + + + + +lineLength + +int + +- + +The maximum length of a display line, should be positive.Default value is: 80.User property is: lineLength. + + + + + +Parameter Details + +detail: + +If true, display all settable properties for each +goal. + + + +Type: boolean + +Required: No + +User Property: detail + +Default: false + +goal: + +The name of the goal for which to show help. If unspecified, all +goals will be displayed. + + + +Type: java.lang.String + +Required: No + +User Property: goal + +indentSize: + +The number of spaces per indentation level, should be positive. + + + +Type: int + +Required: No + +User Property: indentSize + +Default: 2 + +lineLength: + +The maximum length of a display line, should be positive. + + + +Type: int + +Required: No + +User Property: lineLength + +Default: 80 + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/maven/index.md -- diff --git a/docs/maven/index.md b/docs/maven/index.md new file mode 100644 index 000..907c74d --- /dev/null +++ b/docs/maven/index.md @@ -0,0 +1,148 @@ +index-group=Unrevised +type=page +status=published +title=TomEE Maven Plugin +~~ + +Inspired by the Jetty Maven Plugin, the TomEE Maven Plugin is a feature-rich +plugin that allows for: + + - Easy provisioning of a TomEE server + - Server start and stop + - Application deployment and undeployment + +Simply add the following to the , and optionally the ), section of your `pom.xml` + + + + org.apache.openejb.maven + tomee-maven-plugin + 1.7.1 + +1.7.1 +plus + + + + +###Plugin Goals + + +Goal +Description + +tomee:build +Create TomEE, but do not run it. + +tomee:configtest +Run the Apache Tomcat `configtest` command. + +tomee:debug +Same as `run` but with debug activated on the default or specified port. + +tomee:deploy +Deploy an application in a running TomEE. + +tomee:exec +Undocumented. + +tomee:help +Display help information on the tomee-maven-plugin. +Call mvn tomee:help -Ddetail=true +-Dgoal= to display parameter details. + +tomee:list +Largely inspired by the OpenEJB command helper, but with some differences. List deployed EJB's in a running TomEE. + +tomee:run +Start and wait for TomEE. + +tomee:start +Start TomEE and continue. + +tomee:stop +Stop a TomEE started with start command. + +tomee:undeploy +Undeploy an application in a running TomEE + + +Note that for the tomee:deploy and tomee:undeploy goals, the path can either be specified within the section of the `pom.xml` using the parameter, or it can be passed via the user property tomee-plugin.archive. If a relative path is passed for the deploy path archive, this must be relative to the TomEE server. + +Note 2: running tomee maven plugin you can type 'quit' directly in the console to shutdown correctly the +server. 'reload' is also available when internal openejb application is deployed. + +###More Tweaks + +The lib tag allows
[16/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/ssh.md -- diff --git a/docs/ssh.md b/docs/ssh.md new file mode 100644 index 000..88788f4 --- /dev/null +++ b/docs/ssh.md @@ -0,0 +1,51 @@ +index-group=Unrevised +type=page +status=published +title=SSH +~~ + +# Connecting To OpenEJB or TomEE Through SSH +## Description + +It can be very useful to connect to the server to get some informations. + +## Solution + +For such a case OpenEJB/TomEE proposes to start with the Java EE server a SSH server. Currently the security +is based on JAAS (see how to configure JAAS for TomEE for more information about it). + +## Installation + +Simply extract the openejb-ssh jar in the lib of tomee (webapps/tomee/lib) or openejb libs (lib folder). +Then simply connect using your JAAS credential. + +Note: you can use the provisioning features of openejb to do this job! + +Then simply activate the service manage: it is done setting the system property +openejb.servicemanager.enabled to true. + +Note: it can be done through the conf/system.properties file. +Note2: please take care to not add space after true (not 'true ' for instance). + +## OpenEJB SSH Shell + +Once you are connected you get some commands: + +* deploy : deploy an application +* undeploy : undeploy an application +* list: list deployed EJBs +* classloader : print the classloader tree of the app specified by the id +* jmx : interact with JMX +** jmx list: list mbeans +** jmx get +** jmx set +** jmx invoke ([, ...) +* properties: print server configuration as properties +* script
[10/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/functional-testing-with-openejb,-jetty-and-selenium.mdtext -- diff --git a/docs/functional-testing-with-openejb,-jetty-and-selenium.mdtext b/docs/functional-testing-with-openejb,-jetty-and-selenium.mdtext deleted file mode 100644 index 78a3523..000 --- a/docs/functional-testing-with-openejb,-jetty-and-selenium.mdtext +++ /dev/null @@ -1,236 +0,0 @@ -Title: Functional testing with OpenEJB, Jetty and Selenium -Obviously, OpenEJB is great for unit testing EJBs, but I wondered whether I -might also be able to use this embedded functionality to functionally test -my application. You can use tools like Selenium, or HtmlUnit to run -functional tests as if the user were sat at their browser typing text, and -clicking links and buttons. This however means you have to have your app -running on your app server, and you need to have consistent test data - -otherwise a test might pass on one developers machine, but fail on another. -Here's one approach that you could take to completely deploy your webapp -within a test, and functionally test it with a tool like Selenium. There's -also some sample code demonstrating this, available [here](http://people.apache.org/~jgallimore/PersonApp.zip) -. - - - -### Creating an embedded server - -I created a class to start my embedded OpenEJB and Jetty instances and -configure them to see the EJB and WAR modules of my application: - - -public class EmbeddedServer { -private static EmbeddedServer instance = new EmbeddedServer(); -private Server server; - -private EmbeddedServer() { - try { - // initialize OpenEJB & add some test data - Properties properties = new Properties(); - properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); - InitialContext ic = new InitialContext(properties); - PeopleFacade facade = (PeopleFacade) ic.lookup("PeopleFacadeEJBRemote"); - new TestFixture(facade).addTestData(); - - // setup web app - WebAppContext context = new WebAppContext(); - context.setWar(computeWarPath()); - InitialContext initialContext = setupJndi(context); - - // start the server - context.setServletHandler(new EmbeddedServerServletHandler(initialContext)); - context.setContextPath("/"); - server = new Server(9091); - server.addHandler(context); - - server.start(); - } catch (Exception e) { - e.printStackTrace(); - } -} - -private InitialContext setupJndi(WebAppContext context) throws NamingException { - // setup local JNDI - InitialContext initialContext = new InitialContext(); - WebApp webApp = getWebApp(context); - Collection refs = webApp.getEjbRef(); - for (EjbRef ref : refs) { - String ejbLink = ref.getEjbLink(); - - // get enterprise bean info - EnterpriseBeanInfo beanInfo = new EJBHelper().getEJBInfo(ejbLink); - if (beanInfo.jndiNames != null && beanInfo.jndiNames.size() > 0) { - String jndiName = "java:openejb/ejb/" + beanInfo.jndiNames.get(0); - initialContext.bind("java:comp/env/" + ref.getEjbRefName(), new LinkRef(jndiName)); - } - } - return initialContext; -} - -private String computeWarPath() { - String currentPath = new File(".").getAbsolutePath(); - String warPath; - -String[] pathParts = currentPath.split("(|/)+"); - - int webPart = Arrays.asList(pathParts).indexOf("PersonWEB"); - if (webPart == -1) { - warPath = "PersonWEB/src/main/webapp"; - } else { - StringBuffer buffer = new StringBuffer(); - - for (int i = 0; i < webPart; i++) { -buffer.append(pathParts[i]); - buffer.append(File.separator); - } - - buffer.append("PersonWEB/src/main/webapp"); - warPath = buffer.toString(); - } - return warPath; -} - -public static EmbeddedServer getInstance() { - return instance; -} - -public Server getServer() { - return server; -} - -public static void main(String[] args) { - try { - EmbeddedServer.getInstance().getServer().join(); - } catch (Exception e) { - e.printStackTrace(); - } -} - -private WebApp getWebApp(WebAppContext context) { - WebApp webApp = null; - - try { - FileInputStream is = new FileInputStream(new File(context.getWar() + "/WEB-INF/web.xml").getAbsolutePath()); - webApp = (WebApp) JaxbJavaee.unmarshal(WebApp.class, is); - } catch (Exception e)
[19/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/maven/start-mojo.md -- diff --git a/docs/maven/start-mojo.md b/docs/maven/start-mojo.md new file mode 100644 index 000..85c2013 --- /dev/null +++ b/docs/maven/start-mojo.md @@ -0,0 +1,1395 @@ +index-group=Unrevised +type=page +status=published +~~ + +tomee:start + +Full name: + +org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:start + +Description: + +Start and forget TomEE. + +Attributes: + + + +Requires a Maven project to be executed. + +Requires dependency resolution of artifacts in scope: runtime+system. + +Requires dependency collection of artifacts in scope: runtime. + + + +Optional Parameters + + + + + +Name + +Type + +Since + +Description + + + + +apacheRepos + +String + +- + +(no description)Default value is: snapshots.User property is: tomee-plugin.apache-repos. + + + + +appDir + +String + +- + +relative to tomee.base.Default value is: apps. + + + + +apps + +List + +- + +(no description) + + + + +args + +String + +- + +(no description)User property is: tomee-plugin.args. + + + + +bin + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/bin.User property is: tomee-plugin.bin. + + + + +catalinaBase + +File + +- + +(no description)Default value is: ${project.build.directory}/apache-tomee.User property is: tomee-plugin.catalina-base. + + + + +checkStarted + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.check-started. + + + + +classpaths + +List + +- + +(no description) + + + + +config + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/conf.User property is: tomee-plugin.conf. + + + + +context + +String + +- + +rename the current artifact + + + + +debug + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.debug. + + + + +debugPort + +int + +- + +(no description)Default value is: 5005.User property is: tomee-plugin.debugPort. + + + + +deployOpenEjbApplication + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.deploy-openejb-internal-application. + + + + +docBases + +List + +- + +for TomEE and wars only, which docBase to use for this war. + + + + +ejbRemote + +boolean + +- + +(no description)Default value is: true.User property is: tomee-plugin.ejb-remote. + + + + +externalRepositories + +List + +- + +for TomEE and wars only, add some external repositories to +classloader. + + + + +forceReloadable + +boolean + +- + +force webapp to be reloadableDefault value is: false.User property is: tomee-plugin.force-reloadable. + + + + +javaagents + +List + +- + +(no description) + + + + +keepServerXmlAsthis + +boolean + +- + +(Removed since 7.0.0)Default value is: false.User property is: tomee-plugin.keep-server-xml. + + + + +lib + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/lib.User property is: tomee-plugin.lib. + + + + +libDir + +String + +- + +relative to tomee.base.Default value is: lib. + + + + +libs + +List + +- + +supported formats: --> groupId:artifactId:version... --> +unzip:groupId:artifactId:version... --> remove:prefix (often +prefix = artifactId) + + + + +mainDir + +File +
[26/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/containers-and-resources.md -- diff --git a/docs/containers-and-resources.md b/docs/containers-and-resources.md new file mode 100644 index 000..2dd4cf5 --- /dev/null +++ b/docs/containers-and-resources.md @@ -0,0 +1,483 @@ +index-group=Unrevised +type=page +status=published +title=Containers and Resources +~~ + + + + +CMP_ENTITY +Declarable in tomee.xml via + ++ + + +Declarable in properties via + +Foo = new://Container?type=CMP_ENTITY + +Supports the following properties + + + + Property Name + Description + + + CmpEngineFactory + Default value is org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory. + + + + + +TransactionManager +Declarable in tomee.xml via + ++ + + +Supports the following properties + + + + Property Name + Description + + + defaultTransactionTimeoutSeconds + Default value is 10 minutes. + + + + + + +BMP_ENTITY +Declarable in tomee.xml via + ++ + + +Declarable in properties via + +Foo = new://Container?type=BMP_ENTITY + +Supports the following properties + + + + Property Name + Description + + + PoolSize + Specifies the size of the bean pools for this bmp entity container. Default value is 10. + + + + + + +STATELESS +Declarable in tomee.xml via + ++ + + +Declarable in properties via + +Foo = new://Container?type=STATELESS + +Supports the following properties + + + + Property Name + Description + + + TimeOut + Specifies the time to wait between invocations. This value is measured in milliseconds. A value of 5 would result in a time-out of 5 milliseconds between invocations. A value of zero would mean no timeout. Default value is 0. + + + PoolSize + Specifies the size of the bean pools for this stateless SessionBean container. Default value is 10. + + + StrictPooling + StrictPooling tells the container what to do when the pool reaches it's maximum size and there are incoming requests that need instances. With strict pooling, requests will have to wait for instances to become available. The pool size will never grow beyond the the set PoolSize value. Without strict pooling, the container will create temporary instances to meet demand. The instances will last for just one method invocation and then are removed. Default value is true. + + + + + + +STATEFUL +Declarable in tomee.xml via + ++ + + +Declarable in properties via + +Foo = new://Container?type=STATEFUL + +Supports the following properties + + + + Property Name + Description + + + Passivator + The passivator is responsible for writing beans to disk at passivation time. Different passivators can be used by setting this property to the fully qualified class name of the PassivationStrategy implementation. The passivator is not responsible for invoking any callbacks or other processing, its only responsibly is to write the bean state to disk. Known implementations: org.apache.openejb.core.stateful.RAFPassivater org.apache.openejb.core.stateful.SimplePassivater Default value is org.apache.openejb.core.stateful.SimplePassivater. + + + TimeOut + Specifies the time to wait between invocations. This value is measured in minutes. A value of 5 would result in a time-out of 5 minutes between invocations. A value of zero would mean no timeout. Default value is 20. + + + PoolSize + Specifies the size of the bean pools for this stateful SessionBean container. Default value is 1000. + + + BulkPassivate + Property name that specifies the number of instances to passivate at one time when doing bulk passivation. Default value is 100. + + + + + + +MESSAGE +Declarable in tomee.xml via + ++ + + +Declarable in properties via + +Foo = new://Container?type=MESSAGE + +Supports the following properties + + + + Property Name + Description + + + ResourceAdapter + The resource adapter delivers messages to the container Default value is Default JMS Resource Adapter. + + + MessageListenerInterface + Specifies the message listener interface handled by this container Default value is javax.jms.MessageListener. + + + ActivationSpecClass + Specifies the activation spec class Default value is org.apache.activemq.ra.ActiveMQActivationSpec. + + + InstanceLimit + Specifies the maximum number of bean instances that are allowed to exist for each MDB deployment. Default value is 10. + + + + + + + +Resources + +javax.sql.DataSource +Declarable in tomee.xml via + ++ + + +Declarable in properties via + +Foo = new://Resource?type=javax.sql.DataSource + +Supports the fo
[24/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/functional-testing-with-openejb,-jetty-and-selenium.md -- diff --git a/docs/functional-testing-with-openejb,-jetty-and-selenium.md b/docs/functional-testing-with-openejb,-jetty-and-selenium.md new file mode 100644 index 000..2f1193d --- /dev/null +++ b/docs/functional-testing-with-openejb,-jetty-and-selenium.md @@ -0,0 +1,240 @@ +index-group=Unrevised +type=page +status=published +title=Functional testing with OpenEJB, Jetty and Selenium +~~ +Obviously, OpenEJB is great for unit testing EJBs, but I wondered whether I +might also be able to use this embedded functionality to functionally test +my application. You can use tools like Selenium, or HtmlUnit to run +functional tests as if the user were sat at their browser typing text, and +clicking links and buttons. This however means you have to have your app +running on your app server, and you need to have consistent test data - +otherwise a test might pass on one developers machine, but fail on another. +Here's one approach that you could take to completely deploy your webapp +within a test, and functionally test it with a tool like Selenium. There's +also some sample code demonstrating this, available [here](http://people.apache.org/~jgallimore/PersonApp.zip) +. + + + +### Creating an embedded server + +I created a class to start my embedded OpenEJB and Jetty instances and +configure them to see the EJB and WAR modules of my application: + + +public class EmbeddedServer { +private static EmbeddedServer instance = new EmbeddedServer(); +private Server server; + +private EmbeddedServer() { + try { + // initialize OpenEJB & add some test data + Properties properties = new Properties(); + properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); + InitialContext ic = new InitialContext(properties); + PeopleFacade facade = (PeopleFacade) ic.lookup("PeopleFacadeEJBRemote"); + new TestFixture(facade).addTestData(); + + // setup web app + WebAppContext context = new WebAppContext(); + context.setWar(computeWarPath()); + InitialContext initialContext = setupJndi(context); + + // start the server + context.setServletHandler(new EmbeddedServerServletHandler(initialContext)); + context.setContextPath("/"); + server = new Server(9091); + server.addHandler(context); + + server.start(); + } catch (Exception e) { + e.printStackTrace(); + } +} + +private InitialContext setupJndi(WebAppContext context) throws NamingException { + // setup local JNDI + InitialContext initialContext = new InitialContext(); + WebApp webApp = getWebApp(context); + Collection refs = webApp.getEjbRef(); + for (EjbRef ref : refs) { + String ejbLink = ref.getEjbLink(); + + // get enterprise bean info + EnterpriseBeanInfo beanInfo = new EJBHelper().getEJBInfo(ejbLink); + if (beanInfo.jndiNames != null && beanInfo.jndiNames.size() > 0) { + String jndiName = "java:openejb/ejb/" + beanInfo.jndiNames.get(0); + initialContext.bind("java:comp/env/" + ref.getEjbRefName(), new LinkRef(jndiName)); + } + } + return initialContext; +} + +private String computeWarPath() { + String currentPath = new File(".").getAbsolutePath(); + String warPath; + +String[] pathParts = currentPath.split("(|/)+"); + + int webPart = Arrays.asList(pathParts).indexOf("PersonWEB"); + if (webPart == -1) { + warPath = "PersonWEB/src/main/webapp"; + } else { + StringBuffer buffer = new StringBuffer(); + + for (int i = 0; i < webPart; i++) { +buffer.append(pathParts[i]); + buffer.append(File.separator); + } + + buffer.append("PersonWEB/src/main/webapp"); + warPath = buffer.toString(); + } + return warPath; +} + +public static EmbeddedServer getInstance() { + return instance; +} + +public Server getServer() { + return server; +} + +public static void main(String[] args) { + try { + EmbeddedServer.getInstance().getServer().join(); + } catch (Exception e) { + e.printStackTrace(); + } +} + +private WebApp getWebApp(WebAppContext context) { + WebApp webApp = null; + + try { + FileInputStream is = new FileInputStream(new File(context.getWar() + "/WEB-INF/web.xml").getAbsolutePath()); + webApp = (WebApp) JaxbJavaee.unmarshal(WebApp.cl
tomee git commit: Add JBake headers
Repository: tomee Updated Branches: refs/heads/master c1bf6fbe4 -> ebb985e14 Add JBake headers Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/ebb985e1 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/ebb985e1 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/ebb985e1 Branch: refs/heads/master Commit: ebb985e144e52e0ee25f70b173d191cb096c867b Parents: c1bf6fb Author: dblevins Authored: Sat Dec 1 18:26:01 2018 -0800 Committer: dblevins Committed: Sat Dec 1 18:26:01 2018 -0800 -- examples/access-timeout-meta/README.md | 6 +- examples/access-timeout/README.md | 7 +-- examples/alternate-descriptors/README.md | 11 +-- examples/applet/README.md | 6 +- examples/application-composer/README.md| 6 +- examples/applicationexception/README.md| 7 +-- examples/arquillian-jpa/README.md | 8 +--- examples/async-methods/README.md | 7 +-- examples/async-postconstruct/README.md | 6 +- examples/bean-validation-design-by-contract/README.md | 4 examples/bval-evaluation-redeployment/README.md| 4 examples/cdi-alternative-and-stereotypes/README.md | 4 examples/cdi-application-scope/README.md | 6 +- examples/cdi-basic/README.md | 6 +- examples/cdi-events/README.md | 4 examples/cdi-interceptors/README.md| 7 +-- examples/cdi-produces-disposes/README.md | 6 +- examples/cdi-produces-field/README.md | 6 +- examples/cdi-request-scope/README.md | 7 +-- examples/change-jaxws-url/README.md| 11 +-- examples/component-interfaces/README.md| 6 +- examples/connector-war/README.md | 6 +- examples/custom-injection/README.md| 6 +- examples/datasource-ciphered-password/README.md| 6 +- examples/datasource-versioning/README.md | 6 +- examples/decorators/README.md | 6 +- examples/deltaspike-fullstack/README.md| 6 +- examples/dynamic-dao-implementation/README.md | 6 +- examples/dynamic-datasource-routing/README.md | 7 +-- examples/dynamic-implementation/README.md | 6 +- examples/dynamic-proxy-to-access-mbean/README.md | 7 +-- examples/ear-testing/README.md | 6 +- examples/ejb-examples/README.md| 6 +- examples/ejb-webservice/README.md | 6 +- examples/helloworld-weblogic/README.md | 6 +- examples/injection-of-connectionfactory/README.md | 6 +- examples/injection-of-datasource/README.md | 6 +- examples/injection-of-ejbs/README.md | 6 +- examples/injection-of-entitymanager/README.md | 6 +- examples/injection-of-env-entry/README.md | 6 +- examples/interceptors/README.md| 6 +- examples/javamail/README.md| 8 +--- examples/jpa-eclipselink/README.md | 8 ++-- examples/jpa-enumerated/README.md | 6 +- examples/jpa-hibernate/README.md | 6 +- examples/jsf-cdi-and-ejb/README.md | 8 ++-- examples/jsf-managedBean-and-ejb/README.md | 6 +- examples/lookup-of-ejbs-with-descriptor/README.md | 6 +- examples/lookup-of-ejbs/README.md | 6 +- examples/mbean-auto-registration/README.md | 6 +- examples/moviefun/README.md| 6 +- examples/movies-complete-meta/README.md| 6 +- examples/movies-complete/README.md | 6 +- examples/mp-metrics-counted/README.md | 4 examples/mp-metrics-timed/README.md| 4 examples/mtom/README.md| 4 examples/myfaces-codi-demo/README.md | 8 ++-- examples/persistence-fragment/README.md| 6 +- examples/polling-parent/README.md | 4 examples/quartz-app/README.md | 7 +-- examples/realm-in-tomee/README.md | 6 +- examples/reload-persistence-unit-properties/README.md | 9 + examples/resources-declared-in-webapp/README.md| 6 +- examples/resources-jmx-example/README.md
[06/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/maven/run-mojo.mdtext -- diff --git a/docs/maven/run-mojo.mdtext b/docs/maven/run-mojo.mdtext deleted file mode 100644 index d93aa12..000 --- a/docs/maven/run-mojo.mdtext +++ /dev/null @@ -1,1391 +0,0 @@ - -tomee:run - -Full name: - -org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:run - -Description: - -Start and wait for TomEE. - -Attributes: - - - -Requires a Maven project to be executed. - -Requires dependency resolution of artifacts in scope: runtime+system. - -Requires dependency collection of artifacts in scope: runtime. - - - -Optional Parameters - - - - - -Name - -Type - -Since - -Description - - - - -apacheRepos - -String - -- - -(no description)Default value is: snapshots.User property is: tomee-plugin.apache-repos. - - - - -appDir - -String - -- - -relative to tomee.base.Default value is: apps. - - - - -apps - -List - -- - -(no description) - - - - -args - -String - -- - -(no description)User property is: tomee-plugin.args. - - - - -bin - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/bin.User property is: tomee-plugin.bin. - - - - -catalinaBase - -File - -- - -(no description)Default value is: ${project.build.directory}/apache-tomee.User property is: tomee-plugin.catalina-base. - - - - -checkStarted - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.check-started. - - - - -classpaths - -List - -- - -(no description) - - - - -config - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/conf.User property is: tomee-plugin.conf. - - - - -context - -String - -- - -rename the current artifact - - - - -debug - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.debug. - - - - -debugPort - -int - -- - -(no description)Default value is: 5005.User property is: tomee-plugin.debugPort. - - - - -deployOpenEjbApplication - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.deploy-openejb-internal-application. - - - - -docBases - -List - -- - -for TomEE and wars only, which docBase to use for this war. - - - - -ejbRemote - -boolean - -- - -(no description)Default value is: true.User property is: tomee-plugin.ejb-remote. - - - - -externalRepositories - -List - -- - -for TomEE and wars only, add some external repositories to -classloader. - - - - -forceReloadable - -boolean - -- - -force webapp to be reloadableDefault value is: false.User property is: tomee-plugin.force-reloadable. - - - - -javaagents - -List - -- - -(no description) - - - - -keepServerXmlAsthis - -boolean - -- - -(Removed since 7.0.0)Default value is: false.User property is: tomee-plugin.keep-server-xml. - - - - -lib - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/lib.User property is: tomee-plugin.lib. - - - - -libDir - -String - -- - -relative to tomee.base.Default value is: lib. - - - - -libs - -List - -- - -supported formats: --> groupId:artifactId:version... --> -unzip:groupId:artifactId:version... --> remove:prefix (often -prefix = artifactId) - - - - -mainDir - -File - -- - -(no description)Defa
[11/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/deployments.mdtext -- diff --git a/docs/deployments.mdtext b/docs/deployments.mdtext deleted file mode 100644 index 90ab0cf..000 --- a/docs/deployments.mdtext +++ /dev/null @@ -1,131 +0,0 @@ -Title: Deployments - - -# The 'Deployments' element in openejb.xml - - -## A single jar - -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. - - -... - - - - - - -The last element in the example uses a relative path to point to the ejb -jar. This path will be resolved relative to the openejb.base property. -So, for example, of the value of openejb.base was 'c:\timeapp\' then -OpenEJB would look for the jar 'c:\timeapp\timeTrack.jar'. See the [OPENEJB:Configuration] - guide for more details. - -## A directory of jars - -To point to a directory that contains several jar files that OpenEJB should -load, simply declare a 'Deployments' element with a 'dir' attribute -pointing to the directory containing the jar files. - - -... - - - - - - - - -The directories listed will be searched for jars containing -'META-INF/ejb-jar.xml' files and will be added to the list of jars to load -if they do. Better said, it's completely safe to point to a directory -containing a mix of ejbs and regular jar files. OpenEJB will simply skip -over jars that do contain the required 'META-INF/ejb-jar.xml' file. - -The last Deployments element declares a 'beans' directory relative to -openejb.base for holding ejb jars. This declaration is simply convention -and not required. - - -## An unpacked jar - -As of 1.0 beta1, OpenEJB supports unpacked ejb jars. Simply meaning that -you don't need to pack your ejb's into a jar file in order to use them in -OpenEJB. You still need to follow the ejb jar layout and include an -"META-INF/ejb-jar.xml" in the directory that contains your ejbs. - -For example, if you have a directory structure like this: - -> C:\myapp\ -> C:\myapp\acmeEjbs\ -> C:\myapp\acmeEjbs\META-INF\ejb-jar.xml -> C:\myapp\acmeEjbs\org\acme\Foo.class -> C:\myapp\acmeEjbs\org\acme\FooBean.class -> C:\myapp\acmeEjbs\org\acme\FooHome.class -> C:\myapp\acmeEjbs\org\acme\Bar.class -> C:\myapp\acmeEjbs\org\acme\BarBean.class -> C:\myapp\acmeEjbs\org\acme\BarHome.class - -Then you would delcare a 'Deployments' element with the 'dir' attribute set -to 'C:\myapp\acmeEjbs' as shown below. - - -... - - - - - -Note that this syntax is the same as the directory syntax above. If -OpenEJB finds a META-INF directory with an 'ejb-jar.xml' fine inside, then -OpenEJB will treat the directory as an unpacked ejb jar. Otherwise OpenEJB -will look for ejb jar files to load as detailed in the above section. - -# Log file - -When trying to figure out if your ejbs were loaded, the openejb.log file is -an incredible asset. - -If your ejbs were loaded successfully you should see entries like the -following (1.x and higher only): - -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 - -If your ejbs failed to load, you will see an entry similar to the -following. - -WARN : Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar. -Jar failed validation. Use the validation tool for more details - -Additionally, all the successfully loaded ejbs are individually listed in -the log file at startup. The Deployment ID listed is the JNDI name used to -lookup the ejb from a client of the Local or Remote Servers. The beans -listed below are from our test suite. - -DEBUG: Deployments : 19 -DEBUG: TypeDeployment ID -DEBUG:CMP_ENTITY client/tests/entity/cmp/RMI-over-IIOP/EJBHome -DEBUG:STATEFULclient/tests/stateful/EncBean -DEBUG:STATELESS client/tests/stateless/BeanManagedBasicStatelessHome -DEBUG:STATEFULclient/tests/stateful/BasicStatefulHome -DEBUG:STATELESS client/tests/stateless/EncBean -DEBUG:STATEFUL client/tests/stateful/BeanManagedTransactionTests/EJBHome -DEBUG:BMP_ENTITY client/tests/entity/bmp/RMI-over-IIOP/EJBHome -DEBUG:STATEFULclient/tests/stateful/RMI-over-IIOP/EJBHome -DEBUG:STATELESS client/tests/stateless/BeanManagedTransactionTests/EJBHome -DEBUG:BMP_ENTITY client/tests/entity/bmp/allowed_operations/EntityHome -DEBUG:CMP_ENTITY client/tests/entity/cmp/EncBean -DEBUG:STATEFUL client/tests/stateful/BeanManagedBasicStatefulHome -DEBUG:BMP_ENTITY client/tests/entity/bmp/BasicBmpHome -DEBUG:
[25/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/deployments.md -- diff --git a/docs/deployments.md b/docs/deployments.md new file mode 100644 index 000..235a13f --- /dev/null +++ b/docs/deployments.md @@ -0,0 +1,135 @@ +index-group=Unrevised +type=page +status=published +title=Deployments +~~ + + +# The 'Deployments' element in openejb.xml + + +## A single jar + +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. + + +... + + + + + + +The last element in the example uses a relative path to point to the ejb +jar. This path will be resolved relative to the openejb.base property. +So, for example, of the value of openejb.base was 'c:\timeapp\' then +OpenEJB would look for the jar 'c:\timeapp\timeTrack.jar'. See the [OPENEJB:Configuration] + guide for more details. + +## A directory of jars + +To point to a directory that contains several jar files that OpenEJB should +load, simply declare a 'Deployments' element with a 'dir' attribute +pointing to the directory containing the jar files. + + +... + + + + + + + + +The directories listed will be searched for jars containing +'META-INF/ejb-jar.xml' files and will be added to the list of jars to load +if they do. Better said, it's completely safe to point to a directory +containing a mix of ejbs and regular jar files. OpenEJB will simply skip +over jars that do contain the required 'META-INF/ejb-jar.xml' file. + +The last Deployments element declares a 'beans' directory relative to +openejb.base for holding ejb jars. This declaration is simply convention +and not required. + + +## An unpacked jar + +As of 1.0 beta1, OpenEJB supports unpacked ejb jars. Simply meaning that +you don't need to pack your ejb's into a jar file in order to use them in +OpenEJB. You still need to follow the ejb jar layout and include an +"META-INF/ejb-jar.xml" in the directory that contains your ejbs. + +For example, if you have a directory structure like this: + +> C:\myapp\ +> C:\myapp\acmeEjbs\ +> C:\myapp\acmeEjbs\META-INF\ejb-jar.xml +> C:\myapp\acmeEjbs\org\acme\Foo.class +> C:\myapp\acmeEjbs\org\acme\FooBean.class +> C:\myapp\acmeEjbs\org\acme\FooHome.class +> C:\myapp\acmeEjbs\org\acme\Bar.class +> C:\myapp\acmeEjbs\org\acme\BarBean.class +> C:\myapp\acmeEjbs\org\acme\BarHome.class + +Then you would delcare a 'Deployments' element with the 'dir' attribute set +to 'C:\myapp\acmeEjbs' as shown below. + + +... + + + + + +Note that this syntax is the same as the directory syntax above. If +OpenEJB finds a META-INF directory with an 'ejb-jar.xml' fine inside, then +OpenEJB will treat the directory as an unpacked ejb jar. Otherwise OpenEJB +will look for ejb jar files to load as detailed in the above section. + +# Log file + +When trying to figure out if your ejbs were loaded, the openejb.log file is +an incredible asset. + +If your ejbs were loaded successfully you should see entries like the +following (1.x and higher only): + +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 + +If your ejbs failed to load, you will see an entry similar to the +following. + +WARN : Jar not loaded. /usr/local/openejb-1.0-beta1/beans/helloworld.jar. +Jar failed validation. Use the validation tool for more details + +Additionally, all the successfully loaded ejbs are individually listed in +the log file at startup. The Deployment ID listed is the JNDI name used to +lookup the ejb from a client of the Local or Remote Servers. The beans +listed below are from our test suite. + +DEBUG: Deployments : 19 +DEBUG: TypeDeployment ID +DEBUG:CMP_ENTITY client/tests/entity/cmp/RMI-over-IIOP/EJBHome +DEBUG:STATEFULclient/tests/stateful/EncBean +DEBUG:STATELESS client/tests/stateless/BeanManagedBasicStatelessHome +DEBUG:STATEFULclient/tests/stateful/BasicStatefulHome +DEBUG:STATELESS client/tests/stateless/EncBean +DEBUG:STATEFUL client/tests/stateful/BeanManagedTransactionTests/EJBHome +DEBUG:BMP_ENTITY client/tests/entity/bmp/RMI-over-IIOP/EJBHome +DEBUG:STATEFULclient/tests/stateful/RMI-over-IIOP/EJBHome +DEBUG:STATELESS client/tests/stateless/BeanManagedTransactionTests/EJBHome +DEBUG:BMP_ENTITY client/tests/entity/bmp/allowed_operations/EntityHome +DEBUG:CMP_ENTITY client/tests/entity/cmp/EncBean +DEBUG:STATEFUL client/tests/stateful/BeanManagedBasicStatefulHome +DEBUG:BMP_ENTITY client/test
[29/30] tomee git commit: Normalize chmod settigns to 644
Normalize chmod settigns to 644 Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/c87be44c Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/c87be44c Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/c87be44c Branch: refs/heads/master Commit: c87be44c1b62fd5df391843d0877684ea297a220 Parents: b93bd75 Author: dblevins Authored: Sat Dec 1 18:15:49 2018 -0800 Committer: dblevins Committed: Sat Dec 1 18:15:49 2018 -0800 -- docs/admin/cluster/index.adoc | 0 docs/admin/configuration/application.adoc | 0 docs/admin/configuration/containers.adoc | 0 docs/admin/configuration/index.adoc | 0 docs/admin/configuration/resources.adoc | 0 docs/admin/configuration/server.adoc | 0 docs/admin/file-layout.adoc | 0 docs/admin/index.adoc | 0 docs/advanced/applicationcomposer/index.adoc | 0 docs/advanced/index.adoc | 0 docs/advanced/setup/index.adoc| 0 docs/advanced/shading/index.adoc | 0 docs/advanced/tomee-embedded/index.adoc | 0 docs/developer/classloading/index.adoc| 0 docs/developer/configuration/cxf.adoc | 0 docs/developer/ide/index.adoc | 0 docs/developer/index.adoc | 0 docs/developer/json/index.adoc| 0 docs/developer/testing/applicationcomposer/index.adoc | 0 docs/developer/testing/arquillian/index.adoc | 0 docs/developer/testing/index.adoc | 0 docs/developer/testing/other/index.adoc | 0 docs/developer/tools/gradle-plugins.adoc | 0 docs/developer/tools/index.adoc | 0 docs/developer/tools/maven-plugins.adoc | 0 docs/developer/tools/maven/applicationcomposer.adoc | 0 docs/developer/tools/maven/embedded.adoc | 0 docs/developer/tools/maven/tomee.adoc | 0 28 files changed, 0 insertions(+), 0 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/cluster/index.adoc -- diff --git a/docs/admin/cluster/index.adoc b/docs/admin/cluster/index.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/configuration/application.adoc -- diff --git a/docs/admin/configuration/application.adoc b/docs/admin/configuration/application.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/configuration/containers.adoc -- diff --git a/docs/admin/configuration/containers.adoc b/docs/admin/configuration/containers.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/configuration/index.adoc -- diff --git a/docs/admin/configuration/index.adoc b/docs/admin/configuration/index.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/configuration/resources.adoc -- diff --git a/docs/admin/configuration/resources.adoc b/docs/admin/configuration/resources.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/configuration/server.adoc -- diff --git a/docs/admin/configuration/server.adoc b/docs/admin/configuration/server.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/file-layout.adoc -- diff --git a/docs/admin/file-layout.adoc b/docs/admin/file-layout.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/admin/index.adoc -- diff --git a/docs/admin/index.adoc b/docs/admin/index.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/advanced/applicationcomposer/index.adoc -- diff --git a/docs/advanced/applicationcomposer/index.adoc b/docs/advanced/applicationcomposer/index.adoc old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/tomee/blob/c87be44c/docs/advanced/in
[23/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/jndi-names.md -- diff --git a/docs/jndi-names.md b/docs/jndi-names.md new file mode 100644 index 000..caec21c --- /dev/null +++ b/docs/jndi-names.md @@ -0,0 +1,372 @@ +index-group=Unrevised +type=page +status=published +title=JNDI Names +~~ + + +# What's My Bean's JNDI Name? +There are two things to keep in mind before you start reading: + +1 OpenEJB provides a default JNDI name to your EJB. +2 You can customize the JNDI name. + + +## Default JNDI name +The default JNDI name is in the following format: + +{deploymentId}{interfaceType.annotationName} + +Lets try and understand the above format. Both *deploymentId* and +*interfaceType.annotationName* are pre-defined variables. There are other +pre-defined variables available which you could use to customize the JNDI +name format. + + +# JNDI Name Formatting + +The *openejb.jndiname.format* property allows you to supply a template for +the global JNDI names of all your EJBs. With it, you have complete control +over the structure of the JNDI layout can institute a design pattern just +right for your client apps. See the [Service Locator](service-locator.html) + doc for clever ways to use the JNDI name formatting functionality in +client code. + +variable description +moduleId Typically the name of the ejb-jar file or the id value if specified +ejbTypeSTATEFUL, STATELESS, BMP_ENTITY, CMP_ENTITY, or MESSAGE_DRIVEN +ejbClass for a class named org.acme.superfun.WidgetBean results in org.acme.superfun.WidgetBean +ejbClass.simpleNamefor a class named org.acme.superfun.WidgetBean results in WidgetBean +ejbClass.packageName for a class named org.acme.superfun.WidgetBean results in org.acme.superfun +ejbNameThe ejb-name as specified in xml or via the 'name' attribute in an @Stateful, @Stateless, or @MessageDriven annotation +deploymentId The unique system id for the ejb. Typically the ejbName unless specified in the openejb-jar.xml or via changing the openejb.deploymentId.format +interfaceType see interfaceType.annotationName +interfaceType.annotationName Following the EJB 3 annotations @RemoteHome, @LocalHome, @Remote and @Local +RemoteHome (EJB 2 EJBHome) +LocalHome (EJB 2 EJBLocalHome) +Remote (EJB 3 Business Remote) +Local (EJB 3 Business Local) +Endpoint (EJB webservice endpoint) +interfaceType.annotationNameLC This is the same as interfaceType.annotationName, but all in lower case. +interfaceType.xmlName Following the ejb-jar.xml descriptor elements , , , , and : +home (EJB 2 EJBHome) +local-home (EJB 2 EJBLocalHome) +business-remote (EJB 3 Business Remote) +business-local (EJB 3 Business Local) +service-endpoint (EJB webservice endpoint) +interfaceType.xmlNameCcCamel-case version of interfaceType.xmlName: +Home (EJB 2 EJBHome) +LocalHome (EJB 2 EJBLocalHome) +BusinessRemote (EJB 3 Business Remote) +BusinessLocal (EJB 3 Business Local) +ServiceEndpoint (EJB webservice endpoint) +interfaceType.openejbLegacyNameFollowing the OpenEJB 1.0 hard-coded format: +(empty string) (EJB 2 EJBHome) +Local (EJB 2 EJBLocalHome) +BusinessRemote (EJB 3 Business Remote) +BusinessLocal (EJB 3 Business Local) +ServiceEndpoint (EJB webservice endpoint) +interfaceClass +(business) for a class named org.acme.superfun.WidgetRemote results in org.acme.superfun.WidgetRemote +(home) for a class named org.acme.superfun.WidgetHome results in org.acme.superfun.WidgetHome +interfaceClass.simpleName +(business) for a class named org.acme.superfun.WidgetRemote results in WidgetRemote +(home) for a class named org.acme.superfun.WidgetHome results in WidgetHome +interfaceClass.packageName for a class named org.acme.superfun.WidgetRemote results in org.acme.superfun + + +# Setting the JNDI name + +It's possible to set the desired jndi name format for the whole server +level, an ejb-jar, an ejb, an ejb's "local" interface +(local/remote/local-home/home), and for an individual interface the ejb +implements. More specific jndi name formats act as an override to any more +general formats. The most specific format dictates the jndi name that will +be used for any given interface of an ejb. It's possible to specify a +general format for your server, override it at an ejb level and override +that further for a specific interface of that ejb. + + +## Via System property + +The jndi name format can be set on a server level via a _system property_, +for example: + + +$ ./bin/openejb start +-Dopenejb.jndiname.format=\{ejbName}/\{interfaceClass}" + + +As usual, other ways of specifying system properties are via the +conf/system.properties file in a standalone server, or via the +InitialContext properties when embedded. + + +## Via properties in the openejb-jar.xml + +It's possible to set the openejb.jndiname.format for an ejb-jar jar in a +META-
[18/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/multiple-business-interface-hazzards.md -- diff --git a/docs/multiple-business-interface-hazzards.md b/docs/multiple-business-interface-hazzards.md new file mode 100644 index 000..c6558d7 --- /dev/null +++ b/docs/multiple-business-interface-hazzards.md @@ -0,0 +1,202 @@ +index-group=Unrevised +type=page +status=published +title=Multiple Business Interface Hazzards +~~ + +# UndeclaredThrowableException + +When two java interfaces are implemented by a proxy and those two +interfaces declare the *same method* but with *different throws clauses* +some very nasty side effects happen, namely you loose the ability to throw +any checked exceptions that are not in the throws clause of both methods. + + +import junit.framework.TestCase; + +import java.lang.reflect.InvocationHandler; +import java.lang.reflect.Method; +import java.lang.reflect.UndeclaredThrowableException; + +/** + * @version $Rev$ $Date$ + */ +public class ExceptionTest extends TestCase { + +public void test() throws Exception { + ClassLoader classLoader = this.getClass().getClassLoader(); +Class[] + interfaces = new Class[]{One.class, Two.class}; + + InvocationHandler h = new TestInvocationHandler(); + + Object proxy = +java.lang.reflect.Proxy.newProxyInstance(classLoader, interfaces, h); + + One one = (One) proxy; + + try { + one.run(new CommonException()); + } catch (CommonException e) { + // this will work + } catch(UndeclaredThrowableException u) { + Throwable t = u.getCause(); + fail("Undeclared: "+t); + } catch(Throwable t){ + fail("Caught: "+t); + } + + try { + one.run(new OneException()); + } catch (OneException e) { + } catch(UndeclaredThrowableException u) { + Throwable t = u.getCause(); + fail("Undeclared: "+t); // This will always be the code that +executes + } catch(Throwable t){ + fail("Caught: "+t); + } + + Two two = (Two) proxy; + try { + two.run(new CommonException()); + } catch (TwoException e) { + } catch(UndeclaredThrowableException u) { + Throwable t = u.getCause(); + fail("Undeclared: "+t); // This will always be the code that +executes + } catch(Throwable t){ + fail("Caught: "+t); + } + +} + +public static class CommonException extends Exception { + public CommonException() { + } +} + +public static interface One { + void run(Object o) throws OneException, CommonException; +} + +public static class OneException extends Exception { + public OneException() { + } +} + +public static interface Two { + void run(Object o) throws TwoException, CommonException; +} + +public static class TwoException extends Exception { + public TwoException() { + } +} + +private static class TestInvocationHandler implements InvocationHandler +{ +public Object invoke(Object proxy, Method method, Object[] + args) throws Throwable { +throw (Throwable)args[0] +; + } +} +} + + + + +# IllegalArgumentException + +This one is less of a runtime problem as doing this will cause things to +fail up front. When two java interfaces are implemented by a proxy and +those two interfaces declare the *same method* but with *different return +types* the VM proxy code will refuse to create a proxy at all. Take this +code example: + + + +import junit.framework.TestCase; + +import java.lang.reflect.InvocationHandler; +import java.lang.reflect.Method; + +/** + * @version $Rev$ $Date$ + */ +public class ReturnTest extends TestCase { + +public void test() throws Exception { + ClassLoader classLoader = this.getClass().getClassLoader(); +Class[] + interfaces = new Class[]{ReturnTest.One.class, ReturnTest.Two.class}; + + InvocationHandler h = new ReturnTest.TestInvocationHandler(); + + Object proxy = +java.lang.reflect.Proxy.newProxyInstance(classLoader, interfaces, h); + + One one = (One) proxy; + try { + Object object = one.run(new ThingOne()); + } catch (Throwable t) { + fail("Caught: " + t); + } + + Two two = (Two) proxy; + try { + Object object = two.run(new ThingTwo()); + } catch (Throwable t) { + fail("Caught: " + t); + } + +} + +public static interface One { + ThingOne run(Object o); +} + +public static class ThingOne { +} + +public sta
[21/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/maven/debug-mojo.md -- diff --git a/docs/maven/debug-mojo.md b/docs/maven/debug-mojo.md new file mode 100644 index 000..a12473f --- /dev/null +++ b/docs/maven/debug-mojo.md @@ -0,0 +1,1395 @@ +index-group=Unrevised +type=page +status=published +~~ + +tomee:debug + +Full name: + +org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:debug + +Description: + +As run but with debug activated. + +Attributes: + + + +Requires a Maven project to be executed. + +Requires dependency resolution of artifacts in scope: runtime+system. + +Requires dependency collection of artifacts in scope: runtime. + + + +Optional Parameters + + + + + +Name + +Type + +Since + +Description + + + + +apacheRepos + +String + +- + +(no description)Default value is: snapshots.User property is: tomee-plugin.apache-repos. + + + + +appDir + +String + +- + +relative to tomee.base.Default value is: apps. + + + + +apps + +List + +- + +(no description) + + + + +args + +String + +- + +(no description)User property is: tomee-plugin.args. + + + + +bin + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/bin.User property is: tomee-plugin.bin. + + + + +catalinaBase + +File + +- + +(no description)Default value is: ${project.build.directory}/apache-tomee.User property is: tomee-plugin.catalina-base. + + + + +checkStarted + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.check-started. + + + + +classpaths + +List + +- + +(no description) + + + + +config + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/conf.User property is: tomee-plugin.conf. + + + + +context + +String + +- + +rename the current artifact + + + + +debug + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.debug. + + + + +debugPort + +int + +- + +(no description)Default value is: 5005.User property is: tomee-plugin.debugPort. + + + + +deployOpenEjbApplication + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.deploy-openejb-internal-application. + + + + +docBases + +List + +- + +for TomEE and wars only, which docBase to use for this war. + + + + +ejbRemote + +boolean + +- + +(no description)Default value is: true.User property is: tomee-plugin.ejb-remote. + + + + +externalRepositories + +List + +- + +for TomEE and wars only, add some external repositories to +classloader. + + + + +forceReloadable + +boolean + +- + +force webapp to be reloadableDefault value is: false.User property is: tomee-plugin.force-reloadable. + + + + +javaagents + +List + +- + +(no description) + + + + +keepServerXmlAsthis + +boolean + +- + +(no description)Default value is: false.User property is: tomee-plugin.keep-server-xml. + + + + +lib + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/tomee/lib.User property is: tomee-plugin.lib. + + + + +libDir + +String + +- + +relative to tomee.base.Default value is: lib. + + + + +libs + +List + +- + +supported formats: --> groupId:artifactId:version... --> +unzip:groupId:artifactId:version... --> remove:prefix (often +prefix = artifactId) + + + + +mainDir + +Fil
[08/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/maven/configtest-mojo.mdtext -- diff --git a/docs/maven/configtest-mojo.mdtext b/docs/maven/configtest-mojo.mdtext deleted file mode 100644 index a904349..000 --- a/docs/maven/configtest-mojo.mdtext +++ /dev/null @@ -1,1324 +0,0 @@ - -tomee:configtest - -Full name: - -org.apache.openejb.maven:tomee-maven-plugin[:Current Version]:configtest - -Description: - -Run configtest Tomcat command. - -Attributes: - - - -Requires a Maven project to be executed. - -Requires dependency resolution of artifacts in scope: runtime+system. - -Requires dependency collection of artifacts in scope: runtime. - - - -Optional Parameters - - - - - -Name - -Type - -Since - -Description - - - - -apacheRepos - -String - -- - -(no description)Default value is: snapshots.User property is: tomee-plugin.apache-repos. - - - - -appDir - -String - -- - -relative to tomee.base.Default value is: apps. - - - - -apps - -List - -- - -(no description) - - - - -args - -String - -- - -(no description)User property is: tomee-plugin.args. - - - - -bin - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/bin.User property is: tomee-plugin.bin. - - - - -catalinaBase - -File - -- - -(no description)Default value is: ${project.build.directory}/apache-tomee.User property is: tomee-plugin.catalina-base. - - - - -checkStarted - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.check-started. - - - - -classpaths - -List - -- - -(no description) - - - - -config - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/conf.User property is: tomee-plugin.conf. - - - - -context - -String - -- - -rename the current artifact - - - - -debug - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.debug. - - - - -debugPort - -int - -- - -(no description)Default value is: 5005.User property is: tomee-plugin.debugPort. - - - - -deployOpenEjbApplication - -boolean - -- - -(no description)Default value is: false.User property is: tomee-plugin.deploy-openejb-internal-application. - - - - -docBases - -List - -- - -for TomEE and wars only, which docBase to use for this war. - - - - -ejbRemote - -boolean - -- - -(no description)Default value is: true.User property is: tomee-plugin.ejb-remote. - - - - -externalRepositories - -List - -- - -for TomEE and wars only, add some external repositories to -classloader. - - - - -forceReloadable - -boolean - -- - -force webapp to be reloadableDefault value is: false.User property is: tomee-plugin.force-reloadable. - - - - -javaagents - -List - -- - -(no description) - - - - -keepServerXmlAsthis - -boolean - -- - -(Removed since 7.0.0)Default value is: false.User property is: tomee-plugin.keep-server-xml. - - - - -lib - -File - -- - -(no description)Default value is: ${project.basedir}/src/main/tomee/lib.User property is: tomee-plugin.lib. - - - - -libDir - -String - -- - -relative to tomee.base.Default value is: lib. - - - - -libs - -List - -- - -supported formats: --> groupId:artifactId:version... --> -unzip:groupId:artifactId:version... --> remove:prefix (often -prefix = artifactId) - - - - -mainDir - -File -
[09/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/c3f8984b/docs/jpa-concepts.mdtext -- diff --git a/docs/jpa-concepts.mdtext b/docs/jpa-concepts.mdtext deleted file mode 100644 index 0afb88c..000 --- a/docs/jpa-concepts.mdtext +++ /dev/null @@ -1,217 +0,0 @@ -Title: JPA Concepts - -# JPA 101 - -If there's one thing you have to understand to successfully use JPA (Java -Persistence API) it's the concept of a *Cache*. Almost everything boils -down to the Cache at one point or another. Unfortunately the Cache is an -internal thing and not exposed via the JPA API classes, so it not easy to -touch or feel from a coding perspective. - -Here's a quick cheat sheet of the JPA world: - - - A **Cache** is a **copy of data**, copy meaning pulled from but living -outside the database. - - **Flushing** a Cache is the act of putting modified data back into the -database. - - A **PersistenceContext** is essentially a Cache. It also tends to have -it's own non-shared database connection. - - An **EntityManager** represents a PersistenceContext (and therefore a -Cache) - - An **EntityManagerFactory** creates an EntityManager (and therefore a -PersistenceContext/Cache) - -Comparing `RESOURCE_LOCAL` and `JTA` persistence contexts - -With**you** are -responsible for EntityManager (PersistenceContext/Cache) creating and -tracking... - -- You **must** use the **EntityManagerFactory** to get an EntityManager -- The resulting **EntityManager** instance **is** a -PersistenceContext/Cache -- An **EntityManagerFactory** can be injected via the **@PersistenceUnit** -annotation only (not @PersistenceContext) -- You are **not** allowed to use @PersistenceContext to refer to a unit -of type RESOURCE_LOCAL -- You **must** use the **EntityTransaction** API to begin/commit around -**every** call to your EntityManger -- Calling entityManagerFactory.createEntityManager() twice results in -**two** separate EntityManager instances and therefor **two** separate -PersistenceContexts/Caches. -- It is **almost never** a good idea to have more than one **instance** of -an EntityManager in use (don't create a second one unless you've destroyed -the first) - -With the **container** -will do EntityManager (PersistenceContext/Cache) creating and tracking... - -- You **cannot** use the **EntityManagerFactory** to get an EntityManager -- You can only get an **EntityManager** supplied by the **container** -- An **EntityManager** can be injected via the **@PersistenceContext** -annotation only (not @PersistenceUnit) -- You are **not** allowed to use @PersistenceUnit to refer to a unit of -type JTA -- The **EntityManager** given by the container is a **reference** to the -PersistenceContext/Cache associated with a JTA Transaction. -- If no JTA transaction is in progress, the EntityManager **cannot be -used** because there is no PersistenceContext/Cache. -- Everyone with an EntityManager reference to the **same unit** in the -**same transaction** will automatically have a reference to the **same -PersistenceContext/Cache** -- The PersistenceContext/Cache is **flushed** and cleared at JTA -**commit** time - - -# Cache == PersistenceContext - -The concept of a database cache is an extremely important concept to be -aware of. Without a copy of the data in memory (i.e. a cache) when you -call account.getBalance() the persistence provider would have to go read -the value from the database. Calling account.getBalance() several times -would cause several trips to the database. This would obviously be a big -waste of resources. The other side of having a cache is that when you call -account.setBalance(5000) it also doesn't hit the database (usually). When -the cache is "flushed" the data in it is sent to the database via as many -SQL updates, inserts and deletes as are required. That is the basics of -java persistence of any kind all wrapped in a nutshell. If you can -understand that, you're good to go in nearly any persistence technology -java has to offer. - -Complications can arise when there is more than one -PersistenceContext/Cache relating the same data in the same transaction. -In any given transaction you want exactly one PersistenceContext/Cache for -a given set of data. Using a JTA unit with an EntityManager -created by the container will always guarantee that this is the case. With -a RESOURCE_LOCAL unit and an EntityManagerFactory you should create and use -exactly one EntityManager instance in your transaction to ensure there is -only one active PersistenceContext/Cache for the given set of data active -against the current transaction. - - -# Caches and Detaching - -Detaching is the concept of a persistent object **leaving** the -PersistenceContext/Cache. Leaving means that any updates made to the -object are **not** reflected in the PersistenceContext/Cache. An obje
[28/30] tomee git commit: Rename *.mdtext files to *.md
Rename *.mdtext files to *.md Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/b93bd755 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b93bd755 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b93bd755 Branch: refs/heads/master Commit: b93bd755ccea213567e26e16a35a6f8c1bb51727 Parents: c3f8984 Author: dblevins Authored: Sat Dec 1 18:15:15 2018 -0800 Committer: dblevins Committed: Sat Dec 1 18:15:15 2018 -0800 -- docs/Configuring-in-tomee.md| 45 + docs/activemqresourceadapter-config.md | 69 + docs/advanced/tomee-embedded/foo.ado|0 docs/alternate-descriptors.md | 117 ++ docs/annotations,-xml-and-defaults.md | 569 +++ docs/app-clients-and-jndi.md| 73 + docs/application-deployment-solutions.md| 78 + docs/application-discovery-via-the-classpath.md | 94 ++ docs/application-resources.md | 250 +++ docs/arquillian-available-adapters.md | 264 +++ docs/arquillian-getting-started.md | 24 + docs/basics---getting-things.md | 107 ++ docs/basics---security.md | 55 + docs/basics---transactions.md | 60 + docs/bmpentitycontainer-config.md | 37 + docs/bouncy-castle.md | 34 + docs/built-in-type-converters.md| 94 ++ docs/callbacks.md | 167 ++ docs/changing-jms-implementations.md| 136 ++ docs/client-server-transports.md| 22 + docs/clients.md | 104 ++ docs/cmpentitycontainer-config.md | 36 + docs/collapsed-ear.md | 46 + docs/common-datasource-configurations.md| 115 ++ docs/common-errors.md | 30 + docs/common-persistenceprovider-properties.md | 47 + docs/comparison.md | 222 +++ docs/concepts.md| 79 + docs/configuration.md | 144 ++ docs/configuring-containers-in-tests.md | 27 + docs/configuring-datasources-in-tests.md| 60 + docs/configuring-datasources.md | 170 ++ docs/configuring-durations.md | 67 + docs/configuring-javamail.md| 41 + docs/configuring-logging-in-tests.md| 118 ++ docs/configuring-persistenceunits-in-tests.md | 144 ++ docs/constructor-injection.md | 98 ++ docs/containers-and-resources.md| 483 ++ docs/contrib/debug/debug-intellij.md| 133 ++ docs/custom-injection.md| 193 +++ docs/datasource-config.md | 541 ++ docs/datasource-password-encryption.md | 128 ++ docs/deamon/lin-service.md | 17 + docs/deamon/win-service.md | 17 + docs/declaring-references.md|6 + docs/deploy-tool.md | 165 ++ docs/deploying-in-tomee.md | 73 + docs/deployment-id.md | 231 +++ docs/deployments.md | 135 ++ docs/details-on-openejb-jar.md | 156 ++ docs/documentation.md | 106 ++ docs/documentation.old.md | 102 ++ docs/dynamic-datasource.md | 220 +++ docs/eclipse-plugin.md | 42 + docs/ejb-failover.md| 89 + docs/ejb-local-ref.md | 52 + docs/ejb-over-ssl.md| 100 ++ docs/ejb-ref.md | 50 + docs/ejb-refs.md| 178 ++ docs/ejb-request-logging.md | 98 ++ docs/ejbd-transport.md | 136 ++ docs/embedded-and-remotable.md | 181 ++ docs/embedded-configuration.md | 135 ++ docs/embedding.md | 30 + docs/failover-logging.md| 42 + docs/faq.md | 99 ++ docs/features.md|6 + docs/from-glassfish-to-tomee.md |7 + ...-testing-with-openejb,-jetty-and-selenium.md | 240 +++ docs/generating-ejb-3-annotations.md| 61 + docs/getting-started.md | 172 ++ docs/hello-world.md | 250 +++ docs/hibernate.md | 98 ++ docs/index.adoc | 224 +++ docs/initialcontext-config.md | 26 + docs/install
tomee git commit: Add Jbake headers
Repository: tomee Updated Branches: refs/heads/tomee-7.1.x 0dbd32599 -> ab8dd10a2 Add Jbake headers Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/ab8dd10a Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/ab8dd10a Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/ab8dd10a Branch: refs/heads/tomee-7.1.x Commit: ab8dd10a29ff6d2bc38fefa957fb77b1ea0ea25c Parents: 0dbd325 Author: dblevins Authored: Sat Dec 1 18:46:08 2018 -0800 Committer: dblevins Committed: Sat Dec 1 18:46:08 2018 -0800 -- examples/access-timeout-meta/README.md | 6 +- examples/access-timeout/README.md | 7 +-- examples/alternate-descriptors/README.md | 11 +-- examples/applet/README.md | 6 +- examples/application-composer/README.md| 6 +- examples/applicationexception/README.md| 7 +-- examples/arquillian-jpa/README.md | 8 +--- examples/async-methods/README.md | 7 +-- examples/async-postconstruct/README.md | 6 +- examples/bean-validation-design-by-contract/README.md | 4 examples/bval-evaluation-redeployment/README.md| 4 examples/cdi-alternative-and-stereotypes/README.md | 4 examples/cdi-application-scope/README.md | 6 +- examples/cdi-basic/README.md | 6 +- examples/cdi-events/README.md | 4 examples/cdi-interceptors/README.md| 7 +-- examples/cdi-produces-disposes/README.md | 6 +- examples/cdi-produces-field/README.md | 6 +- examples/cdi-request-scope/README.md | 7 +-- examples/change-jaxws-url/README.md| 11 +-- examples/component-interfaces/README.md| 6 +- examples/connector-war/README.md | 6 +- examples/custom-injection/README.md| 6 +- examples/datasource-ciphered-password/README.md| 6 +- examples/datasource-versioning/README.md | 6 +- examples/decorators/README.md | 6 +- examples/deltaspike-fullstack/README.md| 6 +- examples/dynamic-dao-implementation/README.md | 6 +- examples/dynamic-datasource-routing/README.md | 7 +-- examples/dynamic-implementation/README.md | 6 +- examples/dynamic-proxy-to-access-mbean/README.md | 7 +-- examples/ear-testing/README.md | 6 +- examples/ejb-examples/README.md| 6 +- examples/ejb-webservice/README.md | 6 +- examples/helloworld-weblogic/README.md | 6 +- examples/injection-of-connectionfactory/README.md | 6 +- examples/injection-of-datasource/README.md | 6 +- examples/injection-of-ejbs/README.md | 6 +- examples/injection-of-entitymanager/README.md | 6 +- examples/injection-of-env-entry/README.md | 6 +- examples/interceptors/README.md| 6 +- examples/javamail/README.md| 8 +--- examples/jpa-eclipselink/README.md | 8 ++-- examples/jpa-enumerated/README.md | 6 +- examples/jpa-hibernate/README.md | 6 +- examples/jsf-cdi-and-ejb/README.md | 8 ++-- examples/jsf-managedBean-and-ejb/README.md | 6 +- examples/lookup-of-ejbs-with-descriptor/README.md | 6 +- examples/lookup-of-ejbs/README.md | 6 +- examples/mbean-auto-registration/README.md | 6 +- examples/moviefun/README.md| 6 +- examples/movies-complete-meta/README.md| 6 +- examples/movies-complete/README.md | 6 +- examples/mtom/README.md| 4 examples/myfaces-codi-demo/README.md | 8 ++-- examples/persistence-fragment/README.md| 6 +- examples/polling-parent/README.md | 4 examples/quartz-app/README.md | 7 +-- examples/realm-in-tomee/README.md | 6 +- examples/reload-persistence-unit-properties/README.md | 9 + examples/resources-declared-in-webapp/README.md| 6 +- examples/resources-jmx-example/README.md | 10 +- examples/rest-cdi/README.md| 9 + examples/rest-example-with-applica
[15/30] tomee git commit: Rename *.mdtext files to *.md
http://git-wip-us.apache.org/repos/asf/tomee/blob/b93bd755/docs/tomee-embedded-maven-plugin.md -- diff --git a/docs/tomee-embedded-maven-plugin.md b/docs/tomee-embedded-maven-plugin.md new file mode 100644 index 000..6d973e7 --- /dev/null +++ b/docs/tomee-embedded-maven-plugin.md @@ -0,0 +1,959 @@ +index-group=Unrevised +type=page +status=published +title=TomEE Embedded Maven Plugin +~~ + +[TomEE Maven Plugin](tomee-maven-plugin.html) provides a nice way to run "as in production" a server fully configured +keeping the configuration in the project (easiness of sharing between team members). However for modern web development +the fact to run the "exploded war" prevents to develop web resources in place. TomEE embedded maven plugin +solves it directly allowing to directly deploy the war project in place using "classpath as war" option. + +It also allows to use a flat classpath deployment which is often use with microservices. + +tomee-embedded:run + +Full name: + +org.apache.tomee.maven:tomee-embedded-maven-plugin:7.0.0-M1:run + +Description: + +Run an Embedded TomEE. + +Attributes: + + + +Requires a Maven project to be executed. + +Requires dependency resolution of artifacts in scope: runtime+system. + +Requires dependency collection of artifacts in scope: runtime. + + + +Optional Parameters + + + + + +Name + +Type + +Since + +Description + + + + +ajpPort + +int + +- + +(no description)Default value is: 8009.User property is: tomee-embedded-plugin.ajp. + + + + +applicationCopyFolder + +File + +- + +(no description)Default value is: ${project.build.directory}/tomee-embedded/applications.User property is: tomee-plugin.application-copy. + + + + +applicationScopes + +List + +- + +(no description) + + + + +applications + +List + +- + +(no description) + + + + +classpathAsWar + +boolean + +- + +(no description)Default value is: false.User property is: tomee-embedded-plugin.classpathAsWar. + + + + +clientAuth + +String + +- + +(no description)User property is: tomee-embedded-plugin.clientAuth. + + + + +containerProperties + +Map + +- + +(no description) + + + + +context + +String + +- + +(no description)User property is: tomee-embedded-plugin.context. + + + + +dir + +String + +- + +(no description)Default value is: ${project.build.directory}/apache-tomee-embedded.User property is: tomee-embedded-plugin.lib. + + + + +docBase + +File + +- + +(no description)Default value is: ${project.basedir}/src/main/webapp.User property is: tomee-embedded-plugin.docBase. + + + + +forceJspDevelopment + +boolean + +- + +force webapp to be reloadableDefault value is: true.User property is: tomee-plugin.jsp-development. + + + + +host + +String + +- + +(no description)Default value is: localhost.User property is: tomee-embedded-plugin.host. + + + + +httpPort + +int + +- + +(no description)Default value is: 8080.User property is: tomee-embedded-plugin.http. + + + + +httpsPort + +int + +- + +(no description)Default value is: 8443.User property is: tomee-embedded-plugin.httpsPort. + + + + +inlinedServerXml + +PlexusConfiguration + +- + +(no description) + + + + +inlinedTomEEXml + +PlexusConfiguration + +- + +(no description) + + + + +keepServerXmlAsThis + +boolean + +- + +(no description)Default value is: false.User property is: tomee-embedded-plugin.keepServerXmlAsThis. + + + + +keyAlias + +String + +- + +(no description)User property is: tomee-embedded-plugin.keyAlias. + + + + +keystoreFile + +String + +- + +(no description)User propert
tomee git commit: Add Jbake headers
Repository: tomee Updated Branches: refs/heads/tomee-7.0.x 79f722632 -> 35f131e12 Add Jbake headers Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/35f131e1 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/35f131e1 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/35f131e1 Branch: refs/heads/tomee-7.0.x Commit: 35f131e12e2d506f121cfcef74439910d279e0c4 Parents: 79f7226 Author: dblevins Authored: Sat Dec 1 18:47:48 2018 -0800 Committer: dblevins Committed: Sat Dec 1 18:47:48 2018 -0800 -- examples/access-timeout-meta/README.md | 6 +- examples/access-timeout/README.md | 7 +-- examples/alternate-descriptors/README.md | 11 +-- examples/applet/README.md | 6 +- examples/application-composer/README.md| 6 +- examples/applicationexception/README.md| 7 +-- examples/arquillian-jpa/README.md | 8 +--- examples/async-methods/README.md | 7 +-- examples/async-postconstruct/README.md | 6 +- examples/bean-validation-design-by-contract/README.md | 4 examples/bval-evaluation-redeployment/README.md| 4 examples/cdi-alternative-and-stereotypes/README.md | 4 examples/cdi-application-scope/README.md | 6 +- examples/cdi-basic/README.md | 6 +- examples/cdi-events/README.md | 4 examples/cdi-interceptors/README.md| 7 +-- examples/cdi-produces-disposes/README.md | 6 +- examples/cdi-produces-field/README.md | 6 +- examples/cdi-request-scope/README.md | 7 +-- examples/change-jaxws-url/README.md| 11 +-- examples/component-interfaces/README.md| 6 +- examples/connector-war/README.md | 6 +- examples/custom-injection/README.md| 6 +- examples/datasource-ciphered-password/README.md| 6 +- examples/datasource-versioning/README.md | 6 +- examples/decorators/README.md | 6 +- examples/deltaspike-fullstack/README.md| 6 +- examples/dynamic-dao-implementation/README.md | 6 +- examples/dynamic-datasource-routing/README.md | 7 +-- examples/dynamic-implementation/README.md | 6 +- examples/dynamic-proxy-to-access-mbean/README.md | 7 +-- examples/ear-testing/README.md | 6 +- examples/ejb-examples/README.md| 6 +- examples/ejb-webservice/README.md | 6 +- examples/helloworld-weblogic/README.md | 6 +- examples/injection-of-connectionfactory/README.md | 6 +- examples/injection-of-datasource/README.md | 6 +- examples/injection-of-ejbs/README.md | 6 +- examples/injection-of-entitymanager/README.md | 6 +- examples/injection-of-env-entry/README.md | 6 +- examples/interceptors/README.md| 6 +- examples/javamail/README.md| 8 +--- examples/jpa-eclipselink/README.md | 8 ++-- examples/jpa-enumerated/README.md | 6 +- examples/jpa-hibernate/README.md | 6 +- examples/jsf-cdi-and-ejb/README.md | 8 ++-- examples/jsf-managedBean-and-ejb/README.md | 6 +- examples/lookup-of-ejbs-with-descriptor/README.md | 6 +- examples/lookup-of-ejbs/README.md | 6 +- examples/mbean-auto-registration/README.md | 6 +- examples/moviefun/README.md| 6 +- examples/movies-complete-meta/README.md| 6 +- examples/movies-complete/README.md | 6 +- examples/mtom/README.md| 4 examples/myfaces-codi-demo/README.md | 8 ++-- examples/persistence-fragment/README.md| 6 +- examples/polling-parent/README.md | 4 examples/quartz-app/README.md | 7 +-- examples/realm-in-tomee/README.md | 6 +- examples/reload-persistence-unit-properties/README.md | 9 + examples/resources-declared-in-webapp/README.md| 6 +- examples/resources-jmx-example/README.md | 10 +- examples/rest-cdi/README.md| 9 + examples/rest-example-with-applica
tomee-site-generator git commit: Make adds recursive
Repository: tomee-site-generator Updated Branches: refs/heads/master 27d6e3ab5 -> 95dc035ff Make adds recursive Project: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/commit/95dc035f Tree: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/tree/95dc035f Diff: http://git-wip-us.apache.org/repos/asf/tomee-site-generator/diff/95dc035f Branch: refs/heads/master Commit: 95dc035ffcacff70b66d1c1195248c9883383f71 Parents: 27d6e3a Author: dblevins Authored: Sat Dec 1 17:08:05 2018 -0800 Committer: dblevins Committed: Sat Dec 1 17:08:05 2018 -0800 -- .../java/org/apache/tomee/website/SvnPub.java | 85 +++- src/main/jbake/assets/css/cardio.css| 6 +- 2 files changed, 48 insertions(+), 43 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/95dc035f/src/main/java/org/apache/tomee/website/SvnPub.java -- diff --git a/src/main/java/org/apache/tomee/website/SvnPub.java b/src/main/java/org/apache/tomee/website/SvnPub.java index 78c3d10..cdd8c6b 100644 --- a/src/main/java/org/apache/tomee/website/SvnPub.java +++ b/src/main/java/org/apache/tomee/website/SvnPub.java @@ -17,6 +17,7 @@ package org.apache.tomee.website; import org.apache.commons.io.FileUtils; +import org.apache.xml.security.exceptions.Base64DecodingException; import org.tmatesoft.svn.core.SVNCommitInfo; import org.tmatesoft.svn.core.SVNDepth; import org.tmatesoft.svn.core.SVNException; @@ -37,21 +38,19 @@ import org.tmatesoft.svn.core.wc2.SvnTarget; import java.io.File; import java.io.IOException; import java.nio.file.Path; -import java.util.ArrayList; -import java.util.Collection; import java.util.Date; -import java.util.stream.Stream; +import java.util.HashMap; +import java.util.Map; import static java.util.Arrays.asList; import static java.util.Optional.ofNullable; -import static java.util.stream.Collectors.toList; public class SvnPub { private SvnPub() { // no-op } -public static void main(final String[] args) throws SVNException, IOException { +public static void main(final String[] args) throws SVNException, IOException, Base64DecodingException { SVNJNAUtil.setJNAEnabled(false); // svnkit and java 8 == easy sigsev on ubuntu (fixed when upgrading svnkit version) final String username = System.getProperty("site.username", System.getenv("USER")); @@ -93,52 +92,58 @@ public class SvnPub { } FileUtils.copyDirectory(site[0], copy); -final Collection added = new ArrayList<>(); -final Collection updated = new ArrayList<>(); -client.getStatusClient().doStatus(copy, SVNRevision.HEAD, SVNDepth.INFINITY, false, false, false, false, new ISVNStatusHandler() { -@Override -public void handleStatus(final SVNStatus status) throws SVNException { -final SVNStatusType contentsStatus = status.getContentsStatus(); -if (contentsStatus == SVNStatusType.STATUS_UNVERSIONED) { -added.add(status.getFile()); -} else if (contentsStatus == SVNStatusType.STATUS_MODIFIED || contentsStatus == SVNStatusType.STATUS_REPLACED) { -updated.add(status.getFile()); -} // else we don't care -} -}, null); - -final Collection copies = Stream.concat(added.stream(), updated.stream()).collect(toList()); -// remove the .pdf without their .html, likely means there is no real update -added.removeIf(f -> f.getName().endsWith(".pdf") && !copies.contains(new File(f.getParentFile(), f.getName().replace(".pdf", ".html"; -updated.removeIf(f -> f.getName().endsWith(".pdf") && !copies.contains(new File(f.getParentFile(), f.getName().replace(".pdf", ".html"; - -if (updated.size() + added.size() == 0) { +final Path sitePath = copy.getAbsoluteFile().toPath(); + +final Map changed = new HashMap<>(); +int previous = 0; + +do { +previous = changed.size(); + +client.getStatusClient().doStatus(copy, SVNRevision.HEAD, SVNDepth.INFINITY, false, false, false, false, new ISVNStatusHandler() { +@Override +public void handleStatus(final SVNStatus status) throws SVNException { +final SVNStatusType contentsStatus = status.getContentsStatus(); +final File file = status.getFile(); + +final String path = sitePath.relativize(file.getAbsoluteFile().toPath()).toString(); + +if (contentsStatus == SVNStatusType.STATUS_UNVERSIONED || contentsStatus == SVNStatusType.STATUS_NONE) { + +