This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 62b2106e69cf3f4905a14c6d19433ccd11d87d71 Author: Richard Zowalla <[email protected]> AuthorDate: Fri May 22 15:26:31 2026 +0200 docs: fix broken/dead links, stale versions and Jakarta EE terminology - Broken internal links: directory-structure -> file-layout rename, de-link long-gone tutorial pages, repoint website pages (downloads, mailing-lists, examples) to absolute URLs, fix a path escaping docs/ - Version placeholders: jakartaee-api and tomee-embedded dependency snippets bumped to 11.0.0-SNAPSHOT - Dead external links: java.sun.com JavaDoc -> Oracle Java 17 JavaDoc; remove dead people.apache.org/jrg.me.uk screenshot images; svn checkout commands -> git clone; de-link defunct hosts (www.openejb.org, onjava.com, java.net, fusesource, eclipsezilla, springframework); upgrade live links to https - Terminology: "Java EE"/"J2EE" -> "Jakarta EE" only where describing present-day TomEE (historical references left intact) --- docs/Configuring-in-tomee.adoc | 2 +- docs/activemqresourceadapter-config.adoc | 2 +- docs/admin/configuration/application.adoc | 2 +- docs/admin/configuration/resources.adoc | 4 +-- docs/advanced/setup/index.adoc | 2 +- docs/advanced/shading/index.adoc | 4 +-- docs/application-deployment-solutions.adoc | 2 +- docs/changing-jms-implementations.adoc | 4 +-- docs/common-datasource-configurations.adoc | 2 +- docs/configuring-datasources.adoc | 2 +- docs/configuring-logging-in-tests.adoc | 10 +++--- docs/contrib/debug/debug-intellij.adoc | 6 ++-- docs/custom-injection.adoc | 8 ++--- docs/datasource-configuration-by-creator.adoc | 6 ++-- docs/deamon/win-service.adoc | 2 +- docs/developer/json/index.adoc | 2 +- docs/developer/testing/other/index.adoc | 2 +- docs/ejb-over-ssl.adoc | 13 ++++--- docs/ejbd-transport.adoc | 2 +- ...l-testing-with-openejb,-jetty-and-selenium.adoc | 4 +-- docs/installation-drop-in-war.adoc | 8 ++--- docs/installation.adoc | 12 ++----- docs/installing-tomee.adoc | 4 +-- docs/jms-resources-and-mdb-container.adoc | 12 +++---- docs/jpa-usage.adoc | 2 +- docs/maven.adoc | 24 ++++++------- docs/openejb-eclipse-plugin.adoc | 2 +- docs/properties-listing.adoc | 4 +-- docs/provisioning.adoc | 2 +- docs/resource-injection.adoc | 4 +-- docs/running-a-standalone-openejb-server.adoc | 24 ------------- docs/security.adoc | 10 +++--- docs/ssh.adoc | 2 +- docs/tip-jersey-client.adoc | 2 +- docs/tomee-and-eclipse.adoc | 2 +- docs/tomee-and-intellij.adoc | 28 +-------------- docs/tomee-and-netbeans.adoc | 41 ---------------------- docs/tomee-and-security.adoc | 2 +- docs/tomee-logging-in-eclipse.adoc | 2 +- docs/tomee-mp-getting-started.adoc | 4 +-- docs/transaction-annotations.adoc | 2 +- docs/unix-daemon.adoc | 6 ++-- 42 files changed, 88 insertions(+), 192 deletions(-) diff --git a/docs/Configuring-in-tomee.adoc b/docs/Configuring-in-tomee.adoc index ce572e04b1..c8a7930d6e 100644 --- a/docs/Configuring-in-tomee.adoc +++ b/docs/Configuring-in-tomee.adoc @@ -33,5 +33,5 @@ JtaManaged true ---- For more on how to configure, read through -link:/configuring-datasources.html[configuring-datasources], +link:configuring-datasources.html[configuring-datasources], link:containers-and-resources.html[containers-and-resources] docs. diff --git a/docs/activemqresourceadapter-config.adoc b/docs/activemqresourceadapter-config.adoc index 79547e0e2a..fc5c393b94 100644 --- a/docs/activemqresourceadapter-config.adoc +++ b/docs/activemqresourceadapter-config.adoc @@ -57,7 +57,7 @@ Multiple ActiveMQResourceAdapter declarations are allowed. |`broker:(tcp://localhost:61616)?useJmx=false` |Broker configuration URI as defined by ActiveMQ see -http://activemq.apache.org/broker-configuration-uri.html BrokerXmlConfig +https://activemq.apache.org/broker-configuration-uri.html BrokerXmlConfig xbean:file:conf/activemq.xml - Requires xbean-spring.jar and dependencies diff --git a/docs/admin/configuration/application.adoc b/docs/admin/configuration/application.adoc index 4f3edb0f45..0e9fad28cd 100644 --- a/docs/admin/configuration/application.adoc +++ b/docs/admin/configuration/application.adoc @@ -39,7 +39,7 @@ All quartz properties prefixed with `org.apache.openejb.quartz.` (instead of `or The boolean `openejb.cdi.skip-resource-validation` allows to not validate resources ie `@EJB` and `@Resource` usages in CDI beans. -All properties understood by OpenWebBeans will also be passthrough to OpenWebBeans from this location, see http://openwebbeans.apache.org/owbconfig.html[OWB config] for more details. +All properties understood by OpenWebBeans will also be passthrough to OpenWebBeans from this location, see https://openwebbeans.apache.org/owbconfig.html[OWB config] for more details. === `@WebServiceRef` diff --git a/docs/admin/configuration/resources.adoc b/docs/admin/configuration/resources.adoc index b63cdc9344..5783bac18f 100644 --- a/docs/admin/configuration/resources.adoc +++ b/docs/admin/configuration/resources.adoc @@ -186,7 +186,7 @@ Foo.StartupTimeout = 10 seconds ==== BrokerXmlConfig Broker configuration URI as defined by ActiveMQ -see http://activemq.apache.org/broker-configuration-uri.html +see https://activemq.apache.org/broker-configuration-uri.html BrokerXmlConfig xbean:file:conf/activemq.xml - Requires xbean-spring.jar and dependencies ==== ServerUrl @@ -480,7 +480,7 @@ The thread prefix (suffixed with thread id). == ContextService -A concurrency utilities for JavaEE context service. It allows to create +A concurrency utilities for Jakarta EE context service. It allows to create contextual proxies (inheriting from security, classloader...contexts). Declarable in tomee.xml via diff --git a/docs/advanced/setup/index.adoc b/docs/advanced/setup/index.adoc index ce16c47999..f58a92b4cf 100644 --- a/docs/advanced/setup/index.adoc +++ b/docs/advanced/setup/index.adoc @@ -4,7 +4,7 @@ :jbake-status: published -You can use TomEE as described on link:../../admin/directory-structure.html[Directory Structure] page but in production it is better to +You can use TomEE as described on link:../../admin/file-layout.html[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): diff --git a/docs/advanced/shading/index.adoc b/docs/advanced/shading/index.adoc index dd3f0a0c49..3840f2577e 100644 --- a/docs/advanced/shading/index.adoc +++ b/docs/advanced/shading/index.adoc @@ -111,7 +111,7 @@ repositories { dependencies { compileOnly 'org.projectlombok:lombok:1.16.10' - compile 'org.apache.tomee:tomee-embedded:10.0.0-M1-SNAPSHOT' + compile 'org.apache.tomee:tomee-embedded:11.0.0-SNAPSHOT' } // customize exclusions depending your app @@ -228,7 +228,7 @@ Here how to do a fat war: <groupId>org.apache.tomee</groupId> <artifactId>tomee-embedded</artifactId> <classifier>${tomee.flavor}</classifier> - <version>7.0.0</version> + <version>11.0.0-SNAPSHOT</version> <scope>provided</scope> </dependency> </dependencies> diff --git a/docs/application-deployment-solutions.adoc b/docs/application-deployment-solutions.adoc index 692bcdb7e1..2e7dea4da3 100644 --- a/docs/application-deployment-solutions.adoc +++ b/docs/application-deployment-solutions.adoc @@ -87,6 +87,6 @@ If you are using a route to deploy/undeploy your applications you can have a look to the proposed camel-openejb component: * base code: -http://svn.apache.org/repos/asf/tomee/sandbox/camel/camel-openejb/ +svn.apache.org/repos/asf/tomee/sandbox/camel/camel-openejb/ * proposed to be added to camel: https://issues.apache.org/jira/browse/CAMEL-4935 diff --git a/docs/changing-jms-implementations.adoc b/docs/changing-jms-implementations.adoc index c7fe8d311b..3de8c67dfb 100644 --- a/docs/changing-jms-implementations.adoc +++ b/docs/changing-jms-implementations.adoc @@ -20,7 +20,7 @@ the License. ActiveMQ is the default JMS provider in Apache TomEE and OpenEJB. Changing JMS implementation is as simple as using that implementation's -Java EE Connector. The connector which will be a `.rar` file should be +Jakarta EE Connector. The connector which will be a `.rar` file should be bundled with the application in a `.ear` file. All JMS usage in that `.ear` will favor the JMS ConnectionFactory and Topic and Queue implementations that are configured in the `.rar` file rather than @@ -33,7 +33,7 @@ some options for wiring in an alternate implementation. If the JMS implementation does not have a Resource Archive (`.rar` file) that defines a compliant Resource Adapter, the -http://genericjmsra.java.net/[Generic Resource Adapter for JMS] should +Generic Resource Adapter for JMS should work fine. To use this Adapter in TomEE or OpenEJB you'll need to create a diff --git a/docs/common-datasource-configurations.adoc b/docs/common-datasource-configurations.adoc index 4bec8e6703..7c3ca3ce59 100644 --- a/docs/common-datasource-configurations.adoc +++ b/docs/common-datasource-configurations.adoc @@ -119,5 +119,5 @@ Internally, from TomEE 1.5.0, JDBC pools are managed via Tomcat-pool. You can still switch back to Apache Commons DBCP by adding the following property: DataSourceCreator dbcp. To get the full list of available configuration properties, have a look to -http://commons.apache.org/dbcp/configuration.html[Apache Commons DBCP +https://commons.apache.org/dbcp/configuration.html[Apache Commons DBCP configuration]. diff --git a/docs/configuring-datasources.adoc b/docs/configuring-datasources.adoc index 72072471be..40c7f82812 100644 --- a/docs/configuring-datasources.adoc +++ b/docs/configuring-datasources.adoc @@ -48,7 +48,7 @@ classpath attribute like so: <Resource> ---- -...Or in a http://maven.apache.org/[Maven] environment like so: +...Or in a https://maven.apache.org/[Maven] environment like so: [source,xml] ---- diff --git a/docs/configuring-logging-in-tests.adoc b/docs/configuring-logging-in-tests.adoc index 231c521c9f..87297c3e0f 100644 --- a/docs/configuring-logging-in-tests.adoc +++ b/docs/configuring-logging-in-tests.adoc @@ -112,8 +112,8 @@ log4j.appender.C.layout = org.apache.log4j.SimpleLayout Here is that file's location in svn as well as all the previous versions. Future versions will follow the same pattern. -* http://svn.apache.org/repos/asf/openejb/tags/openejb-3.1.1/container/openejb-core/src/main/resources/embedded.logging.properties -* http://svn.apache.org/repos/asf/openejb/tags/openejb-3.1/container/openejb-core/src/main/resources/embedded.logging.properties -* http://svn.apache.org/repos/asf/openejb/tags/openejb-3.0/container/openejb-core/src/main/resources/embedded.logging.properties -* http://svn.apache.org/repos/asf/openejb/tags/openejb-3.0-beta-2/container/openejb-core/src/main/resources/embedded.logging.properties -* http://svn.apache.org/repos/asf/openejb/tags/openejb-3.0-beta-1/container/openejb-core/src/main/resources/embedded.logging.properties +* svn.apache.org/repos/asf/openejb/tags/openejb-3.1.1/container/openejb-core/src/main/resources/embedded.logging.properties +* svn.apache.org/repos/asf/openejb/tags/openejb-3.1/container/openejb-core/src/main/resources/embedded.logging.properties +* svn.apache.org/repos/asf/openejb/tags/openejb-3.0/container/openejb-core/src/main/resources/embedded.logging.properties +* svn.apache.org/repos/asf/openejb/tags/openejb-3.0-beta-2/container/openejb-core/src/main/resources/embedded.logging.properties +* svn.apache.org/repos/asf/openejb/tags/openejb-3.0-beta-1/container/openejb-core/src/main/resources/embedded.logging.properties diff --git a/docs/contrib/debug/debug-intellij.adoc b/docs/contrib/debug/debug-intellij.adoc index 722f2e4f38..5da381af19 100644 --- a/docs/contrib/debug/debug-intellij.adoc +++ b/docs/contrib/debug/debug-intellij.adoc @@ -7,7 +7,7 @@ = Debugging an Apache TomEE App in Intellij IDEA -Stepping through the http://tomee.apache.org/apache-tomee.html[TomEE] +Stepping through the https://tomee.apache.org/apache-tomee.html[TomEE] source code is a must-to-follow step if you want to understand how TomEE works and later contribute. This is a guide to quickly start your debugging session with TomEE as a TomEE developer. @@ -26,7 +26,7 @@ bring your learning to a halt. So first start with the latest stable released source code. Move to trunk once you are ready to do some code modification on TomEE. -http://www.apache.org/dyn/closer.cgi/tomee/tomee-1.7.1/openejb-4.7.1-source-release.zip[Click +https://www.apache.org/dyn/closer.cgi/tomee/tomee-1.7.1/openejb-4.7.1-source-release.zip[Click here to download TomEE 1.7.1 Source code] == Build the Source Code @@ -52,7 +52,7 @@ clean install _________________________________________________________________________________________________________________________________________________ More details about building the product from the source can be found -http://tomee.apache.org/dev/source-code.html[here]. +https://tomee.apache.org/dev/source-code.html[here]. == Deploy TomEE diff --git a/docs/custom-injection.adoc b/docs/custom-injection.adoc index dd5b3901fb..1cfea7bf4f 100644 --- a/docs/custom-injection.adoc +++ b/docs/custom-injection.adoc @@ -6,8 +6,8 @@ = Overview -As noted in the link:injection-of-env-entry-example.html[Injection of -env-entry Example] , the EJB 3.0 supported env-entry types are fairly +As noted in the Injection of +env-entry Example, the EJB 3.0 supported env-entry types are fairly limited. Also the use of several tags in an `ejb-jar.xml` can get a bit verbose. @@ -26,8 +26,8 @@ See link:built-in-type-converters.html[Built-in Type Converters] for a full list of supported env-entry types. The source for this example is the "custom-injection" directory located -in the link:downloads.html[openejb-examples.zip] available on the -http://tomee.apache.org/downloads.html[download page]. +in the openejb-examples.zip available on the +https://tomee.apache.org/download-ng.html[download page]. = The Code diff --git a/docs/datasource-configuration-by-creator.adoc b/docs/datasource-configuration-by-creator.adoc index 45d7dbc208..d157ae44ec 100644 --- a/docs/datasource-configuration-by-creator.adoc +++ b/docs/datasource-configuration-by-creator.adoc @@ -19,8 +19,8 @@ Here are a more detailed list of accepted properties by creator. == DBCP2 (TomEE 7.x and 8.x) Note: details are at -http://tomee.apache.org/containers-and-resources.html (note: -http://commons.apache.org/proper/commons-dbcp/configuration.html uses +https://tomee.apache.org/containers-and-resources.html (note: +https://commons.apache.org/proper/commons-dbcp/configuration.html uses the latest version of DBCP but TomEE 1.7.x is not using this version). * AccessToUnderlyingConnectionAllowed @@ -120,7 +120,7 @@ Note: details are at https://tomcat.apache.org/tomcat-11.0-doc/jdbc-pool.html == DBCP2 (TomEE 7.x) Note: details are at -http://commons.apache.org/proper/commons-dbcp/configuration.html +https://commons.apache.org/proper/commons-dbcp/configuration.html * AccessToUnderlyingConnectionAllowed * ConnectionInitSqls diff --git a/docs/deamon/win-service.adoc b/docs/deamon/win-service.adoc index 3a52507ab4..6e3782d80f 100644 --- a/docs/deamon/win-service.adoc +++ b/docs/deamon/win-service.adoc @@ -140,4 +140,4 @@ a custom service name. The TomEE exe files are from the Apache Commons Daemon project. Full documentation for commons-daemon can be found here: -http://commons.apache.org/proper/commons-daemon/procrun.html +https://commons.apache.org/proper/commons-daemon/procrun.html diff --git a/docs/developer/json/index.adoc b/docs/developer/json/index.adoc index eabcdcd264..e49ec4039e 100644 --- a/docs/developer/json/index.adoc +++ b/docs/developer/json/index.adoc @@ -14,7 +14,7 @@ to unexpected JSON tree and some unexpected escaping too. == Getting started with Johnzon Mapper -http://johnzon.apache.org/ will get more information than this quick +https://johnzon.apache.org/ will get more information than this quick getting started but here are the basics of the mapping with Johnzon. The mapper uses a direct java to json representation. diff --git a/docs/developer/testing/other/index.adoc b/docs/developer/testing/other/index.adoc index a015f5f7a9..4afb50dcfe 100644 --- a/docs/developer/testing/other/index.adoc +++ b/docs/developer/testing/other/index.adoc @@ -6,7 +6,7 @@ == EJBContainer -The `EJBContainer` API is a JavaEE API enriched by some OpenEJB features to make the testing easier. +The `EJBContainer` API is a Jakarta EE 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. diff --git a/docs/ejb-over-ssl.adoc b/docs/ejb-over-ssl.adoc index 2840ee075a..d037d32303 100644 --- a/docs/ejb-over-ssl.adoc +++ b/docs/ejb-over-ssl.adoc @@ -17,7 +17,7 @@ Note, TomEE can be setup to support *ejbds*. First, you'll need to set up Tomcat (TomEE) with SSL as described here: -http://tomcat.apache.org/tomcat-11.0-doc/ssl-howto.html +https://tomcat.apache.org/tomcat-11.0-doc/ssl-howto.html Once that is done and the `tomee` webapp can be accessed with `https`, an EJB client can invoke over `https` using the following @@ -43,11 +43,11 @@ like connection reset, you'll have to set 'https.protocols' system property. 'https.protocols' property must be set according to the SSLProtocol parameter of the HTTPS connector configuration : -http://tomcat.apache.org/tomcat-11.0-doc/config/http.html +https://tomcat.apache.org/tomcat-11.0-doc/config/http.html You can also have a look at this : -http://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/faq/troubleshooting.html +https://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/faq/troubleshooting.html == ejbds @@ -102,7 +102,7 @@ To secure your connections against this sort of attack, your client can cryptographically prove it's talking to the correct server before sending any data. To do this, simply select one or more secure cipher suites that your J2SE provider supports from -http://docs.oracle.com/cd/E19728-01/820-2550/cipher_suites.html[this +https://docs.oracle.com/cd/E19728-01/820-2550/cipher_suites.html[this listing]. You must now instruct the client and server to use that suite. @@ -132,6 +132,5 @@ On the client, you must supply a property: The final piece is to make sure your server has available a private certificate that the client can trust. This can be certificate from an authority or a self-signed certificate. The javax.net.ssl.trustStore -and javax.net.ssl.keyStore JVM properties -http://fusesource.com/docs/broker/5.3/security/SSL-SysProps.html[are -used to set this up.] +and javax.net.ssl.keyStore JVM properties are +used to set this up. diff --git a/docs/ejbd-transport.adoc b/docs/ejbd-transport.adoc index 23ece1ae65..93c216b0b9 100644 --- a/docs/ejbd-transport.adoc +++ b/docs/ejbd-transport.adoc @@ -47,7 +47,7 @@ Remotely calling EJBs, independent of using Ejbd or other RMI/IIOP based protocols, involves serialization and deserialization of objects. Deserializing unknown content coming from an untrusted source imposes a security risk as the stream could be manipulated. A much publicized -http://www.kb.cert.org/vuls/id/576313[vulnerability] was found in the +https://www.kb.cert.org/vuls/id/576313[vulnerability] was found in the commons-collections library which allowed to remotely execute arbitrary code simply by deserializing instances of the class `InvokerTransformer`. diff --git a/docs/functional-testing-with-openejb,-jetty-and-selenium.adoc b/docs/functional-testing-with-openejb,-jetty-and-selenium.adoc index dbbfcace6d..f4bea9e81c 100644 --- a/docs/functional-testing-with-openejb,-jetty-and-selenium.adoc +++ b/docs/functional-testing-with-openejb,-jetty-and-selenium.adoc @@ -15,7 +15,7 @@ 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 -http://people.apache.org/~jgallimore/PersonApp.zip[here] . +here. == Creating an embedded server @@ -231,7 +231,7 @@ public class AddPersonTest extends FunctionalTestCase { == Sample code I've made a sample project which demonstrates this, source is available -http://people.apache.org/~jgallimore/PersonApp.zip[here] . You'll need +here. You'll need Maven to build it, and you can build it and run the tests by running 'mvn clean install'. If you want to run the tests from your IDE, you'll need to have a Selenium server running, which you can do by running 'mvn diff --git a/docs/installation-drop-in-war.adoc b/docs/installation-drop-in-war.adoc index f578c91d16..864946dd7d 100644 --- a/docs/installation-drop-in-war.adoc +++ b/docs/installation-drop-in-war.adoc @@ -24,10 +24,10 @@ bundle. This guide provides a set of step-by-step instructions to this approach. Please note that TomEE 1.7.x does not recommend Tomcat versions less than 7.0.54. Tomcat 8 is not currently supported in the released version, but you can check out the developer branch to see -progress link:dev/source-code.html[here]. +progress here. * Download the Apache Tomcat 7.0.55 server. -http://tomcat.apache.org/download-70.cgi +https://tomcat.apache.org/download-70.cgi * Unzip the Tomcat distribution file. * Update $CATALINA_HOME/conf/tomcat-users.xml to add a tomee user to allow access to the installer page. @@ -47,9 +47,5 @@ tomee-webapp-plus-1.7.1.war (for the plus version). * Go to the TomEE installer webapp (http://localhost:8080/tomee/) and login with the user you added to tomcat-users.xml. * Verify the values and click "Confirm". - -image:http://people.apache.org/~tveronezi/tomee/tomee_site/tomee_installer.png[alt -text] - * Restart Tomcat. * Your TomEE installation is now complete! diff --git a/docs/installation.adoc b/docs/installation.adoc index 1baee09c9a..c0dba0e922 100644 --- a/docs/installation.adoc +++ b/docs/installation.adoc @@ -9,23 +9,15 @@ Installation is easiest from an update site. In Eclipse, select Help, Software Updates, Find and install... -!http://jrg.me.uk/openejb/install_step_1.jpg! - Select 'Search for new features to install' -!http://jrg.me.uk/openejb/install_step_2.jpg! - -Select 'New Remote site'. Enter 'OpenEJB' for the name and -http://people.apache.org/~jgallimore/update-site/ for the URL. Click +Select 'New Remote site'. Enter 'OpenEJB' for the name and the +OpenEJB update-site URL. Click 'Ok' and make sure your new update site is selected. Then select 'Finish' -!http://jrg.me.uk/openejb/install_step_3.jpg! - Check the box to install the OpenEJB feature. Click 'Next' -!http://jrg.me.uk/openejb/install_step_4.jpg! - Read and make sure you're happy with the license agreement. Check the installation location, and change it if you wish to. Select diff --git a/docs/installing-tomee.adoc b/docs/installing-tomee.adoc index 477efbf7cc..d9eb68f159 100644 --- a/docs/installing-tomee.adoc +++ b/docs/installing-tomee.adoc @@ -20,7 +20,7 @@ License. == Downloading a Distribution Archive Download a distribution archive of the latest TomEE release from the -link:download-ng.html[Downloads] page. If you are not sure which one to +https://tomee.apache.org/download-ng.html[Downloads] page. If you are not sure which one to use, take apache-tomee-webprofile-x.y.z.zip. If you want to try out the latest development snapshot (e.g. to test a @@ -94,4 +94,4 @@ simply type `Ctrl-C`. == Running as a service -To run TomEE as a service, see link:lin-service.html for Linux, and link:win-service.html for Windows. \ No newline at end of file +To run TomEE as a service, see link:deamon/lin-service.html[Linux service] for Linux, and link:deamon/win-service.html[Windows service] for Windows. \ No newline at end of file diff --git a/docs/jms-resources-and-mdb-container.adoc b/docs/jms-resources-and-mdb-container.adoc index 877c313c62..c3fdacbae6 100644 --- a/docs/jms-resources-and-mdb-container.adoc +++ b/docs/jms-resources-and-mdb-container.adoc @@ -90,7 +90,7 @@ and is therefore not included in the distribution by default. This is purley due to the fact that this ActiveMQ file format is parsed using Spring libraries and this is beyond our control. However, the advantage is opening up the door to the huge number of configuration options -available found here: http://activemq.apache.org/xml-configuration.html. +available found here: https://activemq.apache.org/xml-configuration.html. This support can be enabled by adding the right libraries and creating an link:activemq.xml[`[tomee]/conf/activemq.xml`] file (Click the link @@ -98,11 +98,11 @@ for a basic example). Add the following jars to the `tomee/lib/` directory: -* http://repo1.maven.org/maven2/org/springframework/spring-beans/3.2.9.RELEASE/spring-beans-3.2.9.RELEASE.jar[spring-beans-3.2.9.RELEASE.jar] -* http://repo1.maven.org/maven2/org/springframework/spring-context/3.2.9.RELEASE/spring-context-3.2.9.RELEASE.jar[spring-context-3.2.9.RELEASE.jar] -* http://repo1.maven.org/maven2/org/springframework/spring-core/3.2.9.RELEASE/spring-core-3.2.9.RELEASE.jar[spring-core-3.2.9.RELEASE.jar] -* http://repo1.maven.org/maven2/org/springframework/spring-web/3.2.9.RELEASE/spring-web-3.2.9.RELEASE.jar[spring-web-3.2.9.RELEASE.jar] -* http://repo1.maven.org/maven2/org/apache/xbean/xbean-spring/3.2.9.RELEASE/xbean-spring-3.9.jar[xbean-spring-3.9.jar] +* https://repo1.maven.org/maven2/org/springframework/spring-beans/3.2.9.RELEASE/spring-beans-3.2.9.RELEASE.jar[spring-beans-3.2.9.RELEASE.jar] +* https://repo1.maven.org/maven2/org/springframework/spring-context/3.2.9.RELEASE/spring-context-3.2.9.RELEASE.jar[spring-context-3.2.9.RELEASE.jar] +* https://repo1.maven.org/maven2/org/springframework/spring-core/3.2.9.RELEASE/spring-core-3.2.9.RELEASE.jar[spring-core-3.2.9.RELEASE.jar] +* https://repo1.maven.org/maven2/org/springframework/spring-web/3.2.9.RELEASE/spring-web-3.2.9.RELEASE.jar[spring-web-3.2.9.RELEASE.jar] +* https://repo1.maven.org/maven2/org/apache/xbean/xbean-spring/3.2.9.RELEASE/xbean-spring-3.9.jar[xbean-spring-3.9.jar] Later versions should work, but have not been tested. diff --git a/docs/jpa-usage.adoc b/docs/jpa-usage.adoc index f195d9f1e5..e700fb5287 100644 --- a/docs/jpa-usage.adoc +++ b/docs/jpa-usage.adoc @@ -45,4 +45,4 @@ reattach your object. 1. Use PersistenceContextType.EXTENDED as in PersistenceContextType.EXTENDED)' for EntityManager refs instead of the default of PersistenceContextType.TRANSACTION. 1. If testing, use a technique to execute transactions in your test code. That's described -here in link:unit-testing-transactions.html[Unit testing transactions] +here in Unit testing transactions diff --git a/docs/maven.adoc b/docs/maven.adoc index b06eb62f90..44ceb357fe 100644 --- a/docs/maven.adoc +++ b/docs/maven.adoc @@ -8,36 +8,36 @@ Information This page is intended to provide an insight into basic -http://maven.apache.org/[Maven] usage for users that are not all that -familiar with http://maven.apache.org/[Maven] projects. It is by no +https://maven.apache.org/[Maven] usage for users that are not all that +familiar with https://maven.apache.org/[Maven] projects. It is by no means a tutorial and is designed to be more of a _quickstart_ to get you up and running. -You can find a really good http://maven.apache.org/[Maven] tutorial -here: http://books.sonatype.com/mvnex-book/reference/public-book.html +You can find a really good https://maven.apache.org/[Maven] tutorial +here: the Sonatype "Maven by Example" book. It is assumed that: -* You have downloaded and installed http://maven.apache.org/[Maven] and +* You have downloaded and installed https://maven.apache.org/[Maven] and that you can run *mvn --version* from any command prompt (or console). * You have downloaded and installed -http://subversion.apache.org/[Subversion] and that you can run *svn +https://subversion.apache.org/[Subversion] and that you can run *svn --version* from any command prompt or console. It is also assumed you have downloaded one of the following: * One of the example projects from -link:[http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples] +https://github.com/apache/tomee/tree/main/examples * The entire project source from -http://svn.apache.org/repos/asf/tomee/tomee/trunk +https://github.com/apache/tomee -Use http://subversion.apache.org/[Subversion] to check out the example +Use https://git-scm.com/[Git] to check out the example sources from a console like so: [source,bash] ---- -svn co http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/[example] - +git clone https://github.com/apache/tomee.git + ---- Or that you may of course also be using your own project pom.xml @@ -51,7 +51,7 @@ pom.xml and ensure the following repository exists: <repository> <id>apache-m2-snapshot</id> <name>Apache M2 Snapshot Repository</name> - <url>http://repository.apache.org/snapshots/</url> + <url>https://repository.apache.org/snapshots/</url> <releases> <enabled>false</enabled> </releases> diff --git a/docs/openejb-eclipse-plugin.adoc b/docs/openejb-eclipse-plugin.adoc index 820f3f384a..b6d713a32f 100644 --- a/docs/openejb-eclipse-plugin.adoc +++ b/docs/openejb-eclipse-plugin.adoc @@ -16,7 +16,7 @@ Additionally, the plugin also provides the capability to read an add the corresponding EJB 3 annotations to your code automatically. link:installation.html[Installation] -link:building-from-source.html[Building from source] +Building from source link:generating-ejb-3-annotations.html[Generating EJB 3 annotations] link:running-a-standalone-openejb-server.html[Running a standalone OpenEJB server] diff --git a/docs/properties-listing.adoc b/docs/properties-listing.adoc index 1821d3ae44..045e819117 100644 --- a/docs/properties-listing.adoc +++ b/docs/properties-listing.adoc @@ -582,8 +582,8 @@ arquillian) + Note: all resources can be configured by properties, see -http://tomee.apache.org/embedded-configuration.html and -http://tomee.apache.org/properties-tool.html +https://tomee.apache.org/embedded-configuration.html and +https://tomee.apache.org/properties-tool.html == OpenEJB client diff --git a/docs/provisioning.adoc b/docs/provisioning.adoc index c4d9debbbf..64b9ff6cf7 100644 --- a/docs/provisioning.adoc +++ b/docs/provisioning.adoc @@ -98,5 +98,5 @@ Another way to install it with tomee is to edit or create the file [source,properties] ---- -zip=http://repo1.maven.org/maven2/org/apache/openejb/openejb-provisionning/<version>/openejb-provisionning-<version>.zip +zip=https://repo1.maven.org/maven2/org/apache/openejb/openejb-provisionning/<version>/openejb-provisionning-<version>.zip ---- diff --git a/docs/resource-injection.adoc b/docs/resource-injection.adoc index b28857a601..c36c468303 100644 --- a/docs/resource-injection.adoc +++ b/docs/resource-injection.adoc @@ -34,8 +34,8 @@ 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 +$ git clone https://github.com/apache/tomee.git +$ cd tomee/examples/injection-of-env-entry __________________________________________________________________________________________ To run it change your working directory to the directory diff --git a/docs/running-a-standalone-openejb-server.adoc b/docs/running-a-standalone-openejb-server.adoc index 08180e0048..c0c5bff9fb 100644 --- a/docs/running-a-standalone-openejb-server.adoc +++ b/docs/running-a-standalone-openejb-server.adoc @@ -16,63 +16,39 @@ up a runtime. To set up a new runtime, click on Window, Preferences, and select Installed Runtimes under the Server category. Click the Add button. -image:http://people.apache.org/~jgallimore/images/server_step_4.jpg[http://people.apache.org/~jgallimore/images/server_step_4.jpg] - Select OpenEJB 3.0.0 from the Apache category, and click next. If you choose to 'also create a new server' on this panel, you can add a server straight after configuring the runtime. -image:http://people.apache.org/~jgallimore/images/server_step_5.jpg[http://people.apache.org/~jgallimore/images/server_step_5.jpg] - Browse to, or enter the path to your copy of OpenEJB. Click on Finish. = Configuring the OpenEJB Server Open the Servers view (if it isn't already), and right click and select New->Server. -image:http://people.apache.org/~jgallimore/images/server_step_8.jpg[http://people.apache.org/~jgallimore/images/server_step_8.jpg] - Select OpenEJB 3.0.0 from the Apache category, ensure you have the OpenEJB runtime selected, and click Next. -image:http://people.apache.org/~jgallimore/images/server_step_9.jpg[http://people.apache.org/~jgallimore/images/server_step_9.jpg] - Select the EJB port for the server, and select Finish. -image:http://people.apache.org/~jgallimore/images/server_step_10.jpg[http://people.apache.org/~jgallimore/images/server_step_10.jpg] - = Deploying a project In order to deploy your project to an OpenEJB server in Eclipse, your project must be a Java EE project, with the EJB facet enabled. If your project doesn't have the Faceted nature, you can use the OpenEJB plugin to add it. Simply select OpenEJB->Add Faceted Nature from the menu bar. -image:http://people.apache.org/~jgallimore/images/server_step_1.jpg[http://people.apache.org/~jgallimore/images/server_step_1.jpg] - To add the EJB facet, right-click on the project in the navigator, and select Properties. Select Project Facets on the left hand side. Click on the Modify Project button. -image:http://people.apache.org/~jgallimore/images/server_step_2.jpg[http://people.apache.org/~jgallimore/images/server_step_2.jpg] - Select the EJB Module facet, and the Java Facet. Remember to select your OpenEJB runtime too. Click Next. -image:http://people.apache.org/~jgallimore/images/server_step_6.jpg[http://people.apache.org/~jgallimore/images/server_step_6.jpg] - Enter the source folder for the EJBs in your project and click Finish. -image:http://people.apache.org/~jgallimore/images/server_step_6.jpg[http://people.apache.org/~jgallimore/images/server_step_7.jpg] - Now right-click on your OpenEJB server in the servers view, and select Add and Remove Projects. -image:http://people.apache.org/~jgallimore/images/server_step_11.jpg[http://people.apache.org/~jgallimore/images/server_step_11.jpg] - Add your project to the server, and click Finish. -image:http://people.apache.org/~jgallimore/images/server_step_12.jpg[http://people.apache.org/~jgallimore/images/server_step_12.jpg] - To start the server, right-click on your OpenEJB server, and select Start. - -image:http://people.apache.org/~jgallimore/images/server_step_13.jpg[http://people.apache.org/~jgallimore/images/server_step_13.jpg] diff --git a/docs/security.adoc b/docs/security.adoc index 56330c663c..946aba0925 100644 --- a/docs/security.adoc +++ b/docs/security.adoc @@ -39,8 +39,8 @@ against, you can set the _openejb.authentication.realmName_ property to any of the configured realm names in _login.config_. If you don't specify a realm name, the default (currently _PropertiesLogin_) is used. For examples and more information on JAAS configuration, see the -http://java.sun.com/javase/6/docs/technotes/guides/security/jaas/JAASRefGuide.html[JAAS -Reference Guide] . +JAAS +Reference Guide . == PropertiesLoginModule @@ -82,7 +82,7 @@ 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 -http://java.sun.com/javase/6/docs/technotes/guides/jdbc/[JDBC Guide] +JDBC Guide The _userSelect_ query must return a two-column list of user names (column 1) and passwords (column 2). This query should normally return a @@ -190,8 +190,8 @@ LoginModule, but you would have to supply your clients with your own way to authenticate to it and write a strategy for telling the OpenEJB client what data to send to the server with each invocation request. See the -http://java.sun.com/javase/6/docs/technotes/guides/security/jaas/JAASLMDevGuide.html[JAAS -LoginModule Developer's Guide] for more information. +JAAS +LoginModule Developer's Guide for more information. * _Client IdentityResolver_. This is the just mentioned interface you would have to implement to supply the OpenEJB client with alternate data to send to the server with each invocation request. If you're plugging diff --git a/docs/ssh.adoc b/docs/ssh.adoc index 2cc95f4167..fcad99b2e4 100644 --- a/docs/ssh.adoc +++ b/docs/ssh.adoc @@ -13,7 +13,7 @@ It can be very useful to connect to the server to get some information. === Solution -For such a case OpenEJB/TomEE proposes to start with the Java EE server +For such a case OpenEJB/TomEE proposes to start with the Jakarta EE server an SSH server. Currently, the security is based on JAAS (see how to configure JAAS for TomEE for more information about it). diff --git a/docs/tip-jersey-client.adoc b/docs/tip-jersey-client.adoc index 48aacadeb3..0263e643ec 100644 --- a/docs/tip-jersey-client.adoc +++ b/docs/tip-jersey-client.adoc @@ -22,7 +22,7 @@ that should not be deployed as part of a javaEE application. For example, it contains jakarta.ws.rs.Path but does not contain jakarta.ws.rs.core.Configurable, so the jar is usually ignored by TomEE. -You could switch to using the http://cxf.apache.org/[Apache CXF Client], +You could switch to using the https://cxf.apache.org/[Apache CXF Client], which is what we would recommend. If you really want to keep Jersey then you can use set the following property in your _[TomEE].properties_ diff --git a/docs/tomee-and-eclipse.adoc b/docs/tomee-and-eclipse.adoc index a4e14ae229..d105537620 100644 --- a/docs/tomee-and-eclipse.adoc +++ b/docs/tomee-and-eclipse.adoc @@ -137,4 +137,4 @@ is to add these properties manually: ---- More information on: -http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_JULI_logging_in_a_Tomcat_5.5_Server_instance.3F +https://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_JULI_logging_in_a_Tomcat_5.5_Server_instance.3F diff --git a/docs/tomee-and-intellij.adoc b/docs/tomee-and-intellij.adoc index 833ab58a6d..d57f011aa3 100644 --- a/docs/tomee-and-intellij.adoc +++ b/docs/tomee-and-intellij.adoc @@ -34,49 +34,23 @@ feedback is a critical part of that. == Getting Started We will use one of the existing -https://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/[examples] +https://github.com/apache/tomee/tree/main/examples[examples] for this demo. Let's import it. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_01.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_02.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_03.png[alt -text] Give a minute while Intellij imports the dependencies. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_04.png[alt -text] It's time to run the application. Open "Edit Configurations". -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_05.png[alt -text] Click the "+" icon and select "TomEE Server" and "Local". -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_06.png[alt -text] If your server is still not configured, click the "Configure" button and point it to your local TomEE installation. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_07.png[alt -text] If you see a warning message like "No artifacts marked for deployment", click the "Fix" button and select one of the options. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_08.png[alt -text] You can change the "Application Context". -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_09.png[alt -text] Now you can run it. Click the "play" button. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_10.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_11.png[alt -text] Your application is up and running. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_12.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/intellij_integration/windows8_13.png[alt -text] diff --git a/docs/tomee-and-netbeans.adoc b/docs/tomee-and-netbeans.adoc index 10fb059bff..1fcec1f799 100644 --- a/docs/tomee-and-netbeans.adoc +++ b/docs/tomee-and-netbeans.adoc @@ -48,60 +48,19 @@ https://netbeans.org/community/releases/80/ Here is a quick run through on how to set up TomEE. We will use one of the existing examples for this demo. Let's import it. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_01.png[Subversion -Checkout] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_02.png[Subversion -URL] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_03.png[Local -Project] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_04.png[alt -text] - Click 'Open Project'. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_05.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_06.png[alt -text] - It's time to add our local TomEE server. Click 'Tools' and then 'Servers'. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_07.png[alt -text] - Select 'Apache Tomcat'. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_08.png[alt -text] - Select your local TomEE directory. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_09.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_10.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_11.png[alt -text] - It's time to run it. Click the play button. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_12.png[alt -text] - Select 'Apache Tomcat'. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_13.png[alt -text] - Give it some time. It's building your application. -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_14.png[alt -text] - Done. Your server is up and running. - -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_15.png[alt -text] -image:http://people.apache.org/~tveronezi/tomee/tomee_site/netbeans_integration/windows8_16.png[alt -text] diff --git a/docs/tomee-and-security.adoc b/docs/tomee-and-security.adoc index a39921e7eb..6480dc0758 100644 --- a/docs/tomee-and-security.adoc +++ b/docs/tomee-and-security.adoc @@ -23,7 +23,7 @@ is supported, or you can provide your own security module using the login.config file. For example, to add some simple security to the -http://tomee.apache.org/examples-trunk/webapps/moviefun/README.html[moviefun +https://github.com/apache/tomee/tree/main/examples/moviefun[moviefun application] , all we would need to do is: [arabic] diff --git a/docs/tomee-logging-in-eclipse.adoc b/docs/tomee-logging-in-eclipse.adoc index a0b6533e0b..1c3a48ce35 100644 --- a/docs/tomee-logging-in-eclipse.adoc +++ b/docs/tomee-logging-in-eclipse.adoc @@ -16,4 +16,4 @@ is to add these properties manually: ---- More information on: -http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_JULI_logging_in_a_Tomcat_5.5_Server_instance.3F +https://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_JULI_logging_in_a_Tomcat_5.5_Server_instance.3F diff --git a/docs/tomee-mp-getting-started.adoc b/docs/tomee-mp-getting-started.adoc index 5db3a452cb..87c7be1fe5 100644 --- a/docs/tomee-mp-getting-started.adoc +++ b/docs/tomee-mp-getting-started.adoc @@ -10,14 +10,14 @@ If you already have a maven project set up then just add the plugin as described link:maven/index.html[here] -You will likely need the full Java EE API added to your pom file: +You will likely need the full Jakarta EE API added to your pom file: [source,xml] ---- <dependency> <groupId>org.apache.tomee</groupId> <artifactId>jakartaee-api</artifactId> - <version>9.xxx</version> + <version>11.0.0-SNAPSHOT</version> <scope>provided</scope> </dependency> ---- diff --git a/docs/transaction-annotations.adoc b/docs/transaction-annotations.adoc index 12efe7aca9..0dbcddd9c9 100644 --- a/docs/transaction-annotations.adoc +++ b/docs/transaction-annotations.adoc @@ -5,7 +5,7 @@ :jbake-status: published -_Also see link:testing-transactions-example.html[Testing Transactions] +_Also see Testing Transactions for an example of how to use and test EJB transaction attributes_ The _jakarta.ejb.TransactionAttribute_ annotation (`@TransactionAttribute`) diff --git a/docs/unix-daemon.adoc b/docs/unix-daemon.adoc index d2092105eb..dfcbb1215b 100644 --- a/docs/unix-daemon.adoc +++ b/docs/unix-daemon.adoc @@ -6,8 +6,8 @@ Apache TomEE can be run as a daemon using the -http://commons.apache.org/daemon/jsvc.html[jsvc] tool from the -http://commons.apache.org/daemon[Apache Commons Daemon] project. +https://commons.apache.org/daemon/jsvc.html[jsvc] tool from the +https://commons.apache.org/daemon[Apache Commons Daemon] project. Source tarballs for `jsvc` are included with Tomcat and therefore can be found in TomEE as well. These need to be compiled before jsvc can be @@ -155,4 +155,4 @@ Note on OSX, `$JAVA_HOME` should be set to See also the full Apache Commons Daemon documentation for jsvc. -* http://commons.apache.org/daemon/jsvc.html +* https://commons.apache.org/daemon/jsvc.html
