From 7de01c437ae2e47a298aad1a8f49e3e019520049 Mon Sep 17 00:00:00 2001 From: Sande Gilda Date: Fri, 19 Jan 2018 11:19:05 -0500 Subject: [PATCH] JBEAP-14084: Create shared content - Start the servers --- README.adoc | 10 ++-- app-client/README.adoc | 18 +++---- batch-processing/README.adoc | 23 ++++----- bean-validation-custom-constraint/README.adoc | 22 ++++----- bean-validation/README.adoc | 24 ++++----- bmt/README.adoc | 29 +++++------ cmt/README.adoc | 25 ++++------ contacts-jquerymobile/README.adoc | 26 +++------- ejb-asynchronous/README.adoc | 17 +++---- ejb-in-ear/README.adoc | 17 +++---- ejb-in-war/README.adoc | 18 +++---- ejb-multi-server/README.adoc | 4 +- ejb-remote/README.adoc | 19 +++---- ejb-security-context-propagation/README.adoc | 4 +- ejb-security-jaas/README.adoc | 4 +- ejb-security-programmatic-auth/README.adoc | 4 +- ejb-security/README.adoc | 4 +- ejb-throws-exception/README.adoc | 18 +++---- ejb-timer/README.adoc | 18 +++---- greeter/README.adoc | 19 +++---- ha-singleton-deployment/README.adoc | 6 ++- ha-singleton-service/README.adoc | 6 ++- helloworld-html5/README.adoc | 18 +++---- helloworld-jms/README.adoc | 4 +- helloworld-mbean/README.adoc | 18 +++---- .../README.adoc | 4 +- helloworld-mdb/README.adoc | 17 +++---- helloworld-mutual-ssl-secured/README.adoc | 4 +- helloworld-mutual-ssl/README.adoc | 4 +- helloworld-rs/README.adoc | 18 +++---- helloworld-singleton/README.adoc | 17 +++---- helloworld-ssl/README.adoc | 2 + helloworld-ws/README.adoc | 18 +++---- helloworld/README.adoc | 18 +++---- hibernate/README.adoc | 25 +++++----- inter-app/README.adoc | 18 +++---- jaxrs-client/README.adoc | 18 +++---- jaxws-addressing/README.adoc | 18 +++---- jaxws-ejb/README.adoc | 18 +++---- jaxws-pojo/README.adoc | 18 +++---- jaxws-retail/README.adoc | 18 +++---- jsonp/README.adoc | 18 +++---- jta-crash-rec/README.adoc | 26 ++++------ jts-distributed-crash-rec/README.adoc | 4 +- jts/README.adoc | 9 ++-- kitchensink-angularjs/README.adoc | 18 +++---- kitchensink-ear/README.adoc | 23 ++++----- kitchensink-jsp/README.adoc | 23 ++++----- kitchensink-ml/README.adoc | 23 ++++----- kitchensink/README.adoc | 23 ++++----- logging-tools/README.adoc | 17 +++---- logging/README.adoc | 21 +++----- mail/README.adoc | 4 +- managed-executor-service/README.adoc | 24 ++++----- messaging-clustering-singleton/README.adoc | 49 ++++++------------- messaging-clustering/README.adoc | 22 ++++----- numberguess/README.adoc | 18 +++---- payment-cdi-event/README.adoc | 18 +++---- resteasy-jaxrs-client/README.adoc | 1 + servlet-async/README.adoc | 18 +++---- servlet-filterlistener/README.adoc | 19 +++---- servlet-security/README.adoc | 8 ++- shared-doc/start-server-default-profile.adoc | 22 +++++++++ shared-doc/start-server-full-ha-profile.adoc | 22 +++++++++ shared-doc/start-server-full-profile.adoc | 22 +++++++++ shared-doc/start-server-managed-domain.adoc | 12 +++++ shopping-cart/README.adoc | 4 +- shrinkwrap-resolver/README.adoc | 18 +++---- spring-greeter/README.adoc | 18 +++---- spring-kitchensink-basic/README.adoc | 18 +++---- spring-kitchensink-springmvctest/README.adoc | 18 +++---- spring-petclinic/README.adoc | 18 +++---- spring-resteasy/README.adoc | 18 +++---- tasks-jsf/README.adoc | 25 +++++----- tasks-rs/README.adoc | 23 ++++----- tasks/README.adoc | 24 ++++----- temperature-converter/README.adoc | 17 +++---- template/README.adoc | 29 +++++++++-- thread-racing/README.adoc | 4 ++ websocket-client/README.adoc | 18 +++---- websocket-endpoint/README.adoc | 19 +++---- websocket-hello/README.adoc | 18 +++---- wsat-simple/README.adoc | 3 ++ .../README.adoc | 2 + .../README.adoc | 4 +- xml-jaxp/README.adoc | 18 +++---- 86 files changed, 648 insertions(+), 742 deletions(-) create mode 100644 shared-doc/start-server-default-profile.adoc create mode 100644 shared-doc/start-server-full-ha-profile.adoc create mode 100644 shared-doc/start-server-full-profile.adoc create mode 100644 shared-doc/start-server-managed-domain.adoc diff --git a/README.adoc b/README.adoc index c999dcff25..01b9e5f6fe 100644 --- a/README.adoc +++ b/README.adoc @@ -52,7 +52,7 @@ NOTE: Some of these quickstarts use the H2 database included with {productName}. | link:batch-processing/README{outfilesuffix}[batch-processing]|CDI, Batch 1.0, JSF | The `batch-processing` quickstart shows how to use chunk oriented batch jobs to import a file to a database. | Intermediate | _none_ | link:bean-validation/README{outfilesuffix}[bean-validation]|CDI, JPA, BV | The `bean-validation` quickstart provides Arquillian tests to demonstrate how to use CDI, JPA, and Bean Validation. | Beginner | _none_ | link:bean-validation-custom-constraint/README{outfilesuffix}[bean-validation-custom-constraint]|CDI, JPA, BV | The `bean-validation-custom-constraint` quickstart demonstrates how to use the Bean Validation API to define custom constraints and validators. | Beginner | _none_ -| link:bmt/README{outfilesuffix}[bmt]|EJB, BMT | null | Intermediate | _none_ +| link:bmt/README{outfilesuffix}[bmt]|EJB, BMT | The `bmt` quickstart demonstrates Bean-Managed Transactions (BMT), showing how to manually manage transaction demarcation while accessing JPA entities. | Intermediate | _none_ | link:cmt/README{outfilesuffix}[cmt]|EJB, CMT, JMS | The `cmt` quickstart demonstrates Container-Managed Transactions (CMT), showing how to use transactions managed by the container. | Intermediate | _none_ | link:contacts-jquerymobile/README{outfilesuffix}[contacts-jquerymobile]|jQuery Mobile, jQuery, JavaScript, HTML5, REST | The `contacts-jquerymobile` quickstart demonstrates a Java EE 7 mobile database application using HTML5, jQuery Mobile, JAX-RS, JPA, and REST. | Beginner | _none_ | link:deltaspike-authorization/README{outfilesuffix}[deltaspike-authorization]|JSF, CDI, Deltaspike | Demonstrate the creation of a custom authorization example using @SecurityBindingType from DeltaSpike | Beginner | _none_ @@ -97,7 +97,7 @@ NOTE: Some of these quickstarts use the H2 database included with {productName}. | link:jaxws-retail/README{outfilesuffix}[jaxws-retail]|JAX-WS | The `jaxws-retail` quickstart is a working example of a simple web service endpoint. | Beginner | _none_ | link:jsonp/README{outfilesuffix}[jsonp]|CDI, JSF, JSON-P | The `jsonp` quickstart demonstrates how to use the JSON-P API to produce object-based structures and then parse and consume them as stream-based JSON strings. | Beginner | _none_ | link:jta-crash-rec/README{outfilesuffix}[jta-crash-rec]|JTA, Crash Recovery | The `jta-crash-rec` quickstart uses JTA and Byteman to show how to code distributed (XA) transactions in order to preserve ACID properties on server crash. | Advanced | _none_ -| link:jts/README{outfilesuffix}[jts]|JTS, EJB, JMS | null | Intermediate | link:cmt/README{outfilesuffix}[cmt] +| link:jts/README{outfilesuffix}[jts]|JTS, EJB, JMS | The `jts` quickstart shows how to use JTS to perform distributed transactions across multiple containers, fulfilling the properties of an ACID transaction. | Intermediate | link:cmt/README{outfilesuffix}[cmt] | link:jts-distributed-crash-rec/README{outfilesuffix}[jts-distributed-crash-rec]|JTS, Crash Recovery | The `jts-distributed-crash-rec` quickstart uses JTS and Byteman to demonstrate distributed crash recovery across multiple application servers. | Advanced | link:jts/README{outfilesuffix}[jts] | link:kitchensink/README{outfilesuffix}[kitchensink]|CDI, JSF, JPA, EJB, JAX-RS, BV | The `kitchensink` quickstart demonstrates a Java EE 7 web-enabled database application using JSF, CDI, EJB, JPA, and Bean Validation. | Intermediate | _none_ | link:kitchensink-angularjs/README{outfilesuffix}[kitchensink-angularjs]|AngularJS, CDI, JPA, EJB, JPA, JAX-RS, BV | The `kitchensink-angularjs` quickstart demonstrates a Java EE 7 application using AngularJS with JAX-RS, CDI, EJB, JPA, and Bean Validation. | Intermediate | _none_ @@ -110,7 +110,7 @@ NOTE: Some of these quickstarts use the H2 database included with {productName}. | link:logging-tools/README{outfilesuffix}[logging-tools]|JBoss Logging Tools | The `logging-tools` quickstart shows how to use JBoss Logging Tools to create internationalized loggers, exceptions, and messages and localize them. | Beginner | _none_ | link:mail/README{outfilesuffix}[mail]|JavaMail, CDI, JSF | The `mail` quickstart demonstrates how to send email using CDI and JSF and the default Mail provider that ships with {productName}. | Beginner | _none_ | link:managed-executor-service/README{outfilesuffix}[managed-executor-service]|EE Concurrency Utilities, JAX-RS, JAX-RS Client API | The `managed-executor-service` quickstart demonstrates how Java EE applications can submit tasks for asynchronous execution. | Beginner | _none_ -| link:messaging-clustering/README{outfilesuffix}[messaging-clustering]|JMS, MDB | null | Intermediate | link:helloworld-mdb/README{outfilesuffix}[helloworld-mdb] +| link:messaging-clustering/README{outfilesuffix}[messaging-clustering]|JMS, MDB | The `messaging-clustering` quickstart does not contain any code and instead uses the `helloworld-mdb` quickstart to demonstrate clustering using ActiveMQ Messaging. | Intermediate | link:helloworld-mdb/README{outfilesuffix}[helloworld-mdb] | link:messaging-clustering-singleton/README{outfilesuffix}[messaging-clustering-singleton]|JMS, MDB, Clustering | The `messaging-clustering-singleton` quickstart uses a JMS topic and a queue to demonstrate clustering using {productName} messaging with MDB singleton configuration where only one node in the cluster will be active. | Advanced | _none_ | link:numberguess/README{outfilesuffix}[numberguess]|CDI, JSF | The `numberguess` quickstart demonstrates the use of CDI (Contexts and Dependency Injection) and JSF (JavaServer Faces) in {productName}. | Beginner | _none_ | link:payment-cdi-event/README{outfilesuffix}[payment-cdi-event]|CDI, JSF | The `payment-cdi-event` quickstart demonstrates how to create credit and debit CDI Events in {productName}, using a JSF front-end client. | Beginner | _none_ @@ -127,8 +127,8 @@ NOTE: Some of these quickstarts use the H2 database included with {productName}. | link:spring-petclinic/README{outfilesuffix}[spring-petclinic]|JPA, Junit, JMX, Spring MVC Annotations, AOP, Spring Data, JSP, webjars, Dandellion | The `spring-petclinic` quickstart shows how to run the Spring PetClinic Application in {productName} using the {productName} BOMs. | Advanced | _none_ | link:spring-resteasy/README{outfilesuffix}[spring-resteasy]|Resteasy, Spring | The `spring-resteasy` quickstart demonstrates how to package and deploy a web application that includes resteasy-spring integration. | Beginner | _none_ | link:tasks/README{outfilesuffix}[tasks]|JPA, Arquillian | The `tasks` quickstart includes a persistence unit and sample persistence code to demonstrate how to use JPA for database access in {productName}. | Intermediate | _none_ -| link:tasks-jsf/README{outfilesuffix}[tasks-jsf]|JSF, JPA | null | Intermediate | link:tasks/README{outfilesuffix}[tasks] -| link:tasks-rs/README{outfilesuffix}[tasks-rs]|JPA, JAX-RS | null | Intermediate | link:tasks/README{outfilesuffix}[tasks] +| link:tasks-jsf/README{outfilesuffix}[tasks-jsf]|JSF, JPA | The `tasks-jsf` quickstart demonstrates how to use JPA persistence with JSF as the view layer. | Intermediate | link:tasks/README{outfilesuffix}[tasks] +| link:tasks-rs/README{outfilesuffix}[tasks-rs]|JPA, JAX-RS | The `tasks-rs` quickstart demonstrates how to implement a JAX-RS service that uses JPA persistence. | Intermediate | link:tasks/README{outfilesuffix}[tasks] | link:temperature-converter/README{outfilesuffix}[temperature-converter]|CDI, JSF, SLSB EJB | The `temperature-converter` quickstart does temperature conversion using an EJB Stateless Session Bean (SLSB), CDI, and a JSF front-end client. | Beginner | _none_ | link:thread-racing/README{outfilesuffix}[thread-racing]|Batch, CDI, EE Concurrency, JAX-RS, JMS, JPA, JSON, Web Sockets | A thread racing web application that demonstrates technologies introduced or updated in the latest Java EE specification. | Beginner | _none_ | link:websocket-client/README{outfilesuffix}[websocket-client]|Web Socket, CDI Events, JSON, SSL | Demonstrates use of a Javascript WebSocket client, WebSocket configuration, programmatic binding, and secure WebSocket. | Intermediate | _none_ diff --git a/app-client/README.adoc b/app-client/README.adoc index 04358e7f48..2de61228d8 100644 --- a/app-client/README.adoc +++ b/app-client/README.adoc @@ -40,11 +40,13 @@ The root `pom.xml` file builds each of the subprojects in the appropriate order. //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[add_the_application_users]] @@ -72,17 +74,11 @@ NOTE: For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script. If you prefer, you can use the `add-user` utility interactively. For an example of how to use the add-user utility, see the instructions located here: link:{addApplicationUserDocUrl}[Add an Application User]. -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/batch-processing/README.adoc b/batch-processing/README.adoc index 6c6dfcb6fe..7916b58998 100644 --- a/batch-processing/README.adoc +++ b/batch-processing/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: CDI, Batch 1.0, JSF @@ -36,29 +34,28 @@ The database schema defines that the column for name is unique. For that reason, //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/bean-validation-custom-constraint/README.adoc b/bean-validation-custom-constraint/README.adoc index 3fe7b53e4a..227d08834c 100644 --- a/bean-validation-custom-constraint/README.adoc +++ b/bean-validation-custom-constraint/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Beginner :technologies: CDI, JPA, BV @@ -25,29 +23,29 @@ This quickstart does not contain a user interface layer. The purpose of this pro //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Run the Arquillian Tests diff --git a/bean-validation/README.adoc b/bean-validation/README.adoc index 0ce7a9344d..568dc4fa3c 100644 --- a/bean-validation/README.adoc +++ b/bean-validation/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Beginner :technologies: CDI, JPA, BV @@ -27,30 +25,28 @@ This quickstart is a basic example of bean validation and is not localized. Beca //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. - +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Run the Arquillian Tests diff --git a/bmt/README.adoc b/bmt/README.adoc index e28613fd8f..1fa6d0efa5 100644 --- a/bmt/README.adoc +++ b/bmt/README.adoc @@ -6,9 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: -:performance-scalability: :level: Intermediate :technologies: EJB, BMT @@ -30,32 +27,32 @@ When you run this example, you are presented with a *Use bean managed Entity Man This example shows how to transactionally insert key value pairs into the database and demonstrates the requirements on the developer with respect to the JPA Entity Manager. -//*************************************** +//************************************************* // Add notes about use in a production environment. -//*************************************** +//************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: +:performance-scalability: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/cmt/README.adoc b/cmt/README.adoc index 2a1c1c1593..35c3eb1866 100644 --- a/cmt/README.adoc +++ b/cmt/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: :level: Intermediate :technologies: EJB, CMT, JMS @@ -52,34 +51,28 @@ Never:: If the client has a transaction running and does not suspend it but call //*************************************** // Add notes about use in a production environment. //*************************************** -include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] - -//************************************************* -// Add notes about use in a production environment. -//************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server with the Full Profile +//************************************************* +// Start the server with the full profile +//************************************************* +// == Start the Server with the Full Profile +include::../shared-doc/start-server-full-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the standalone full profile by typing the following command: -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full.xml ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Build and Deploy the Quickstart diff --git a/contacts-jquerymobile/README.adoc b/contacts-jquerymobile/README.adoc index 271d758ece..1f096c0920 100644 --- a/contacts-jquerymobile/README.adoc +++ b/contacts-jquerymobile/README.adoc @@ -35,6 +35,7 @@ Validation is an important part of an application. Typically in an HTML5 app you //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] // Additional system requirements for this quickstart: @@ -47,26 +48,15 @@ With the prerequisites out of the way, you are ready to build and deploy. //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. -+ -Adding `-b 0.0.0.0` to the above command will allow external clients, such as phones, tablets, and desktops, connect through your local network. For example: -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh -b 0.0.0.0 ----- +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +:mobileApp: +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/ejb-asynchronous/README.adoc b/ejb-asynchronous/README.adoc index eba20ee948..207a3f96f5 100644 --- a/ejb-asynchronous/README.adoc +++ b/ejb-asynchronous/README.adoc @@ -35,24 +35,21 @@ The root `pom.xml` builds each of the subprojects in the above order and deploys //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Build and Deploy the Quickstart diff --git a/ejb-in-ear/README.adoc b/ejb-in-ear/README.adoc index e4807d8c2e..e9350445f1 100644 --- a/ejb-in-ear/README.adoc +++ b/ejb-in-ear/README.adoc @@ -47,24 +47,21 @@ The example follows the common "Hello World" pattern, using the following workfl //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Build and Deploy the Quickstart diff --git a/ejb-in-war/README.adoc b/ejb-in-war/README.adoc index 1d9e9917b2..0751588767 100644 --- a/ejb-in-war/README.adoc +++ b/ejb-in-war/README.adoc @@ -29,24 +29,20 @@ The example follows the common "Hello World" pattern using the following workflo //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/ejb-multi-server/README.adoc b/ejb-multi-server/README.adoc index 700d7cf984..9d1e14b71d 100644 --- a/ejb-multi-server/README.adoc +++ b/ejb-multi-server/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Advanced :technologies: EJB, EAR @@ -47,11 +46,14 @@ The server configuration is done using CLI batch scripts located in the root of //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Start with a Clean Server Install diff --git a/ejb-remote/README.adoc b/ejb-remote/README.adoc index b4b7d46a47..8f640f2d35 100644 --- a/ejb-remote/README.adoc +++ b/ejb-remote/README.adoc @@ -33,24 +33,21 @@ Each component is defined in its own standalone Maven module. The quickstart pro //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Build and Deploy the Quickstart @@ -215,4 +212,4 @@ For Linux: For Windows: %JBOSS_HOME%\bin\add-user.bat -a -u 'quickstartUser' -p 'quickstartPwd1!' ----- \ No newline at end of file +---- diff --git a/ejb-security-context-propagation/README.adoc b/ejb-security-context-propagation/README.adoc index 8f7815b5a2..30487ca095 100644 --- a/ejb-security-context-propagation/README.adoc +++ b/ejb-security-context-propagation/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Advanced :technologies: EJB, Security @@ -63,11 +62,14 @@ to run the test. //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Prerequisites diff --git a/ejb-security-jaas/README.adoc b/ejb-security-jaas/README.adoc index cc036469da..83e0e84fe6 100644 --- a/ejb-security-jaas/README.adoc +++ b/ejb-security-jaas/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: EJB, Security @@ -31,11 +30,14 @@ The following steps required to use the `JAAS` integration. //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[create_the_properties_files_for_the_jaas_security_domain]] diff --git a/ejb-security-programmatic-auth/README.adoc b/ejb-security-programmatic-auth/README.adoc index 27e2c7e135..56ec1d6b1d 100644 --- a/ejb-security-programmatic-auth/README.adoc +++ b/ejb-security-programmatic-auth/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: EJB, Security @@ -22,11 +21,14 @@ The `ejb-security-programmatic-auth` quickstart demonstrates how to invoke a rem //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[add_the_application_users]] diff --git a/ejb-security/README.adoc b/ejb-security/README.adoc index 7199a59030..775741481c 100644 --- a/ejb-security/README.adoc +++ b/ejb-security/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: EJB, Security @@ -33,11 +32,14 @@ annotation in the EJB but it should not be granted access to the administrative //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[add_the_application_users]] diff --git a/ejb-throws-exception/README.adoc b/ejb-throws-exception/README.adoc index 5fb1f47226..470f96de3f 100644 --- a/ejb-throws-exception/README.adoc +++ b/ejb-throws-exception/README.adoc @@ -64,24 +64,20 @@ The example follows the common "Hello World" pattern, using the following workfl //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/ejb-timer/README.adoc b/ejb-timer/README.adoc index 1b97450866..1c93f90992 100644 --- a/ejb-timer/README.adoc +++ b/ejb-timer/README.adoc @@ -26,24 +26,20 @@ The following EJB Timer services are demonstrated: //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/greeter/README.adoc b/greeter/README.adoc index c7ed1c8cd8..abfb963f3f 100644 --- a/greeter/README.adoc +++ b/greeter/README.adoc @@ -33,29 +33,26 @@ To test this example: //************************************************* :uses-h2: :uses-ds-xml: +// == Considerations for Use in a Production Environment include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/ha-singleton-deployment/README.adoc b/ha-singleton-deployment/README.adoc index 0a36cbf086..51078b790e 100644 --- a/ha-singleton-deployment/README.adoc +++ b/ha-singleton-deployment/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: -:requires-multiple-servers: :level: Advanced :technologies: EJB, Singleton Deployments, Clustering @@ -27,11 +25,15 @@ For more information about singleton deployments, see _HA Singleton Deployments_ //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName}_1 and {jbossHomeName}_2 +:requires-multiple-servers: include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Setting Up the Test Environment diff --git a/ha-singleton-service/README.adoc b/ha-singleton-service/README.adoc index d2931eccb8..42034c7128 100644 --- a/ha-singleton-service/README.adoc +++ b/ha-singleton-service/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: -:requires-multiple-servers: :level: Advanced :technologies: MSC, Singleton Service, Clustering @@ -36,11 +34,15 @@ For more information about clustered singleton services, see _HA Singleton Servi //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName}_1 and {jbossHomeName}_2 +:requires-multiple-servers: include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Clone the {productName} Directory diff --git a/helloworld-html5/README.adoc b/helloworld-html5/README.adoc index 8bf33c1709..afbb216506 100644 --- a/helloworld-html5/README.adoc +++ b/helloworld-html5/README.adoc @@ -29,6 +29,7 @@ The example can be deployed using Maven from the command line or from Eclipse us //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] // Additional requirements for this quickstart. @@ -39,19 +40,14 @@ With the prerequisites out of the way, you are ready to build and deploy. //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/helloworld-jms/README.adoc b/helloworld-jms/README.adoc index b745869635..dadd093b9c 100644 --- a/helloworld-jms/README.adoc +++ b/helloworld-jms/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: JMS @@ -28,11 +27,14 @@ It contains the following: //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[add_an_application_user]] diff --git a/helloworld-mbean/README.adoc b/helloworld-mbean/README.adoc index f3edf5dfc3..16866d0085 100644 --- a/helloworld-mbean/README.adoc +++ b/helloworld-mbean/README.adoc @@ -42,24 +42,20 @@ The example is composed of the following MBeans. //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the {productName} Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Type this command to start the server: -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/helloworld-mdb-propertysubstitution/README.adoc b/helloworld-mdb-propertysubstitution/README.adoc index 0c43c88cb4..f06da2e99a 100644 --- a/helloworld-mdb-propertysubstitution/README.adoc +++ b/helloworld-mdb-propertysubstitution/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: JMS, EJB, MDB @@ -29,11 +28,14 @@ This project creates two JMS resources: //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[configure_the_server]] diff --git a/helloworld-mdb/README.adoc b/helloworld-mdb/README.adoc index 202ecc0147..52bb1f24fc 100644 --- a/helloworld-mdb/README.adoc +++ b/helloworld-mdb/README.adoc @@ -26,24 +26,21 @@ This project creates two JMS resources: //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server with the Full Profile +//************************************************* +// Start the server with the full profile +//************************************************* +// == Start the Server with the Full Profile +include::../shared-doc/start-server-full-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the standalone full profile by typing the following command: -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full.xml ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Build and Deploy the Quickstart diff --git a/helloworld-mutual-ssl-secured/README.adoc b/helloworld-mutual-ssl-secured/README.adoc index 5df5165365..8f15ab4e94 100644 --- a/helloworld-mutual-ssl-secured/README.adoc +++ b/helloworld-mutual-ssl-secured/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: Mutual SSL, Security, Undertow @@ -26,11 +25,14 @@ This quickstart shows how to configure {productName} to enable TLS/SSL configura //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[add_the_application_users]] diff --git a/helloworld-mutual-ssl/README.adoc b/helloworld-mutual-ssl/README.adoc index dafe44eefe..f493516dc9 100644 --- a/helloworld-mutual-ssl/README.adoc +++ b/helloworld-mutual-ssl/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: Mutual SSL, Undertow @@ -26,11 +25,14 @@ Before you run this example, you must create certificates and configure the serv //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[set_up_client_and_server_keystores_using_java_keytool]] diff --git a/helloworld-rs/README.adoc b/helloworld-rs/README.adoc index 5004bc99ea..6055c8114e 100644 --- a/helloworld-rs/README.adoc +++ b/helloworld-rs/README.adoc @@ -21,24 +21,20 @@ The `helloworld-rs` quickstart demonstrates the use of CDI and JAX-RS in {produc //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/helloworld-singleton/README.adoc b/helloworld-singleton/README.adoc index 81bd19dc24..7e02de06f1 100644 --- a/helloworld-singleton/README.adoc +++ b/helloworld-singleton/README.adoc @@ -21,23 +21,20 @@ The `helloworld-singleton` quickstart demonstrates the use of an EJB Singleton B //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/helloworld-ssl/README.adoc b/helloworld-ssl/README.adoc index 7347a25091..02ecd344d4 100644 --- a/helloworld-ssl/README.adoc +++ b/helloworld-ssl/README.adoc @@ -26,11 +26,13 @@ Before you run this example, you must create certificates and configure the serv //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[generate_a_keystore_and_self_signed_certificate]] diff --git a/helloworld-ws/README.adoc b/helloworld-ws/README.adoc index f52d339d37..b5e2705cbf 100644 --- a/helloworld-ws/README.adoc +++ b/helloworld-ws/README.adoc @@ -21,24 +21,20 @@ The `helloworld-ws` quickstart demonstrates the use of JAX-WS in {productNameFul //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/helloworld/README.adoc b/helloworld/README.adoc index 043b259544..7349775a6e 100644 --- a/helloworld/README.adoc +++ b/helloworld/README.adoc @@ -21,24 +21,20 @@ The `helloworld` quickstart demonstrates the use of _CDI_ and _Servlet 3_ in {pr //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/hibernate/README.adoc b/hibernate/README.adoc index 80072061c1..f17d38b1d2 100644 --- a/hibernate/README.adoc +++ b/hibernate/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: Hibernate @@ -25,16 +23,21 @@ This project is setup to allow you to create a compliant Java EE 7 application u //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Add the Correct Dependencies @@ -45,7 +48,7 @@ If you use Hibernate 5 packaged within {productName}, you will need to first imp This quickstart demonstrates usage of Hibernate Session and Hibernate Validators. -If you look at the pom.xml file in the root of the hibernate quickstart directory, you will see that the dependencies for the Hibernate modules have been added with the scope as `provided`. +If you look at the `pom.xml` file in the root of the hibernate quickstart directory, you will see that the dependencies for the Hibernate modules have been added with the scope as `provided`. For example: [source,xml,options="nowrap"] @@ -63,17 +66,11 @@ For example: ---- -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/inter-app/README.adoc b/inter-app/README.adoc index 55d5645963..cbd451bb15 100644 --- a/inter-app/README.adoc +++ b/inter-app/README.adoc @@ -48,24 +48,20 @@ a| This project contains the second WAR. //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/jaxrs-client/README.adoc b/jaxrs-client/README.adoc index d1384145f5..3e3b996cb2 100644 --- a/jaxrs-client/README.adoc +++ b/jaxrs-client/README.adoc @@ -23,24 +23,20 @@ This client "calls" many `POST`, `GET`, and `DELETE` operations using different //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/jaxws-addressing/README.adoc b/jaxws-addressing/README.adoc index b4170762c0..f725e0555a 100644 --- a/jaxws-addressing/README.adoc +++ b/jaxws-addressing/README.adoc @@ -21,24 +21,20 @@ The `jaxws-addressing` quickstart demonstrates the use of _JAX-WS_ in {productNa //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] [[install_the_quickstart_parent_artifact_in_maven]] == Install the Quickstart Parent Artifact in Maven diff --git a/jaxws-ejb/README.adoc b/jaxws-ejb/README.adoc index 8c0e867d1d..820f6d8529 100644 --- a/jaxws-ejb/README.adoc +++ b/jaxws-ejb/README.adoc @@ -21,24 +21,20 @@ The `jaxws-ejb` quickstart demonstrates the use of _JAX-WS_ in {productNameFull} //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] [[install_the_quickstart_parent_artifact_in_maven]] == Install the Quickstart Parent Artifact in Maven diff --git a/jaxws-pojo/README.adoc b/jaxws-pojo/README.adoc index fc310d23dc..ff7a52e7e0 100644 --- a/jaxws-pojo/README.adoc +++ b/jaxws-pojo/README.adoc @@ -21,24 +21,20 @@ The `jaxws-pojo` quickstart demonstrates the use of _JAX-WS_ in {productNameFull //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] [[install_the_quickstart_parent_artifact_in_maven]] == Install the Quickstart Parent Artifact in Maven diff --git a/jaxws-retail/README.adoc b/jaxws-retail/README.adoc index 7ed769b7b1..d2510a07cc 100644 --- a/jaxws-retail/README.adoc +++ b/jaxws-retail/README.adoc @@ -21,24 +21,20 @@ The `jaxws-retail` quickstart demonstrates the use of _JAX-WS_ in {productNameFu //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] [[install_the_quickstart_parent_artifact_in_maven]] == Install the Quickstart Parent Artifact in Maven diff --git a/jsonp/README.adoc b/jsonp/README.adoc index 681e1252f8..e958d80669 100644 --- a/jsonp/README.adoc +++ b/jsonp/README.adoc @@ -23,24 +23,20 @@ It shows how to use the JSON-P API to generate, parse, and consume JSON files. //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/jta-crash-rec/README.adoc b/jta-crash-rec/README.adoc index 05d23ca7d8..e5b3a2d78d 100644 --- a/jta-crash-rec/README.adoc +++ b/jta-crash-rec/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Advanced :technologies: JTA, Crash Recovery @@ -36,16 +34,21 @@ In this example, you halt the {productName} server in the middle of an XA transa //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Download and Configure Byteman @@ -58,20 +61,11 @@ Follow the instructions here to download and configure _Byteman_: link:{configur _NOTE_: The _Byteman_ scripts only work in JTA mode. They do not work in JTS mode. If you have configured the server for a quickstart that uses JTS, you must follow the quickstart instructions to remove the JTS configuration from the {productName} server before making the following changes. Otherwise _Byteman_ will not halt the server. -[[start_the_server]] -== Start the Server - -Start the {productName} Server with the Full Profile - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the standalone full profile by typing the following command: -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full.xml ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the full profile +//************************************************* +// == Start the Server with the Full Profile +include::../shared-doc/start-server-full-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/jts-distributed-crash-rec/README.adoc b/jts-distributed-crash-rec/README.adoc index e798418d49..dfe4224465 100644 --- a/jts-distributed-crash-rec/README.adoc +++ b/jts-distributed-crash-rec/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:requires-multiple-servers: :level: Advanced :technologies: JTS, Crash Recovery @@ -38,11 +37,14 @@ As an overview, the sequence of events to expect: //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName}_1 and {jbossHomeName}_2 +:requires-multiple-servers: include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Download and Configure Byteman diff --git a/jts/README.adoc b/jts/README.adoc index 272ffea5a0..ade279c103 100644 --- a/jts/README.adoc +++ b/jts/README.adoc @@ -6,9 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-ds-xml: -:includes-cli-scripts: -:requires-multiple-servers: :level: Intermediate :technologies: JTS, EJB, JMS @@ -50,16 +47,22 @@ After you complete this quickstart, you are invited to run through the link:../j //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} +:requires-multiple-servers: include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Prerequisites diff --git a/kitchensink-angularjs/README.adoc b/kitchensink-angularjs/README.adoc index 0ddb547b8b..abd40a2864 100644 --- a/kitchensink-angularjs/README.adoc +++ b/kitchensink-angularjs/README.adoc @@ -23,24 +23,20 @@ This project is setup to allow you to create a compliant Java EE 7 application u //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/kitchensink-ear/README.adoc b/kitchensink-ear/README.adoc index 19826dda84..e3be778d65 100644 --- a/kitchensink-ear/README.adoc +++ b/kitchensink-ear/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: CDI, JSF, JPA, EJB, JAX-RS, BV, EAR @@ -25,29 +23,28 @@ It demonstrates how to create a compliant Java EE 7 application using JSF, CDI, //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/kitchensink-jsp/README.adoc b/kitchensink-jsp/README.adoc index 388d29a842..caf833bfd4 100644 --- a/kitchensink-jsp/README.adoc +++ b/kitchensink-jsp/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: JSP, JSTL, CDI, JPA, EJB, JAX-RS, BV @@ -25,29 +23,28 @@ This example is based on the link:../kitchensink/README.adoc[kitchensink] quicks //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/kitchensink-ml/README.adoc b/kitchensink-ml/README.adoc index 24e57b45ea..32fd1d660e 100644 --- a/kitchensink-ml/README.adoc +++ b/kitchensink-ml/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: CDI, JSF, JPA, EJB, JAX-RS, BV, i18n, l10n @@ -113,29 +111,28 @@ How you set your browser preferred locale depends on the browser and version you //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/kitchensink/README.adoc b/kitchensink/README.adoc index 50bfb975ed..3b0c68d586 100644 --- a/kitchensink/README.adoc +++ b/kitchensink/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: CDI, JSF, JPA, EJB, JAX-RS, BV @@ -25,29 +23,28 @@ It demonstrates how to create a compliant Java EE 7 application using JSF, CDI, //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/logging-tools/README.adoc b/logging-tools/README.adoc index 9968fd5f9f..141f2ac423 100644 --- a/logging-tools/README.adoc +++ b/logging-tools/README.adoc @@ -25,11 +25,13 @@ Instructions are included below for starting {productName} with a different loca //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Configure the Server to Start With a Different Locale (Optional) @@ -55,17 +57,12 @@ JAVA_OPTS="$JAVA_OPTS -Duser.country=DE -Duser.language=de" For more information about internationalization and localization, see http://www.oracle.com/technetwork/java/javase/tech/intl-139810.html. -== Start the Server +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Build and Deploy the Quickstart diff --git a/logging/README.adoc b/logging/README.adoc index 43d19312f2..c710fe3810 100644 --- a/logging/README.adoc +++ b/logging/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: Logging @@ -26,25 +25,21 @@ To better visualize how the logging configuration works, you first deploy and ac //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -[[start_the_server]] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] [[build_and_deploy_the_quickstart]] == Build and Deploy the Quickstart diff --git a/mail/README.adoc b/mail/README.adoc index 5b72d594cd..90013e549e 100644 --- a/mail/README.adoc +++ b/mail/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Beginner :technologies: JavaMail, CDI, JSF @@ -28,11 +27,14 @@ This example is a web application that takes `To`, `From`, `Subject`, and `Messa //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[configure_an_smtp_server_on_your_local_machine]] diff --git a/managed-executor-service/README.adoc b/managed-executor-service/README.adoc index 8c533ec5be..5b78520c65 100644 --- a/managed-executor-service/README.adoc +++ b/managed-executor-service/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Beginner :technologies: EE Concurrency Utilities, JAX-RS, JAX-RS Client API @@ -29,30 +27,28 @@ This quickstart does not contain any user interface. The tests must be run to ve //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -[[start_the_server]] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Run the Arquillian Tests diff --git a/messaging-clustering-singleton/README.adoc b/messaging-clustering-singleton/README.adoc index 3ea14dc293..17031bc95d 100644 --- a/messaging-clustering-singleton/README.adoc +++ b/messaging-clustering-singleton/README.adoc @@ -54,11 +54,13 @@ If a delivery group is used in conjunction with singleton, as is the case of thi //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Build the Project @@ -98,17 +100,11 @@ __{jbossHomeName}__/domain/configuration/host.xml After you have completed testing this quickstart, you can replace these files to restore the server to its original configuration. -==== Start the Managed Domain - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} managed domain by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/domain.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\domain.bat` script. +//************************************************* +// Start the server as a managed domain +//************************************************* +// ==== Start {productName} as a Managed Domain +include::../shared-doc/start-server-managed-domain.adoc[leveloffset=+3] ==== Configure the Domain Server and Deploy the Quickstart Using the JBoss CLI @@ -174,18 +170,11 @@ __{jbossHomeName}__/standalone/configuration/standalone-full-ha.xml After you have completed testing this quickstart, you can replace this file to restore the server to its original configuration. -==== Start the Standalone Server Using the Full HA Profile. - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the standalone full HA profile, which supports messaging and high availability, by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full-ha.xml ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. - +//************************************************* +// Start the server with the full HA profile +//************************************************* +// == Start the Server with the Full HA Profile +include::../shared-doc/start-server-full-ha-profile.adoc[leveloffset=+3] ==== Configure the Standalone Server and Deploy the Quickstart Using the JBoss CLI @@ -418,7 +407,7 @@ When you are finished testing, use the following instructions to undeploy the qu === Undeploy the quickstart in a Managed Domain -. Make sure you have started the managed domain as described above. +. xref:start_eap_in_a_managed_domain[Start the {productName} managed domain] as described above. . Open a new terminal, navigate to the root directory of this quickstart, and run the `undeploy-domain.cli` script, replacing `__{jbossHomeName}__` with the path to your server: + [source,subs="+quotes,attributes+",options="nowrap"] @@ -430,7 +419,7 @@ NOTE: For Windows, use the `__{jbossHomeName}__\bin\jboss-cli.bat` script. === Undeploy the quickstart in a Standalone Server -. Make sure you have started the standalone server as described above. +. xref:start_eap_standalone_server_with_the_full_ha_profile[Start the {productName} server with the standalone full HA profile] as described above. . Open a terminal, navigate to the root directory of this quickstart, and run the `undeploy-standalone.cli` script, replacing `__{jbossHomeName}_1__` and `__{jbossHomeName}_2__` with the path to the appropriate server: + [source,subs="+quotes,attributes+",options="nowrap"] @@ -459,15 +448,7 @@ of the files. Make sure you replace `__{jbossHomeName}__` with the path to your IMPORTANT: This script returns the server to a default configuration and the result might not match the server configuration prior to testing this quickstart. If you were not running with the default configuration before testing this quickstart, you should follow the intructions above to manually restore the configuration to its previous state. -. Start the {productName} managed domain by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/domain.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\domain.bat` script. - +. xref:start_eap_in_a_managed_domain[Start the {productName} managed domain] as described above. . Open a new terminal, navigate to the root directory of this quickstart, and run the `remove-domain.cli` script, replacing `__{jbossHomeName}__` with the path to your server. + diff --git a/messaging-clustering/README.adoc b/messaging-clustering/README.adoc index a2b42b6e6b..8e56865c23 100644 --- a/messaging-clustering/README.adoc +++ b/messaging-clustering/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: -:optional-domain-or-multiple-servers: :level: Intermediate :technologies: JMS, MDB @@ -24,11 +22,15 @@ The `messaging-clustering` quickstart demonstrates the use of clustering with Ap //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// = Use of {jbossHomeName}_1 and {jbossHomeName}_2 +:optional-domain-or-multiple-servers: include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Prerequisites @@ -73,17 +75,11 @@ After you have completed testing this quickstart, you can replace these files to You configure the server by running the install-domain.cli script provided in the root directory of this quickstart. -==== Start the server in domain mode. - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} managed domain by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/domain.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\domain.bat` script. +//************************************************* +// Start the server as a managed domain +//************************************************* +// ==== Start {productName} as a Managed Domain +include::../shared-doc/start-server-managed-domain.adoc[leveloffset=+3] ==== Configure the Domain Server and Deploy the Quickstart Using the JBoss CLI diff --git a/numberguess/README.adoc b/numberguess/README.adoc index 63844f6400..80e83a4c19 100644 --- a/numberguess/README.adoc +++ b/numberguess/README.adoc @@ -21,24 +21,20 @@ The `numberguess` quickstart demonstrates the use of CDI (Contexts and Dependenc //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/payment-cdi-event/README.adoc b/payment-cdi-event/README.adoc index 86bd96810a..7b6f5b3493 100644 --- a/payment-cdi-event/README.adoc +++ b/payment-cdi-event/README.adoc @@ -49,24 +49,20 @@ The `payment-cdi-event` quickstart defines the following classes and interfaces: //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the {productName} Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/resteasy-jaxrs-client/README.adoc b/resteasy-jaxrs-client/README.adoc index 0819c7d63a..f44b172334 100644 --- a/resteasy-jaxrs-client/README.adoc +++ b/resteasy-jaxrs-client/README.adoc @@ -24,6 +24,7 @@ This client "calls" the HelloWorld JAX-RS Web Service that was created in the li //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] [[prerequisites]] diff --git a/servlet-async/README.adoc b/servlet-async/README.adoc index c6c1ee4f38..5e16c12525 100644 --- a/servlet-async/README.adoc +++ b/servlet-async/README.adoc @@ -25,24 +25,20 @@ A long-running task in this context does not refer to a computation intensive ta //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/servlet-filterlistener/README.adoc b/servlet-filterlistener/README.adoc index e10f0b3ca0..3c4e6f21a2 100644 --- a/servlet-filterlistener/README.adoc +++ b/servlet-filterlistener/README.adoc @@ -27,25 +27,20 @@ This example contains the following classes: //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default profile by typing the following command. - -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/servlet-security/README.adoc b/servlet-security/README.adoc index eab668a6c8..126887d01b 100644 --- a/servlet-security/README.adoc +++ b/servlet-security/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:includes-cli-scripts: :level: Intermediate :technologies: Servlet, Security @@ -54,18 +52,24 @@ Role: notauthorized //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] + [[configure_the_server]] == Configure the Server diff --git a/shared-doc/start-server-default-profile.adoc b/shared-doc/start-server-default-profile.adoc new file mode 100644 index 0000000000..09cabd66b4 --- /dev/null +++ b/shared-doc/start-server-default-profile.adoc @@ -0,0 +1,22 @@ +[[start_eap_standalone_server_with_the_default_profile]] += Start {productName} as a Standalone Server with the Default Profile + +. Open a terminal and navigate to the root of the {productName} directory. +. Start the {productName} server with the default standalone profile by typing the following command. ++ +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/standalone.sh +---- ++ +NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. + +ifdef::mobileApp[] ++ +Adding `-b 0.0.0.0` to the above command will allow external clients, such as phones, tablets, and desktops, connect through your local network. For example: ++ +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/standalone.sh -b 0.0.0.0 +---- +endif::[] diff --git a/shared-doc/start-server-full-ha-profile.adoc b/shared-doc/start-server-full-ha-profile.adoc new file mode 100644 index 0000000000..37b1a3e40f --- /dev/null +++ b/shared-doc/start-server-full-ha-profile.adoc @@ -0,0 +1,22 @@ +[[start_eap_standalone_server_with_the_full_ha_profile]] += Start {productName} as a Standalone Server with the Full HA Profile + +. Open a terminal and navigate to the root of the {productName} directory. +. Start the {productName} server with the standalone full HA profile by typing the following command: ++ +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full-ha.xml +---- ++ +NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. + +ifdef::mobileApp[] ++ +Adding `-b 0.0.0.0` to the above command will allow external clients, such as phones, tablets, and desktops, connect through your local network. For example: ++ +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full.xml -b 0.0.0.0 +---- +endif::[] diff --git a/shared-doc/start-server-full-profile.adoc b/shared-doc/start-server-full-profile.adoc new file mode 100644 index 0000000000..1ef93f110c --- /dev/null +++ b/shared-doc/start-server-full-profile.adoc @@ -0,0 +1,22 @@ +[[start_eap_standalone_server_with_the_full_profile]] += Start {productName} as a Standalone Server with the Full Profile + +. Open a terminal and navigate to the root of the {productName} directory. +. Start the {productName} server with the standalone full profile by typing the following command: ++ +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full.xml +---- ++ +NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. + +ifdef::mobileApp[] ++ +Adding `-b 0.0.0.0` to the above command will allow external clients, such as phones, tablets, and desktops, connect through your local network. For example: ++ +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/standalone.sh -c standalone-full.xml -b 0.0.0.0 +---- +endif::[] diff --git a/shared-doc/start-server-managed-domain.adoc b/shared-doc/start-server-managed-domain.adoc new file mode 100644 index 0000000000..aff6fa04d1 --- /dev/null +++ b/shared-doc/start-server-managed-domain.adoc @@ -0,0 +1,12 @@ +[[start_eap_in_a_managed_domain]] += Start {productName} as a Managed Domain + +. Open a terminal and navigate to the root of the {productName} directory. +. Start the {productName} managed domain by typing the following command. ++ +[source,subs="+quotes,attributes+",options="nowrap"] +---- +$ __{jbossHomeName}__/bin/domain.sh +---- ++ +NOTE: For Windows, use the `__{jbossHomeName}__\bin\domain.bat` script. diff --git a/shopping-cart/README.adoc b/shopping-cart/README.adoc index 9e479505de..b3a4ddc4f9 100644 --- a/shopping-cart/README.adoc +++ b/shopping-cart/README.adoc @@ -6,7 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:includes-cli-scripts: :level: Intermediate :technologies: SFSB EJB @@ -32,11 +31,14 @@ This simple Java client is launched using a `main` method. The remote client loo //************************************************* // Add System Requirements //************************************************* +// == System Requirements +:includes-cli-scripts: include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[configure_the_server]] diff --git a/shrinkwrap-resolver/README.adoc b/shrinkwrap-resolver/README.adoc index f00b04996d..fc35775472 100644 --- a/shrinkwrap-resolver/README.adoc +++ b/shrinkwrap-resolver/README.adoc @@ -43,24 +43,20 @@ The `shrinkwrap-resolver` quickstart demonstrates various use cases for ShrinkWr //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Run the Arquillian Tests diff --git a/spring-greeter/README.adoc b/spring-greeter/README.adoc index f4be17912b..5334cb2ce5 100644 --- a/spring-greeter/README.adoc +++ b/spring-greeter/README.adoc @@ -44,24 +44,20 @@ The user is added and a message displays the new user ID number. //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/spring-kitchensink-basic/README.adoc b/spring-kitchensink-basic/README.adoc index 4a97e6f533..aae74c4db7 100644 --- a/spring-kitchensink-basic/README.adoc +++ b/spring-kitchensink-basic/README.adoc @@ -31,24 +31,20 @@ and `mvc:annotation-driven` elements are used to register both the non-rest and //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/spring-kitchensink-springmvctest/README.adoc b/spring-kitchensink-springmvctest/README.adoc index b60eebc685..28e8b09b0c 100644 --- a/spring-kitchensink-springmvctest/README.adoc +++ b/spring-kitchensink-springmvctest/README.adoc @@ -34,24 +34,20 @@ and `mvc:annotation-driven` elements are used to register both the non-rest and //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/spring-petclinic/README.adoc b/spring-petclinic/README.adoc index 9504fffd78..0037ca7c0a 100644 --- a/spring-petclinic/README.adoc +++ b/spring-petclinic/README.adoc @@ -43,24 +43,20 @@ _Note that the sample configurations for JDBC, JPA, and Spring Data JPA configur //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/spring-resteasy/README.adoc b/spring-resteasy/README.adoc index 2c9bc7483e..e97a3ddea7 100644 --- a/spring-resteasy/README.adoc +++ b/spring-resteasy/README.adoc @@ -22,24 +22,20 @@ The `spring-resteasy` quickstart demonstrates how to package and deploy a web ap //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the standalone full profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/tasks-jsf/README.adoc b/tasks-jsf/README.adoc index ee133d565b..8839623dcc 100644 --- a/tasks-jsf/README.adoc +++ b/tasks-jsf/README.adoc @@ -6,9 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: -:performance-scalability: :level: Intermediate :technologies: JSF, JPA @@ -34,29 +31,29 @@ JSF is used to present the user two views. //*************************************** // Add notes about use in a production environment. //*************************************** +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: +:performance-scalability: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the {productName} Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/tasks-rs/README.adoc b/tasks-rs/README.adoc index 82dbaf8d17..4521757d19 100644 --- a/tasks-rs/README.adoc +++ b/tasks-rs/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: JPA, JAX-RS @@ -30,16 +28,21 @@ The application manages `User` and `Task` JPA entities. A user represents an aut //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[add_an_application_user]] @@ -65,17 +68,11 @@ NOTE: For Window, use the `__{jbossHomeName}__\bin\add-user.bat` script. If you prefer, you can use the `add-user` utility interactively. For an example of how to use the add-user utility, see the instructions located here: link:{addApplicationUserDocUrl}[Add an Application User]. -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/tasks/README.adoc b/tasks/README.adoc index 83a3f99d1c..0e0a9e0410 100644 --- a/tasks/README.adoc +++ b/tasks/README.adoc @@ -6,8 +6,6 @@ :productVersion: 12 :buildRequirements: Java 8.0 (Java SDK 1.8) or later and Maven 3.3.1 or later include::../shared-doc/attributes.adoc[] -:uses-h2: -:uses-ds-xml: :level: Intermediate :technologies: JPA, Arquillian @@ -27,30 +25,28 @@ It does not contain a user interface layer. The purpose of the project is to sho //*************************************** // Add notes about use in a production environment. //*************************************** +// == Considerations for Use in a Production Environment +:uses-h2: +:uses-ds-xml: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. - -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Run the Arquillian Tests diff --git a/temperature-converter/README.adoc b/temperature-converter/README.adoc index 58a55a345f..2a944d7c9e 100644 --- a/temperature-converter/README.adoc +++ b/temperature-converter/README.adoc @@ -29,24 +29,21 @@ The application does the following: //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. == Build and Deploy the Quickstart diff --git a/template/README.adoc b/template/README.adoc index 465bac691b..a9381a1abe 100644 --- a/template/README.adoc +++ b/template/README.adoc @@ -89,13 +89,34 @@ include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] [[start_the_server]] == Start the Server -* Start the {productName} Server +* To start the {productName} server with the default profile, copy the following content into the README file: ++ +[source,subs="+quotes",subs="attributes+",options="nowrap"] +---- +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile + include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] +---- + +* To start the {productName} server with the full profile, copy the following content into the README file: ++ +[source,subs="+quotes",subs="attributes+",options="nowrap"] +---- +//************************************************* +// Start the server with the full profile +//************************************************* +// == Start the Server with the Full Profile + include::../shared-doc/start-server-full-profile.adoc[leveloffset=+1] +---- -* Start the {productName} Server with the Full Profile +* To start the {productName} server with custom options -* Start the {productName} Server with custom options. You need to provide the argument string to pass on the command line, for example: +** You must provide instructions similar to the ones copied in above. +** You need to provide the argument string to pass on the command line, for example: + -[source,options="nowrap"] +[source,subs="+quotes",options="nowrap"] ---- --server-config=../../docs/examples/configs/standalone-xts.xml ---- diff --git a/thread-racing/README.adoc b/thread-racing/README.adoc index 71555a1ef9..f36d7c8fc7 100644 --- a/thread-racing/README.adoc +++ b/thread-racing/README.adoc @@ -37,16 +37,20 @@ JPA 2.1 is also present in the application code. Specifically it is used to stor //************************************************* // Add notes about use in a production environment. //************************************************* +// == Considerations for Use in a Production Environment +:uses-h2: include::../shared-doc/development-shortcuts.adoc[leveloffset=+1] //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Start the {productName} Server with the Full Profile diff --git a/websocket-client/README.adoc b/websocket-client/README.adoc index eb5a641075..367bab043f 100644 --- a/websocket-client/README.adoc +++ b/websocket-client/README.adoc @@ -34,24 +34,20 @@ The remote WebSocket server must be an `Echo` server; a simple WebSocket server //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/websocket-endpoint/README.adoc b/websocket-endpoint/README.adoc index 0dc1a6c453..31f82f2984 100644 --- a/websocket-endpoint/README.adoc +++ b/websocket-endpoint/README.adoc @@ -25,25 +25,20 @@ Every update made on the `Bidding` are immediately propagated to all opened WebS //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. - +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/websocket-hello/README.adoc b/websocket-hello/README.adoc index e4ac8d4daf..02ed838f33 100644 --- a/websocket-hello/README.adoc +++ b/websocket-hello/README.adoc @@ -29,24 +29,20 @@ NOTE: This quickstart demonstrates only a few of the basic functions. A fully fu //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the {productName} Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart diff --git a/wsat-simple/README.adoc b/wsat-simple/README.adoc index 76ecdd6d9e..35a02c0516 100644 --- a/wsat-simple/README.adoc +++ b/wsat-simple/README.adoc @@ -49,13 +49,16 @@ There is another test that shows what happens if the client decides to rollback //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] + == Start the Server with the Custom Options You must start {productName} with the XTS subsystem enabled. diff --git a/wsba-coordinator-completion-simple/README.adoc b/wsba-coordinator-completion-simple/README.adoc index c939513993..6682ac87c8 100644 --- a/wsba-coordinator-completion-simple/README.adoc +++ b/wsba-coordinator-completion-simple/README.adoc @@ -51,11 +51,13 @@ There is another test that shows how the client can cancel a BA. //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] == Start the Server with the Custom Options diff --git a/wsba-participant-completion-simple/README.adoc b/wsba-participant-completion-simple/README.adoc index 3b84390046..77285ba2db 100644 --- a/wsba-participant-completion-simple/README.adoc +++ b/wsba-participant-completion-simple/README.adoc @@ -56,14 +56,16 @@ There are additional tests that show: //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server +== Start the Server with Custom Options You must start {productName} with the XTS subsystem enabled. diff --git a/xml-jaxp/README.adoc b/xml-jaxp/README.adoc index 646a69ef35..9fa9aa2874 100644 --- a/xml-jaxp/README.adoc +++ b/xml-jaxp/README.adoc @@ -26,24 +26,20 @@ This quickstart provides an example XML schema and document file to use when tes //************************************************* // Add System Requirements //************************************************* +// == System Requirements include::../shared-doc/system-requirements.adoc[leveloffset=+1] //************************************************* // Add Use of JBoss Home Name //************************************************* +// == Use of {jbossHomeName} include::../shared-doc/use-of-jboss-home-name.adoc[leveloffset=+1] -== Start the Server - -. Open a terminal and navigate to the root of the {productName} directory. -. Start the {productName} server with the default standalone profile by typing the following command. -+ -[source,subs="+quotes,attributes+",options="nowrap"] ----- -$ __{jbossHomeName}__/bin/standalone.sh ----- -+ -NOTE: For Windows, use the `__{jbossHomeName}__\bin\standalone.bat` script. +//************************************************* +// Start the server with the default profile +//************************************************* +// == Start the Server with the Default Profile +include::../shared-doc/start-server-default-profile.adoc[leveloffset=+1] == Build and Deploy the Quickstart