gatein SVN: r9006 - epp/docs/branches/6.0/Release_Notes/en-US.
by do-not-reply@jboss.org
Author: smumford
Date: 2012-12-17 21:33:45 -0500 (Mon, 17 Dec 2012)
New Revision: 9006
Modified:
epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml
epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml
Log:
Integrated feedback from Divya and Jiri
Modified: epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml 2012-12-17 23:52:06 UTC (rev 9005)
+++ epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml 2012-12-18 02:33:45 UTC (rev 9006)
@@ -6,78 +6,304 @@
<chapter id="Introduction">
<title>Introduction</title>
- <para>Welcome to JBoss Portal Platform 6. As you become familiar with the newest version of JBoss Portal Platform, these Release Notes provide you with information about new features, newly-resolved issues, and known issues. Use this document in conjunction with the entire JBoss Portal Platform 6 suite of documentation, available at http://docs.redhat.com/ .</para>
+ <para>Welcome to JBoss Portal Platform 6. As you become familiar with the newest version of JBoss Portal Platform, these Release Notes provide you with information about new features, resolved issues since the last release, and known issues. Use this document in conjunction with the entire JBoss Portal Platform 6 suite of documentation, available at <ulink url="https://access.redhat.com/knowledge/docs/JBoss_Enterprise_Portal_Platform/" />. .</para>
<section>
- <title>Beta Participants</title>
+ <title>JBoss Portal Platform 6 Beta Information</title>
<para>Thank you for participating in the JBoss Enterprise Application Platform 6 Beta evaluation program. Your feedback is valuable. To assist you with your evaluation, please take the time to review the sections below for new features, untested configurations, and known issues.</para>
<para>To provide feedback on your experience, contact Red Hat Global Support Services.</para>
+ <section>
+ <title>Beta Duration and Feedback</title>
+ <para>
+ The JBoss Portal Platform 6 Beta begins December 20, 2012, and ends February 15, 2013.
+ </para>
+ <para>
+ We value your feedback during the Beta. Existing JBoss Portal Platform customers can provide feedback or log bugs via Red Hat Global Support Services and the Red Hat Customer Portal. Issues identified during the Beta program will be considered for future releases, but there is no guarantee about whether or when these issues will be addressed.
+ </para>
+ </section>
</section>
<section>
<title>Overview</title>
<para>JBoss Portal Platform offers an intuitive, easy to manage user interface and a proven core infrastructure to enable organizations to quickly build dynamic web sites in a highly reusable way. By bringing the principles of JBoss Open Choice to the presentation layer, JBoss Portal Platform 6 maximizes existing skills and technology investments.</para>
- <para>By integrating open source frameworks such as JBoss Seam, Hibernate, Tomcat, and JBoss Cache, JBoss Portal Platform takes advantage of innovations in the open source community.</para>
- <para>JBoss Portal Platform &VZ; is fully tested and supported by Red Hat, and is certified to work on many leading enterprise hardware and software products.</para>
+ <para>By integrating open source frameworks such as JBoss Seam, Hibernate, Tomcat, and JBoss Cache, JBoss Portal Platform takes advantage of innovations in the open source community.</para><!-- REMOVED FOR BETA
+ <para>JBoss Portal Platform &VZ; is fully tested and supported by Red Hat, and is tested to work on many leading enterprise hardware and software products.</para>-->
+ <warning>
+ <para>
+ JBoss Portal Platform 6 Beta is not supported, but is provided for testing purposes.
+ </para>
+ </warning>
</section>
<section>
- <title>Supported Configurations</title>
- <para>Every JBoss® Portal Platform (JBoss EPP) release is tested and certified on a variety of market-leading operating systems, Java™ Virtual Machines (JVMs), and database combinations. For details of configurations on which JBoss Portal Platform is supported, refer to <ulink url="https://access.redhat.com/knowledge/articles/119833" />.</para>
- </section>
- <section>
+ <title>Tested Configurations</title>
+ <para>Every JBoss® Portal Platform (JBoss EPP) release is tested on a variety of market-leading operating systems, Java™ Virtual Machines (JVMs), and database combinations. JBoss Portal Platform 6 Beta is tested and expected to work using the following configurations. The list of supported integrations for JBoss Portal Platform 6.0 will be published on the date of its General Availability.<!--For details of configurations on which JBoss Portal Platform is supported, refer to <ulink url="https://access.redhat.com/knowledge/articles/119833" />.--></para>
+ <table>
+ <title>Tested Integrations</title>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Operating System</entry>
+ <entry>Oracle JDK</entry>
+ <entry>IBM JDK</entry>
+ <entry>OpenJDK</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>Red Hat Enterprise Linux 5 32-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6</entry>
+ </row>
+ <row>
+ <entry>Red Hat Enterprise Linux 5 64-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6</entry>
+ </row>
+ <row>
+ <entry>Red Hat Enterprise Linux 6 32-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6, 7</entry>
+ </row>
+ <row>
+ <entry>Red Hat Enterprise Linux 6 64-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>1.6, 7</entry>
+ </row>
+ <row>
+ <entry>Solaris 10 32-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ <row>
+ <entry>Solaris 10 64-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ <row>
+ <entry>Solaris 10 SPARC</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ <row>
+ <entry>Solaris 11 32-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ <row>
+ <entry>Solaris 11 64-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ <row>
+ <entry>Solaris 11 SPARC</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ <row>
+ <entry>Microsoft Windows Server 2008 32-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ <row>
+ <entry>Microsoft Windows Server 2008 64-bit</entry>
+ <entry>1.6, 1.7</entry>
+ <entry>none</entry>
+ <entry>none</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table>
+ <title>Supported Databases and JDBC Drivers</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Database</entry>
+ <entry>JDBC Driver</entry>
+ <entry>JDBC Version</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>IBM DB2 9.7</entry>
+ <entry>IBM DB2 JDBC Universal Driver Architecture 4.13.80</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>Oracle 11g R1</entry>
+ <entry>Oracle JDBC Driver v11.1.0.7</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>Oracle 11g R1 RAC</entry>
+ <entry>Oracle JDBC Driver v11.1.0.7</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>Oracle 11g R2</entry>
+ <entry>Oracle JDBC Driver v11.2.0.3.0</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>Oracle 11g R2 RAC</entry>
+ <entry>Oracle JDBC Driver v11.2.0.3.0</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>MySQL 5.1</entry>
+ <entry>MySQL Connector/J 5.1.21</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>MySQL 5.5</entry>
+ <entry>MySQL Connector/J 5.1.21</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>PostgreSQL 8.4.8</entry>
+ <entry>Postgresql Driver, Version 8.4-703</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>PostgreSQL 9.1.0</entry>
+ <entry>Postgresql Driver, Version 9.1-903</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>Microsoft SQL Server 2008</entry>
+ <entry>Microsoft SQL Server JDBC Driver 3.0.1301.101</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>Microsoft SQL Server 2008 R2</entry>
+ <entry>Microsoft SQL Server JDBC Driver 3.0.1301.101</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ <row>
+ <entry>Sybase 15.7</entry>
+ <entry>Sybase jConnect JDBC driver v7</entry>
+ <entry>JDBC 4</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table>
+ <title>Supported LDAP Servers</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>LDAP Server</entry>
+ <entry>Versions</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>OpenDS</entry>
+ <entry>1.2, 2.0, 2.2 Update 1</entry>
+ </row>
+ <row>
+ <entry>Microsoft Active Directory</entry>
+ <entry>Microsoft Windows Server 2008, 2008 R2</entry>
+ </row>
+ <row>
+ <entry>OpenLDAP</entry>
+ <entry>2.4</entry>
+ </row>
+ <row>
+ <entry>SunDS</entry>
+ <entry>6.1</entry>
+ </row>
+ <row>
+ <entry>Oracle Directory Server</entry>
+ <entry>11g</entry>
+ </row>
+ <row>
+ <entry>Red Hat Directory Server</entry>
+ <entry>7.1, 8.1, 8.2, 9.0</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table>
+ <title>Supported SSO Providers</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>SSO Provider</entry>
+ <entry>Version</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>JOSSO</entry>
+ <entry>1.8, 2.2</entry>
+ </row>
+ <row>
+ <entry>CAS</entry>
+ <entry>3.5</entry>
+ </row>
+ <row>
+ <entry>OpenAM</entry>
+ <entry>9.5, 10.0</entry>
+ </row>
+ <row>
+ <entry>SPNEGO</entry>
+ <entry>Kerberos 5</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <formalpara>
<title>Supported Web Browsers</title>
- <itemizedlist>
- <listitem>
- <para>Microsoft Windows</para>
- </listitem>
- <listitem>
- <itemizedlist>
- <listitem>
- <para>Microsoft Internet Explorer 8</para>
- </listitem>
- <listitem>
- <para>Microsoft Internet Explorer 9</para>
- </listitem>
- <listitem>
- <para>Microsoft Internet Explorer 10 (only if released officially by Microsoft and supported by RF 4.x)</para>
- </listitem>
- <listitem>
- <para>Firefox 12 (or latest version if released after July 20, 2012).</para>
- </listitem>
- <listitem>
- <para>Chrome 17 (or latest version if released after July 20, 2012)</para>
- </listitem>
- </itemizedlist>
- </listitem>
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para>Linux</para>
- </listitem>
- <listitem>
- <itemizedlist>
- <listitem>
- <para>Firefox 12 (or latest version if released after July 20, 2012)</para>
- </listitem>
- <listitem>
- <para>Chrome 17 (or latest version if released after July 20, 2012)</para>
- </listitem>
- </itemizedlist>
- </listitem>
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para>Apple Macintosh</para>
- </listitem>
- <listitem>
- <itemizedlist>
- <listitem>
- <para> Safari 5.1 (or later version if released after July 20, 2012)</para>
- </listitem>
- <listitem>
- <para>Safari 6.0</para>
- </listitem>
- </itemizedlist>
- </listitem>
- </itemizedlist>
+ <!-- From https://docspace.corp.redhat.com/docs/DOC-71217 -->
+ <para>
+ The following web browsers have been tested and are expected to work with JBoss Portal Platform 6 Beta. The list of tested and supported browsers for JBoss Portal Platform 6 will be published on the date of its General Availability.
+ </para>
+ </formalpara>
+ <variablelist>
+ <varlistentry>
+ <term>Microsoft Windows</term>
+ <listitem>
+ <itemizedlist>
+ <listitem><para>Microsoft Internet Explorer 8</para></listitem>
+ <listitem><para>Microsoft Internet Explorer 9</para></listitem>
+ <listitem><para>Microsoft Internet Explorer 10</para></listitem>
+ <listitem><para>Mozilla Firefox 16</para></listitem>
+ <listitem><para>Mozilla Firefox ESR 10</para></listitem>
+ <listitem><para>Google Chrome 22</para></listitem>
+ <listitem><para>Google Chrome 23</para></listitem>
+ </itemizedlist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Red Hat Enterprise Linux</term>
+ <listitem>
+ <itemizedlist>
+ <listitem><para>Mozilla Firefox 16</para></listitem>
+ <listitem><para>Mozilla Firefox ESR 16</para></listitem>
+ <listitem><para>Google Chrome 22</para></listitem>
+ <listitem><para>Google Chrome 23</para></listitem>
+ </itemizedlist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Apple OS X</term>
+ <listitem>
+ <para>
+ Safari 6.0
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</section>
</chapter>
Modified: epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-17 23:52:06 UTC (rev 9005)
+++ epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-18 02:33:45 UTC (rev 9006)
@@ -5,7 +5,15 @@
<title>Known Issues</title>
<variablelist>
<title>Portal</title>
-
+ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=880729 -->
+ <varlistentry>
+ <term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=880729" /></term>
+ <listitem>
+ <para>
+ JBossWS outputs the URLs of individual nodes for ports it generates in the WSDL, rather than the URL of the loadbalancer, even when the WSDL was generated from a loadbalancer-fronted cluster. This causes the WSRP consumer to communicate directly with a WS client instead of the loadbalancer, and prevents failover from working properly. This is because the consumer still uses a failed node's URL rather than referring to the loadbalancer to get another node. This problem will be fixed for JBoss Portal Platform 6 GA, but is still present in JBoss Portal Platform 6 Beta.
+ </para>
+ </listitem>
+ </varlistentry>
<!-- https://bugzilla.redhat.com/show_bug.cgi?id=886697 -->
<varlistentry>
<term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=886697" /></term>
@@ -36,18 +44,23 @@
<term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=873711" /></term>
<listitem>
<para>
- When Sybase 15.7 is used as the underlying relational DBMS together with Hibernate the following error message occurs: <screen>SQLGrammarException: Incorrect syntax</screen> The cause of this is that the wrong dialect is detected. To work around this problem, the correct dialect needs to be specified as "org.hibernate.dialect.SybaseASE157Dialect" in the Hibernate configuration file <filename>hibernates.xml</filename>, as in the following example:</para>
- <programlisting language="XML">
-<configuration>
- <configuration-name>sybase157</configuration-name>
- <properties>
- <property>
- <name>hibernate.dialect</name>
- <value>org.hibernate.dialect.SybaseASE157Dialect</value>
- </property>
- </properties>
-</configuration>
- </programlisting>
+ When Sybase 15.7 is used as the underlying relational DBMS together with Hibernate the following error message occurs: <code>SQLGrammarException: Incorrect syntax</code> The cause of this is that the wrong dialect is detected. This issue can be fixed by using the <code>org.hibernate.dialect.SybaseASE157Dialect</code> dialect instead of <code>org.hibernate.dialect.SybaseAnywhereDialect</code> or the dialect Hibernate automatically detects, which is <code>org.hibernate.dialect.SybaseASE15Dialect</code>.
+ </para>
+ <para>
+ If you use Sybase 15.7 with JBoss Portal Platform, you need to enforce the dialect to be <code>SybaseASE157Dialect</code>. To do this, add the following to the <filename><replaceable>JPP_HOME</replaceable>/gatein/gatein.ear/portal.war/WEB-INF/conf/organization/idm-configuration.xml</filename> file:
+ </para>
+ <programlisting language="XML" role="XML"><![CDATA[
+<properties-param>
+ <name>hibernate.properties</name>
+ <description>Default Hibernate Service</description>
+ <!--
+ Should be automatically detected. Force otherwise
+ -->
+ <property name="hibernate.dialect" value="org.hibernate.dialect.SybaseASE157Dialect"/>
+ ...
+</properties-param>
+ ]]>
+ </programlisting>
</listitem>
</varlistentry>
</variablelist>
Modified: epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml 2012-12-17 23:52:06 UTC (rev 9005)
+++ epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml 2012-12-18 02:33:45 UTC (rev 9006)
@@ -4,18 +4,134 @@
<chapter id="new_features">
<title>New Features</title>
- <itemizedlist>
- <listitem>
- <para>JBoss Portal Platform &VZ; is hosted on JBoss Enterprise Application Platform 6, bringing all the benefits of that platform's latest version;</para>
- </listitem>
- <listitem>
- <para>Portlet bridge support for JSF 2.1 and RichFaces 4 has been added, enabling the deployment of portlets written in either framework;</para>
- </listitem>
- <listitem>
- <para>Support for Security Assertion Markup Language (SAML) 2.0 has been added;</para>
- </listitem>
- <listitem>
- <para>Apache CXF support for Web Services for Remote Portlets (WSRP) has been added.</para>
- </listitem>
- </itemizedlist>
+ <section>
+ <title>JBoss Enterprise Application Platform 6</title>
+ <para>JBoss Portal Platform &VZ; uses JBoss Enterprise Application Platform 6.0.1 GA as its application container. This and future versions of JBoss Portal Platform will not be supported with JBoss Enterprise Application Platform 5.x.</para>
+ </section>
+ <section>
+ <title>JSF 2.1 and RichFaces 4.2</title>
+ <para>
+ The Portlet Bridge technology for JBoss Portal Platform 6 Beta has been updated to use JavaServer Faces 2.1 and RichFaces 4.2.
+ </para>
+ </section>
+ <section>
+ <title>SAML 2.0 for SSO</title>
+ <para>Authentication via SAML 2.0 is available in JBoss Portal Platform 6 Beta. The following SAML 2.0 profiles and bindings are available.</para>
+ <itemizedlist>
+ <title>Available SAML 2.0 Profiles</title>
+ <listitem><para>Web Browser SSO</para></listitem>
+ <listitem><para>Single Logout</para></listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <title>Available SAML 2.0 Bindings</title>
+ <listitem><para>HTTP Post Binding</para></listitem>
+ <listitem><para>HTTP Redirect</para></listitem>
+ </itemizedlist>
+ <para>
+ JBoss Portal Platform 6 Beta can act either as an Identity Provider or as a Service Provider.
+ </para>
+ <note>
+ <para>SAML 2.0 authentication is not available for Web Services Remote Portlets (WSRP).</para>
+ </note>
+</section>
+ <section>
+ <title>Apache CXF for WSRP</title>
+ <para>JBoss Portal Platform 6 Beta uses the Apache CXF framework for Web Services.</para>
+ </section>
+ <section>
+ <title>User Interface</title>
+ <para>
+ The administration interface and tooling are mostly unchanged from JBoss Enterprise Portal Platform 5. Minimal differences may appear.
+ </para>
+ </section>
+ <section>
+ <title>Component Versions</title>
+ <table>
+ <title></title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Component</entry>
+ <entry>Version</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>JBoss Enterprise Application Platform</entry>
+ <entry>6.0.1 GA</entry>
+ </row>
+ <row>
+ <entry>eXo Kernel</entry>
+ <entry>2.4.0-GA-redhat-1</entry>
+ </row>
+ <row>
+ <entry>eXo Core</entry>
+ <entry>2.5.0-GA-redhat-1</entry>
+ </row>
+ <row>
+ <entry>eXo WS</entry>
+ <entry>2.3.0-GA-redhat-1</entry>
+ </row>
+ <row>
+ <entry>eXo JCR</entry>
+ <entry>1.15.0-GA-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn Common</entry>
+ <entry>2.1.0.Final-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn Dep</entry>
+ <entry>1.2.0.Final-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn Management</entry>
+ <entry>1.1.0.Final-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn MOP</entry>
+ <entry>1.2.0.Final-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn PC</entry>
+ <entry>2.4.0.Fina.-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn Shindig</entry>
+ <entry>2.0.2.Final-gatein-3-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn Simple Captcha</entry>
+ <entry>1.1.1.Final-gatein-3-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn SSO</entry>
+ <entry>1.3.0.Final-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn WCI</entry>
+ <entry>2.3.0.Final-redhat-1</entry>
+ </row>
+ <row>
+ <entry>GateIn WSRP</entry>
+ <entry>2.2.1.CR01-redhat-1</entry>
+ </row>
+ <row>
+ <entry>PicketLink IDM</entry>
+ <entry>1.4.1.CR01-redhat-1</entry>
+ </row>
+ <row>
+ <entry>Portlet Bridge</entry>
+ <entry>3.1.1.Final-redhat-1</entry>
+ </row>
+ <row>
+ <entry>RichFaces</entry>
+ <entry>4.2</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ </section>
+
</chapter>
12 years
gatein SVN: r9005 - epp/docs/branches/6.0/Release_Notes/en-US.
by do-not-reply@jboss.org
Author: smumford
Date: 2012-12-17 18:52:06 -0500 (Mon, 17 Dec 2012)
New Revision: 9005
Modified:
epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
Log:
Rolling back revision 9002
Modified: epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-17 14:09:59 UTC (rev 9004)
+++ epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-17 23:52:06 UTC (rev 9005)
@@ -28,6 +28,28 @@
</listitem>
</varlistentry>
</variablelist>
+<variablelist>
+ <title>PicketLink</title>
+
+ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=873711 -->
+ <varlistentry>
+ <term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=873711" /></term>
+ <listitem>
+ <para>
+ When Sybase 15.7 is used as the underlying relational DBMS together with Hibernate the following error message occurs: <screen>SQLGrammarException: Incorrect syntax</screen> The cause of this is that the wrong dialect is detected. To work around this problem, the correct dialect needs to be specified as "org.hibernate.dialect.SybaseASE157Dialect" in the Hibernate configuration file <filename>hibernates.xml</filename>, as in the following example:</para>
+ <programlisting language="XML">
+<configuration>
+ <configuration-name>sybase157</configuration-name>
+ <properties>
+ <property>
+ <name>hibernate.dialect</name>
+ <value>org.hibernate.dialect.SybaseASE157Dialect</value>
+ </property>
+ </properties>
+</configuration>
+ </programlisting>
+ </listitem>
+ </varlistentry>
+</variablelist>
-
</chapter>
12 years
gatein SVN: r9004 - epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page.
by do-not-reply@jboss.org
Author: ppalaga
Date: 2012-12-17 09:09:59 -0500 (Mon, 17 Dec 2012)
New Revision: 9004
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java
Log:
Bug 878272 - lack of logging when error "org.gatein.pc.api.NoSuchPortletException: No such portlet xxx" occurs. Added Stack trace to the log.
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java 2012-12-17 13:45:29 UTC (rev 9003)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java 2012-12-17 14:09:59 UTC (rev 9004)
@@ -160,7 +160,7 @@
if (log.isDebugEnabled()) {
log.debug("page.id="+ page.getId() +", page.name="+ page.getName()
+", page.pageId="+ page.getPageId() +", page.ownerId="+ page.getOwnerId()
- +", page.template="+ page.getTemplate() +", pageReference="+ pageReference);
+ +", page.template="+ page.getTemplate() +", pageReference="+ pageReference, e);
}
throw e;
}
12 years
gatein SVN: r9003 - epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page.
by do-not-reply@jboss.org
Author: ppalaga
Date: 2012-12-17 08:45:29 -0500 (Mon, 17 Dec 2012)
New Revision: 9003
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java
Log:
Bug 878272 - lack of logging when error "org.gatein.pc.api.NoSuchPortletException: No such portlet xxx" occurs
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java 2012-12-17 05:55:25 UTC (rev 9002)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java 2012-12-17 13:45:29 UTC (rev 9003)
@@ -32,6 +32,8 @@
import org.exoplatform.webui.config.annotation.ComponentConfig;
import org.exoplatform.webui.core.UIComponent;
import org.exoplatform.webui.core.UIComponentDecorator;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
/**
* May 19, 2006
@@ -44,6 +46,9 @@
private String storageId;
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(UIPageBody.class);
+
public UIPageBody(PageBody model) throws Exception
{
setId("UIPageBody");
@@ -141,13 +146,25 @@
{
return uiPage;
}
-
- UIPageFactory clazz = UIPageFactory.getInstance(page.getFactoryId());
- uiPage = clazz.createUIPage(context);
-
- PortalDataMapper.toUIPage(uiPage, page);
- uiPortal.setUIPage(page.getId(), uiPage);
+ try
+ {
+ UIPageFactory clazz = UIPageFactory.getInstance(page.getFactoryId());
+ uiPage = clazz.createUIPage(context);
+
+ PortalDataMapper.toUIPage(uiPage, page);
+ uiPortal.setUIPage(page.getId(), uiPage);
+ }
+ catch (Exception e)
+ {
+ if (log.isDebugEnabled()) {
+ log.debug("page.id="+ page.getId() +", page.name="+ page.getName()
+ +", page.pageId="+ page.getPageId() +", page.ownerId="+ page.getOwnerId()
+ +", page.template="+ page.getTemplate() +", pageReference="+ pageReference);
+ }
+ throw e;
+ }
+
return uiPage;
}
12 years
gatein SVN: r9002 - epp/docs/branches/6.0/Release_Notes/en-US.
by do-not-reply@jboss.org
Author: smumford
Date: 2012-12-17 00:55:25 -0500 (Mon, 17 Dec 2012)
New Revision: 9002
Modified:
epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
Log:
Removed Bug 873711 (and hence the Picketlink section) from the Known Issues
Modified: epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-16 20:14:06 UTC (rev 9001)
+++ epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-17 05:55:25 UTC (rev 9002)
@@ -28,28 +28,6 @@
</listitem>
</varlistentry>
</variablelist>
-<variablelist>
- <title>PicketLink</title>
-
- <!-- https://bugzilla.redhat.com/show_bug.cgi?id=873711 -->
- <varlistentry>
- <term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=873711" /></term>
- <listitem>
- <para>
- When Sybase 15.7 is used as the underlying relational DBMS together with Hibernate the following error message occurs: <screen>SQLGrammarException: Incorrect syntax</screen> The cause of this is that the wrong dialect is detected. To work around this problem, the correct dialect needs to be specified as "org.hibernate.dialect.SybaseASE157Dialect" in the Hibernate configuration file <filename>hibernates.xml</filename>, as in the following example:</para>
- <programlisting language="XML">
-<configuration>
- <configuration-name>sybase157</configuration-name>
- <properties>
- <property>
- <name>hibernate.dialect</name>
- <value>org.hibernate.dialect.SybaseASE157Dialect</value>
- </property>
- </properties>
-</configuration>
- </programlisting>
- </listitem>
- </varlistentry>
-</variablelist>
+
</chapter>
12 years
gatein SVN: r9001 - epp/docs/branches/6.0/Release_Notes/en-US.
by do-not-reply@jboss.org
Author: rdickens
Date: 2012-12-16 15:14:06 -0500 (Sun, 16 Dec 2012)
New Revision: 9001
Modified:
epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml
epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml
epp/docs/branches/6.0/Release_Notes/en-US/Revision_History.xml
Log:
Added BZ#882318 and BZ#881975 to 'Known Issues' and removed mention of features as requested by Divya
Modified: epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml 2012-12-14 12:27:27 UTC (rev 9000)
+++ epp/docs/branches/6.0/Release_Notes/en-US/Introduction.xml 2012-12-16 20:14:06 UTC (rev 9001)
@@ -4,22 +4,80 @@
%BOOK_ENTITIES;
]>
<chapter id="Introduction">
- <title>Introduction</title>
- <para>Welcome to JBoss Portal Platform 6. As you become familiar with the newest version of JBoss Portal Platform, these Release Notes provide you with information about new features, newly-resolved issues, and known issues. Use this document in conjunction with the entire JBoss Portal Platform 6 suite of documentation, available at http://docs.redhat.com/ .</para>
+<title>Introduction</title>
- <section>
- <title>Beta Participants</title>
- <para>Thank you for participating in the JBoss Enterprise Application Platform 6 Beta evaluation program. Your feedback is valuable. To assist you with your evaluation, please take the time to review the sections below for new features, untested configurations, and known issues.</para>
- <para>To provide feedback on your experience, contact Red Hat Global Support Services.</para>
- </section>
- <section>
- <title>Overview</title>
+ <para>Welcome to JBoss Portal Platform 6. As you become familiar with the newest version of JBoss Portal Platform, these Release Notes provide you with information about new features, newly-resolved issues, and known issues. Use this document in conjunction with the entire JBoss Portal Platform 6 suite of documentation, available at http://docs.redhat.com/ .</para>
+
+ <section>
+ <title>Beta Participants</title>
+ <para>Thank you for participating in the JBoss Enterprise Application Platform 6 Beta evaluation program. Your feedback is valuable. To assist you with your evaluation, please take the time to review the sections below for new features, untested configurations, and known issues.</para>
+ <para>To provide feedback on your experience, contact Red Hat Global Support Services.</para>
+ </section>
+ <section>
+ <title>Overview</title>
<para>JBoss Portal Platform offers an intuitive, easy to manage user interface and a proven core infrastructure to enable organizations to quickly build dynamic web sites in a highly reusable way. By bringing the principles of JBoss Open Choice to the presentation layer, JBoss Portal Platform 6 maximizes existing skills and technology investments.</para>
<para>By integrating open source frameworks such as JBoss Seam, Hibernate, Tomcat, and JBoss Cache, JBoss Portal Platform takes advantage of innovations in the open source community.</para>
<para>JBoss Portal Platform &VZ; is fully tested and supported by Red Hat, and is certified to work on many leading enterprise hardware and software products.</para>
- </section>
- <section>
- <title>Supported Configurations</title>
- <para>Every JBoss® Portal Platform (JBoss EPP) release is tested and certified on a variety of market-leading operating systems, Java™ Virtual Machines (JVMs), and database combinations. For details of configurations on which JBoss Portal Platform is supported, refer to <ulink url="https://access.redhat.com/knowledge/articles/119833" />.</para>
- </section>
+ </section>
+ <section>
+ <title>Supported Configurations</title>
+ <para>Every JBoss® Portal Platform (JBoss EPP) release is tested and certified on a variety of market-leading operating systems, Java™ Virtual Machines (JVMs), and database combinations. For details of configurations on which JBoss Portal Platform is supported, refer to <ulink url="https://access.redhat.com/knowledge/articles/119833" />.</para>
+ </section>
+ <section>
+ <title>Supported Web Browsers</title>
+ <itemizedlist>
+ <listitem>
+ <para>Microsoft Windows</para>
+ </listitem>
+ <listitem>
+ <itemizedlist>
+ <listitem>
+ <para>Microsoft Internet Explorer 8</para>
+ </listitem>
+ <listitem>
+ <para>Microsoft Internet Explorer 9</para>
+ </listitem>
+ <listitem>
+ <para>Microsoft Internet Explorer 10 (only if released officially by Microsoft and supported by RF 4.x)</para>
+ </listitem>
+ <listitem>
+ <para>Firefox 12 (or latest version if released after July 20, 2012).</para>
+ </listitem>
+ <listitem>
+ <para>Chrome 17 (or latest version if released after July 20, 2012)</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>Linux</para>
+ </listitem>
+ <listitem>
+ <itemizedlist>
+ <listitem>
+ <para>Firefox 12 (or latest version if released after July 20, 2012)</para>
+ </listitem>
+ <listitem>
+ <para>Chrome 17 (or latest version if released after July 20, 2012)</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>Apple Macintosh</para>
+ </listitem>
+ <listitem>
+ <itemizedlist>
+ <listitem>
+ <para> Safari 5.1 (or later version if released after July 20, 2012)</para>
+ </listitem>
+ <listitem>
+ <para>Safari 6.0</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ </section>
</chapter>
Modified: epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-14 12:27:27 UTC (rev 9000)
+++ epp/docs/branches/6.0/Release_Notes/en-US/Known_Issues.xml 2012-12-16 20:14:06 UTC (rev 9001)
@@ -3,22 +3,53 @@
]>
<chapter id="known">
<title>Known Issues</title>
-<para>BZ873711 - Picketlink IDM test suite failing for Sybase 15.7 with "SQLGrammarException: Incorrect syntax" as apparent cause.</para>
-<para>Cause: Unknown</para>
-<para>Consequence: </para>
-<para>Fix: Issue can fixed by using of <systemitem>org.hibernate.dialect.SybaseASE157Dialect</systemitem> instead of <systemitem>org.hibernate.dialect.SybaseAnywhereDialect</systemitem> or <systemitem>org.hibernate.dialect.SybaseASE15Dialect</systemitem>, which is autodetected by Hibernate.</para>
-<para>In <filename>hibernates.xml</filename>, explicitly specify the Hibernate dialect, as in the following example:
- <code lang="XML">
- <configuration>
- <configuration-name>sybase157</configuration-name>
- <properties>
- <property>
- <name>hibernate.dialect</name>
- <value>org.hibernate.dialect.SybaseASE157Dialect</value>
- </property>
- </properties>
- </configuration>
- </code>
-</para>
-<para>Result: The message <screen>"SQLGrammarException: Incorrect syntax"</screen> no longer occurs.</para>
+<variablelist>
+ <title>Portal</title>
+
+ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=886697 -->
+ <varlistentry>
+ <term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=886697" /></term>
+ <listitem>
+ <para>When creating a new portal from a template, the image previews shown on the "Portal Templates" tab showing an image of an older GateIn template, not the JBoss Portal Platform template. These image previews will be updated in a future release. Although the image previews are inaccurate, this doesn't affect operation of JBoss Portal Platform in any way.</para>
+ </listitem>
+ </varlistentry>
+ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=882318 -->
+ <varlistentry>
+ <term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=882318" /></term>
+ <listitem>
+ <para>When creating a navigation node with no name, the title of the web page becomes the string "null". It should delegate to the portal page name.</para>
+ </listitem>
+ </varlistentry>
+ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=881975 -->
+ <varlistentry>
+ <term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=881975" /></term>
+ <listitem>
+ <para>When accessing JBoss Portal Platform via the HTTPS protocol, attempting to add a gadgets fails with the error message "Errors while retrieving gadget specification file". The cause of this issue is that the function used to retrieve the hostname returns it in an invalid format, preventing communication with the host.</para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+<variablelist>
+ <title>PicketLink</title>
+
+ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=873711 -->
+ <varlistentry>
+ <term><ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=873711" /></term>
+ <listitem>
+ <para>
+ When Sybase 15.7 is used as the underlying relational DBMS together with Hibernate the following error message occurs: <screen>SQLGrammarException: Incorrect syntax</screen> The cause of this is that the wrong dialect is detected. To work around this problem, the correct dialect needs to be specified as "org.hibernate.dialect.SybaseASE157Dialect" in the Hibernate configuration file <filename>hibernates.xml</filename>, as in the following example:</para>
+ <programlisting language="XML">
+<configuration>
+ <configuration-name>sybase157</configuration-name>
+ <properties>
+ <property>
+ <name>hibernate.dialect</name>
+ <value>org.hibernate.dialect.SybaseASE157Dialect</value>
+ </property>
+ </properties>
+</configuration>
+ </programlisting>
+ </listitem>
+ </varlistentry>
+</variablelist>
+
</chapter>
Modified: epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml 2012-12-14 12:27:27 UTC (rev 9000)
+++ epp/docs/branches/6.0/Release_Notes/en-US/New_Features.xml 2012-12-16 20:14:06 UTC (rev 9001)
@@ -4,11 +4,18 @@
<chapter id="new_features">
<title>New Features</title>
- <para>JBoss Portal Platform &VZ; is hosted on JBoss Enterprise Application Platform 6, providing all the features available in the latest major release.</para>
- <para>Portlet bridge support for JSF 2.1 and RichFaces 4 has been added, enabling the deployment of portlets written in either framework.</para>
- <para>SAML 2.0 support.</para>
- <para>Apache CXF support for WSRP.</para>
- <para>UXP Enablement has been reinstated, allowing for platform applications to be hosted on JBoss Portal Platform.</para>
- <para>A "Standalone mode" has been added, allowing access to JBoss Portal Platform gadgets without the portal chrome.</para>
- <para>"WebOS mode" has been added. This mode enables you to present the portal apps in a desktop-like user interface where apps are launched from a dock and apps are opened in movable/resizeable windows.</para>
+ <itemizedlist>
+ <listitem>
+ <para>JBoss Portal Platform &VZ; is hosted on JBoss Enterprise Application Platform 6, bringing all the benefits of that platform's latest version;</para>
+ </listitem>
+ <listitem>
+ <para>Portlet bridge support for JSF 2.1 and RichFaces 4 has been added, enabling the deployment of portlets written in either framework;</para>
+ </listitem>
+ <listitem>
+ <para>Support for Security Assertion Markup Language (SAML) 2.0 has been added;</para>
+ </listitem>
+ <listitem>
+ <para>Apache CXF support for Web Services for Remote Portlets (WSRP) has been added.</para>
+ </listitem>
+ </itemizedlist>
</chapter>
Modified: epp/docs/branches/6.0/Release_Notes/en-US/Revision_History.xml
===================================================================
--- epp/docs/branches/6.0/Release_Notes/en-US/Revision_History.xml 2012-12-14 12:27:27 UTC (rev 9000)
+++ epp/docs/branches/6.0/Release_Notes/en-US/Revision_History.xml 2012-12-16 20:14:06 UTC (rev 9001)
@@ -6,6 +6,49 @@
<simpara>
<revhistory>
<revision>
+ <revnumber>6.0.0-4</revnumber>
+ <date>Mon Dec 17 2012</date>
+ <author>
+ <firstname>Russell</firstname>
+ <surname>Dickenson</surname>
+ <email/>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Added BZ#882318 and BZ#882318 to 'Known Issues';</member>
+ <member>Removed mention of WebOS, Standalone, UXP enablement at Divya's request.</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ <revision>
+ <revnumber>6.0.0-3</revnumber>
+ <date>Fri Dec 14 2012</date>
+ <author>
+ <firstname>Russell</firstname>
+ <surname>Dickenson</surname>
+ <email/>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Added an additional 'Known Issue' and browser compatibility information.</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ <revision>
+ <revnumber>6.0.0-2</revnumber>
+ <date>Thu Dec 13 2012</date>
+ <author>
+ <firstname>Russell</firstname>
+ <surname>Dickenson</surname>
+ <email/>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Reworded New Features and Known Issues text.</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ <revision>
<revnumber>6.0.0-1</revnumber>
<date>Fri Dec 7 2012</date>
<author>
12 years
gatein SVN: r9000 - epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application.
by do-not-reply@jboss.org
Author: ppalaga
Date: 2012-12-14 07:27:27 -0500 (Fri, 14 Dec 2012)
New Revision: 9000
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
Log:
Belongs to rev#8998: Bug 878278 - Some errors are getting printed instead of logged
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-12-14 04:17:48 UTC (rev 8999)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-12-14 12:27:27 UTC (rev 9000)
@@ -938,12 +938,12 @@
{
producedOfferedPortlet = portletInvoker.getPortlet(producerOfferedPortletContext);
}
- catch (Exception exp)
+ catch (Exception ex)
{
// Whenever couldn't invoke the portlet object, set the request portlet to null for the error tobe
// properly handled and displayed when the portlet is rendered
producedOfferedPortlet = null;
- log.error(exp.getMessage(), exp);
+ log.error(ex.getMessage(), ex);
}
this.adapter = adapter;
12 years
gatein SVN: r8999 - epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity.
by do-not-reply@jboss.org
Author: smumford
Date: 2012-12-13 23:17:48 -0500 (Thu, 13 Dec 2012)
New Revision: 8999
Modified:
epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
Log:
BZ856430: Further edits to new JOSSO content
Modified: epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
===================================================================
--- epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2012-12-13 14:35:09 UTC (rev 8998)
+++ epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2012-12-14 04:17:48 UTC (rev 8999)
@@ -759,7 +759,7 @@
</section>
<section id="sid-55477376_JOSSO-JOSSOserver">
- <title>Set Up the JOSSO server</title>
+ <title>Set up the JOSSO server</title>
<para>
This section describes how to set up the JOSSO server to authenticate against the JBoss Portal Platform using the REST authentication plugin. In this example, the JOSSO server will be installed on Tomcat.
@@ -820,7 +820,7 @@
<step>
<para>
- Tomcat should now allow access to <uri>http://localhost:8888/josso/signon/login.do</uri>. However, if you are using SSO Authentication plugin, the login will not be available at this stage as your JBoss Portal Platform is not yet set up.
+ Tomcat should now allow access to <uri>http://localhost:8888/josso/signon/login.do</uri>. However, if you are using the SSO Authentication plugin, the login will not be available as you must set up your JBoss Portal Platform instance to use it.
</para>
<figure>
@@ -837,7 +837,7 @@
</section>
<section id="sid-55477376_JOSSO-SetuptheJOSSOclient">
- <title>JOSSO client</title>
+ <title>Set up the JOSSO client</title>
<procedure>
<step>
@@ -938,11 +938,11 @@
<title>JOSSO 2.2</title>
<para>
- JOSSO 2.2 takes a different approach to SSO than JOSSO 1.8. It is designed to allow users to create their own SSO environment by modelling it in flash web application called <emphasis role="strong">atricore-console</emphasis>.
+ JOSSO 2.2 takes a different approach to SSO than JOSSO 1.8. It is designed to allow users to create their own SSO environment by modelling it in a flash web application called <emphasis role="strong">atricore-console</emphasis>.
</para>
<para>
- Unfortunately this make it more difficult to use the SSO Authentication plugin as it's not easily possible to configure an existing JOSSO 2.2 environment via Spring XML files. Using the AuthenticationPlugin with JOSSO 2.2 is not supported.
+ Unfortunately this make it more difficult to use the SSO Authentication plugin as it is not easily possible to configure an existing JOSSO 2.2 environment via Spring XML files. Using the <systemitem>AuthenticationPlugin</systemitem> with JOSSO 2.2 is not supported.
</para>
<section id="sid-55477376_JOSSO-JOSSO2.2serversetup">
@@ -953,45 +953,66 @@
</para>
<para>
- After unzipping the download and running the JOSSO, you can access the <application>atricore</application> console at <uri>http://server.local.network:8081/atricore-console</uri> (<emphasis>server.local.network</emphasis> is the virtual host defined in <filename>/etc/hosts</filename>).
+ After unzipping the download and running the JOSSO, you can access the <application>atricore</application> console at <uri>http://<replaceable>server.local.network</replaceable>:8081/atricore-console</uri> (<replaceable>server.local.network</replaceable> is the virtual host defined in <filename>/etc/hosts</filename>).
</para>
<procedure>
<step>
<para>
- Login to the portal as <literal>admin/admin</literal>.
+ Login to the portal with the username/password combination; <literal>admin/admin</literal>.
</para>
</step>
<step>
<para>
- Create a new empty <emphasis role="italics">Identity appliance</emphasis> with the following details:
+ Create a new, empty <emphasis role="italics">Identity appliance</emphasis> with the following details:
</para>
-
- <itemizedlist>
- <listitem>
- <para>
- Name: <emphasis role="italics">MYFIRSTIA</emphasis>
- </para>
- </listitem>
-
- <listitem>
- <para>
- Realm name: <emphasis role="italics">com.mycompany.myrealm</emphasis>
- </para>
- </listitem>
-
- <listitem>
- <para>
- Appliance location: <emphasis role="italics"> <uri>http://server.local.network:8081</uri> </emphasis>
- </para>
- </listitem>
- </itemizedlist>
+ <table>
+ <title></title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>
+ Setting
+ </entry>
+ <entry>
+ Value
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ Name
+ </entry>
+ <entry>
+ <parameter>MYFIRSTIA</parameter>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Realm name
+ </entry>
+ <entry>
+ <parameter>com.mycompany.myrealm</parameter>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Appliance location
+ </entry>
+ <entry>
+ <uri>http://server.local.network:8081</uri>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</step>
<step>
<para>
- Create a new Identity provider named <emphasis role="italics">AcmeIDP</emphasis> (use the default settings)
+ Create a new Identity provider named <emphasis role="italics">AcmeIDP</emphasis> (use the default settings).
</para>
<figure>
@@ -1037,33 +1058,56 @@
<para>
Create empty temporary directory <filename>/tmp/tomcat7</filename> and then in the <application>atricore</application> console create new Execution environment of type <emphasis role="italics">Tomcat</emphasis> with the following parameters:
</para>
-
- <itemizedlist>
- <listitem>
- <para>
- Name: <emphasis role="italics">SP1EE</emphasis>
- </para>
- </listitem>
-
- <listitem>
- <para>
- Version: <emphasis role="italics">7.0.x</emphasis>
- </para>
- </listitem>
-
- <listitem>
- <para>
- Target host: <emphasis role="italics">Local</emphasis>
- </para>
- </listitem>
-
- <listitem>
- <para>
- Install home: <emphasis role="italics">/tmp/tomcat7</emphasis> (Directory <code>/tmp/tomcat7</code> must exists, but it could be empty directory without any tomcat presented as we do not overwrite existing setup or install demo apps).
- </para>
- </listitem>
- </itemizedlist>
-
+ <table>
+ <title></title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>
+ Setting
+ </entry>
+ <entry>
+ Value
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ Name
+ </entry>
+ <entry>
+ <parameter>SP1EE</parameter>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Version
+ </entry>
+ <entry>
+ <parameter>7.0.x</parameter>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Target host
+ </entry>
+ <entry>
+ <parameter>Local</parameter>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ Install home
+ </entry>
+ <entry>
+ <parameter>/tmp/tomcat7</parameter> (the <code>/tmp/tomcat7</code> directory must exist, but it can be empty).
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
<figure>
<title>SP Execution Environment configuration</title>
@@ -1109,13 +1153,13 @@
<step>
<para>
- Go to the <emphasis role="italics">Identity appliance lifecycle management</emphasis> tab and go through lifecycle of Identity appliance (<menuchoice><guimenuitem>Saved</guimenuitem><guimenuitem>Staged</guimenuitem><guimenuitem>Deployed</guimenuitem><guimenuitem>Started</guimenuitem></menuchoice>) as suggested in the quickstart.
+ Go to the <guilabel>Identity appliance lifecycle management</guilabel> tab and go through lifecycle of Identity appliance (<menuchoice><guimenuitem>Saved</guimenuitem><guimenuitem>Staged</guimenuitem><guimenuitem>Deployed</guimenuitem><guimenuitem>Started</guimenuitem></menuchoice>) as suggested in the quickstart.
</para>
</step>
<step>
<para>
- Go to the <emphasis role="italics">Account & Entitlement management</emphasis> tab and create users. Users must be created this way because REST callbacks to the Portal are not supported in this release.
+ Go to the <guilabel>Account & Entitlement management</guilabel> tab and create users. Users must be created this way because REST callbacks to the Portal are not supported in this release.
</para>
<para>
@@ -1162,13 +1206,13 @@
</informalexample>
<para>
- Note that <code>gatein.sso.filter.logout.url</code> is empty now as the logout URL will be obtained from JOSSO agent configuration in file <filename>JBOSS_HOME/gatein/gatein.ear/portal.war/WEB-INF/classes/sso/josso/2.2/josso-agent-config.xml</filename>.
+ Note that <code>gatein.sso.filter.logout.url</code> is empty now as the logout URL will be obtained from the JOSSO agent configuration set in file <filename>JBOSS_HOME/gatein/gatein.ear/portal.war/WEB-INF/classes/sso/josso/2.2/josso-agent-config.xml</filename>.
</para>
</step>
<step>
<para>
- Update Sthe SO module in EAP 6 :
+ Update the SSO module in EAP 6:
</para>
<substeps>
@@ -1180,7 +1224,7 @@
<step>
<para>
- Copy the <filename>GATEIN_SSO_HOME/josso/gatein-josso-182/modules/org/gatein/sso into JBOSS_HOME/modules/org/gatein/</filename> directory.
+ Copy the <filename>SSO_HOME/josso/gatein-josso-182/modules/org/gatein/sso</filename> into <filename>JBOSS_HOME/modules/org/gatein/</filename> directory.
</para>
</step>
</substeps>
@@ -1198,7 +1242,7 @@
</para>
<para>
- You will be redirected to JOSSO, but you will need to login with the username/password account created via the JOSSO console (for example <literal>john</literal>/<literal>password</literal>) as REST callbacks are not supported.
+ You will be redirected to the JOSSO instance, but you will need to login with the username/password account created via the JOSSO console (for example <literal>john</literal>/<literal>password</literal>) as REST callbacks are not supported.
</para>
<para>
@@ -1223,12 +1267,9 @@
<step>
<para>
- Add <code>ServletAccessValve</code> into <filename>server.xml</filename> (as was done to set up CAS single sign-on).
+ Add <code>ServletAccessValve</code> into <filename>server.xml</filename> (as was done to set up CAS single sign-on). Refer to <xref linkend="sect-Deploying_CAS_on_Tomcat"/> for more details.
</para>
-
- <para>
- Refer to <xref linkend="sect-Deploying_CAS_on_Tomcat"/> for more details.
- </para>
+
</step>
<step>
12 years
gatein SVN: r8998 - in epp/portal/branches/EPP_5_2_Branch: component/common/src/main/java/org/exoplatform/commons/chromattic and 19 other directories.
by do-not-reply@jboss.org
Author: ppalaga
Date: 2012-12-13 09:35:09 -0500 (Thu, 13 Dec 2012)
New Revision: 8998
Modified:
epp/portal/branches/EPP_5_2_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/org/exoplatform/commons/chromattic/ChromatticManager.java
epp/portal/branches/EPP_5_2_Branch/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMOrganizationServiceImpl.java
epp/portal/branches/EPP_5_2_Branch/component/initializer/src/main/java/org/exoplatform/core/component/organization/initializer/OrganizationListenersInitializerService.java
epp/portal/branches/EPP_5_2_Branch/component/management/src/main/java/org/exoplatform/management/data/RestResource.java
epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMDataStorage.java
epp/portal/branches/EPP_5_2_Branch/component/scripting/src/main/java/org/exoplatform/groovyscript/text/TemplateService.java
epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java
epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/resource/GateInSkinConfigRemoval.java
epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JSMin.java
epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigParser.java
epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java
epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/services/html/refs/CharRefs.java
epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/web/handler/DownloadHandler.java
epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/ExoDefaultSecurityTokenGenerator.java
epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/GateInGuiceServletContextListener.java
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/RegisterPortletApplicationController.java
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/GroupManagement.java
epp/portal/branches/EPP_5_2_Branch/starter/jar/src/main/java/org/gatein/portal/starter/VersionDisplayer.java
epp/portal/branches/EPP_5_2_Branch/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleContent.java
epp/portal/branches/EPP_5_2_Branch/webui/core/src/main/java/org/exoplatform/webui/form/validator/PermissionValidaror.java
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/PortalStatisticService.java
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/GadgetUtil.java
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletLifecycle.java
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java
Log:
Modified: epp/portal/branches/EPP_5_2_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -693,8 +693,7 @@
}
catch (Exception e)
{
- // log.error(e);
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
finally
{
Modified: epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/org/exoplatform/commons/chromattic/ChromatticManager.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/org/exoplatform/commons/chromattic/ChromatticManager.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/org/exoplatform/commons/chromattic/ChromatticManager.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -18,14 +18,16 @@
*/
package org.exoplatform.commons.chromattic;
+import java.util.HashMap;
+import java.util.Map;
+
import org.exoplatform.container.ExoContainer;
import org.exoplatform.container.component.ComponentPlugin;
import org.exoplatform.container.component.ComponentRequestLifecycle;
import org.exoplatform.services.jcr.RepositoryService;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
-import java.util.HashMap;
-import java.util.Map;
-
/**
* @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
* @version $Revision$
@@ -44,6 +46,9 @@
/** . */
private final ThreadLocal<Synchronization> currentSynchronization = new ThreadLocal<Synchronization>();
+
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(ChromatticManager.class);
public ChromatticManager(RepositoryService repositoryService) throws Exception {
this.repositoryService = repositoryService;
@@ -71,7 +76,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMOrganizationServiceImpl.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMOrganizationServiceImpl.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/identity/src/main/java/org/exoplatform/services/organization/idm/PicketLinkIDMOrganizationServiceImpl.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -113,7 +113,7 @@
}
catch (Exception e)
{
- e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
+ log.error(e.getMessage(), e);
}
finally
{
@@ -168,7 +168,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
@@ -204,7 +204,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
@@ -229,7 +229,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/initializer/src/main/java/org/exoplatform/core/component/organization/initializer/OrganizationListenersInitializerService.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/initializer/src/main/java/org/exoplatform/core/component/organization/initializer/OrganizationListenersInitializerService.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/initializer/src/main/java/org/exoplatform/core/component/organization/initializer/OrganizationListenersInitializerService.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -284,7 +284,7 @@
try {
groupEventListener.preSave(group, true);
groupEventListener.postSave(group, true);
- } catch (Exception e) {e.printStackTrace();
+ } catch (Exception e) {
log.warn("Failed to initialize " + group.getId() + " Group, listener = " + groupEventListener.getClass());
log.debug(e);
ok = false;
Modified: epp/portal/branches/EPP_5_2_Branch/component/management/src/main/java/org/exoplatform/management/data/RestResource.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/management/src/main/java/org/exoplatform/management/data/RestResource.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/management/src/main/java/org/exoplatform/management/data/RestResource.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -19,15 +19,15 @@
package org.exoplatform.management.data;
-import org.exoplatform.management.ValueWrapper;
-import org.exoplatform.management.invocation.MethodInvoker;
-import org.exoplatform.management.annotations.ImpactType;
-import org.exoplatform.management.spi.ManagedMethodMetaData;
-import org.exoplatform.management.spi.ManagedPropertyMetaData;
-import org.exoplatform.management.spi.ManagedResource;
-import org.exoplatform.management.spi.ManagedTypeMetaData;
-import org.exoplatform.services.rest.impl.ApplicationContextImpl;
-import org.exoplatform.services.rest.impl.MultivaluedMapImpl;
+import java.lang.reflect.ParameterizedType;
+import java.lang.reflect.Type;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
@@ -42,15 +42,17 @@
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.ext.MessageBodyReader;
-import java.lang.reflect.ParameterizedType;
-import java.lang.reflect.Type;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
+import org.exoplatform.management.ValueWrapper;
+import org.exoplatform.management.annotations.ImpactType;
+import org.exoplatform.management.invocation.MethodInvoker;
+import org.exoplatform.management.spi.ManagedMethodMetaData;
+import org.exoplatform.management.spi.ManagedPropertyMetaData;
+import org.exoplatform.management.spi.ManagedResource;
+import org.exoplatform.management.spi.ManagedTypeMetaData;
+import org.exoplatform.services.rest.impl.ApplicationContextImpl;
+import org.exoplatform.services.rest.impl.MultivaluedMapImpl;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
/**
* @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
@@ -74,6 +76,9 @@
/** . */
private final String description;
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(RestResource.class);
+
public RestResource(String name, ManagedResource managedResource)
{
ManagedTypeMetaData managedType = managedResource.getMetaData();
@@ -236,7 +241,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
return Response.serverError();
}
finally
Modified: epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMDataStorage.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMDataStorage.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/pom/config/POMDataStorage.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -54,6 +54,8 @@
import org.exoplatform.portal.pom.data.PageKey;
import org.exoplatform.portal.pom.data.PortalData;
import org.exoplatform.portal.pom.data.PortalKey;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import org.jibx.runtime.BindingDirectory;
import org.jibx.runtime.IBindingFactory;
import org.jibx.runtime.impl.UnmarshallingContext;
@@ -64,7 +66,8 @@
*/
public class POMDataStorage implements ModelDataStorage
{
-
+ private final Logger log = LoggerFactory.getLogger(POMDataStorage.class);
+
/** . */
private final POMSessionManager pomMgr;
@@ -342,7 +345,7 @@
}
catch (Exception ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
return null;
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/scripting/src/main/java/org/exoplatform/groovyscript/text/TemplateService.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/scripting/src/main/java/org/exoplatform/groovyscript/text/TemplateService.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/scripting/src/main/java/org/exoplatform/groovyscript/text/TemplateService.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -22,6 +22,10 @@
import groovy.lang.Writable;
import groovy.text.Template;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.Locale;
+
import org.exoplatform.commons.cache.future.FutureCache;
import org.exoplatform.commons.cache.future.FutureExoCache;
import org.exoplatform.commons.cache.future.Loader;
@@ -41,11 +45,9 @@
import org.exoplatform.services.cache.CacheService;
import org.exoplatform.services.cache.ExoCache;
import org.gatein.common.io.IOTools;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.Locale;
-
/**
* Created by The eXo Platform SAS Dec 26, 2005
*/
@@ -98,6 +100,9 @@
};
private FutureCache<ResourceKey, GroovyTemplate, ResourceResolver> futureCache;
+
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(TemplateService.class);
public TemplateService(TemplateStatisticService statisticService, CacheService cservice) throws Exception
{
@@ -186,7 +191,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
@@ -209,7 +214,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
@@ -229,7 +234,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
return null;
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -234,12 +234,12 @@
catch (InterruptedException e)
{
// Find out what is relevant to do
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
catch (ExecutionException e)
{
// Cleanup
- e.printStackTrace();
+ log.error(e.getMessage(), e);
mirroredImageCache.remove(resource);
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/resource/GateInSkinConfigRemoval.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/resource/GateInSkinConfigRemoval.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/portal/resource/GateInSkinConfigRemoval.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -23,6 +23,8 @@
import javax.servlet.ServletContext;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import org.gatein.wci.WebAppEvent;
import org.gatein.wci.WebAppLifeCycleEvent;
import org.gatein.wci.WebAppListener;
@@ -34,7 +36,8 @@
*/
public class GateInSkinConfigRemoval implements WebAppListener
{
-
+ private final Logger log = LoggerFactory.getLogger(GateInSkinConfigRemoval.class);
+
private SkinService service;
private String portalContainerName;
@@ -74,7 +77,7 @@
}
catch (Exception ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JSMin.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JSMin.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JSMin.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -27,6 +27,9 @@
import java.io.Reader;
import java.io.Writer;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
+
public class JSMin
{
private static final int EOF = -1;
@@ -310,6 +313,7 @@
public static void main(String arg[])
{
+ Logger log = LoggerFactory.getLogger(JSMin.class);
try
{
JSMin jsmin = new JSMin(new FileReader(arg[0]), new PrintWriter(System.out));
@@ -317,27 +321,27 @@
}
catch (FileNotFoundException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
catch (ArrayIndexOutOfBoundsException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
catch (IOException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
catch (UnterminatedRegExpLiteralException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
catch (UnterminatedCommentException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
catch (UnterminatedStringLiteralException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigParser.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigParser.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigParser.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -18,10 +18,6 @@
*/
package org.exoplatform.web.application.javascript;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
@@ -30,6 +26,12 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
+
/**
* @author <a href="mailto:hoang281283@gmail.com">Minh Hoang TO</a>
* @version $Id$
@@ -52,7 +54,11 @@
/** . */
private ServletContext context;
+
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(JavascriptConfigParser.class);
+
private JavascriptConfigParser(ServletContext context)
{
this.context = context;
@@ -157,7 +163,7 @@
}
catch (Exception ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
return null;
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/web/resources/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -104,7 +104,7 @@
}
catch (Exception ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
}
finally
{
@@ -113,7 +113,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
return new CachedJavascript(sB.toString());
Modified: epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/services/html/refs/CharRefs.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/services/html/refs/CharRefs.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/services/html/refs/CharRefs.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -43,10 +43,16 @@
import java.util.Arrays;
import java.util.Comparator;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
+
final class CharRefs
{
boolean sorted = false;
+
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(CharRefs.class);
CharRef[] charRefs = {
@@ -349,7 +355,7 @@
}
catch (Exception exp)
{
- exp.printStackTrace();
+ log.error(exp.getMessage(), exp);
return null;
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/web/handler/DownloadHandler.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/web/handler/DownloadHandler.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/component/web/server/src/main/java/org/exoplatform/web/handler/DownloadHandler.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -26,6 +26,8 @@
import org.exoplatform.web.ControllerContext;
import org.exoplatform.web.WebAppController;
import org.exoplatform.web.WebRequestHandler;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import java.io.InputStream;
import java.io.OutputStream;
@@ -42,6 +44,7 @@
*/
public class DownloadHandler extends WebRequestHandler
{
+ private final Logger log = LoggerFactory.getLogger(DownloadHandler.class);
public String getHandlerName()
{
@@ -90,7 +93,7 @@
}
catch (Exception ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
}
finally
{
Modified: epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/ExoDefaultSecurityTokenGenerator.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/ExoDefaultSecurityTokenGenerator.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/ExoDefaultSecurityTokenGenerator.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -28,10 +28,15 @@
import org.apache.shindig.common.crypto.BlobCrypterException;
import org.apache.shindig.common.util.TimeSource;
import org.exoplatform.web.application.RequestContext;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
public class ExoDefaultSecurityTokenGenerator implements SecurityTokenGenerator
{
private final TimeSource timeSource;
+
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(ExoDefaultSecurityTokenGenerator.class);
public ExoDefaultSecurityTokenGenerator() throws Exception
{
@@ -55,11 +60,11 @@
}
catch (IOException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
catch (BlobCrypterException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
return null;
}
Modified: epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/GateInGuiceServletContextListener.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/GateInGuiceServletContextListener.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/gadgets/core/src/main/java/org/exoplatform/portal/gadget/core/GateInGuiceServletContextListener.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -2,6 +2,8 @@
import org.apache.commons.io.IOUtils;
import org.apache.shindig.common.servlet.GuiceServletContextListener;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
@@ -22,7 +24,9 @@
public class GateInGuiceServletContextListener extends GuiceServletContextListener {
private static ThreadLocal<GateInContainerConfigLoader> currentLoader = new ThreadLocal<GateInContainerConfigLoader>();
-
+
+ private final Logger log = LoggerFactory.getLogger(GateInGuiceServletContextListener.class);
+
@Override
public void contextInitialized(ServletContextEvent event) {
@@ -55,7 +59,7 @@
}
catch(Exception ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
}
finally
{
Modified: epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/RegisterPortletApplicationController.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/RegisterPortletApplicationController.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/RegisterPortletApplicationController.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -19,20 +19,24 @@
package org.exoplatform.account.webui.component;
-import nl.captcha.Captcha;
-import nl.captcha.servlet.CaptchaServletUtil;
-import org.exoplatform.webui.application.portlet.PortletApplicationController;
+import static nl.captcha.Captcha.NAME;
+import java.awt.image.BufferedImage;
+import java.io.IOException;
+
import javax.portlet.PortletException;
import javax.portlet.PortletSession;
import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse;
import javax.portlet.ResourceServingPortlet;
-import java.awt.image.BufferedImage;
-import java.io.IOException;
-import static nl.captcha.Captcha.NAME;
+import nl.captcha.Captcha;
+import nl.captcha.servlet.CaptchaServletUtil;
+import org.exoplatform.webui.application.portlet.PortletApplicationController;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
+
/**
* @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
* @version $Revision$
@@ -40,6 +44,9 @@
public class RegisterPortletApplicationController extends PortletApplicationController implements ResourceServingPortlet
{
+ /** . */
+ private static final Logger log = LoggerFactory.getLogger(RegisterPortletApplicationController.class);
+
private static final String PARAM_HEIGHT = "height";
private static final String PARAM_WIDTH = "width";
@@ -93,7 +100,7 @@
}
catch (IOException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/account/webui/component/UIRegisterForm.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -22,6 +22,8 @@
import java.util.ArrayList;
import java.util.List;
+import nl.captcha.Captcha;
+
import org.exoplatform.portal.registration.PostRegistrationService;
import org.exoplatform.services.organization.OrganizationService;
import org.exoplatform.services.organization.User;
@@ -34,17 +36,17 @@
import org.exoplatform.webui.core.UIApplication;
import org.exoplatform.webui.core.lifecycle.UIFormLifecycle;
import org.exoplatform.webui.event.Event;
+import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.event.EventListener;
-import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.exception.MessageException;
import org.exoplatform.webui.form.UIForm;
import org.exoplatform.webui.form.UIFormInputWithActions;
+import org.exoplatform.webui.form.UIFormInputWithActions.ActionData;
import org.exoplatform.webui.form.UIFormStringInput;
-import org.exoplatform.webui.form.UIFormInputWithActions.ActionData;
import org.exoplatform.webui.form.validator.MandatoryValidator;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
-import nl.captcha.Captcha;
-
/**
*
* @author <a href="mailto:hoang281283@gmail.com">Minh Hoang TO</a>
@@ -62,6 +64,9 @@
private final static String[] ACTIONS = {"Subscribe", "Reset"};
static final String ATTR_USER = "UIRegisterForm$User";
+
+ /** . */
+ private static final Logger log = LoggerFactory.getLogger(UIRegisterForm.class);
public UIRegisterForm() throws Exception
{
@@ -184,7 +189,7 @@
}
catch (Exception ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
}
return false;
}
Modified: epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/GroupManagement.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/GroupManagement.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/GroupManagement.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -19,16 +19,18 @@
package org.exoplatform.organization.webui.component;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
import org.exoplatform.container.ExoContainer;
import org.exoplatform.container.ExoContainerContext;
import org.exoplatform.portal.config.UserACL;
import org.exoplatform.services.organization.Group;
import org.exoplatform.services.organization.OrganizationService;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
/**
* Created by The eXo Platform SAS
* Author : Huu-Dung Kieu
@@ -37,6 +39,8 @@
*/
public class GroupManagement
{
+ /** . */
+ private static final Logger log = LoggerFactory.getLogger(GroupManagement.class);
public static OrganizationService getOrganizationService()
{
@@ -59,7 +63,7 @@
if (username == null)
username = org.exoplatform.portal.webui.util.Util.getPortalRequestContext().getRemoteUser();
OrganizationService orgService = getOrganizationService();
- Collection groups = orgService.getGroupHandler().findGroupByMembership(username, membership);
+ Collection<?> groups = orgService.getGroupHandler().findGroupByMembership(username, membership);
for (Object group : groups)
{
if (((Group)group).getId().equals(groupId))
@@ -192,7 +196,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
return false;
}
Modified: epp/portal/branches/EPP_5_2_Branch/starter/jar/src/main/java/org/gatein/portal/starter/VersionDisplayer.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/starter/jar/src/main/java/org/gatein/portal/starter/VersionDisplayer.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/starter/jar/src/main/java/org/gatein/portal/starter/VersionDisplayer.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -35,7 +35,7 @@
*/
public class VersionDisplayer implements ServletContextListener
{
- private Logger logger = LoggerFactory.getLogger(VersionDisplayer.class);
+ private final Logger log = LoggerFactory.getLogger(VersionDisplayer.class);
public void contextDestroyed(ServletContextEvent arg0) {
@@ -47,9 +47,9 @@
eppVersion = this.getClass().getPackage().getImplementationVersion();
} catch (Exception e) {
eppVersion = "Version not found";
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
- logger.info("JBoss Enterprise Portal Platform [" + eppVersion + "]");
+ log.info("JBoss Enterprise Portal Platform [" + eppVersion + "]");
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleContent.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleContent.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleContent.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -19,15 +19,15 @@
import java.util.ArrayList;
import java.util.List;
-import org.exoplatform.services.log.ExoLogger;
-import org.exoplatform.services.log.Log;
import org.exoplatform.web.application.ApplicationMessage;
import org.exoplatform.webui.config.annotation.ComponentConfig;
import org.exoplatform.webui.core.UIComponent;
import org.exoplatform.webui.core.UIConfirmation;
-import org.exoplatform.webui.core.UIContainer;
import org.exoplatform.webui.core.UIConfirmation.ActionConfirm;
+import org.exoplatform.webui.core.UIContainer;
import org.exoplatform.webui.core.lifecycle.UIContainerLifecycle;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
/**
* Created by The eXo Platform SAS Author : Nguyen Duc Khoi
@@ -37,7 +37,7 @@
@ComponentConfig(lifecycle = UIContainerLifecycle.class)
public class UISampleContent extends UIContainer
{
- private Log log_ = ExoLogger.getLogger(UISampleContent.class);
+ private final Logger log = LoggerFactory.getLogger(UISampleContent.class);
public static final int NODE_UIFORM = 0;
@@ -100,7 +100,7 @@
showMultiValueInputSet();
break;
default :
- log_.error("not implement yet");
+ log.error("Unexpected node type '"+ nodeType +"'.");
}
}
@@ -175,8 +175,7 @@
}
catch (Exception e)
{
- // TODO Auto-generated catch block
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
return uiComp;
Modified: epp/portal/branches/EPP_5_2_Branch/webui/core/src/main/java/org/exoplatform/webui/form/validator/PermissionValidaror.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/core/src/main/java/org/exoplatform/webui/form/validator/PermissionValidaror.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/webui/core/src/main/java/org/exoplatform/webui/form/validator/PermissionValidaror.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -26,6 +26,8 @@
import org.exoplatform.web.application.ApplicationMessage;
import org.exoplatform.webui.core.UIComponent;
import org.exoplatform.webui.exception.MessageException;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
/**
* Created by The eXo Platform SARL
@@ -38,6 +40,8 @@
public class PermissionValidaror
{
+ private final Logger log = LoggerFactory.getLogger(PermissionValidaror.class);
+
public void validate(UIComponent uicomponent, String permission) throws Exception
{
OrganizationService service =
@@ -62,7 +66,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
if (membership.equals("*"))
{
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/PortalStatisticService.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/PortalStatisticService.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/application/PortalStatisticService.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -19,6 +19,7 @@
package org.exoplatform.portal.application;
+import org.exoplatform.application.registry.impl.ApplicationRegistryServiceImpl;
import org.exoplatform.management.annotations.Impact;
import org.exoplatform.management.annotations.ImpactType;
import org.exoplatform.management.annotations.Managed;
@@ -28,6 +29,8 @@
import org.exoplatform.management.jmx.annotations.Property;
import org.exoplatform.management.rest.annotations.RESTEndpoint;
import org.exoplatform.portal.config.UserPortalConfigService;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import org.picocontainer.Startable;
import java.util.List;
@@ -51,6 +54,9 @@
private ConcurrentMap<String, PortalStatistic> apps = new ConcurrentHashMap<String, PortalStatistic>();
private UserPortalConfigService configService;
+
+ /** . */
+ private final Logger log = LoggerFactory.getLogger(PortalStatisticService.class);
public PortalStatisticService(UserPortalConfigService res)
{
@@ -72,7 +78,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
return new String[0];
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/GadgetUtil.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/GadgetUtil.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/GadgetUtil.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -19,35 +19,37 @@
package org.exoplatform.portal.webui.application;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.net.URL;
+import java.net.URLConnection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import javax.servlet.http.HttpServletRequest;
+
import org.apache.commons.io.IOUtils;
import org.exoplatform.application.gadget.Gadget;
import org.exoplatform.application.gadget.GadgetRegistryService;
import org.exoplatform.container.ExoContainer;
import org.exoplatform.container.ExoContainerContext;
import org.exoplatform.container.PortalContainer;
-import org.exoplatform.portal.application.PortalRequestContext;
import org.exoplatform.portal.gadget.core.SecurityTokenGenerator;
import org.exoplatform.portal.webui.util.Util;
-import org.json.JSONArray;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import org.json.JSONException;
import org.json.JSONObject;
-import java.io.IOException;
-import java.io.OutputStreamWriter;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.servlet.http.HttpServletRequest;
-
/**
* Created by The eXo Platform SAS Author : Pham Thanh Tung
* thanhtungty(a)gmail.com Oct 2, 2008
*/
public class GadgetUtil
{
+ private static final Logger log = LoggerFactory.getLogger(GadgetUtil.class);
+
static public Gadget toGadget(String name, String path, boolean isLocal) throws Exception
{
Gadget gadget = new Gadget();
@@ -105,7 +107,7 @@
}
catch (IOException ioexc)
{
- ioexc.printStackTrace();
+ log.error(ioexc.getMessage(), ioexc);
return "{}";
}
return result;
@@ -146,7 +148,7 @@
}
catch (IOException ioexc)
{
- ioexc.printStackTrace();
+ log.error(ioexc.getMessage(), ioexc);
return "{}";
}
return result;
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -37,6 +37,8 @@
import org.exoplatform.webui.event.Event;
import org.exoplatform.webui.event.EventListener;
import org.exoplatform.webui.exception.MessageException;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
@@ -74,6 +76,8 @@
private JSONObject metadata_;
private String url_;
+
+ private final Logger log = LoggerFactory.getLogger(UIGadget.class);
public static final String PREF_KEY = "_pref_gadget_";
@@ -161,7 +165,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
else
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -943,7 +943,7 @@
// Whenever couldn't invoke the portlet object, set the request portlet to null for the error tobe
// properly handled and displayed when the portlet is rendered
producedOfferedPortlet = null;
- exp.printStackTrace();
+ log.error(exp.getMessage(), exp);
}
this.adapter = adapter;
@@ -958,7 +958,7 @@
}
catch (Exception e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
}
else
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletLifecycle.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletLifecycle.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletLifecycle.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -368,7 +368,7 @@
}
catch (Throwable ex)
{
- ex.printStackTrace();
+ log.error(ex.getMessage(), ex);
}
}
}
Modified: epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java 2012-12-13 04:12:57 UTC (rev 8997)
+++ epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/login/UIForgetPassword.java 2012-12-13 14:35:09 UTC (rev 8998)
@@ -19,6 +19,12 @@
package org.exoplatform.portal.webui.login;
+import java.net.URLEncoder;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+import javax.servlet.http.HttpServletRequest;
+
import org.exoplatform.commons.utils.PageList;
import org.exoplatform.portal.application.PortalRequestContext;
import org.exoplatform.portal.webui.util.Util;
@@ -33,21 +39,17 @@
import org.exoplatform.webui.config.annotation.EventConfig;
import org.exoplatform.webui.core.lifecycle.UIFormLifecycle;
import org.exoplatform.webui.event.Event;
+import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.event.EventListener;
-import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.form.UIForm;
import org.exoplatform.webui.form.UIFormStringInput;
import org.exoplatform.webui.form.validator.EmailAddressValidator;
import org.exoplatform.webui.form.validator.MandatoryValidator;
import org.exoplatform.webui.url.ComponentURL;
+import org.gatein.common.logging.Logger;
+import org.gatein.common.logging.LoggerFactory;
import org.gatein.wci.security.Credentials;
-import java.net.URLEncoder;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import javax.servlet.http.HttpServletRequest;
-
/**
* Created by The eXo Platform SARL
* Author : dang.tung
@@ -62,7 +64,7 @@
static final String Username = "username";
static final String Email = "email";
-
+
public UIForgetPassword() throws Exception
{
addUIFormInput(new UIFormStringInput(Username, null).addValidator(MandatoryValidator.class)).addUIFormInput(
@@ -72,6 +74,8 @@
static public class SendActionListener extends EventListener<UIForgetPassword>
{
+ private final Logger log = LoggerFactory.getLogger(SendActionListener.class);
+
public void execute(Event<UIForgetPassword> event) throws Exception
{
UIForgetPassword uiForm = event.getSource();
@@ -141,7 +145,7 @@
}
catch (MissingResourceException e)
{
- e.printStackTrace();
+ log.error(e.getMessage(), e);
}
HttpServletRequest request = portalContext.getRequest();
String host = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();
12 years
gatein SVN: r8997 - epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity.
by do-not-reply@jboss.org
Author: smumford
Date: 2012-12-12 23:12:57 -0500 (Wed, 12 Dec 2012)
New Revision: 8997
Modified:
epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
Log:
BZ856430: Further edits to new JOSSO content
Modified: epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
===================================================================
--- epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2012-12-12 14:59:10 UTC (rev 8996)
+++ epp/docs/branches/6.0/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2012-12-13 04:12:57 UTC (rev 8997)
@@ -702,7 +702,7 @@
</para>
<para>
- After completing all procedures in this section, all links redirecting to the user authentication pages will redirect to the JOSSO centralized authentication form.
+ After completing the procedures in this section, all links redirecting to the user authentication pages will redirect to the JOSSO centralized authentication form.
</para>
<section>
@@ -713,11 +713,11 @@
</para>
<para>
- Essentially, after a user clicks to sign in they are redirected to the JOSSO login screen, where they supply the appropriate credentials. They are then redirected back to the Portal.
+ Briefly; when a user clicks to sign in to a portal they are redirected to the JOSSO login screen, where they supply the appropriate credentials. They are then redirected (with access authorization) back to the Portal.
</para>
<para>
- The <systemitem>JOSSOAgent</systemitem> component performs a validation of the ticket with the JOSSO server via a back channel after the <systemitem>InitiateLoginFilter</systemitem> has delegated the <parameter> josso_assertion_id </parameter> request to it. The JOSSO agent and JOSSO server communicate via web services.
+ The <systemitem>JOSSOAgent</systemitem> component performs a validation of the authorization ticket with the JOSSO server via a back channel after the <systemitem>InitiateLoginFilter</systemitem> has delegated the <parameter>josso_assertion_id</parameter> request to it. The JOSSO agent and JOSSO server communicate via web services.
</para>
<para>
@@ -729,11 +729,11 @@
</para>
<para>
- While the authentication plugin (which is able to send REST requests to the portal, receive the response, and authenticate the user on the JOSSO side) is supported, this support is only for JOSSO 1.8 (not JOSSO 2.2 at this release).
+ While the authentication plugin (which is able to send REST requests to the portal, receive the response, and authenticate the user on the JOSSO side) is supported, this support is only for JOSSO 1.8 (not JOSSO 2.2 as at this release).
</para>
<para>
- In this example, we will assume again that JBoss Portal Platform will be running on JBoss Enterprise Application Platform 6 using port <emphasis role="italics">localhost:8080</emphasis> and that the JOSSO server will be running on Tomcat, using <emphasis role="italics">localhost:8888</emphasis>.
+ In this section, we will assume that JBoss Portal Platform will be running on JBoss Enterprise Application Platform 6 using port <emphasis role="italics">localhost:8080</emphasis> and that the JOSSO server will be running on Tomcat, using <emphasis role="italics">localhost:8888</emphasis>.
</para>
<note>
@@ -750,16 +750,16 @@
<title>Obtaining JOSSO</title>
<para>
- JOSSO can be downloaded from <ulink url="http://sourceforge.net/projects/josso/files/"/> . Use the package that embeds Apache Tomcat.
+ JOSSO can be downloaded from <ulink url="http://sourceforge.net/projects/josso/files/"/>. Use the package that embeds Apache Tomcat.
</para>
-
+ <remark>Docs Note; JOSSO versions up to 1.8.7 are available from this URL. I assume any after 1.8.2 are unsupported. Should we call this out in the docs?</remark>
<para>
Once downloaded, extract the package into what will be called <replaceable>JOSSO_HOME</replaceable> in this example.
</para>
</section>
<section id="sid-55477376_JOSSO-JOSSOserver">
- <title>JOSSO server</title>
+ <title>Set Up the JOSSO server</title>
<para>
This section describes how to set up the JOSSO server to authenticate against the JBoss Portal Platform using the REST authentication plugin. In this example, the JOSSO server will be installed on Tomcat.
@@ -770,31 +770,29 @@
<para>
<emphasis role="bold">Optional:</emphasis> To use the SSO authentication plugin with JOSSO (not-mandatory but recommended. See <xref linkend="sect-CAS-Authentication_Process"/> for details):
</para>
-
- <para>
- Copy the files from <filename>SSO_HOME/josso/josso-<replaceable><version></replaceable>/plugin</filename> into the Tomcat directory (<replaceable>JOSSO_HOME</replaceable>). (<replaceable>SSO_HOME</replaceable> points to directory with JBoss Portal Platform as mentioned in <xref linkend="sect-Reference_Guide-SSO_Single_Sign_On"/>)
+ <substeps>
+ <step><para>
+ Copy the files from <filename>SSO_HOME/josso/josso-<replaceable><version></replaceable>/plugin/</filename> into <replaceable>JOSSO_HOME</replaceable> directory, as shown below:
</para>
-
- <para>
- This action will replace some, and add other, JAR files to the <filename>JOSSO_HOME/webapps/josso/WEB-INF/lib</filename> directory.
- </para>
-
+ <para>
+ Keep in mind that <replaceable>SSO_HOME</replaceable> refers to the JOSSO directory within JBoss Portal Platform as mentioned in <xref linkend="sect-Reference_Guide-SSO_Single_Sign_On"/>.
+ </para>
<itemizedlist>
<listitem>
<para>
- <filename>JOSSO_HOME/lib/josso-gateway-config.xml</filename>
+ Copy <filename><replaceable>SSO_HOME</replaceable>/josso/josso-<replaceable><version></replaceable>/plugin/lib/josso-gateway-config.xml</filename> to <filename><replaceable>JOSSO_HOME</replaceable>/lib/josso-gateway-config.xml</filename>. The original file is being replaced. You should consider creating a backup of it before adding the new file.
</para>
</listitem>
<listitem>
<para>
- <filename>JOSSO_HOME/lib/josso-gateway-gatein-stores.xml</filename>
+ Add <filename><replaceable>SSO_HOME</replaceable>/josso/josso-<replaceable><version></replaceable>/plugin/lib/josso-gateway-config.xml</filename> to <filename><replaceable>JOSSO_HOME</replaceable>/lib/</filename>. This file is not present in the original <replaceable>JOSSO_HOME</replaceable> download.
</para>
</listitem>
<listitem>
<para>
- <filename>JOSSO_HOME/webapps/josso/WEB-INF/classes/gatein.properties</filename>
+ Add <filename>SSO_HOME/josso/josso-<replaceable><version></replaceable>/plugin/webapps/josso/WEB-INF/classes/gatein.properties</filename> to <filename>JOSSO_HOME/webapps/josso/WEB-INF/classes/</filename>. This file is not present in the original <replaceable>JOSSO_HOME</replaceable> download.
</para>
<para>
@@ -802,6 +800,8 @@
</para>
</listitem>
</itemizedlist>
+ </step>
+ </substeps>
</step>
<step>
12 years