gatein SVN: r2593 - portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US.
by do-not-reply@jboss.org
Author: benlc
Date: 2010-04-13 00:49:17 -0400 (Tue, 13 Apr 2010)
New Revision: 2593
Modified:
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Configuration.xml
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Databases.xml
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Getting_Started.xml
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation.xml
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Post_Installation.xml
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml
Log:
'committing changes - removing entities to highlight edits as breaks hudson build'
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Configuration.xml
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Configuration.xml 2010-04-13 02:06:38 UTC (rev 2592)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Configuration.xml 2010-04-13 04:49:17 UTC (rev 2593)
@@ -5,29 +5,11 @@
]>
<chapter>
<title>Database Configuration</title>
-
+
<section id="sect-Portal_EAP-Configuration-Installing_an_RDBMS_JDBC_connector">
<title>Installing an RDBMS JDBC connector</title>
<para>
A relational database management system (RDBMS) Java Database Connectivity (JDBC) connector is required for &PRODUCT; to communicate with a database.
- &PRODUCT; comes bundled with Hypersonic SQL (HSQL) database so that users can get started up and running quickly without having to setup
- database initially. However, HSQL should not be used in production environment. Removing HSQL is simply a matter of removing
- <filename>JBOSS_DIST/jboss-as/server/$CONFIG/deploy/portal-hsql-ds.xml</filename>. Test suites have been run against
- the <trademark class="registered">Oracle</trademark> 9, <trademark class="registered">Oracle</trademark> 10, <trademark class="registered">Microsoft SQL Server</trademark>,
- MySQL 4, MySQL 5, and PostgreSQL 8 databases - these databases are recommended for production use. Please refer to your database documentation for the correct
- RDBMS JDBC connector. The MySQL RDBMS JDBC connector can be downloaded from <ulink url="http://www.mysql.com/products/connector/j/"></ulink>, and the
- PostgreSQL RDBMS JDBC connector can be downloaded from <ulink url="http://jdbc.postgresql.org/download.html"></ulink>.
- </para>
- <para>
- Refer to the help files in each download for installation instructions. In most cases, the RDBMS JDBC connector comes as a <computeroutput>.jar</computeroutput> file. Copy this file into the <filename>$JBOSS_HOME/server/<replaceable>configuration</replaceable>/lib/</filename> directory.
- </para>
- </section>
-
- &START_EDIT;
- <section id="sect-Portal_EAP-Configuration-Installing_an_RDBMS_JDBC_connectorE">
- <title>Installing an RDBMS JDBC connector</title>
- <para>
- A relational database management system (RDBMS) Java Database Connectivity (JDBC) connector is required for &PRODUCT; to communicate with a database.
&PRODUCT; comes bundled with Hypersonic SQL (HSQL) database so that users can get up and running quickly without having to initially set up
a database. However, HSQL should not be used in a production environment. Removing HSQL is simply a matter of removing
<remark><filename>JBOSS_DIST/jboss-as/server/$CONFIG/deploy/hsql-ds.xml</filename>.</remark>
@@ -43,65 +25,30 @@
Refer to the help files in each download for installation instructions. In most cases, the RDBMS JDBC connector comes as a <computeroutput>.jar</computeroutput> file within the downloaded zip file. Copy this file into the <filename>$JBOSS_HOME/server/<replaceable>$CONFIG</replaceable>/lib/</filename> directory.
</para>
</section>
- &END_EDIT;
+
<section id="sect-Portal_EAP-Configuration-Datasource_Descriptors">
<title>Datasource Descriptors</title>
<para>
- A Datasource descriptor is required for JBoss Portal to communicate with a database. Sample Datasource descriptor files are provided for the Hypersonic SQL, <trademark class="registered">Microsoft SQL Server</trademark>, MySQL, <trademark class="registered">Oracle</trademark>, and PostgreSQL databases. These can be found in the <filename>/jboss-as/docs/portal/setup/</filename> subdirectory where the <computeroutput>EPP <replaceable>x.x.x</replaceable> binary distribution</computeroutput> file was extracted to. For example, if EPP was extracted into the <filename>/jboss/</filename> directory, the sample Datasource descriptors would be in the <filename>/jboss/jboss-epp-<replaceable>x.x.x</replaceable>/jboss-as/docs/portal/setup</filename> directory.
- </para>
- <para>
- The sample Datasource descriptors will work with default installations of external databases; however, you may need to configure the correct username and password. As well, the sample MySQL and PostgreSQL Datasource descriptors assume the name of the database to be <computeroutput>jbossportal</computeroutput>.
- </para>
- <para>
- When copying a Datasource descriptor for MySQL, <trademark class="registered">Microsoft SQL Server</trademark>, PostgreSQL, or <trademark class="registered">Oracle</trademark> databases, change the <computeroutput><user-name><replaceable>portal</replaceable></user-name></computeroutput> and <computeroutput><password><replaceable>portalpassword</replaceable></password></computeroutput> sections to reflect the correct username and password for the user who has access to the jbossportal database.
- </para>
- <important>
- <title>Different Datasource Descriptors</title>
- <para>
- Only have one Datasource descriptor in the <filename>$JBOSS_HOME/server/<replaceable>configuration</replaceable>/deploy/</filename> directory. For example, if you want to use a MySQL database, remove the <filename>portal-hsqldb-ds.xml</filename> file, and other descriptors, if they exists.
- </para>
- </important>
- <para>
- The following is an example Datasource descriptor file for MySQL 5:
- </para>
- <para>
-<screen>
-<?xml version="1.0" encoding="UTF-8"?>
-<datasources>
- <local-tx-datasource>
- <jndi-name>PortalDS</jndi-name>
- <connection-url>jdbc:mysql://localhost:3306/jbossportal?
- useServerPrepStmts=false&amp;jdbcCompliantTruncation=false</connection-url>
- <driver-class>com.mysql.jdbc.Driver</driver-class>
- <user-name><replaceable>portal</replaceable></user-name>
- <password><replaceable>portalpassword</replaceable></password>
- </local-tx-datasource>
-</datasources>
-</screen>
- </para>
- </section>
-
- &START_EDIT;
- <section id="sect-Portal_EAP-Configuration-Datasource_DescriptorsE">
- <title>Datasource Descriptors</title>
- <para>
A Datasource descriptor is required for JBoss Portal to communicate with a database. Sample Datasource descriptor files are provided for the Hypersonic SQL, <trademark class="registered">Microsoft SQL Server</trademark>, MySQL, <trademark class="registered">Oracle</trademark>, and PostgreSQL databases. These can be found in the <remark><filename>$JBOSS_HOME/jboss-as/docs/examples/jca</filename></remark> directory.
</para>
<para>
The sample Datasource descriptors will work with default installations of external databases; however, you may need to configure the correct username and password. As indicated in the mysql-ds.xml file displayed below, the sample MySQL and PostgreSQL Datasource descriptors assume the name of the database to be <remark><computeroutput>jbossdb</computeroutput></remark>.
</para>
<para>
- Copy the required Datasource descriptor file to <filename>$JBOSS_HOME/server/<replaceable>$CONFIG</replaceable>/deploy/</filename> directory. When copying a Datasource descriptor for MySQL, <trademark class="registered">Microsoft SQL Server</trademark>, PostgreSQL, or <trademark class="registered">Oracle</trademark> databases, change the <computeroutput><user-name><replaceable>portal</replaceable></user-name></computeroutput> and <computeroutput><password><replaceable>portalpassword</replaceable></password></computeroutput> sections to reflect the correct username and password of the user who has access to the jbossportal database.
+ Copy the required Datasource descriptor file to the <filename>$JBOSS_HOME/server/<replaceable>$CONFIG</replaceable>/deploy/</filename> directory. When copying a Datasource descriptor for MySQL, <trademark class="registered">Microsoft SQL Server</trademark>, PostgreSQL, or <trademark class="registered">Oracle</trademark> databases, change the <computeroutput><user-name><replaceable>portal</replaceable></user-name></computeroutput> and <computeroutput><password><replaceable>portalpassword</replaceable></password></computeroutput> sections to reflect the correct username and password of the user who has access to the jbossportal database.
</para>
<important>
- <title>Different Datasource Descriptors</title>
+ <title>Important: Various Datasource Descriptors</title>
<para>
- Ensure that there is only one Datasource descriptor in the <filename>$JBOSS_HOME/server/<replaceable>$CONFIG</replaceable>/deploy/</filename> directory. For example, if you want to use a MySQL database, remove the <filename>hsqldb-ds.xml</filename> file, and other descriptors, if they exists. For a default configuration this will require removing the <filename>gatein-ds.xml</filename> and <filename>hsqldb-ds.xml</filename> files.
+ Ensure that there is only one Datasource descriptor in the <filename>$JBOSS_HOME/server/<replaceable>$CONFIG</replaceable>/deploy/</filename> directory. For example, if you want to use a MySQL database, remove the <filename>hsqldb-ds.xml</filename> file and any other descriptors. For a default configuration this will require removing the <filename>gatein-ds.xml</filename> and <filename>hsqldb-ds.xml</filename> files to use a MySQL database.
</para>
</important>
<para>
The following is an example Datasource descriptor file for MySQL 5:
</para>
+ <para><remark>Note to Reviewer</remark></para>
+ <para>This is copied directly from th sample provided in jboss-as/docs/examples/jca/</para>
+ <para><remark>End Note to Reviewer</remark></para>
<para>
<screen><?xml version="1.0" encoding="UTF-8"?>
@@ -144,7 +91,6 @@
</datasources></screen>
</para>
</section>
- &END_EDIT;
</chapter>
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Databases.xml
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Databases.xml 2010-04-13 02:06:38 UTC (rev 2592)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Databases.xml 2010-04-13 04:49:17 UTC (rev 2593)
@@ -7,8 +7,7 @@
<chapter id="chap-Portal_EAP-Databases">
<title>Databases</title>
<para>
- The following chapter contains examples for how to use
- MySQL databases to store JBoss Enterprise Portal user information.
+ The following chapter describes how to set up the JDBC connector, the MySQL database and the database user.
</para>
<section id="sect-Portal_EAP-Databases-Using_a_MySQL_Database">
@@ -19,26 +18,7 @@
The RDBMS JDBC MySQL connector is required for JBoss Portal to use a MySQL database:
</para>
</formalpara>
- <orderedlist>
- <listitem>
- <para>
- Navigate to the <ulink url="http://dev.mysql.com/downloads/connector/j/3.1.html">JDBC MySQL connector</ulink> section of dev.mysql.com. Download the <computeroutput>Source and Binaries (zip)</computeroutput> file.
- </para>
- </listitem>
- <listitem>
- <para>
- Unzip the <filename>mysql-java-connector</filename> into the desired directory. It does not matter which directory is used.
- </para>
- </listitem>
- <listitem>
- <para>
- Change into the directory where the <filename>mysql-java-connector</filename> was extracted to. Copy the <filename>mysql-connector-java-<replaceable>version-number</replaceable>-bin.jar</filename> file into the <filename>$JBOSS_HOME/server/<replaceable>configuration</replaceable>/lib/</filename> directory.
- </para>
- </listitem>
- </orderedlist>
- &START_EDIT;
-
<orderedlist>
<listitem>
<para>
@@ -56,9 +36,7 @@
</para>
</listitem>
</orderedlist>
-
- &END_EDIT;
-
+
<formalpara id="form-Portal_EAP-Using_a_MySQL_Database-Data_Truncation_Errors">
<title>Data Truncation Errors</title>
<para>
@@ -71,25 +49,10 @@
</screen>
</para>
<para>
- If you are running MySQL in strict mode, remove <computeroutput>STRICT_TRANS_TABLES</computeroutput> from the <computeroutput>sql-mode=</computeroutput> line, in the <filename>my.cnf</filename> file if you are running Linux, and from the <filename>my.cfg</filename> file if you are running <trademark class="registered">Windows</trademark>. For further information, please see <ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors"></ulink>.
- </para>
- &START_EDIT;
-
- <formalpara id="form-Portal_EAP-Using_a_MySQL_Database-Data_Truncation_ErrorsE">
- <title>Data Truncation Errors</title>
- <para>
- If you are running MySQL 5, data truncation errors such as the following may occur:
- </para>
- </formalpara>
- <para>
-<screen>
-ERROR JDBCExceptionReporter Data truncation: Data too long for column 'jbp_viewrealemail' at row 1
-</screen>
- </para>
- <para>
If you are running MySQL in strict mode, remove <computeroutput>STRICT_TRANS_TABLES</computeroutput> from the <quote><computeroutput>sql-mode =</computeroutput></quote> line of the relevant configuration file. For Linux, this is the <filename>my.cnf</filename> file. For <trademark class="registered">Windows</trademark>, edit the <filename>my.cfg</filename> file. For further information, please see <ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors"></ulink>.
</para>
- &END_EDIT;
+
+
<formalpara id="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_Database">
<title>Creating a MySQL Database</title>
<para>
@@ -151,89 +114,6 @@
</listitem>
<listitem>
<para>
- Add a new user and give that user access to the jbossportal database. The following example adds a new user named <computeroutput>portal</computeroutput>, with the password <computeroutput>portalpassword</computeroutput>, and gives the portal user access to the jbossportal database. It is recommended that you change the password. Change <replaceable>portalpassword</replaceable> to change the password:
- </para>
- <para>
-<screen>
-mysql> GRANT ALL PRIVILEGES ON jbossportal.* TO '<replaceable>portal</replaceable>'@'localhost'
-IDENTIFIED BY '<replaceable>portalpassword</replaceable>' WITH GRANT OPTION;
-</screen>
- </para>
- <para>
- The output should be similar to the following:
- </para>
- <para>
-<screen>
-Query OK, 0 rows affected (0.00 sec)
-</screen>
- </para>
- <para>
- If you changed the portal user's password, also change the password in the MySQL Datasource descriptor.
- </para>
- </listitem>
- </orderedlist>
- &START_EDIT;
- <formalpara id="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_DatabaseE">
- <title>Creating a MySQL Database</title>
- <para>
- If you have just installed MySQL, make sure the MySQL server is running, and then run the following command to set the root user password:
- </para>
- </formalpara>
- <para>
-<screen>
-mysqladmin -u root password '<replaceable>new-root-user-password</replaceable>'
-</screen>
- </para>
- <orderedlist>
- <listitem>
- <para>
- Run the following command to log in to MySQL. Enter the root user password when prompted:
- </para>
- <para>
-<screen>
-mysql -u root -p
-</screen>
- </para>
- </listitem>
- <listitem>
- <para>
- Use the <command>CREATE DATABASE</command> command to create a new jbossportal database. Note: the rest of this guide, and configuration examples following here after, assume the database name to be jbossportal. If you change the database name, please change the name in all necessary configuration files:
- </para>
- <para>
-<screen>
-mysql> CREATE DATABASE jbossportal;
-</screen>
- </para>
- <para>
- The output should be similar to the following:
- </para>
- <para>
-<screen>
-Query OK, 1 row affected (0.00 sec)
-</screen>
- </para>
- <para>
- At this point, the <command>SHOW DATABASES;</command> command should display the <command>jbossportal</command> database:
- </para>
- <para>
-<screen>
-mysql> SHOW DATABASES;
-+--------------------+
-| Database |
-+--------------------+
-| information_schema |
-| jbossportal |
-| mysql |
-+--------------------+
-3 rows in set (0.00 sec)
-</screen>
- </para>
- <para>
- It is safe to ignore the other databases.
- </para>
- </listitem>
- <listitem>
- <para>
Add a new user and give that user access to the jbossportal database. The following example adds a new user named <computeroutput>portal</computeroutput>, with the password <computeroutput>portalpassword</computeroutput>. It is recommended that you choose a different password to the one supplied here by changing <replaceable>portalpassword</replaceable> to some other password:
</para>
<screen>CREATE USER 'portal'@'localhost' IDENTIFIED BY 'portalpassword';</screen>
@@ -263,7 +143,7 @@
</note>
</listitem>
</orderedlist>
- &END_EDIT;
+
<formalpara id="form-Portal_EAP-Using_a_MySQL_Database-MySQL_Datasource_Descriptor">
<title>MySQL Datasource Descriptor</title>
<para>
@@ -273,25 +153,6 @@
<orderedlist>
<listitem>
<para>
- Change into the <filename>setup</filename> subdirectory where JBoss Portal was extracted to. Copy the MySQL Datasource descriptor into the <filename>$JBOSS_HOME/server/<replaceable>configuration</replaceable>/deploy/</filename> directory. If you are running MySQL 5, use <filename>portal-mysql5-ds.xml</filename>, otherwise use <filename>portal-mysql-ds.xml</filename>.
- </para>
- </listitem>
- <listitem>
- <para>
- Update the <computeroutput><user-name><replaceable>portal</replaceable></user-name></computeroutput> and <computeroutput><password><replaceable>portalpassword</replaceable></password></computeroutput> sections in the Datasource descriptor to reflect the correct username and password for the user who has access to the jbossportal database.
- </para>
- </listitem>
- </orderedlist>
- &START_EDIT;
- <formalpara id="form-Portal_EAP-Using_a_MySQL_Database-MySQL_Datasource_DescriptorE">
- <title>MySQL Datasource Descriptor</title>
- <para>
- To install the MySQL Datasource descriptor:
- </para>
- </formalpara>
- <orderedlist>
- <listitem>
- <para>
Copy the MySQL Datasource descriptor - <filename>$JBOSS_HOME/docs/examples/jca/mysql-ds.xml</filename> - into the <filename>$JBOSS_HOME/server/<replaceable>$CONFIG</replaceable>/deploy/</filename> directory.
</para>
</listitem>
@@ -329,7 +190,7 @@
<itemizedlist>
<listitem>
<para>
- This example uses the <literal>portalpassword</literal> password. Enter this or the password chosen at <xref linkend="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_DatabaseE"></xref>.
+ This example uses the <literal>portalpassword</literal> password. Enter this or the password chosen at <xref linkend="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_Database"></xref>.
</para>
</listitem>
</itemizedlist>
@@ -339,7 +200,6 @@
</para>
</listitem>
</orderedlist>
- &END_EDIT;
<formalpara id="form-Portal_EAP-Using_a_MySQL_Database-MySQL_Table_Errors">
<title>MySQL Table Errors</title>
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Getting_Started.xml
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Getting_Started.xml 2010-04-13 02:06:38 UTC (rev 2592)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Getting_Started.xml 2010-04-13 04:49:17 UTC (rev 2593)
@@ -241,15 +241,10 @@
<section id="Pre_Requisites-Configuring_Your_Java_Environment">
<title>Configuring Your Java Environment</title>
- <para>
- You must have a working installation of <emphasis role="bold">JDK 1.5</emphasis> before you install &PRODUCT;. You can install the 32-bit or 64-bit JVM as per your requirements. In this guide we will show you how to install a 32-bit Sun JDK 5.0 using RHN, on a generic Linux Platform and Microsoft Windows Platform. But before we do that let's take a look at some of the benefits of using a 64-bit JVM.
- </para>
- &START_EDIT;
<para>
You must have a working installation of <emphasis role="bold">JDK 1.6</emphasis> before you install &PRODUCT;. You can install the 32-bit or 64-bit JVM as per your requirements. In this guide we will show you how to install a 32-bit Sun JDK 6.0 using RHN, on a generic Linux Platform and Microsoft Windows Platform. But before we do that let's take a look at some of the benefits of using a 64-bit JVM.
</para>
- &END_EDIT;
<itemizedlist id="Configuring_Your_Java_Environment-Benefits_of_64_bit_JVM_on_64_bit_OS_and_Hardware">
<title>Benefits of 64-bit JVM on 64-bit OS and Hardware:</title>
@@ -274,56 +269,7 @@
</para>
</listitem>
</itemizedlist>
- <itemizedlist id="Configuring_Your_Java_Environment-Installing_and_Configuring_32_bit_Sun_JDK_5.0_using_RHN">
- <title>Installing and Configuring 32-bit Sun JDK 5.0 using RHN</title>
- <listitem>
- <para>
- Java SDKs are provided by the Red Hat Enterprise Linux 5 Supplementary channel for your Linux variant and architecture. Depending on the architecture, the channel names are:
- </para>
- <para>
- rhel-i386-server-supplementary-5 and rhel-x86_64-server-supplementary-5
- </para>
- <para>
- The <command moreinfo="none">java-1.5.0-bea</command>,
- <command moreinfo="none">java-1.5.0-ibm</command> and
- <command moreinfo="none">java-1.5.0-sun</command> SDKs are available from
- these channels. Make sure you also install the
- <command moreinfo="none">-devel</command> subpackages.
- </para>
- </listitem>
-
- <listitem>
- <para>
- Selecting <command moreinfo="none">alternatives</command> for <command moreinfo="none">java</command>, <command moreinfo="none">javac</command> and <command moreinfo="none">java_sdk_1.5.0</command> (setting <command moreinfo="none">java_sdk_1.5.0</command> is optional).
- </para>
-
- <para>
- This is only needed if you want to use the SysV service script
- and/or want this installed SDK to be the default java and javac
- in the system. This choice can often be overridden by setting
- the <command moreinfo="none">JAVA_HOME</command> environment variable.
- </para>
-
- <para>
- The <command moreinfo="none">alternatives</command> system allows different versions of Java, from different sources, to co-exist on your system. You should make sure the desired one is selected so that the service script uses the one you want.
- </para>
-
- <para>
- As root, issue the following command:
- </para>
- <screen>
- <command moreinfo="none">/usr/sbin/alternatives --config java</command>
- </screen>
- <para>
- and make sure the desired one is selected (marked with a '+'), or select it by entering its number as prompted.
- </para>
-
- <para>
- Make sure you do the same for <command moreinfo="none">javac</command> and <command moreinfo="none">java_sdk_1.5.0.</command> We recommend that all point to the same manufacturer and version.
- </para>
- </listitem>
- </itemizedlist>
- &START_EDIT;
+
<itemizedlist id="Configuring_Your_Java_Environment-Installing_and_Configuring_JDK_6.0_using_RHN">
<title>Installing and Configuring JDK 6.0 using RHN</title>
<listitem>
@@ -387,9 +333,7 @@
<para>
As root, issue the following command:
</para>
- <screen>
- <command moreinfo="none">/usr/sbin/alternatives --config java</command>
- </screen>
+ <screen><command moreinfo="none">/usr/sbin/alternatives --config java</command></screen>
<para>
and make sure the desired one is selected (marked with a '+'), or select it by entering its number as prompted.
</para>
@@ -399,97 +343,7 @@
</para>
</listitem>
</itemizedlist>
- &END_EDIT;
- <itemizedlist id="Configuring_Your_Java_Environment-Installing_and_Configuring_32_bit_Sun_JDK_5.0_on_a_generic_Linux_platform">
- <title>Installing and Configuring 32-bit Sun JDK 5.0 on a generic Linux platform</title>
- <listitem>
- <para>
- Download the Sun JDK 5.0 (Java 2 Development Kit) from Sun's website: <ulink url="http://java.sun.com/javase/downloads/index_jdk5.jsp"></ulink>. Choose "JDK 5.0 Update <x>" (where x is the latest update number) for download and then select "RPM in self-extracting" file for Linux<footnote><para>Make sure you choose the appropriate file for your platform.</para></footnote>. Read the instructions on Sun's website for installing the JDK.
- </para>
- </listitem>
- <listitem>
- <para>
- If you don't want to use SysV service scripts you can install the "self-extracting file" for Linux instead of choosing the "RPM in self-extracting" file. In that case you can skip the next step mentioned here. But it is recommended to use the SysV service scripts for production servers.
- </para>
- </listitem>
- <listitem>
- <para>
- Download and install the appropriate <literal>-compat RPM</literal> from <literal>JPackage</literal> <ulink url="ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/generic/RPMS.non-free/"> here</ulink>.
-
-Please ensure you choose a matching version of the <literal>-compat</literal> package to the JDK you installed.
-
- </para>
- </listitem>
- <listitem>
- <para>
- Create an environment variable that points to the JDK installation directory and call it <literal>JAVA_HOME</literal>. Add <literal>$JAVA_HOME/bin</literal> to the system path to be able to run <literal>java</literal> from the command line. You can do this by adding the following lines to the <filename>.bashrc</filename> file in your home directory. <programlisting>
-#In this example /usr/java/jdk1.5.0_11 is the JDK installation directory.
-export JAVA_HOME=/usr/java/jdk1.5.0_11
-export PATH=$PATH:$JAVA_HOME/bin
-</programlisting>
- Set this variable for the user account doing the installation and also for the user account that will run the server.
- </para>
- </listitem>
- <listitem>
- <para>
- If you have more than one version of JVM installed in your machine, make sure you are using the JDK1.5 installation as the default <literal>java</literal> and <literal>javac</literal>. You can do this using the alternatives system. The alternatives system allows different versions of Java, from different sources to co-exist on your system.
- <itemizedlist>
- <title>Select alternatives for java, javac and java_sdk_1.5.0</title>
- <listitem>
- <para>
- As root, type the following command at the shell prompt and you should see something like this: <programlisting>
-[root@vsr ~]$ /usr/sbin/alternatives --config java
-There are 2 programs which provide 'java'.
-Selection Command
------------------------------------------------
- 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
-*+ 2 /usr/lib/jvm/jre-1.5.0-sun/bin/java
-Enter to keep the current selection[+], or type selection number:
-</programlisting>
- Make sure the Sun version [<literal>jre-1.5.0-sun</literal> in this case] is selected (marked with a '+' in the output), or select it by entering its number as prompted.
- </para>
- </listitem>
- <listitem>
- <para>
- Repeat the same for javac and java_sdk_1.5.0. <programlisting>
-[root@vsr ~]$ /usr/sbin/alternatives --config javac
-There are 1 programs which provide 'javac'.
- Selection Command
------------------------------------------------
-*+ 1 /usr/lib/jvm/java-1.5.0-sun/bin/javac
-Enter to keep the current selection[+], or type selection number:
-</programlisting>
-<programlisting>
-[root@vsr ~]$ /usr/sbin/alternatives --config java_sdk_1.5.0
-There are 1 programs which provide 'java_sdk_1.5.0'.
- Selection Command
------------------------------------------------
-*+ 1 /usr/lib/jvm/java-1.5.0-sun
-Enter to keep the current selection[+], or type selection number:
-</programlisting>
- You should verify that java, javac and java_sdk_1.5.0 all point to the same manufacturer and version.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- <note>
- <para>
- You can always override this step by setting the <literal>JAVA_HOME</literal> environment variable as explained in the previous step.
- </para>
- </note>
- </listitem>
- <listitem>
- <para>
- Make sure that the <literal>java</literal> executable is in your path and that you are using an appropriate version. To verify your Java environment, type <literal>java -version</literal> at the shell prompt and you should see something like this: <programlisting>
-[root@vsr ~]$ java -version
-java version "1.5.0_11"
-Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
-Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
-</programlisting>
- </para>
- </listitem>
- </itemizedlist>
- &START_EDIT;
+
<itemizedlist id="Configuring_Your_Java_Environment-Installing_and_Configuring_JDK_6.0_on_a_generic_Linux_platform">
<title>Installing and Configuring JDK 6.0 on a generic Linux platform</title>
<listitem>
@@ -530,11 +384,11 @@
<para>
Download and install the appropriate <literal>-compat RPM</literal> from <literal>JPackage</literal> <ulink url="ftp://jpackage.hmdc.harvard.edu/JPackage/1.7/generic/RPMS.non-free/"> here</ulink>. Please ensure you choose a matching version of the <literal>-compat</literal> package to the JDK you installed.
</para>
- &START_NOTE;
+ <para><remark>Note to Reviewer</remark></para>
<para>
The latest JDK available from Sun's site is update 19. The jpackage site linked to above lists the latest <literal>-compat rpm</literal> at update 6 (java-1.6.0-sun-compat-1.6.0.06-1jpp.i586.rpm). So there is a conflict here as the downloaded package and the -compat rpm cannot be matched as stated above.
</para>
- &END_NOTE;
+ <para><remark>End Note to Reviewer</remark></para>
</listitem>
<listitem>
<para>
@@ -559,21 +413,26 @@
<listitem>
<para>
- As root, type the following command at the shell prompt and you should see something like this: <programlisting>
-[root@vsr ~]$ /usr/sbin/alternatives --config java
+ As root, type the following command at the shell prompt and you should see something like this:
+ </para>
+ <programlisting>[root@vsr ~]$ /usr/sbin/alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2 /usr/lib/jvm/jre-1.6.0-sun/bin/java
Enter to keep the current selection[+], or type selection number:
+
</programlisting>
+ <para>
Make sure the Sun version [<literal>jre-1.6.0-sun</literal> in this case] is selected (marked with a '+' in the output), or select it by entering its number as prompted.
</para>
</listitem>
<listitem>
<para>
- Repeat the same for javac and java_sdk_1.6.0. <programlisting>
+ Repeat the same for javac and java_sdk_1.6.0.
+ </para>
+ <programlisting>
[root@vsr ~]$ /usr/sbin/alternatives --config javac
There are 1 programs which provide 'javac'.
Selection Command
@@ -589,14 +448,15 @@
*+ 1 /usr/lib/jvm/java-1.6.0-sun
Enter to keep the current selection[+], or type selection number:
</programlisting>
+ <para>
You should verify that java, javac and java_sdk_1.6.0 all point to the same manufacturer and version.
- &START_NOTE;
- Better to use java-1.6.0-variant rather than java-1.6.0-sun as could be sun or openjdk. Also include openJDK download site info http://openjdk.java.net/install/ ?
- &END_NOTE;
</para>
</listitem>
</itemizedlist>
</para>
+ <para><remark>Note to Reviewer</remark></para>
+ <para>Better to use java-1.6.0-variant rather than java-1.6.0-sun as could be sun or openjdk. Also include openJDK download site info http://openjdk.java.net/install/ ?</para>
+ <para><remark>End Note to Reviewer</remark></para>
</listitem>
<listitem>
<para>
@@ -609,21 +469,7 @@
</para>
</listitem>
</itemizedlist>
- &END_EDIT;
- <itemizedlist id="Configuring_Your_Java_Environment-Installing_and_Configuring_32_bit_Sun_JDK_5.0_on_Microsoft_Windows">
- <title>Installing and Configuring 32-bit Sun JDK 5.0 on Microsoft Windows</title>
- <listitem>
- <para>
- Download the Sun JDK 5.0 (Java 2 Development Kit) from Sun's website: <ulink url="http://java.sun.com/javase/downloads/index_jdk5.jsp"></ulink>. Choose "JDK 5.0 Update <x>" (where x is the latest update number) for download and then select your Windows Platform options to perform the installation.
- </para>
- </listitem>
- <listitem>
- <para>
- Create an environment variable called <literal>JAVA_HOME</literal> that points to the JDK installation directory, for example: <literal>C:\Program Files\Java\jdk1.5.0_11\</literal>. In order to run java from the command line add the <literal>jre\bin</literal> directory to your path, for example: <literal>C:\Program Files\Java\jdk1.5.0_11\jre\bin</literal>. To do this, open the Control Panel from the Start Menu, switch to Classic View if necessary, open the System Control Panel applet, select the Advanced Tab, and click on the Environment Variables button.
- </para>
- </listitem>
- </itemizedlist>
- &START_EDIT;
+
<itemizedlist id="Configuring_Your_Java_Environment-Installing_and_Configuring_JDK_6.0_on_Microsoft_Windows">
<title>Installing and Configuring JDK 6.0 on Microsoft Windows</title>
<listitem>
@@ -686,7 +532,6 @@
</para>
</listitem>
</itemizedlist>
- &END_EDIT;
</section>
</section>
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation.xml
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation.xml 2010-04-13 02:06:38 UTC (rev 2592)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation.xml 2010-04-13 04:49:17 UTC (rev 2593)
@@ -14,36 +14,11 @@
You can download the zip file from the JBoss Customer Service Portal (CSP), located at <ulink url="https://network.jboss.com">https://network.jboss.com</ulink>.
</para>
</section>
-
+
<section id="Installing">
<title>Installing</title>
<para>
- To install from a zip file, simply unzip the downloaded file to a directory of your choice. You can unzip the platform on any operating system that supports the zip format. Four types of server configurations will be included in your installation - minimal, default, production and all.
- The Getting Started Guide of &JBEAP; as well as http://www.jboss.org/community/docs/DOC-12942 explain in detail the different server configuration file sets.
-
- <itemizedlist>
- <listitem>
- <para>
- Unzip <literal>jboss-epp-<replaceable><release></replaceable>.zip</literal> to extract the archive contents into the location of your choice. You can do this using the JDK <literal>jar</literal> tool (or any other ZIP extraction tool). <programlisting>
- [vsr]$ <literal>cd jbeppinstallationdir</literal>
- [vsr]$ <literal>jar -xvf jboss-epp-<replaceable><release></replaceable>.zip</literal></programlisting>
- </para>
- </listitem>
- <listitem>
- <para>
- You are done with the installation! You should now have a directory called <filename>jboss-epp-<replaceable><release></replaceable></filename>. Refer to the Getting Started Guide to understand and explore the Platform Directory Structure.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </section>
-
- &START_EDIT;
- <section id="InstallingE">
- <title>Installing</title>
-
- <para>
To install from a zip file, simply unzip the downloaded file to a directory of your choice. You can unzip the platform on any operating system that supports the zip format. Six types of server configurations will be included in your installation - minimal, default, production, all, standard and web.
The Getting Started Guide of &JBEAP; as well as http://www.jboss.org/community/docs/DOC-12942 explain in detail the different server configuration file sets.
@@ -63,7 +38,7 @@
</itemizedlist>
</para>
</section>
- &END_EDIT;
+
<section id="server-config-differences">
<title>Choosing a server configuration</title>
<para>
@@ -72,43 +47,6 @@
<itemizedlist>
<listitem>
<para>
- <literal>minimal</literal> server configuration has no Portal bits. It's there for the sake of consistency with &JBEAP;
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>default</literal> server configuration has non-clustered Portal bits <literal>jboss-portal.sar</literal> in
- <literal>deploy</literal> folder.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>all</literal> server configuration has clustered Portal bits <literal>jboss-portal-ha.sar</literal> in
- <literal>deploy</literal> folder.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>production</literal> server configuration has clustered Portal bits <literal>jboss-portal-ha.sar</literal> and this is
- the sever that gets started by default. This server configuration has several optimizations such as logging, memory size etc.
- If you do not need clustered portal version and want to use this optimized server configuration, you simply need to copy the directory
- <literal>jboss-portal.sar</literal> from <literal>default/deploy</literal> to <literal>production/deploy</literal>. Don't forget to
- remove <literal>jboss-portal-ha.sar</literal> though.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </section>
- &START_EDIT;
-
- <section id="server-config-differencesE">
- <title>Choosing a server configuration</title>
- <para>
- The important differences as far as Portal is concerned are:
-
- <itemizedlist>
- <listitem>
- <para>
the <literal>minimal</literal>, <literal>web</literal> and <literal>standard</literal> server configurations do not contain any Portal relevant components. These directories exist for the sake of consistency with &JBEAP;
</para>
</listitem>
@@ -138,8 +76,5 @@
</note>
</para>
</section>
-
- &END_EDIT;
-
</chapter>
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent 2010-04-13 02:06:38 UTC (rev 2592)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent 2010-04-13 04:49:17 UTC (rev 2593)
@@ -5,7 +5,7 @@
<!ENTITY YEAR "2010">
<!ENTITY HOLDER "Red Hat, Inc">
<!ENTITY RHEL "Red Hat Enterprise Linux">
-<!ENTITY START_EDIT "<para><remark><!-- Start Edit</remark></para>">
-<!ENTITY END_EDIT "<para><remark>End Edit --></remark></para>">
-<!ENTITY START_NOTE "<para><remark><!-- Start Note to Reviewer</remark></para>">
-<!ENTITY END_NOTE "<para><remark>End Note to Reviewer --></remark></para>">
+<!ENTITY START_EDIT "<formalpara><title><remark><!-- Start Edit</remark></title><para></para></formalpara>">
+<!ENTITY END_EDIT "<formalpara><title><remark>End Edit --></remark></title><para></para></formalpara>">
+<!ENTITY START_NOTE "<formalpara><title><remark><!-- Start Note to Reviewer</remark></title><para></para></formalpara>">
+<!ENTITY END_NOTE "<formalpara><title><remark>End Note to Reviewer --></remark></title><para></para></formalpara>">
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Post_Installation.xml
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Post_Installation.xml 2010-04-13 02:06:38 UTC (rev 2592)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Post_Installation.xml 2010-04-13 04:49:17 UTC (rev 2593)
@@ -4,39 +4,11 @@
%BOOK_ENTITIES;
]>
<chapter id="Post_Installation_Configuration">
- <title>Post Installation Configuration</title>
+ <title>Post Installation Configuration</title>
<section id="Set_JBOSS_HOME">
<title>
Set JBOSS_HOME Environment Variable
</title>
- <formalpara>
- <title>
- On a Linux Platform
- </title>
- <para>
- Create an environment variable that points to the installation directory (<filename>JBOSS_DIST/jboss-as</filename>) and call it <literal>JBOSS_HOME</literal>. Add <literal>$JBOSS_HOME/bin</literal> to the system path to be able to run the server from the command line. You can do this by adding the following lines to the <filename>.bashrc</filename> file in your home directory.
- <programlisting>
-#In this example /home/user/jboss-epp-4.3/jboss-as is the installation directory.
- export JBOSS_HOME=/home/user/jboss-epp-4.3/jboss-as
- export PATH=$PATH:$JBOSS_HOME/bin
- </programlisting>
- Set this variable for the user account(s) that will run the server.
- </para>
- </formalpara>
- <formalpara>
- <title>
- On Microsoft Windows
- </title>
- <para>
- Create an environment variable called <literal>JBOSS_HOME</literal> that points to the installation directory, for example: C:\Program Files\jboss-epp-4.3\jboss-as\. In order to run the server from the command line add the <filename>bin</filename> directory to your path, for example: C:\Program Files\jboss-epp-4.3\jboss-as\bin. To do this, open the Control Panel from the Start Menu, switch to Classic View if necessary, open the System Control Panel applet, select the Advanced Tab, and click on the Environment Variables button.
- </para>
- </formalpara>
- </section>
- &START_EDIT;
- <section id="Set_JBOSS_HOMEE">
- <title>
- Set JBOSS_HOME Environment Variable
- </title>
<para><remark>Minor edit changed 4.3 to 5.0 in path to installation directory.</remark></para>
<formalpara>
<title>
@@ -60,8 +32,7 @@
Create an environment variable called <literal>JBOSS_HOME</literal> that points to the installation directory, for example: C:\Program Files\jboss-epp-5.0\jboss-as\. In order to run the server from the command line add the <filename>bin</filename> directory to your path, for example: C:\Program Files\jboss-epp-5.0\jboss-as\bin. To do this, open the Control Panel from the Start Menu, switch to Classic View if necessary, open the System Control Panel applet, select the Advanced Tab, and click on the Environment Variables button.
</para>
</formalpara>
- </section>
- &END_EDIT;
+ </section>
<section id="Adjust_Memory_Settings">
<title>Adjust memory settings</title>
@@ -69,20 +40,6 @@
The default configuration for the server to start with, if no other configuration is specified, is the production configuration. It is recommended to run the example Seam applications that are included with the documentation using the production configuration.
</para>
<para>
- To avoid memory issues, adjust the memory settings before deploying the applications. You can do this by updating <literal>JAVA_OPTS</literal> settings in the file <filename>JBOSS_DIST/jboss-as/server/production/run.conf</filename> with these recommended values:
-<programlisting>
- -Xms1303m -Xmx1303m -XX:PermSize=256m -XX:MaxPermSize=256m
-</programlisting>
- </para>
- </section>
- &START_EDIT;
-
- <section id="Adjust_Memory_SettingsE">
- <title>Adjust memory settings</title>
- <para>
- The default configuration for the server to start with, if no other configuration is specified, is the production configuration. It is recommended to run the example Seam applications that are included with the documentation using the production configuration.
- </para>
- <para>
To avoid memory issues, adjust the memory settings before deploying the applications. You can do this by updating <literal>JAVA_OPTS</literal> settings in the file <filename>JBOSS_DIST/jboss-as/bin/run.conf</filename> with these recommended values:
<programlisting>
-Xms1303m -Xmx1303m -XX:MaxPermSize=256m ....
@@ -91,70 +48,13 @@
<para><remark>This is the default so the "adjust" statement is not correct. Should it be set higher than 256m?</remark></para>
</section>
- &END_EDIT;
+
<section id="Post-Installation">
<title>
Post Installation Security Configuration
</title>
<para>
- When installed from the zip archive, all JBoss services require authentication to access most JBoss services, including administrative services. Additionally no user accounts are set up. This is to stop default user/password-based attacks.
- </para>
-
- <formalpara>
- <title>Set up Accounts for <literal>jmx-console</literal> and the invokers by modifying:</title>
- <para>
- <programlisting>
- $JBOSS_HOME/server/$CONFIG/conf/props/jmx-console-users.properties
- </programlisting>
- </para>
- </formalpara>
- <formalpara>
- <title>Set up Accounts for <literal>web-console</literal> users by modifying:</title>
- <para>
- <programlisting>
- $JBOSS_HOME/server/$CONFIG/deploy/management/console-mgr.sar/
- web-console.war/WEB-INF/classes/web-console-users.properties
- </programlisting>
- Where <literal>$JBOSS_HOME</literal> is the install directory and <literal>$CONFIG</literal> is the server configuration being used.
- </para>
- </formalpara>
- <formalpara>
- <title>Set SuckerPassword for JBoss Messaging:</title>
- <para>
- JBoss Messaging makes internal connections between nodes in order to redistribute messages between clustered destinations. These connections are made with the user name of a special reserved user whose password is specified by this parameter <literal>SuckerPassword</literal> in the Server Peer configuration file:
- <programlisting>
- $JBOSS_HOME/server/$CONFIG/deploy/jboss-messaging.sar/messaging-service.xml
- </programlisting>
- Where <literal>$JBOSS_HOME</literal> is the install directory and <literal>$CONFIG</literal> is the server configuration being used.
- To avoid a security risk, you MUST specify the value of the attribute <literal>SuckerPassword</literal>, failing which the default value will be used. Any one who knows the default password will be able to gain access to any destinations on the server. The following fragment should be uncommented and modified:
- <programlisting>
- <mbean code="org.jboss.jms.server.ServerPeer"
- name="jboss.messaging:service=ServerPeer"
- xmbean-dd="xmdesc/ServerPeer-xmbean.xml">
- ...
- ...
- ...
- ...
- <!-- The password used by the message sucker connections to create connections.
- THIS SHOULD ALWAYS BE CHANGED AT INSTALL TIME TO SECURE SYSTEM -->
- <attribute name="SuckerPassword"></attribute>
-
- ...
- ...
- ...
- </mbean>
- </programlisting>
- </para>
- </formalpara>
- </section>
-
- &START_EDIT;
- <section id="Post-InstallationE">
- <title>
- Post Installation Security Configuration
- </title>
- <para>
When installed from the zip archive, authentication is required to access the majority of JBoss services, including administrative services. User accounts have not been set up to eliminate the possibility of default username/password based attacks.
</para>
<important><title>Default admin user configuration</title>
@@ -221,12 +121,12 @@
</programlisting>
</para>
</formalpara>
- <para><remark>edit $JBOSS_HOME/server/$CONFIG/deploy/messaging/messaging-jboss-beans.xml as well?</remark></para>
- <para><remark><literal><property name="suckerPassword">CHANGE ME!!</property></literal></remark></para>
- <para><remark><literal>Also can't see jmx console or admin-console in the interface so is section this relevant?</literal></remark></para>
+ <para><remark>Note to Reviewer</remark></para>
+ <para>edit $JBOSS_HOME/server/$CONFIG/deploy/messaging/messaging-jboss-beans.xml as well?</para>
+ <para><literal><property name="suckerPassword">CHANGE ME!!</property></literal></para>
+ <para><remark>End Note to Reviewer</remark></para>
</section>
- &END_EDIT;
<section id="Disabling_Authentication">
<title>Disabling Authentication</title>
<para><remark>No changes here as all paths and files are the same</remark></para>
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml 2010-04-13 02:06:38 UTC (rev 2592)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml 2010-04-13 04:49:17 UTC (rev 2593)
@@ -6,46 +6,7 @@
<chapter id="Test_your_Installation">
<title>Test your Installation</title>
-
- <para>
- After you have installed the JBoss Enterprise Portal Platform, it is wise to perform a simple startup test to validate that there are no major problems with your Java VM/operating system combination. Make sure you have set the <literal>JBOSS_HOME</literal> envirnoment variables as explained in <ulink url="Post_Installation_Configuration"/>. To test your installation, move to <filename>JBOSS_DIST/jboss-as/bin</filename> directory and execute the <filename>run.bat</filename> (for Windows) or <filename>run.sh</filename> (for Linux) script, as appropriate for your operating system. Your output should look like the following (accounting for installation directory differences) and contain no error or exception messages:
- </para>
-<programlisting>
-[user@localhost bin]$ ./run.sh
-=====================================================
- JBoss Bootstrap Environment
-
- JBOSS_HOME: /home/user/jboss-eap-4.3/jboss-as
-
- JAVA: /usr/java/jdk1.5.0_11/bin/java
-
- JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1503m -Xmx1503m -Dsun.rmi.dgc.cli ent.gcInterval=3600000
- -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.prefer IPv4Stack=true
-
- CLASSPATH: /home/user/jboss-eap-4.3/jboss-as/bin/run.jar:/u sr/java/jdk1.5.0_11/lib/tools.jar
-
-=====================================================
-
-18:45:49,550 INFO [Server] Starting JBoss (MX MicroKernel)...
-.
-.
-.
-.
-18:45:50,449 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
-18:45:50,449 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03 ,Sun Microsystems Inc.
-18:45:50,449 INFO [ServerInfo] OS-System: Linux 2.6.9-42.0.3.EL,i386
-18:45:51,824 INFO [Server] Core system initialized
-18:45:59,622 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083 /
-18:45:59,659 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:jboss-log4j.xml
-</programlisting>
- <note>
- <para>
- Note that there is no "Server Started" message shown at the console when the server is started using the <literal>production</literal> profile, which is the default profile used when no other is specified. This message may be observed in the <filename>server.log</filename> file located in the <filename>server/production/log</filename> subdirectory.
- </para>
- </note>
-
- &START_EDIT;
<para>
After you have installed the JBoss Enterprise Portal Platform, it is wise to perform a simple startup test to validate that there are no major problems with your Java VM/operating system combination. Make sure you have set the <literal>JBOSS_HOME</literal> environment variables as explained in <ulink url="Post_Installation_Configuration"/>.
</para>
@@ -63,7 +24,7 @@
<itemizedlist>
<listitem>
<para>
- Ensure that you run the configuration corresponding to the <filename>$JBOSS_HOME/server/$CONFIG/</filename> chosen in <xref linkend="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_DatabaseE"></xref>
+ Ensure that you run the configuration corresponding to the <filename>$JBOSS_HOME/server/$CONFIG/</filename> chosen in <xref linkend="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_Database"></xref>
</para>
</listitem>
</itemizedlist>
@@ -112,10 +73,15 @@
Note that there is no "Server Started" message shown at the console when the server is started using the <literal>production</literal> profile. This message may be observed in the <filename>server.log</filename> file located in the <filename>server/production/log</filename> subdirectory.
</para>
</note>
- &END_EDIT;
+
<para>
- Now open <literal>http://localhost:8080/portal</literal> in your web browser. (Make sure you dont have anything else already on your machine using that port).<footnote><para>
- Note that on some machines, the name localhost won’t resolve properly and you should use the local loopback address 127.0.0.1 instead.</para></footnote> The contents of your page should look similar to this: <xref linkend="Test_your_Installation-Test_your_Installation" />.
+ Ensure that port 8080 is not already in use and open <literal>http://localhost:8080/portal</literal> in your web browser.
+ <footnote>
+ <para>
+ Note that on some machines, the name localhost won’t resolve properly and you should use the local loopback address 127.0.0.1 instead.
+ </para>
+ </footnote>
+ The contents of your page should look similar to this: <xref linkend="Test_your_Installation-Test_your_Installation" />.
</para>
<para>
<figure id="Test_your_Installation-Test_your_Installation">
14 years, 8 months
gatein SVN: r2592 - portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US.
by do-not-reply@jboss.org
Author: benlc
Date: 2010-04-12 22:06:38 -0400 (Mon, 12 Apr 2010)
New Revision: 2592
Modified:
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent
Log:
'committing change to entity as breaking hudson build'
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent 2010-04-13 01:36:25 UTC (rev 2591)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Installation_Guide.ent 2010-04-13 02:06:38 UTC (rev 2592)
@@ -5,7 +5,7 @@
<!ENTITY YEAR "2010">
<!ENTITY HOLDER "Red Hat, Inc">
<!ENTITY RHEL "Red Hat Enterprise Linux">
-<!ENTITY START_EDIT "<formalpara><title><remark><!-- Start Edit</remark></title><para></para></formalpara>">
-<!ENTITY END_EDIT "<formalpara><title><remark>End Edit --></remark></title><para></para></formalpara>">
-<!ENTITY START_NOTE "<formalpara><title><remark><!-- Start Note to Reviewer</remark></title><para></para></formalpara>">
-<!ENTITY END_NOTE "<formalpara><title><remark>End Note to Reviewer --></remark></title><para></para></formalpara>">
+<!ENTITY START_EDIT "<para><remark><!-- Start Edit</remark></para>">
+<!ENTITY END_EDIT "<para><remark>End Edit --></remark></para>">
+<!ENTITY START_NOTE "<para><remark><!-- Start Note to Reviewer</remark></para>">
+<!ENTITY END_NOTE "<para><remark>End Note to Reviewer --></remark></para>">
14 years, 8 months
gatein SVN: r2591 - in portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US: images and 1 other directory.
by do-not-reply@jboss.org
Author: benlc
Date: 2010-04-12 21:36:25 -0400 (Mon, 12 Apr 2010)
New Revision: 2591
Added:
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/images/test_install.png
Modified:
portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml
Log:
'commiting update following EPP 5.0 Installation test - preserving old content for comparison for now'
Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml
===================================================================
--- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml 2010-04-12 16:02:26 UTC (rev 2590)
+++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/Test_Your_Installation.xml 2010-04-13 01:36:25 UTC (rev 2591)
@@ -63,7 +63,7 @@
<itemizedlist>
<listitem>
<para>
- Ensure that you run the configuration corresponding to the <filename>$JBOSS_HOME/server/$CONFIG/</filename> which you chose to set up the database connection in <xref linkend="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_DatabaseE"></xref>
+ Ensure that you run the configuration corresponding to the <filename>$JBOSS_HOME/server/$CONFIG/</filename> chosen in <xref linkend="form-Portal_EAP-Using_a_MySQL_Database-Creating_a_MySQL_DatabaseE"></xref>
</para>
</listitem>
</itemizedlist>
Added: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/images/test_install.png
===================================================================
(Binary files differ)
Property changes on: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Installation_Guide/en-US/images/test_install.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
14 years, 8 months
gatein SVN: r2590 - in portal/trunk/docs/reference-guide/en: modules and 1 other directory.
by do-not-reply@jboss.org
Author: mstruk
Date: 2010-04-12 12:02:26 -0400 (Mon, 12 Apr 2010)
New Revision: 2590
Added:
portal/trunk/docs/reference-guide/en/modules/APIs.xml
Modified:
portal/trunk/docs/reference-guide/en/master.xml
Log:
Added a short chapter on Organization API
Modified: portal/trunk/docs/reference-guide/en/master.xml
===================================================================
--- portal/trunk/docs/reference-guide/en/master.xml 2010-04-12 11:39:54 UTC (rev 2589)
+++ portal/trunk/docs/reference-guide/en/master.xml 2010-04-12 16:02:26 UTC (rev 2590)
@@ -1,13 +1,13 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Reference_Guide.ent">
-%BOOK_ENTITIES;
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Reference_Guide.ent">
+%BOOK_ENTITIES;
]>
-<book lang="en">
- <bookinfo>
- <title>GateIn Reference Guide</title>
+<book lang="en">
+ <bookinfo>
+ <title>GateIn Reference Guide</title>
<subtitle>
<!--
LT 20010312: could not find a way to configure image scaling properly (tried width, scale, etc...). Feel free to investigate.
@@ -21,7 +21,7 @@
</imageobject>
</mediaobject>
- </subtitle>
+ </subtitle>
<authorgroup>
@@ -37,42 +37,42 @@
<firstname>eXo Platform</firstname>
<surname></surname>
</author>
-
- <editor>
- <firstname>Scott</firstname>
- <surname>Mumford</surname>
- <affiliation>
- <shortaffil>Red Hat</shortaffil>
- <orgdiv>Engineering Content Services</orgdiv>
- </affiliation>
- <email>smumford(a)redhat.com</email>
- </editor>
- <editor>
- <firstname>Thomas</firstname>
- <surname>Heute</surname>
- <affiliation>
- <shortaffil>Red Hat</shortaffil>
- <orgdiv>JBoss Engineering</orgdiv>
- </affiliation>
- <email>theute(a)redhat.com</email>
- </editor>
- <editor>
- <firstname>Luc</firstname>
- <surname>Texier</surname>
- <affiliation>
+
+ <editor>
+ <firstname>Scott</firstname>
+ <surname>Mumford</surname>
+ <affiliation>
<shortaffil>Red Hat</shortaffil>
- <orgdiv>JBoss Engineering, Management</orgdiv>
- </affiliation>
- <email>ltexier(a)redhat.com</email>
+ <orgdiv>Engineering Content Services</orgdiv>
+ </affiliation>
+ <email>smumford(a)redhat.com</email>
</editor>
-<!--
- <othercredit>
- <affiliation>
- <orgname><emphasis role="bold"><ulink type="http" url="http://www.jboss.org/gatein/">GateIn Portal</ulink></emphasis> and <emphasis role="bold"><ulink type="http" url="http://www.exoplatform.com/portal/public/website/">Exo Platform</ulink></emphasis> teams</orgname>
- </affiliation>
- <contrib>Original product documentation by:</contrib>
+ <editor>
+ <firstname>Thomas</firstname>
+ <surname>Heute</surname>
+ <affiliation>
+ <shortaffil>Red Hat</shortaffil>
+ <orgdiv>JBoss Engineering</orgdiv>
+ </affiliation>
+ <email>theute(a)redhat.com</email>
+ </editor>
+ <editor>
+ <firstname>Luc</firstname>
+ <surname>Texier</surname>
+ <affiliation>
+ <shortaffil>Red Hat</shortaffil>
+ <orgdiv>JBoss Engineering, Management</orgdiv>
+ </affiliation>
+ <email>ltexier(a)redhat.com</email>
+ </editor>
+<!--
+ <othercredit>
+ <affiliation>
+ <orgname><emphasis role="bold"><ulink type="http" url="http://www.jboss.org/gatein/">GateIn Portal</ulink></emphasis> and <emphasis role="bold"><ulink type="http" url="http://www.exoplatform.com/portal/public/website/">Exo Platform</ulink></emphasis> teams</orgname>
+ </affiliation>
+ <contrib>Original product documentation by:</contrib>
</othercredit>
--->
+-->
</authorgroup>
@@ -143,6 +143,9 @@
<!-- WSRP -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modules/WSRP.xml"/>
+ <!-- APIs -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modules/APIs.xml"/>
+
<!--
11_Support
http://www.exoplatform.com/portal/public/en/forum?portal:componentId=foru...
Added: portal/trunk/docs/reference-guide/en/modules/APIs.xml
===================================================================
--- portal/trunk/docs/reference-guide/en/modules/APIs.xml (rev 0)
+++ portal/trunk/docs/reference-guide/en/modules/APIs.xml 2010-04-12 16:02:26 UTC (rev 2590)
@@ -0,0 +1,42 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "../Reference_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="chap-Reference_Guide-APIs">
+ <title>APIs</title>
+ <section id="sect-Reference_Guide-APIs-Organization_API">
+ <title>Organization API</title>
+ <para>
+ The <literal>exo.platform.services.organization</literal> package has five main components: user, user profile, group, membership type and membership.
+ There is an additional component that serves as an entry point into Organization API - <literal>OrganizationService</literal> component,
+ that provides handling functionality for the five components.
+ </para>
+ <para>
+ The <literal>User</literal> component contains basic information about a user - such as
+ username, password, first name, last name, and email. The <literal>User Profile</literal>
+ component contains extra information about a user, such as user's personal information, and business information.
+ You can also add additional information about a user if your application requires it.
+ The <literal>Group</literal> component contains a group graph. The <literal>Membership Type</literal> component
+ contains a list of predefined membership types.
+ Finally, the <literal>Membership</literal> component connects a User, a Group and a Membership Type.
+ </para>
+ <para>
+ A user can have one or more memberships within a group, for example: user A can have the 'member' and 'admin' memberships in group /user.
+ A user belongs to a group if he has at least one membership in that group.
+ </para>
+ <para>
+ Exposing the Organization API to developers the OrganizationService component provides developers with access
+ to handler objects for managing each of the five components - UserHandler, UserProfileHandler, GroupHandler, MembershipTypeHandler, and MembershipHandler.
+ </para>
+ <para>
+ The five central API components are really designed like persistent entities, and handlers are really specified like data access objects (DAO).
+ </para>
+ <para>
+ Organization API simply describes a contract, meaning it is not a concrete implementation. The described components are interfaces,
+ allowing for different concrete implementations. In practial terms that means, you can replace the existing implementation with a different one.
+ </para>
+ </section>
+
+</chapter>
+
14 years, 8 months
gatein SVN: r2589 - in components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch: agent and 12 other directories.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-04-12 07:39:54 -0400 (Mon, 12 Apr 2010)
New Revision: 2589
Modified:
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/agent/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/auth-callback/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-plugin/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-portal/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-plugin/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-portal/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-plugin/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-portal/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/packaging/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/pom.xml
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/spnego/pom.xml
Log:
SSO branch
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/agent/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/agent/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/agent/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -4,7 +4,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/auth-callback/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/auth-callback/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/auth-callback/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-plugin/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-plugin/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-plugin/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-portal/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-portal/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/gatein-cas-portal/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-plugin</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
@@ -23,12 +23,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jasig.cas</groupId>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/cas/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<name>GateIn SSO - CAS</name>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-plugin/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-plugin/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-plugin/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-portal/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-portal/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/gatein-josso-portal/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -54,12 +54,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
@@ -74,7 +74,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-plugin</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>apache-log4j</groupId>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/josso/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-plugin/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-plugin/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-plugin/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-portal/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-portal/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/gatein-opensso-portal/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-plugin</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
@@ -28,12 +28,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</dependency>
</dependencies>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/opensso/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/packaging/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/packaging/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/packaging/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -10,13 +10,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein</groupId>
<artifactId>gatein-parent</artifactId>
- <version>1.0.0-Beta04</version>
+ <version>1.0.0-GA</version>
</parent>
@@ -68,9 +68,9 @@
<!-- exo -->
- <org.exoplatform.core.version>2.3.0-CR2</org.exoplatform.core.version>
- <org.exoplatform.ws.version>2.1.0-CR2</org.exoplatform.ws.version>
- <org.exoplatform.portal.version>3.0.0-CR01</org.exoplatform.portal.version>
+ <org.exoplatform.core.version>2.3.1-CR1</org.exoplatform.core.version>
+ <org.exoplatform.ws.version>2.1.1-CR1</org.exoplatform.ws.version>
+ <org.exoplatform.portal.version>5.0.0-epp-CR01-SNAPSHOT</org.exoplatform.portal.version>
<!-- JAX-RS jsr-311 -->
<version.javax.ws.rs>1.0</version.javax.ws.rs>
Modified: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/spnego/pom.xml
===================================================================
--- components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/spnego/pom.xml 2010-04-12 11:27:48 UTC (rev 2588)
+++ components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/spnego/pom.xml 2010-04-12 11:39:54 UTC (rev 2589)
@@ -4,7 +4,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-epp-Beta03-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
14 years, 8 months
gatein SVN: r2588 - portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal.
by do-not-reply@jboss.org
Author: trong.tran
Date: 2010-04-12 07:27:48 -0400 (Mon, 12 Apr 2010)
New Revision: 2588
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
Log:
GTNPORTAL-1058 Lose the tab container while dragging out its last tab
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2010-04-12 11:21:18 UTC (rev 2587)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2010-04-12 11:27:48 UTC (rev 2588)
@@ -150,7 +150,15 @@
*/
if (uiParent.getChildren().size() == 1)
{
- uiComponentTobeRemoved = uiParent.getParent();
+ UIContainer uiTabParent = uiParent.getParent();
+ if(uiTabParent.getChildren().size() > 1)
+ {
+ uiComponentTobeRemoved = uiParent;
+ }
+ else
+ {
+ uiComponentTobeRemoved = uiTabParent;
+ }
}
else
{
@@ -361,7 +369,15 @@
{
if (uiParent.getChildren().size() == 1)
{
- removeUIComponent(uiParent.getParent(), pcontext, false);
+ UIContainer uiTabParent = uiParent.getParent();
+ if (uiTabParent.getChildren().size() > 1)
+ {
+ removeUIComponent(uiParent, pcontext, false);
+ }
+ else
+ {
+ removeUIComponent(uiTabParent, pcontext, false);
+ }
}
else
{
14 years, 8 months
gatein SVN: r2587 - components/sso/branches.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-04-12 07:21:18 -0400 (Mon, 12 Apr 2010)
New Revision: 2587
Added:
components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch/
Log:
Creating branch
Copied: components/sso/branches/1.0.0-epp-5.0.0-CR01-Branch (from rev 2586, components/sso/trunk)
14 years, 8 months
gatein SVN: r2586 - in components/sso: tags and 1 other directory.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-04-12 07:19:02 -0400 (Mon, 12 Apr 2010)
New Revision: 2586
Added:
components/sso/tags/1.0.0-epp-5.0.0-ER04/
Removed:
components/sso/branches/1.0.0-epp-5.0.0-ER04/
Log:
Should be a tag
Copied: components/sso/tags/1.0.0-epp-5.0.0-ER04 (from rev 2585, components/sso/branches/1.0.0-epp-5.0.0-ER04)
14 years, 8 months
gatein SVN: r2585 - in portal/trunk: portlet/dashboard/src/main/webapp/groovy/gadget/webui/component and 2 other directories.
by do-not-reply@jboss.org
Author: kien_nguyen
Date: 2010-04-12 07:16:17 -0400 (Mon, 12 Apr 2010)
New Revision: 2585
Modified:
portal/trunk/gadgets/core/src/main/java/containers/default/container.js
portal/trunk/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
Log:
GTNPORTAL-1014 Returned currentView does not match enum view
Modified: portal/trunk/gadgets/core/src/main/java/containers/default/container.js
===================================================================
--- portal/trunk/gadgets/core/src/main/java/containers/default/container.js 2010-04-12 10:20:18 UTC (rev 2584)
+++ portal/trunk/gadgets/core/src/main/java/containers/default/container.js 2010-04-12 11:16:17 UTC (rev 2585)
@@ -119,7 +119,7 @@
"urlTemplate" : "http://%host%/eXoGadgetServer/gadgets/home?{var}",
"aliases": ["DASHBOARD", "default"]
},
- "HOME" : {
+ "CANVAS" : {
"isOnlyVisible" : true,
"urlTemplate" : "http://%host%/eXoGadgetServer/gadgets/canvas?{var}",
"aliases" : ["FULL_PAGE"]
Modified: portal/trunk/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl
===================================================================
--- portal/trunk/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl 2010-04-12 10:20:18 UTC (rev 2584)
+++ portal/trunk/portlet/dashboard/src/main/webapp/groovy/gadget/webui/component/UIGadgetViewMode.gtmpl 2010-04-12 11:16:17 UTC (rev 2585)
@@ -13,7 +13,7 @@
def userPref = null;//uicomponent.getUserPref() ;
JavascriptManager jsmanager = rcontext.getJavascriptManager();
jsmanager.importJavascript("eXo.gadget.UIGadget") ;
- jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.createGadget('$url','$id', $metadata, $userPref, 'canvas', '$hostName');") ;
+ jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.createGadget('$url','$id', $metadata, $userPref, 'CANVAS', '$hostName');") ;
java.util.Map<String, String> metadataMap = GadgetUtil.getMapMetadata(url) ;
String height = "auto" ;
if(metadataMap.containsKey("height") && Integer.parseInt(metadataMap.get("height")) > 0)
Modified: portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js
===================================================================
--- portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js 2010-04-12 10:20:18 UTC (rev 2584)
+++ portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js 2010-04-12 11:16:17 UTC (rev 2585)
@@ -256,8 +256,8 @@
var portletFrag = DOMUtil.findAncestorByClass(uiGadget, "PORTLET-FRAGMENT") ;
if (!portletFrag) return;
var maximize = "maximize";
- if(view == 'canvas') maximize = "maximize";
- else if(view == 'home') maximize = "unmaximize";
+ if(view == 'CANVAS') maximize = "maximize";
+ else if(view == 'HOME') maximize = "unmaximize";
var compId = portletFrag.parentNode.id;
var uicomp = DOMUtil.getChildrenByTagName(portletFrag, "div")[0];
var href = eXo.env.server.portalBaseURL + "?portal:componentId=" + compId ;
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2010-04-12 10:20:18 UTC (rev 2584)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2010-04-12 11:16:17 UTC (rev 2585)
@@ -88,7 +88,7 @@
public static final String HOME_VIEW = "HOME";
- public static final String CANVAS_VIEW = "HOME";
+ public static final String CANVAS_VIEW = "CANVAS";
public String view = HOME_VIEW;
14 years, 8 months
gatein SVN: r2584 - portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component.
by do-not-reply@jboss.org
Author: ndkhoiits
Date: 2010-04-12 06:20:18 -0400 (Mon, 12 Apr 2010)
New Revision: 2584
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java
Log:
execute reload() method after edit an application
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java 2010-04-12 08:02:10 UTC (rev 2583)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationForm.java 2010-04-12 10:20:18 UTC (rev 2584)
@@ -21,6 +21,8 @@
import org.exoplatform.application.registry.Application;
import org.exoplatform.application.registry.ApplicationRegistryService;
+import org.exoplatform.portal.application.PortalRequestContext;
+import org.exoplatform.portal.webui.portal.UIPortal;
import org.exoplatform.web.application.ApplicationMessage;
import org.exoplatform.webui.application.WebuiRequestContext;
import org.exoplatform.commons.serialization.api.annotations.Serialized;
@@ -30,6 +32,7 @@
import org.exoplatform.webui.core.lifecycle.UIFormLifecycle;
import org.exoplatform.webui.event.Event;
import org.exoplatform.webui.event.EventListener;
+import org.exoplatform.webui.event.MonitorEvent;
import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.form.UIForm;
import org.exoplatform.webui.form.UIFormStringInput;
@@ -110,9 +113,11 @@
}
service.update(application);
//uiOrganizer.setSelectedApplication(uiOrganizer.getSelectedApplication());
+ uiOrganizer.reload();
uiOrganizer.setSelectedApplication(application);
ctx.addUIComponentToUpdateByAjax(uiOrganizer);
}
+
}
static public class CancelActionListener extends EventListener<UIApplicationForm>
14 years, 8 months