Return-Path: X-Original-To: apmail-geronimo-scm-archive@www.apache.org Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4CD217C64 for ; Thu, 9 Apr 2015 18:55:14 +0000 (UTC) Received: (qmail 9009 invoked by uid 500); 9 Apr 2015 18:54:58 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 8785 invoked by uid 500); 9 Apr 2015 18:54:58 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 7713 invoked by uid 99); 9 Apr 2015 18:54:57 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 18:54:57 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 8AAFEAC048D for ; Thu, 9 Apr 2015 18:54:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r946921 [3/11] - in /websites/production/geronimo/content: GMOxDOC30/ cache/ Date: Thu, 09 Apr 2015 18:54:54 -0000 To: scm@geronimo.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150409185457.8AAFEAC048D@hades.apache.org> Modified: websites/production/geronimo/content/GMOxDOC30/configuring-jms-resources.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-jms-resources.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-jms-resources.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

A JMS resource group is a resource adapter module that binds together the related connection factories, queues and topics. To create and access JMS resources such as queues, topics and connection factories in Geronimo, you have to create a JMS resource group.

@@ -132,7 +132,7 @@ table.ScrollbarTable td.ScrollbarNextIco

The portlet lists the ActiveMQ resource adapters which can be the Connection Factory or the Queue type. To create a new JMS resource group, click the For ActiveMQ or the For another JMS provider... link.

-

+

Modified: websites/production/geronimo/content/GMOxDOC30/configuring-log-level.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-log-level.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-log-level.html Thu Apr 9 18:54:52 2015 @@ -124,14 +124,14 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

As explained in the Introducing Geronimo Administration Console section,the Administration Console provides four portlets for configuring and viewing the server's logs, these portlets are the Log Manager, Server Log Viewer, Derby Log Viewer and Web Access Log Viewer.

Log Manager

The Log Manager portlet options are illustrated in the following figure. From this portlet you can specify the location of the log configuration file. By default this value is set to var/log/server-log4j.properties. -

+

Other value you can modify in from this portlet is the Refresh Period. This value tells Geronimo how often (in seconds) it should check for any changes to the configuration file. By default this value is set to 60 seconds.

@@ -141,7 +141,7 @@ The Log Manager portlet options are illu

The Server Log Viewer portlet options are illustrated in the following figure. From this portlet you can view the Geronimo server logs as well as set filters for refining the results displayed.

-

+

The Refresh link on the upper left corner will reset any filtering criteria you may have specified to the Introducing Geronimo Administration Console's defaults and will display the last 10 lines (if any) of the current Geronimo server log.

@@ -152,7 +152,7 @@ The Log Manager portlet options are illu

Derby Log Viewer

The Derby Log viewer portlet options are illustrated in the following figure. From this portlet you can view the Derby server logs as well as set filters for refining the results displayed. -

+

The Refresh link on the upper left corner will reset any filtering criteria you may have specified to the Introducing Geronimo Administration Console's defaults and will display the last 10 lines (if any) of the current Derby server log.

@@ -162,7 +162,7 @@ The Derby Log viewer portlet options are

The Web Access Log Viewer portlet options are illustrated in the following figure. From this portlet you can view the Web server logs as well as set filters for refining the results displayed.

-

+

The Refresh link on the upper left corner will reset any filtering criteria you may have specified to the Introducing Geronimo Administration Console's defaults. In contrast with the other portlets, the Web Access Log Viewer will display all the lines in the log, it will just be limited by your Web browser display capabilities.

Modified: websites/production/geronimo/content/GMOxDOC30/configuring-multiple-repositories.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-multiple-repositories.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-multiple-repositories.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/
Icon @@ -144,11 +144,11 @@ table.ScrollbarTable td.ScrollbarNextIco

This topic includes the following information:

+/*]]>*/
  • Creating multiple repositories on a single server instance
  • Creating multiple repositories on multiple server instances Modified: websites/production/geronimo/content/GMOxDOC30/configuring-services.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-services.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-services.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    This topic is about how to set up a production environment for your applications.

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-session-manager-of-tomcat.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-session-manager-of-tomcat.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-session-manager-of-tomcat.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    DoS(Denial of Services) is one of the most common attacking method, which issues lots of requests and exhausts free memory of the application server. The server will crash down because of out of memory problem eventually. In Geronimo, you can swap inactive sessions to a file or just forget them. You can keep a certain number of sessions in main memory configurable via System configuration as follows.

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-the-jms-server.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-the-jms-server.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-the-jms-server.html Thu Apr 9 18:54:52 2015 @@ -124,17 +124,17 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    To configure the JMS Server, select JMS Server on the Console Navigation menu on the left side. You will get a list of JMS brokers available in the server and their status in the JMS Server Manager portlet. You will also be presented with the JMS Network Listeners portlet that displays all JMS network connectors. The following figures illustrate these two portlets and options.

    -

    +

    Adding a new JMS broker

    To add a new JMS broker, click on the link Add JMS Broker. In the resulting page, you will be provided with a template for the ActiveMQ broker. The following figure illustrates the template:
    - +

    It contains some customized configurations by Geronimo. It is strongly recommended that you add your own configurations based on the template file, instead of copying it from elsewhere. See the following example for configuration steps:

    @@ -166,7 +166,7 @@ After you add the connector, the section <transportConnector name="openwire" uri="tcp://localhost:${60000 + ${PortOffset}}"/> ]]>
  • Click Save, and you will return to the JMS Server Manager porlet. If no errors occurred, you will be prompted that a new broker is created successfully. The JMS Network Listeners portlet will show the connectors in the new JMS broker.
    -
  • +

    Some files and folders are created after the creation of a new broker:

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-the-osgi-environment.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-the-osgi-environment.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-the-osgi-environment.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    Geronimo provides two OSGi frameworks: Eclipse Equinox and Apache Felix. You can easily configure which OSGi framework is used at runtime by updating the etc/onfig.properties configuration file. By default, Geronimo server uses Equinox as its default OSGi runtime. The following example show how to configure Geronimo to use Felix as its OSGi framework.

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-the-transaction-manager-identity.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-the-transaction-manager-identity.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-the-transaction-manager-identity.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    In order for XA transactions to work properly, each Geronimo instance connecting to a resource manager such as an XA capable database or jms needs to have a globally unique and permanent Id. The Id needs to be unique to avoid the same Xid being generated by several geronimo instances, which would indicate to the resource manager that work done in completely unrelated transactions from different servers was actually part of the same transaction, and the Id needs to be permanent so that the recovery process can associate in-doubt transactions with the correct server.

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-the-web-container.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-the-web-container.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-the-web-container.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    The Web container in a Geronimo server is an integrated Tomcat or Jetty server. You can configure the embedded web container by using different GBeans. This can be done either from the administration console or by editing configuration files.

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host-in-jetty.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host-in-jetty.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host-in-jetty.html Thu Apr 9 18:54:52 2015 @@ -125,7 +125,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    The Configuring Virtual Host in Tomcat topic introduces how to define a Virtual Host in the Geronimo's config.xml file so that applications can be deployed to specific hosts ( Virtual Hosts) with a minimal configuration on the application deployment plans side. However, the need to define Virtual Hosts at the server level ( config.xml ) only applies to Geronimo with Tomcat distributions.

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host-in-tomcat.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host-in-tomcat.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host-in-tomcat.html Thu Apr 9 18:54:52 2015 @@ -124,14 +124,14 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/

    This article shows how to configure Virtual Hosts in Apache Geronimo with Tomcat. By default, when you deploy and start an application in Geronimo, that application will be listening on every available host name. By configuring a virtual host, you can make an application listen on a specific host name or IP. The configuration steps described in this article are also valid when you are sharing a single IP among several host names.
    +/*]]>*/

    This article shows how to configure Virtual Hosts in Apache Geronimo with Tomcat. By default, when you deploy and st art an application in Geronimo, that application will be listening on every available host name. By configuring a virtual host, you can make an application listen on a specific host name or IP. The configuration steps described in this article are also valid when you are sharing a single IP among several host names.
    To configure a virtual host in Geronimo, you basically need to do the following actions:
    +/*]]>*/
    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-virtual-host.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    The term virtual host refers to the practice of maintaining more than one server on one machine, as differentiated by their apparent hostname. For example, it is often desirable for companies sharing a Web server to have their own domains, with Web servers accessible as www.company1.com and www.company2.com, without requiring the user to know any extra path information.

    Modified: websites/production/geronimo/content/GMOxDOC30/configuring-your-own-monitoring-plugin-datasource.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/configuring-your-own-monitoring-plugin-datasource.html (original) +++ websites/production/geronimo/content/GMOxDOC30/configuring-your-own-monitoring-plugin-datasource.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    The basic information of the server can be captured and stored in a database that is supported by Geronimo. The Geronimo management node takes advantage of MBeans to collect the server's statistics for a given time, also called snapshots. These snapshots are all JSR-77 compatible. In this way the administrator can monitor the server status.

    Modified: websites/production/geronimo/content/GMOxDOC30/converter-javaee6-a-simple-jsfajax-aplication.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/converter-javaee6-a-simple-jsfajax-aplication.html (original) +++ websites/production/geronimo/content/GMOxDOC30/converter-javaee6-a-simple-jsfajax-aplication.html Thu Apr 9 18:54:52 2015 @@ -124,7 +124,7 @@ table.ScrollbarTable td.ScrollbarParent table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;} table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;} -/*]]>*/ +/*]]>*/

    JSF (Java Server Faces) provides a set of APIs and associated custom tags to create HTML forms that have complex interfaces. JSF 2.0 provides very easy-to-use Ajax support. It enables you to use Ajax without explicit JavaScript programming and with very simple tags.

    @@ -406,7 +406,7 @@ public class ConverterBean {

    Test the web application

    -

    The app is visible at http://localhost:8080/converter-javaee6   .

    +

    The app is visible at http://localhost:8080/converter-javaee6   .

    Modified: websites/production/geronimo/content/GMOxDOC30/converting-applications-into-geronimo-plugins-using-gep.html ============================================================================== --- websites/production/geronimo/content/GMOxDOC30/converting-applications-into-geronimo-plugins-using-gep.html (original) +++ websites/production/geronimo/content/GMOxDOC30/converting-applications-into-geronimo-plugins-using-gep.html Thu Apr 9 18:54:52 2015 @@ -131,11 +131,11 @@ table.ScrollbarTable td.ScrollbarNextIco

    We use Apache Geronimo v2.2 and an existing sample application throughout the tutorial. See Stateless Session Bean for development and deployment of the application.