JBoss Portal SVN: r12612 - in branches/JBoss_Portal_Branch_2_7/core-wsrp/src: main/org/jboss/portal/wsrp/admin/ui and 1 other directories.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2009-01-22 18:54:47 -0500 (Thu, 22 Jan 2009)
New Revision: 12612
Added:
branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerNavigationHandler.java
Removed:
branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerListener.java
Modified:
branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/test/wsrp/other/ConsumerBeanTestCase.java
branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml
Log:
- JBPORTAL-2274: Different approach using a NavigationHandler instead of PhaseListener that should work now...
Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/test/wsrp/other/ConsumerBeanTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/test/wsrp/other/ConsumerBeanTestCase.java 2009-01-22 17:46:05 UTC (rev 12611)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/test/wsrp/other/ConsumerBeanTestCase.java 2009-01-22 23:54:47 UTC (rev 12612)
@@ -1,6 +1,6 @@
/******************************************************************************
* JBoss, a division of Red Hat *
- * Copyright 2007, Red Hat Middleware, LLC, and individual *
+ * Copyright 2009, Red Hat Middleware, LLC, and individual *
* contributors as indicated by the @authors tag. See the *
* copyright.txt in the distribution for a full listing of *
* individual contributors. *
@@ -68,7 +68,7 @@
public void testSetCache()
{
- bean.setCache(new Integer(300));
+ bean.setCache(300);
assertEquals(300, bean.getCache().intValue());
assertTrue(bean.isModified());
}
Deleted: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerListener.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerListener.java 2009-01-22 17:46:05 UTC (rev 12611)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerListener.java 2009-01-22 23:54:47 UTC (rev 12612)
@@ -1,69 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2009, Red Hat Middleware, LLC, and individual *
- * contributors as indicated by the @authors tag. See the *
- * copyright.txt in the distribution for a full listing of *
- * individual contributors. *
- * *
- * This is free software; you can redistribute it and/or modify it *
- * under the terms of the GNU Lesser General Public License as *
- * published by the Free Software Foundation; either version 2.1 of *
- * the License, or (at your option) any later version. *
- * *
- * This software is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
- * Lesser General Public License for more details. *
- * *
- * You should have received a copy of the GNU Lesser General Public *
- * License along with this software; if not, write to the Free *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
- ******************************************************************************/
-
-package org.jboss.portal.wsrp.admin.ui;
-
-import org.jboss.portal.faces.gui.JSFBeanContext;
-
-import javax.faces.application.NavigationHandler;
-import javax.faces.context.FacesContext;
-import javax.faces.event.PhaseEvent;
-import javax.faces.event.PhaseId;
-import javax.faces.event.PhaseListener;
-
-/**
- * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
- * @version $Revision$
- */
-public class RedirectOnNoConsumerListener implements PhaseListener
-{
- public void afterPhase(PhaseEvent phaseEvent)
- {
- FacesContext facesContext = phaseEvent.getFacesContext();
-
- // check if we have a currently selected consumer in the request...
- String currentConsumer = JSFBeanContext.getParameter(ConsumerManagerBean.REQUESTED_CONSUMER_ID, facesContext);
-
- // if not, check the session...
- if (currentConsumer == null)
- {
- currentConsumer = (String)JSFBeanContext.getSessionMap(facesContext).get(ConsumerManagerBean.SESSION_CONSUMER_ID);
-
- // if we still don't have consumer id, redirect to consumer list view
- if (currentConsumer == null)
- {
- NavigationHandler navigationHandler = facesContext.getApplication().getNavigationHandler();
- navigationHandler.handleNavigation(facesContext, null, "consumers");
- }
- }
- }
-
- public void beforePhase(PhaseEvent phaseEvent)
- {
- }
-
- public PhaseId getPhaseId()
- {
- return PhaseId.RESTORE_VIEW;
- }
-}
Added: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerNavigationHandler.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerNavigationHandler.java (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/main/org/jboss/portal/wsrp/admin/ui/RedirectOnNoConsumerNavigationHandler.java 2009-01-22 23:54:47 UTC (rev 12612)
@@ -0,0 +1,69 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2009, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+
+package org.jboss.portal.wsrp.admin.ui;
+
+import org.jboss.portal.faces.gui.JSFBeanContext;
+
+import javax.faces.application.NavigationHandler;
+import javax.faces.context.FacesContext;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ */
+public class RedirectOnNoConsumerNavigationHandler extends NavigationHandler
+{
+ private NavigationHandler base;
+ private static final String CONFIGURE_CONSUMER = "configureConsumer";
+ private static final String CONSUMERS = "consumers";
+
+ public RedirectOnNoConsumerNavigationHandler(NavigationHandler base)
+ {
+ this.base = base;
+ }
+
+ public void handleNavigation(FacesContext facesContext, String fromAction, String outcome)
+ {
+ // only check for need to redirect when we're asking for consumer details
+ if (CONFIGURE_CONSUMER.equals(outcome))
+ {
+ // check if we have a currently selected consumer in the request...
+ String currentConsumer = JSFBeanContext.getParameter(ConsumerManagerBean.REQUESTED_CONSUMER_ID, facesContext);
+
+ // if not, check the session...
+ if (currentConsumer == null)
+ {
+ currentConsumer = (String)JSFBeanContext.getSessionMap(facesContext).get(ConsumerManagerBean.SESSION_CONSUMER_ID);
+
+ // if we still don't have consumer id, redirect to consumer list view
+ if (currentConsumer == null)
+ {
+ outcome = CONSUMERS;
+ }
+ }
+ }
+
+ base.handleNavigation(facesContext, fromAction, outcome);
+ }
+}
Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml 2009-01-22 17:46:05 UTC (rev 12611)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/faces-config.xml 2009-01-22 23:54:47 UTC (rev 12612)
@@ -33,6 +33,7 @@
<view-handler>
org.jboss.portletbridge.application.PortletViewHandler
</view-handler>
+ <navigation-handler>org.jboss.portal.wsrp.admin.ui.RedirectOnNoConsumerNavigationHandler</navigation-handler>
<state-manager>org.jboss.portletbridge.application.PortletStateManager</state-manager>
<locale-config>
<default-locale>en</default-locale>
@@ -41,10 +42,6 @@
</locale-config>
</application>
- <lifecycle>
- <phase-listener>org.jboss.portal.wsrp.admin.ui.RedirectOnNoConsumerListener</phase-listener>
- </lifecycle>
-
<converter>
<converter-for-class>org.jboss.portal.wsrp.registration.LocalizedString</converter-for-class>
<converter-class>org.jboss.portal.wsrp.admin.ui.LocalizedStringConverter</converter-class>
@@ -80,6 +77,11 @@
<managed-bean-class>org.jboss.portal.wsrp.admin.ui.ConsumerBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
+ <property-name>beanContext</property-name>
+ <property-class>org.jboss.portal.faces.gui.BeanContext</property-class>
+ <value>#{beanContext}</value>
+ </managed-property>
+ <managed-property>
<property-name>registry</property-name>
<property-class>org.jboss.portal.wsrp.consumer.ConsumerRegistry</property-class>
<value>#{applicationScope.ConsumerRegistry}</value>
@@ -92,11 +94,6 @@
<property-name>manager</property-name>
<value>#{consumersMgr}</value>
</managed-property>
- <managed-property>
- <property-name>beanContext</property-name>
- <property-class>org.jboss.portal.faces.gui.BeanContext</property-class>
- <value>#{beanContext}</value>
- </managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>producer</managed-bean-name>
15 years, 5 months
JBoss Portal SVN: r12611 - docs/enterprise/trunk/Reference_Guide/en-US.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-01-22 12:46:05 -0500 (Thu, 22 Jan 2009)
New Revision: 12611
Modified:
docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml
docs/enterprise/trunk/Reference_Guide/en-US/Identity_Portlets.xml
docs/enterprise/trunk/Reference_Guide/en-US/Migration.xml
docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml
docs/enterprise/trunk/Reference_Guide/en-US/Tutorials.xml
docs/enterprise/trunk/Reference_Guide/en-US/URLs.xml
docs/enterprise/trunk/Reference_Guide/en-US/XML_Descriptors.xml
Log:
Improvements
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml 2009-01-22 16:39:10 UTC (rev 12610)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Configuration.xml 2009-01-22 17:46:05 UTC (rev 12611)
@@ -2,26 +2,16 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.docbook.org/xml/4.5/docbookx.dtd">
<chapter id="configuration">
- <!-- <chapterinfo>
- <author>
- <firstname>Thomas</firstname>
- <surname>Heute</surname>
- </author>
- <author>
- <firstname>Roy</firstname>
- <surname>Russo</surname>
- </author>
- </chapterinfo>-->
<title>Customizing your Installation</title>
<para>
- This chapter describes how to customize the default installation. This includes the JBoss EAP or JBoss AS listening port,
+ This chapter describes how to customize the default installation. This includes the JBoss EAP listening port,
email and proxy settings, and database dialect settings. For further configuration details, refer to <xref linkend="portaldescriptors"/> and <xref linkend="troubleshooting"/>.
<note>
<title>
- Choosing server Coniguration
+ Choosing server Configuration
</title>
<para>
- In rest of the document, you will see several references of <filename>$JBOSS_HOME/server/production/</filename>. This applies to
+ In rest of the document, you will see several references of <filename>$JBOSS_HOME/server/production/</filename>. This also applies to
<filename>$JBOSS_HOME/server/default/</filename> as well as <filename>$JBOSS_HOME/server/all/</filename>
</para>
</note>
@@ -29,7 +19,12 @@
<section>
<title>Changing the Port</title>
<para>
- It is common for web services to run on port 80. By default, JBoss EAP and JBoss AS use port 8080. If you can not use <ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingPortForwardingWithJBoss">port forwarding</ulink>, it is recommended to change the port JBoss EAP or JBoss AS listens on. To change the default port, open the <filename>$JBOSS_HOME/server/production/deploy/jboss-web.deployer/server.xml</filename> file, and edit the <computeroutput>Connector port</computeroutput> value for the <computeroutput>jboss.web</computeroutput> service; however, this configuration only applies to Apache Tomcat:
+ It is common for web services to run on port 80. By default, JBoss EAP and JBoss AS use port 8080.
+ If you can not use <ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingPortForwardingWithJBoss">port
+ forwarding</ulink>, it is recommended to change the port JBoss EAP or JBoss AS listens on. To change the
+ default port, open the <filename>$JBOSS_HOME/server/production/deploy/jboss-web.deployer/server.xml</filename>
+ file, and edit the <computeroutput>Connector port</computeroutput> value for the
+ <computeroutput>jboss.web</computeroutput> service; however, this configuration only applies to Apache Tomcat:
</para>
<programlisting role="XML">
<Service name="jboss.web">
@@ -48,7 +43,7 @@
<warning>
<title>Root User Privileges</title>
<para>
- Linux operating systems require root user privileges to run a service on a port less than 1024. Starting JBoss EAP or JBoss AS on port 80 as a non-privileged user will not work. Running JBoss EAP or JBoss AS as the root user could lead to security breaches.
+ Linux operating systems require root user privileges to run a service on a port less than 1024. Starting JBoss EAP on port 80 as a non-privileged user will not work. Running JBoss EAP as the root user could lead to security breaches.
</para>
</warning>
</para>
@@ -251,6 +246,9 @@
add them when starting Java.</para>
<para>Usually setting up JAVA_OPTS environment variable to <literal>-Dhttp.proxyHost=YOUR_PROXY_HOST -Dhttp.proxyPort=YOUR_PROXY_PORT</literal>
is enough.</para>
+ <note>
+ <para>If the proxy requires authentication, it is also possible to pass username and password by specifying those additional parameters: <literal>-Dhttp.proxyUser=MYUSERNAME -Dhttp.proxyPassword=MYPASSWORD</literal></para>
+ </note>
</section>
<section>
<title>Disabling Dynamic Proxy Un-wrapping</title>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Identity_Portlets.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Identity_Portlets.xml 2009-01-22 16:39:10 UTC (rev 12610)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Identity_Portlets.xml 2009-01-22 17:46:05 UTC (rev 12611)
@@ -3,17 +3,11 @@
"http://www.docbook.org/xml/4.5/docbookx.dtd">
<chapter id="identityportlets">
-<!-- <chapterinfo>
- <author>
- <firstname>Emanuel</firstname>
- <surname>Muckenhuber</surname>
- </author>
- </chapterinfo>-->
<title>JBoss Portal Identity Portlets</title>
<section id="identity_portlet_introduction">
<title>Introduction</title>
<para>
- Since JBoss Portal 2.6.2 two new Identity Portlets are
+ Two Identity Portlets are
shipped by default:
<itemizedlist>
<listitem>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Migration.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Migration.xml 2009-01-22 16:39:10 UTC (rev 12610)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Migration.xml 2009-01-22 17:46:05 UTC (rev 12611)
@@ -3,22 +3,16 @@
"http://www.docbook.org/xml/4.5/docbookx.dtd">
<chapter id="changelog">
- <!-- <chapterinfo>
- <author>
- <firstname>Thomas</firstname>
- <surname>Heute</surname>
- </author>
- </chapterinfo>-->
- <title>Upgrading JBoss Portal 2.6 to 2.7</title>
+ <title>Upgrading JBoss Portal 2.6 to Enterprise Portal Platform 4.3</title>
<para>
<warning>
<para>
- Before performing any instructions or operations in this chapter, back up your database and the entire JBoss EAP or JBoss AS directory!
+ Before performing any instructions or operations in this chapter, back up your database and the entire JBoss EAP directory!
</para>
</warning>
</para>
<para>
- JBoss Portal 2.7 compatibility with JBoss Portal 2.6 is very high. The main differences are the use of JSR-286 features to replace
+ Enterprise Portal Platform 4.3 compatibility with JBoss Portal 2.6 is very high. The main differences are the use of JSR-286 features to replace
JBoss Portal specific features. The database schema hasn't changed.
</para>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml 2009-01-22 16:39:10 UTC (rev 12610)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Supported.xml 2009-01-22 17:46:05 UTC (rev 12611)
@@ -3,28 +3,19 @@
"http://www.docbook.org/xml/4.5/docbookx.dtd">
<chapter id="supportedversions">
- <!-- <chapterinfo>
- <author>
- <firstname>Thomas</firstname>
- <surname>Heute</surname>
- </author>
- <author>
- <firstname>Roy</firstname>
- <surname>Russo</surname>
- </author>
- </chapterinfo>-->
<title>System Requirements</title>
<para>
- The following chapter details hardware and software versions that are compatible with Enterprise Portal Platform. The hardware and software listed has either been tested, or reported as working by users. Before reporting a problem, make sure you are using compatible hardware and software.
+ The following chapter details hardware and software versions that are compatible with Enterprise Portal Platform.
+ The hardware and software listed has been tested and is supported.
</para>
<para>
- If you successfully installed Enterprise Portal Platform on versions not listed here, please let us know so it can be added to this section.
+ If you want to use the Enterprise Portal Platform on other combinations, please let your sale representative know.
</para>
<section>
<title>Minimum System Requirements</title>
<para>
<itemizedlist>
- <listitem><para>JDK 5 (JDK 6 is not part of the test platform)</para></listitem>
+ <listitem><para>JDK 5 or JDK 6 (requires modification, see the <ulink url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4....">EAP guide</ulink></para></listitem>
<listitem><para>512 MB RAM</para></listitem>
<listitem><para>100 MB hard disk space</para></listitem>
<listitem><para>400 MHz CPU</para></listitem>
@@ -39,15 +30,11 @@
</section>
<section>
<title>JBoss Enterprise Application Platform (EAP)</title>
- <para>Enterprise Portal Platform 2.7.0 is tested with JBoss EAP 4.3_CP03. It is highly recommended that customers who have access to the <ulink url="https://support.redhat.com/portal/login.html">JBoss Customer Support Portal (CSP)</ulink> use JBoss EAP 4.3_CP03.
- </para>
- <warning>
- <para>Other JBoss Application Sever (AS) and EAP versions <replaceable>x</replaceable> are not supported.</para>
- </warning>
+ <para>Enterprise Portal Platform 4.3 embeds JBoss EAP 4.3_CP03 and supports the same environment unless specified.</para>
</section>
<section id="supportedversions-db">
<title>Databases</title>
- <para>Enterprise Portal Platform is database-agnostic. The following list outlines known-to-be-working database vendor and version combinations:</para>
+ <para>Enterprise Portal Platform is database-agnostic. The following list outlines tested database vendor and version combinations:</para>
<itemizedlist>
<listitem><para><trademark class="registered">MySQL</trademark> 4 (use <ulink url="http://dev.mysql.com/downloads/connector/j/3.1.html">Connector/J 3.1</ulink>) and 5 (<ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors">known issue</ulink>)</para></listitem>
<listitem><para>PostgreSQL 8.<replaceable>x</replaceable></para></listitem>
@@ -57,7 +44,7 @@
<listitem><para><trademark class="registered">Microsoft</trademark><trademark class="registered"> SQL Server</trademark></para></listitem>
<listitem><para>MaxDB</para></listitem>
</itemizedlist>
- <para>Enterprise Portal Platform employs Hibernate as an interface to a Relational Database Management System (RDBMS). Most Relational Database Management Systems supported by Hibernate will work with Enterprise Portal Platform.</para>
+ <para>Enterprise Portal Platform employs Hibernate as an interface to a Relational Database Management System (RDBMS).</para>
</section>
<section>
<title>Source Building</title>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Tutorials.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Tutorials.xml 2009-01-22 16:39:10 UTC (rev 12610)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Tutorials.xml 2009-01-22 17:46:05 UTC (rev 12611)
@@ -121,12 +121,7 @@
that portlet developers read and understand the
<ulink url="http://www.jcp.org/en/jsr/detail?id=286">
JSR-286 Portlet Specification
- </ulink>
- . Feel free to use the
- <ulink url="http://jboss.org/index.html?module=bb&op=viewforum&f=215">
- JBoss Portal User Forums
- </ulink>
- for user-to-user help.
+ </ulink>.
</para>
<section>
<title>Deploying your first Portlet</title>
@@ -137,8 +132,8 @@
find the
<emphasis>SimplestHelloWorld</emphasis>
portlet in the
- <literal>examples</literal>
- directory at the root of your JBoss Portal binary package.
+ <literal>jboss-epp-4.3/jboss-as/docs/portal</literal>
+ directory of your distribution.
</para>
</section>
<section>
@@ -750,10 +745,10 @@
page to render the markup. We will use the portlet tag library to generate
links to our portlet in different ways and use the other standard portlet
modes. This example can be found in the directory
- <literal>JSPHelloUser</literal>.
+ <literal>jboss-epp-4.3/jboss-as/docs/portal/JSPHelloUser</literal>.
Use <literal>mvn package</literal> then copy <filename>JSPHelloUser/target/JSPHelloUser-0.0.1.war</filename>
in the <literal>deploy</literal> directory of JBoss Application Server.
- Point your brwoser to <literal></literal>, you should see the following:
+ Point your browser to <literal></literal>, you should see the following:
<mediaobject>
<imageobject>
<imagedata
@@ -1122,7 +1117,7 @@
<para>In order to write a portlet using JSF we need a piece of software called 'bridge' that
lets us write a portlet application as if it was a JSF application, the bridge takes care of the
interactions between the two layers.</para>
- <para>Such an example is available in examples/JSFHelloUser, it uses the JBoss Portlet Bridge.
+ <para>Such an example is available in jboss-epp-4.3/jboss-as/docs/portal/JSFHelloUser, it uses the JBoss Portlet Bridge.
The configuration is slightly different from a JSP application, since it is a bit tricky it is usally a good
idea to copy an existing application that starting from scratch.</para>
<para>First, as any JSF application, the file <literal>faces-config.xml</literal> is required. It includes
Modified: docs/enterprise/trunk/Reference_Guide/en-US/URLs.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/URLs.xml 2009-01-22 16:39:10 UTC (rev 12610)
+++ docs/enterprise/trunk/Reference_Guide/en-US/URLs.xml 2009-01-22 17:46:05 UTC (rev 12611)
@@ -55,10 +55,14 @@
</para>
</listitem>
</itemizedlist>
-
- <note><title>Note</title><para>The default page or portal can be specified either by using the admin portlet or by using the XML descriptors as explained in the <xref linkend="xml.default.objectname.property"/>.</para></note>
+ <para>
+ A default link like http://localhost:8080/portal/portal/foo/bar can be decomposed as hostname:port:/contextPath/'portal'/portalName/pageName. The 'portal' part can be modified in:
+ <literal>jboss-portal.sar/portal-core.sar/META-INF/jboss-service.xml</literal> by modifying the attribute <literal>Path</literal> on the two
+ following MBEans: <literal>portal:commandFactory=Delegate,path=portal</literal> and <literal>portal:commandFactory=Delegate,path=portal"</literal>, however this cannot be changed to '/'.
+ </para>
+
+ <note><title>Note</title><para>The default page or portal can be specified either by using the admin portlet or by using the XML descriptors as explained in the <xref linkend="xml.default.objectname.property"/>.</para></note>
-
</section>
<section>
<title>Accessing a Page</title>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/XML_Descriptors.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/XML_Descriptors.xml 2009-01-22 16:39:10 UTC (rev 12610)
+++ docs/enterprise/trunk/Reference_Guide/en-US/XML_Descriptors.xml 2009-01-22 17:46:05 UTC (rev 12611)
@@ -785,7 +785,12 @@
<section id="desc_objectxml">
<title><filename>*-object.xml</filename> Descriptors</title>
<para>
- The <filename>*-object.xml</filename> descriptors define portal instances, pages, windows, and the window layout. As well, themes and layouts for specific portal instances, pages, and windows, can be defined. The following example defines a portlet window being added to the <computeroutput>default</computeroutput> page, in the <computeroutput>default</computeroutput> portal. For advanced functionality using these descriptors, refer to <xref linkend="desc_examples"/>:
+ The <filename>*-object.xml</filename> descriptors define portal instances, pages, windows, and the window layout.
+ You can define several files if you want to split them into many files, they just all have to end with '-object.xml'.
+ As well, themes and layouts for specific portal instances, pages, and windows, can be defined. The following example
+ defines a portlet window being added to the <computeroutput>default</computeroutput> page, in the
+ <computeroutput>default</computeroutput> portal. For advanced functionality using these descriptors, refer to
+ <xref linkend="desc_examples"/>:
</para>
<programlisting role="XML"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
15 years, 5 months
JBoss Portal SVN: r12610 - in branches/Enterprise_Portal_Platform_4_3/core-samples/src: resources/portal-jsp-samples-war/WEB-INF/jsp and 1 other directories.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-01-22 11:39:10 -0500 (Thu, 22 Jan 2009)
New Revision: 12610
Removed:
branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/accessorize.gif
branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/dodemo.gif
branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/getcode.gif
Modified:
branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view.jsp
branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view_fr.jsp
branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-news-samples-war/WEB-INF/xsl/news/Rss2.xsl
Log:
- Removed 1, 2, 3 from JSP portlet
- Prettified the RSS feed (added description)
Deleted: branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/accessorize.gif
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/accessorize.gif 2009-01-22 16:31:33 UTC (rev 12609)
+++ branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/accessorize.gif 2009-01-22 16:39:10 UTC (rev 12610)
@@ -1,23 +0,0 @@
-GIF89aP
-
-L��������)1o��;�|��j�����w7���҈��6em�خ��:u�h�����V��&v�^M$8��TT~��Պ-���S��0g�$�B�ګ��������tDaS[�J3)y .��S\���T��
- �S�����������XX�//}��_�"�i!0�=e��3A}��������.a���A��������� 2���ȋ��w����=b�������i'n~®���pp��D�Xc���lɱ$�^ ���B1�X��ahu[1/o_����_b�<wMMN���$?�MOy�����������p�������z��)m������ ����������\d��
-u�Xϣ=+�aQ�Pu�Դ*��Q���u��U�:��4f�(Rd�V}Z�B(\�j�Ņ,g�
-,@@3��&�@BuL(���)��?�RNju�� is�
-T�IdsG��J���bH&�d��`1� ���"W*�4q�1)dॗD~)���(
-��@0����2�B^���Js"�)��2L{d�qjl�� O@H"��a�*�k��Y�$M*��ӎ
-��`��7�����3RpB�8C��1-�/>���PG
-�P+bh���YK"G$���Y��̼!��X0��X�6,/�,\o-�'V`����
-D7���?ar�"���$/����\�
-,8��7���8[�
-����=��C���BE3��$v� �/���K!����8₡��T
-\�Q�a'?�l~� 4���h�3�nhC�A"n�@���0���e8�
-�Uf��E�A�c` q�(�p�%p@B|@�<�ЋG@� $.h�1�X
-o�A�R�$� ��ʹ"���I��^0����+�b�BP�[����F6�
-KL"{�<`@@>�A
-y@� ���mT�;,|B"�xp�@k��K\G#
-ң��^D�Rq�b� F
-��$F1
-���@�@-�IZx��X�5����@��� �H@���b+��� q((�����1%AqF�
-� y����kX�ߐ0��[�*o"�w��ċA��X;Z�*$"P���0TИ��<.� 6q�#��u;|8�\
-da.p�F}
\ No newline at end of file
Deleted: branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/dodemo.gif
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/dodemo.gif 2009-01-22 16:31:33 UTC (rev 12609)
+++ branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/dodemo.gif 2009-01-22 16:39:10 UTC (rev 12610)
@@ -1,22 +0,0 @@
-GIF89aP
-�S
-�Cddo�y��om�������܅�����K�����/f�l1W�f��0M����������e��������p�����@P�������E��h�iii������/K�����,���������tttsU��&�����T�������ꬬ�Ut����<BY�����'��Ꞷ������EE�����������Fz�Q�����q�����3C����>>>p����� 2����^���z�$3����NYn�����X��������|�Ј��������7���p��E�ڞ��hI{+����F�����m�؏�����,=�Cb�-c�v�����������������
-�\O������M`�~}�2^ܧ�1"�ɞ��7�zʵ���Q�EzP�5V���-�`�o� �.Z$��s*$8߂`���,�B�%A���y�m�އ!�7�e��AXԷb�@I�H&�eX#.*�^�"�h�?f
-��&��\qE*o���HdщMs��E(d6�$������S�yI���h�"a�UR/��}�����W�Ih��*˨�jd�4�`L:<���m4��@ ��a姸n������+L^��G�G �F�l���G>�R{E��^���������4l�L�AtrA)�`��R��D��#ں��!g����1�)� ��1+�$'�p�<|m��2q�$1"A!>�L�d��:5�Nd���)�|s� ������b2@����*
-{L@K)("��8��(��!�H�K�0B�u̇���.��@�P�C~�(��2A.���(T�)}��
-�ų��*����>�CF��3�����1�h�͢�����@Р�x�.�7�!Hov��!`0�HD#��B�A��`Q���T��c ����*A�1��UB�������?r�KL�
-�$��0�' ��������8��
-Af0�%�h�@�p�?��(H�V�(_�G�Ѯ����PH+�B�HP':q @��?
-�#��@C'c�GQ����c
-e�JɕB�p�b)NYIq�������Q��PLQ���4e�i��;E!�M�P?`����qx�>�4�i�c>�w(�����4��U!h�DUP�]�
-���@�jT�ޤ*�����<hB��N�@��)f*��6 8�i����0��(���R�� ��ĥ�F�0<X��X���:%x[����
-# ���0<�é#�D9�p"�c
-A"� ܈�:�'
-�M�z������D
-h!(�^P,�%B���������
-���@C��@
-è�&L�
-[����
-�
-��~
-��iD�c ��t���HS�Ҝ�t�EMjGWԑ���3=�S��~v5� "�U�։a5�-}�[�מ���M�b;
\ No newline at end of file
Deleted: branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/getcode.gif
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/getcode.gif 2009-01-22 16:31:33 UTC (rev 12609)
+++ branches/Enterprise_Portal_Platform_4_3/core-samples/src/bin/portal-jsp-samples-war/images/getcode.gif 2009-01-22 16:39:10 UTC (rev 12610)
@@ -1,28 +0,0 @@
-GIF89aP
-�
-������v����������h}{������(()yz�������&8&��듛����P^����p|� 2����NOY��ݼӼ����uz�������W�_���DXM�����蘘�mpZ���[�[�����매����!�!tw����9 //4�����������ӽ��Zc�����������7�>oo}!����
-ȗE<�ß͛8c�H��χPp
-�MϟH��fiےJ-��)S#�Z���W�|�.��/���4�N� �$�;���9fZ"V�M Ϡ�QCJ4�"� ��*NF�&@���3 ��0! ϩSxZ��BD��
-��ú�k:�a�Zb�rAs���C�ȗ &�{F��2e����s\`,[@�v� D�|�3� ���U��d:�2��SYO�����@���
-���Q0���``��2���!F��,��)m
-�(0�܀�!'Ti�Xb *{`S�<ı&*�4C��t�N�P�!m�Y�\tm O�t�(&X@D���9�ix@!���"���� TZ���E!�̂J}8�$�Y�B
-h
-��/�X��\ �2��VXqŭW8��#l��.!��G�PDw���F�8���8�@`���`E(-d;ƶc��b`C�
-��)�%� �M�,��6�
-�M7v{��&B�#D��@�)�!�9�C��$l��⤛��]4��&�䰆 ����7㎓��"G3^�㨟�E�4��&����|�y���dDY q=���z�Q��L�tK-��C$ԇ�m��lL��~��,�A~��G���OM��9�
-+)�@���&��H�$�I�`
-q�@%6�~���@>� ��x��p,Ԣ�
-�����9:Q�N"٘��2��<����1J@���ȅX�\\��p�,�)�\`��p�
-`����'}
-p)��L���B���
->��5oZ'X3�@5�W�SM(�9φ�b��+m`�$�͟���3� Pg�@��-j QXƲ�
-eFz���68�2�I?��6��36z� �p$C��o`*8�"*0�]��3�/@Qya9թ`�i�!���Xc�^���8�$�A��3�@�N��A�"?��L@Ѿj
-��eN�?���M�r�k��:��{��t��|��a���;TB�
-�x���W���z^l�>8≌�
-I(`��o~G����������<`�q�E:�.��� �$��i��R� �S�p*Ha��� v���#p� �0�`P���f�,���@ �Q�pLa� �<.�YOxBkH2t93=A����Q
-�8r��'89�C��/R!�,C�H�&��
-9D�u8�'��((أ(�1�X�B �\Yd(v��%F}�s�@
-�+91 �o�z�ߘ%
-��
-\�`�g v�^�!����-
-��"�$�����v����n��1������$���~���
\ No newline at end of file
Modified: branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view.jsp
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view.jsp 2009-01-22 16:31:33 UTC (rev 12609)
+++ branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view.jsp 2009-01-22 16:39:10 UTC (rev 12610)
@@ -29,20 +29,6 @@
<table border="0" cellspacing="2" cellpadding="2">
<tr>
- <td align="center"><a href="http://portal.demo.jboss.com" target="_blank"><img
- src="<portlet:resourceURL id='dodemo'/>" border="0"
- alt="Try the latest release of JBoss Portal, live and online." /></a>
- <a href="http://labs.jboss.com/portal/jbossportal/download/index.html" target="_blank"><img
- src="<portlet:resourceURL id='getcode'/>" border="0"
- alt="Download JBoss Portal and have it up and running in minutes." /></a>
- <a href="http://www.portletswap.com" target="_blank"><img
- src="<portlet:resourceURL id='accessorize'/>" border="0"
- alt="Download portlets and layouts for your new JBoss Portal installation." /></a></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- <tr>
<td class="portlet-section-alternate">
<p class="portlet-font">This is a basic installation of <strong><%= PortalConstants.VERSION %></strong>.
You may log in at any time, using the <span style="font-style:italic;">Login</span> link at the top-right
@@ -58,7 +44,7 @@
<tr>
<td align="center">
If you are in need of guidance with regards to navigating, configuring, or operating the portal, please view
- our <a href="http://labs.jboss.com/portal/jbossportal/docs/index.html" target="_blank">online documentation</a>.
+ our <a href="http://www.redhat.com/docs" target="_blank">online documentation</a>.
</td>
</tr>
</table>
Modified: branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view_fr.jsp
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view_fr.jsp 2009-01-22 16:31:33 UTC (rev 12609)
+++ branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/jsp/view_fr.jsp 2009-01-22 16:39:10 UTC (rev 12610)
@@ -29,20 +29,6 @@
<table border="0" cellspacing="2" cellpadding="2">
<tr>
- <td align="center"><a href="http://portal.demo.jboss.com" target="_blank"><img
- src="<portlet:resourceURL id='dodemo'/>" border="0"
- alt="Try the latest release of JBoss Portal, live and online." /></a>
- <a href="http://labs.jboss.com/portal/jbossportal/download/index.html" target="_blank"><img
- src="<portlet:resourceURL id='getcode'/>" border="0"
- alt="Download JBoss Portal and have it up and running in minutes." /></a>
- <a href="http://www.portletswap.com" target="_blank"><img
- src="<portlet:resourceURL id='accessorize'/>" border="0"
- alt="Download portlets and layouts for your new JBoss Portal installation." /></a></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- <tr>
<td class="portlet-section-alternate">
<p class="portlet-font">
Ceci est l'installation par défaut de <strong><%= PortalConstants.VERSION %></strong>. Vous pouvez
@@ -60,7 +46,7 @@
<td align="center">
Si vous avez besoin d'aide pour naviguer, configurer ou pour administrer le portail, veuillez vous
référer
- <a href="http://labs.jboss.com/portal/jbossportal/docs/index.html" target="_blank">à la documentation </a>.
+ <a href="http://www.redhat.com/docs" target="_blank">à la documentation </a>.
</td>
</tr>
</table>
Modified: branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-news-samples-war/WEB-INF/xsl/news/Rss2.xsl
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-news-samples-war/WEB-INF/xsl/news/Rss2.xsl 2009-01-22 16:31:33 UTC (rev 12609)
+++ branches/Enterprise_Portal_Platform_4_3/core-samples/src/resources/portal-news-samples-war/WEB-INF/xsl/news/Rss2.xsl 2009-01-22 16:39:10 UTC (rev 12610)
@@ -7,18 +7,18 @@
</xsl:variable>
<xsl:template match="/">
- <div style="font-size: 1.5em;" class="portlet-section-header">
+ <div style="font-size: 2em;" class="portlet-section-header">
<a href="{$link-path}" target="_blank">
<xsl:value-of select="rss/channel/title"/> - <xsl:value-of select="rss/channel/description"/>
</a>
</div>
- <ul>
+ <ul style="max-width: 600px">
<xsl:for-each select="rss/channel/item">
<xsl:variable name="this-link">
<xsl:value-of select="link"/>
</xsl:variable>
<li>
- <div class="portlet-section-subheader">
+ <div style="font-size: 1.5em;" lass="portlet-section-subheader">
<a href="{$this-link}" target="_blank">
<xsl:value-of select="title"/>
</a>
@@ -34,9 +34,11 @@
<xsl:value-of select="pubDate"/>
</xsl:if>
</div>
+ <div class="portlet-font">
+ <xsl:value-of select="description" disable-output-escaping="yes"/>
+ </div>
</li>
- <!-- <xsl:value-of select="description" disable-output-escaping="yes"/>
- <br/>-->
+ <br/>
</xsl:for-each>
</ul>
<br/>
15 years, 5 months
JBoss Portal SVN: r12609 - in branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests: src/org/jboss/portal/test/selenium and 1 other directories.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2009-01-22 11:31:33 -0500 (Thu, 22 Jan 2009)
New Revision: 12609
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/build.xml
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/testng.xml
Log:
improving test stability
Modified: branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/build.xml
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/build.xml 2009-01-22 15:27:51 UTC (rev 12608)
+++ branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/build.xml 2009-01-22 16:31:33 UTC (rev 12609)
@@ -141,7 +141,7 @@
<echo message="Runing TestNG" />
<mkdir dir="test-output" />
- <testng classpathref="test.cp" sourcedir="${test.src.dir}" outputdir="${testng.output.dir}" suitename="SeleniumSingleTest" listeners="org.jboss.portal.test.selenium.JBossSeleniumTestListener">
+ <testng classpathref="test.cp" sourcedir="${test.src.dir}" outputdir="${testng.output.dir}" suitename="SeleniumSingleTest">
<classfileset dir="${test.build.dir}" includes="${testname}" />
<sysproperty key="browser" value="${browser}" />
Modified: branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2009-01-22 15:27:51 UTC (rev 12608)
+++ branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/JBossPortalSeleniumTestCase.java 2009-01-22 16:31:33 UTC (rev 12609)
@@ -162,6 +162,34 @@
waitFor(1000);
}
}
+
+ protected void waitForElement(String locator, boolean toFind) {
+ for (int second = 0;; second++) {
+ if (second >= ELEM_TIMEOUT) {
+ Assert.fail("Element " + locator + " not found.");
+ }
+ try {
+ if (selenium.isElementPresent(locator))
+ break;
+ } catch (Exception e) {
+ }
+ waitFor(1000);
+ }
+ }
+
+ protected void waitForElement(String locatorElem, String locatorLink, long timeToWait, long n) {
+ for (int i = 0;; i++) {
+ if (i >= n) {
+ Assert.fail("Element " + locatorElem + " not found.");
+ }
+ try {
+ if (selenium.isElementPresent(locatorElem))
+ break;
+ } catch (Exception e) {
+ }
+ waitFor(1000);
+ }
+ }
public void waitForText(String text) {
for (int second = 0;; second++) {
Modified: branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java 2009-01-22 15:27:51 UTC (rev 12608)
+++ branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/WSRPTestCase.java 2009-01-22 16:31:33 UTC (rev 12609)
@@ -12,6 +12,13 @@
@Test(groups = { "cms_wsrp" }, enabled = true, description = "WSRP test case.")
public class WSRPTestCase extends JBossPortalSeleniumTestCase {
private static final String INP_CONSUMER_NAME = "//input[contains(@id,'edit-cons-form:id')]";
+ private static final String CHK_CONSUMER_WSDL ="//input[contains(@id,'edit-cons-form:useWSDL')]";
+
+ private static final String INP_WSDL_DESC_URL ="//input[contains(@id,'edit-cons-form:sd')]";
+ private static final String INP_WSDL_MARK_URL ="//input[contains(@id,'edit-cons-form:m')]";
+ private static final String INP_WSDL_REGI_URL ="//input[contains(@id,'edit-cons-form:r')]";
+ private static final String INP_WSDL_PMAN_URL ="//input[contains(@id,'edit-cons-form:pm')]";
+
private static final String SUBMIT_REFRESH_CANCEL = "//a[contains(@id,'edit-cons-form:list-cons-link')]";
private static final String SUBMIT_PROD_SAVE = "//input[contains(@id,'producer-form:save-producer')]";
private static final String SUBMIT_CONSDEL_CONF = "//a[contains(@id,'confirm-delete-form:destroy-link')]";
@@ -71,7 +78,7 @@
selenium.click(SUBMIT_CREATECONS);
selenium.waitForPageToLoad(PAGE_LOAD);
- savePage("1.html");
+
selenium.type(INPUT_CACHEEXP, "600");
selenium.type(INPUT_CONSWSDL, "http://wsrp.bea.com:7001/producer/producer?WSDL");
@@ -183,7 +190,15 @@
@Test(enabled = false, dependsOnMethods = { "testCreateBeaConsumer" }, description = "Standard BEA consumer configuring.")
public void testBeaConsumerConfigure() {
-
+ selenium.open("/portal/");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.click("link=Admin");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.click("link=WSRP");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ clickIfVisible(ID_LINK_CONSCONF);
+ clickIfVisible(LINK_CONSUMER_HOME);
+
}
@Test(enabled = true, dependsOnMethods = { "testCreateBeaConsumer" }, description = "Standard BEA consumer deleting.")
@@ -291,6 +306,40 @@
Assert.assertTrue(r>0, "Renamed consumer not found in table");
}
+ @Test(enabled = true, dependsOnMethods = { "testCreateBeaConsumer" }, description = "WSDL checkbox functionality in consumer interface.")
+ public void testConsumerWSDLCheckbox() {
+ selenium.open("/portal/");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.click("link=Admin");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.click("link=WSRP");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ clickIfVisible(ID_LINK_CONSCONF);
+
+ selenium.type(INPUT_CREATECONS, "checkBEAwsdl");
+
+ selenium.click(SUBMIT_CREATECONS);
+ selenium.waitForPageToLoad(PAGE_LOAD);
+
+ Assert.assertTrue(selenium.isChecked(CHK_CONSUMER_WSDL),"wsdl checkbox not checked after creating new consumer");
+
+ selenium.click(CHK_CONSUMER_WSDL);
+
+ waitForElement(INP_WSDL_DESC_URL);
+ waitForElement(INP_WSDL_MARK_URL);
+ waitForElement(INP_WSDL_PMAN_URL);
+ waitForElement(INP_WSDL_REGI_URL);
+
+ waitFor(10000);
+
+ Assert.assertTrue(selenium.isElementPresent(INP_WSDL_DESC_URL), "wsdl attribute seen after unchecking the wsdl checkbox #1");
+ Assert.assertTrue(selenium.isElementPresent(INP_WSDL_MARK_URL), "wsdl attribute seen after unchecking the wsdl checkbox #2");
+ Assert.assertTrue(selenium.isElementPresent(INP_WSDL_PMAN_URL), "wsdl attribute seen after unchecking the wsdl checkbox #3");
+ Assert.assertTrue(selenium.isElementPresent(INP_WSDL_REGI_URL), "wsdl attribute seen after unchecking the wsdl checkbox #4");
+
+
+ }
+
private void createConsumer(String name, String timeout, String address) {
selenium.open("/portal/");
selenium.waitForPageToLoad(PAGE_LOAD);
Modified: branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java 2009-01-22 15:27:51 UTC (rev 12608)
+++ branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/cms/CMSArchiveUploadTestCase.java 2009-01-22 16:31:33 UTC (rev 12609)
@@ -13,16 +13,17 @@
@Test(groups = { "cms_archive_upload" }, enabled = true)
public class CMSArchiveUploadTestCase extends JBossPortalSeleniumTestCase {
- private static final String ARCHIVE_WAITING = "60000";
+ private static final Integer ARCHIVE_WAITING = 10000;
+ private static final int n = 10;
/*
* uncomment following lines and set the right path to the workspace in the
* case you want to use this test case locally from eclipse
*/
- /*
- * {
- * System.setProperty("workspace","/home/vrockai/workspace/p2.7tests/ui-tests/"
- * ); }
- */
+/*
+ {
+ System.setProperty("workspace", "/home/vrockai/workspace/p2.7tests/ui-tests/");
+ }
+*/
private static final String SUB_CANCEL_ARCH_UPLOAD = "cancel";
private static final String LNK_ADMIN = "link=Admin";
private static final String LNK_CMS = "link=CMS";
@@ -36,6 +37,8 @@
public void loginBeforeTest() {
logoutIfPossible();
login("admin", "admin");
+ // timeout hack
+ //selenium.setSpeed("10000");
}
@AfterMethod(groups = { "log" })
@@ -46,7 +49,6 @@
@Test(enabled = true, description = "Test archive consisting of two files upload.")
public void testArchiveUpload() {
// canceling at the first stage
-
selenium.click(LNK_ADMIN);
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click(LNK_CMS);
@@ -85,18 +87,26 @@
Assert.assertEquals(selenium.getText(DIV_ARCHIVE_STATUS),
"Your archive has been accepted for processing. The resources will appear in your Folder once the processing is finished");
- selenium.setSpeed(ARCHIVE_WAITING);
- selenium.click("link=Home");
- selenium.setSpeed("0");
- selenium.waitForPageToLoad(PAGE_LOAD);
+ for (int i = 0;; i++) {
+ selenium.click("link=Home");
+ selenium.waitForPageToLoad(PAGE_LOAD);
- Assert.assertTrue(selenium.isElementPresent("link=archive"), "uploaded archive not found");
+ if (i >= n) {
+ Assert.assertTrue(selenium.isElementPresent("link=archive"), "uploaded archive not found");
+ break;
+ }
+ if (selenium.isElementPresent("link=archive"))
+ break;
+
+ waitFor(ARCHIVE_WAITING);
+ }
+
selenium.click("link=archive");
selenium.waitForPageToLoad(PAGE_LOAD);
- Assert.assertEquals(selenium.isElementPresent("link=readme.txt"), "content of uploaded file not found #1");
- Assert.assertEquals(selenium.isElementPresent("link=jbosslogo.png"), "content of uploaded file not found #2");
+ Assert.assertTrue(selenium.isElementPresent("link=readme.txt"), "content of uploaded file not found #1");
+ Assert.assertTrue(selenium.isElementPresent("link=jbosslogo.png"), "content of uploaded file not found #2");
}
@Test(enabled = true, description = "Test archive consisting of > 100 files upload.")
@@ -113,21 +123,31 @@
selenium.type(INP_ARCHIVE_FILE, WORKSPACE + "/test_files/many_files.zip");
selenium.click(SUB_SEND_ARCHIVE);
+ selenium.waitForPageToLoad(PAGE_LOAD);
- selenium.waitForPageToLoad(PAGE_LOAD);
Assert.assertEquals(selenium.getText(DIV_ARCHIVE_STATUS),
"Your archive has been accepted for processing. The resources will appear in your Folder once the processing is finished");
- selenium.setSpeed(ARCHIVE_WAITING);
selenium.click("link=Home");
- selenium.setSpeed("0");
selenium.waitForPageToLoad(PAGE_LOAD);
- Assert.assertTrue(selenium.isElementPresent("link=many_files"), "uploaded archive not found");
+ for (int i = 0;; i++) {
+ selenium.click("link=Home");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+ if (i >= n) {
+ Assert.assertTrue(selenium.isElementPresent("link=many_files"), "uploaded archive not found");
+ break;
+ }
+
+ if (selenium.isElementPresent("link=many_files"))
+ break;
+
+ waitFor(ARCHIVE_WAITING);
+ }
+
selenium.click("link=many_files");
selenium.waitForPageToLoad(PAGE_LOAD);
-
Assert.assertTrue(selenium.isElementPresent("link=file31.txt"), "content of uploaded archive not found");
}
@@ -150,11 +170,23 @@
Assert.assertEquals(selenium.getText(DIV_ARCHIVE_STATUS),
"Your archive has been accepted for processing. The resources will appear in your Folder once the processing is finished");
- selenium.setSpeed(ARCHIVE_WAITING);
selenium.click("link=Home");
- selenium.setSpeed("0");
selenium.waitForPageToLoad(PAGE_LOAD);
- Assert.assertTrue(selenium.isElementPresent("link=bigfile"), "uploaded archive not found");
+ for (int i = 0;; i++) {
+ selenium.click("link=Home");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+
+ if (i >= n) {
+ Assert.assertTrue(selenium.isElementPresent("link=bigfile"), "uploaded archive not found");
+ break;
+ }
+
+ if (selenium.isElementPresent("link=bigfile"))
+ break;
+
+ waitFor(ARCHIVE_WAITING);
+ }
+
}
}
Modified: branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/testng.xml
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/testng.xml 2009-01-22 15:27:51 UTC (rev 12608)
+++ branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/testng.xml 2009-01-22 16:31:33 UTC (rev 12609)
@@ -52,12 +52,6 @@
<class name="org.jboss.portal.test.selenium.cms.CMSFileUploadTestCase"></class></classes>
</test>
- <test name="org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase"
- verbose="2" annotations="JDK">
- <classes>
- <class name="org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase"></class></classes>
- </test>
-
<test name="org.jboss.portal.test.selenium.DashboardTestCase"
verbose="2" annotations="JDK">
<classes>
@@ -82,6 +76,12 @@
<class name="org.jboss.portal.test.selenium.portal.PortletInstancesTestCase"></class></classes>
</test>
+ <test name="org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase"
+ verbose="2" annotations="JDK">
+ <classes>
+ <class name="org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase"></class></classes>
+ </test>
+
<listeners>
<!-- <listener class-name="org.testng.reporters.JUnitXMLReporter"></listener> -->
<listener class-name="org.jboss.portal.test.selenium.JBossSeleniumTestListener"/>
15 years, 5 months
JBoss Portal SVN: r12608 - docs/enterprise/trunk/pdf.
by portal-commits@lists.jboss.org
Author: prabhat.jha(a)jboss.com
Date: 2009-01-22 10:27:51 -0500 (Thu, 22 Jan 2009)
New Revision: 12608
Modified:
docs/enterprise/trunk/pdf/Reference_Guide.pdf
Log:
updated ref guide pdf
Modified: docs/enterprise/trunk/pdf/Reference_Guide.pdf
===================================================================
(Binary files differ)
15 years, 5 months
JBoss Portal SVN: r12607 - in docs/enterprise/trunk: PortletBridge/en-US and 3 other directories.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-01-22 09:32:31 -0500 (Thu, 22 Jan 2009)
New Revision: 12607
Modified:
docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml
docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml
Log:
minor
Modified: docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml 2009-01-22 13:09:46 UTC (rev 12606)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml 2009-01-22 14:32:31 UTC (rev 12607)
@@ -4,8 +4,8 @@
<bookinfo id="Installation_Guide_JBoss_Enterprise_Portal_Platform">
<title>Installation Guide</title>
- <edition>2.0</edition>
- <pubsnumber>4</pubsnumber>
+ <edition>1.0</edition>
+ <pubsnumber>1</pubsnumber>
<productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
<pubdate>Jan, 2009</pubdate>
Modified: docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml 2009-01-22 13:09:46 UTC (rev 12606)
+++ docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml 2009-01-22 14:32:31 UTC (rev 12607)
@@ -7,8 +7,9 @@
<subtitle>For use with JBoss Enterprise Portal Platform 4.3 </subtitle>
<productname>JBoss Portlet Bridge Beta</productname>
<productnumber>5</productnumber>
- <edition>1</edition>
- <pubsnumber>0</pubsnumber>
+ <edition>1.0</edition>
+ <pubsnumber>5</pubsnumber>
+ <pubdate>Jan, 2009</pubdate>
<abstract>
<para>The JBoss Portlet Bridge is an implementation of the JSR-301
specification to support JSF within a portlet and with added
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2009-01-22 13:09:46 UTC (rev 12606)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2009-01-22 14:32:31 UTC (rev 12607)
@@ -4,8 +4,8 @@
<bookinfo id="JBoss_Portal_Reference_Guide">
<title>Reference Guide</title>
- <edition>2</edition>
- <pubsnumber>7</pubsnumber>
+ <edition>1.0</edition>
+ <pubsnumber>2</pubsnumber>
<productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
<pubdate>Jan, 2009</pubdate>
Modified: docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml 2009-01-22 13:09:46 UTC (rev 12606)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml 2009-01-22 14:32:31 UTC (rev 12607)
@@ -4,7 +4,7 @@
<bookinfo id="Tuning_Guide_JBoss_Enterprise_Portal_Platform">
<title>Tuning Guide</title>
- <edition>2.0</edition>
+ <edition>1.0</edition>
<pubsnumber>4</pubsnumber>
<productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
Modified: docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml 2009-01-22 13:09:46 UTC (rev 12606)
+++ docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml 2009-01-22 14:32:31 UTC (rev 12607)
@@ -6,8 +6,9 @@
<title>User Guide</title>
<productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
- <edition>1</edition>
- <pubsnumber>0</pubsnumber>
+ <edition>1.0</edition>
+ <pubsnumber>3</pubsnumber>
+ <pubdate>Jan, 2009</pubdate>
<abstract>
<para>This document is intended for those using JBoss Portal as End-Users. This is a "Where do I Click?" Guide.</para>
<para>
15 years, 5 months
JBoss Portal SVN: r12606 - docs/enterprise/trunk/PortletBridge/en-US.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-01-22 08:09:46 -0500 (Thu, 22 Jan 2009)
New Revision: 12606
Modified:
docs/enterprise/trunk/PortletBridge/en-US/Overview.xml
Log:
Added scary warning and notes
Modified: docs/enterprise/trunk/PortletBridge/en-US/Overview.xml
===================================================================
--- docs/enterprise/trunk/PortletBridge/en-US/Overview.xml 2009-01-22 10:01:10 UTC (rev 12605)
+++ docs/enterprise/trunk/PortletBridge/en-US/Overview.xml 2009-01-22 13:09:46 UTC (rev 12606)
@@ -4,6 +4,30 @@
<chapter id="chap-JBoss_Portlet_Bridge_Overview-JBoss_Portlet_Bridge_Overview">
<title>JBoss Portlet Bridge Overview</title>
+
+ <warning>
+ <para>As part of the support contract, only JSF applications are supported and
+ should be used in production.
+ Seam and RichFaces portlets are provided here as technology preview, at this
+ stage it is recommended to <emphasis role="bold">not use those in production</emphasis>.
+ Work is being done to support those two technologies. In the meantime it is
+ encouraged to try those during development to report any issue in our community
+ forums to help mature the integration.</para>
+ </warning>
+
+ <note>
+ <para>This project is marked as 'Beta' since the JSR-301 specification is not final
+ at the time of release and because support for RichFaces and Seam need to mature.
+ As part of the professional support the API will not change for JSF portlets during
+ the lifetime of the Enterprise Portal Platform to guarantee that no issue will
+ arise during an upgrade.
+ Again JSF applications are fully supported and can be
+ used in production.
+ Also note that the Maven archetypes may download binaries that are not supported by
+ the support contract.
+ </para>
+ </note>
+
<para>
To get an idea of the JBoss Portlet Bridge community, the developers, and for wiki resources, check out <ulink url="http://www.jboss.org/portletbridge/">the project page</ulink>.
</para>
15 years, 5 months
JBoss Portal SVN: r12605 - in docs/enterprise/trunk: PortletBridge/en-US and 3 other directories.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-01-22 05:01:10 -0500 (Thu, 22 Jan 2009)
New Revision: 12605
Added:
docs/enterprise/trunk/Installation_Guide/en-US/Feedback.xml
docs/enterprise/trunk/Installation_Guide/en-US/Preface.xml
docs/enterprise/trunk/Reference_Guide/en-US/Feedback.xml
docs/enterprise/trunk/Reference_Guide/en-US/Preface.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Feedback.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Preface.xml
docs/enterprise/trunk/UserGuide/en-US/Feedback.xml
Modified:
docs/enterprise/trunk/Installation_Guide/en-US/Author_Group.xml
docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/Installation_Guide/en-US/Getting_Started.xml
docs/enterprise/trunk/Installation_Guide/en-US/Installation_Guide.xml
docs/enterprise/trunk/Installation_Guide/en-US/Introduction.xml
docs/enterprise/trunk/PortletBridge/en-US/Author_Group.xml
docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml
docs/enterprise/trunk/PortletBridge/en-US/Feedback.xml
docs/enterprise/trunk/PortletBridge/en-US/Getting_Started.xml
docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml
docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml
docs/enterprise/trunk/UserGuide/en-US/Author_Group.xml
docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml
Log:
Unify things some more
Modified: docs/enterprise/trunk/Installation_Guide/en-US/Author_Group.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Author_Group.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Author_Group.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -3,8 +3,8 @@
]>
<authorgroup>
-<author>
- <firstname>Red Hat Documentation Group</firstname>
- <surname></surname>
- </author>
+ <author>
+ <firstname>Red Hat</firstname>
+ <surname></surname>
+ </author>
</authorgroup>
Modified: docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Book_Info.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -4,12 +4,11 @@
<bookinfo id="Installation_Guide_JBoss_Enterprise_Portal_Platform">
<title>Installation Guide</title>
- <subtitle>For use with JBoss Enterprise Portal Platform 4.3 </subtitle>
<edition>2.0</edition>
<pubsnumber>4</pubsnumber>
<productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
- <pubdate>Dec, 2008</pubdate>
+ <pubdate>Jan, 2009</pubdate>
<isbn>N/A</isbn>
<abstract><para>This Installation Guide documents relevant information regarding
the installation of JBoss Enterprise Portal Platform</para>
Added: docs/enterprise/trunk/Installation_Guide/en-US/Feedback.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Feedback.xml (rev 0)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Feedback.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<section id="sect-JBoss_Portlet_Bridge_Overview-We_Need_Feedback">
+ <title>We Need Feedback!</title>
+ <indexterm>
+ <primary>feedback</primary>
+ <secondary>contact information for this manual</secondary>
+ </indexterm>
+ <para>
+ If you find a typographical error in this manual, or if you have thought of a way to make this manual
+ better, we would love to hear from you! Submit a report in <ulink url="http://jira.jboss.com/jira/browse/JBEPP">JIRA</ulink>
+ against the Version: <emphasis>&JBEPPVERS;</emphasis>, Component: <emphasis>Documentation</emphasis>.
+ When submitting a bug report, be sure to mention the manual's identifier: Portal_User_Guide
+ If you have a suggestion for improving the documentation, try to be as specific as possible when
+ describing it. If you have found an error, please include the section number and some of the
+ surrounding text so we can find it easily.
+ </para>
+</section>
+
+
Modified: docs/enterprise/trunk/Installation_Guide/en-US/Getting_Started.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Getting_Started.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Getting_Started.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -423,7 +423,7 @@
<section id="Getting_Started-Components_of_JBoss_Enterprise_Application_Platform">
<title>Components of &JBEPP;</title>
- <para>For current information on the revision level of included components please refer to <ulink url="http://www.jboss.com/products/platforms/application/components">http://www.jboss.com/products/platforms/application/components</ulink>.
+ <para>For current information on the revision level of included components please refer to <ulink url="http://www.jboss.com/products/platforms/portals/components">http://www.jboss.com/products/platforms/portals/components</ulink>.
</para>
<!--<para>
Modified: docs/enterprise/trunk/Installation_Guide/en-US/Installation_Guide.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Installation_Guide.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Installation_Guide.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -4,6 +4,7 @@
<book>
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Getting_Started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Installation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
Modified: docs/enterprise/trunk/Installation_Guide/en-US/Introduction.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Introduction.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Introduction.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -36,13 +36,6 @@
</listitem>
</itemizedlist>-->
</para>
- <section id="introduction-Feedback">
- <title>Feedback</title>
- <para>
- If you spot a typo in this guide, or if you have thought of a way to make this manual better, we would love to hear from you! Submit a report in <ulink url="http://jira.jboss.com/jira/browse/JBEPP">JIRA</ulink> against the Version: <emphasis>4.3.0.GA</emphasis>, Component: <emphasis>Documentation</emphasis>. If you have a suggestion for improving the documentation, try to be as specific as possible. If you have found an error, include the section number and some of the surrounding text so we can find it easily.
- </para>
- </section>
-
<section id="Introduction-Other_Manuals">
<title>Other Manuals</title>
<para>
Added: docs/enterprise/trunk/Installation_Guide/en-US/Preface.xml
===================================================================
--- docs/enterprise/trunk/Installation_Guide/en-US/Preface.xml (rev 0)
+++ docs/enterprise/trunk/Installation_Guide/en-US/Preface.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -0,0 +1,13 @@
+<?xml version='1.0'?>
+<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<preface id="Portal_User_Guide-Preface">
+ <title>Preface</title>
+ <xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </xi:fallback>
+ </xi:include>
+</preface>
Modified: docs/enterprise/trunk/PortletBridge/en-US/Author_Group.xml
===================================================================
--- docs/enterprise/trunk/PortletBridge/en-US/Author_Group.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/PortletBridge/en-US/Author_Group.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -5,7 +5,7 @@
<authorgroup>
<author>
<firstname>Red Hat</firstname>
- <surname>Documentation Group</surname>
+ <surname></surname>
</author>
</authorgroup>
Modified: docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/PortletBridge/en-US/Book_Info.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -3,7 +3,8 @@
]>
<bookinfo id="book-JBoss_Portlet_Bridge_Overview-JBoss_Portlet_Bridge_Overview">
- <title>JBoss Portlet Bridge Overview</title>
+ <title>Overview</title>
+ <subtitle>For use with JBoss Enterprise Portal Platform 4.3 </subtitle>
<productname>JBoss Portlet Bridge Beta</productname>
<productnumber>5</productnumber>
<edition>1</edition>
Modified: docs/enterprise/trunk/PortletBridge/en-US/Feedback.xml
===================================================================
--- docs/enterprise/trunk/PortletBridge/en-US/Feedback.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/PortletBridge/en-US/Feedback.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -9,11 +9,14 @@
<secondary>contact information for this manual</secondary>
</indexterm>
<para>
- More information about the JBoss Portlet Bridge project can be found at <ulink url="http://jboss.org/portletbridge">http://jboss.org/portletbridge/</ulink>
+ If you find a typographical error in this manual, or if you have thought of a way to make this manual
+ better, we would love to hear from you! Submit a report in <ulink url="http://jira.jboss.com/jira/browse/JBEPP">JIRA</ulink>
+ against the Version: <emphasis>&JBEPPVERS;</emphasis>, Component: <emphasis>Documentation</emphasis>.
+ When submitting a bug report, be sure to mention the manual's identifier: Portal_User_Guide
+ If you have a suggestion for improving the documentation, try to be as specific as possible when
+ describing it. If you have found an error, please include the section number and some of the
+ surrounding text so we can find it easily.
</para>
- <para>
- To provide feedback for the JBoss Portlet bridge, please file an issue in our Issue Tracker, which can be found here: <ulink url="http://jira.jboss.org/">https://jira.jboss.org/</ulink>.
- </para>
</section>
Modified: docs/enterprise/trunk/PortletBridge/en-US/Getting_Started.xml
===================================================================
--- docs/enterprise/trunk/PortletBridge/en-US/Getting_Started.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/PortletBridge/en-US/Getting_Started.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -10,9 +10,6 @@
<section id="sect-JBoss_Portlet_Bridge_Overview-Getting_started_with_JBoss_Portlet_Bridge-Bridge_Frameworks_and_Extensions">
<title>Bridge Frameworks and Extensions</title>
<para>
- The JBoss Portlet Bridge currently supports Enterprise Portall Platform (EPP) 4.3, JBoss Portal, JSF 1.2, JBoss Seam, and JBoss Richfaces. There are configurations that apply to supporting each framework. See section <xref linkend="chap-JBoss_Portlet_Bridge_Overview-Bridge_Configuration" /> for configuration instructions.
- </para>
- <para>
The JBoss Portlet Bridge project is also actively developing extensions, or Bridgelets, that enhance or bring together features of JBoss Portal, Seam, and Richfaces. For example, the PortalIdentity seam component allows you to drop the jar in your classpath and you instantly have SSO between Seam and Portal. This extension can also be configured with additional attributes in your Seam application's components.xml file.
<note>
<para>
@@ -45,7 +42,7 @@
</entry>
<entry align="left" nameend="c5" namest="c2">
<para>
- By including the following dependency in your web pom, you will automatically enable SSO between Jboss Portal and your seam application.
+ By including the following dependency in your web pom, you will automatically enable SSO between JBoss Portal and your Seam application.
<programlisting>
<dependency>
<groupId>org.jboss.portletbridge.extensions.seam</groupId>
@@ -65,7 +62,7 @@
<section id="sect-JBoss_Portlet_Bridge_Overview-Getting_started_with_JBoss_Portlet_Bridge-Before_you_start">
<title>Before you start</title>
<para>
- Current version and compatibility information can be easily located on the <ulink url="http://www.jboss.org/wiki/JBossPortletBridge">JBPB wiki</ulink>. Ensure you are using compatible versions of all integrated frameworks before you begin.
+ Current version and compatibility information can be easily located on the <ulink url="http://www.jboss.org/wiki/JBossPortletBridge">JBoss Portlet Bridge wiki</ulink>. Ensure you are using compatible versions of all integrated frameworks before you begin.
</para>
<para>
JBoss Portal provides its latest distribution with the JBoss Application Server. All of the guesswork has been eliminated so that you can unzip and run Portal with a few clicks. <ulink url="http://www.jboss.org/jbossportal/download/index.html">Get the latest version here</ulink> (ensure you choose the JBoss Portal + JBoss AS link)
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Author_Group.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -2,46 +2,9 @@
<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
-<authorgroup><corpauthor> JBoss Portal Team </corpauthor>
-
-
-<author>
- <firstname>Thomas</firstname>
- <surname>Heute</surname>
- <email>theute(a)jboss.org</email>
- </author>
- <author>
- <firstname>Julien</firstname>
- <surname>Viet</surname>
- <email>julien(a)jboss.org</email>
- </author>
- <author>
- <firstname>Roy</firstname>
- <surname>Russo</surname>
- </author>
- <author>
- <firstname>Boleslaw</firstname>
- <surname>Dawidowicz</surname>
- <email>boleslaw dot dawidowicz at redhat dot com</email>
- </author>
- <author>
- <firstname>Chris</firstname>
- <surname>Laprun</surname>
- <email>chris.laprun(a)jboss.com</email>
- </author>
- <author>
- <firstname>Sohil</firstname>
- <surname>Shah</surname>
- <email>sohil.shah(a)jboss.com</email>
- </author>
- <author>
- <firstname>Murray</firstname>
- <surname>McAllister</surname>
- <email>mmcallis(a)redhat.com</email>
- </author>
- <author>
- <firstname>Prabhat</firstname>
- <surname>Jha</surname>
- <email>pjha at redhat dot com</email>
- </author>
+<authorgroup>
+ <author>
+ <firstname>Red Hat</firstname>
+ <surname></surname>
+ </author>
</authorgroup>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Book_Info.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -4,7 +4,6 @@
<bookinfo id="JBoss_Portal_Reference_Guide">
<title>Reference Guide</title>
- <subtitle>For use with JBoss Enterprise Portal Platform 4.3</subtitle>
<edition>2</edition>
<pubsnumber>7</pubsnumber>
<productname>JBoss Enterprise Portal Platform</productname>
Added: docs/enterprise/trunk/Reference_Guide/en-US/Feedback.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Feedback.xml (rev 0)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Feedback.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<section id="sect-JBoss_Portlet_Bridge_Overview-We_Need_Feedback">
+ <title>We Need Feedback!</title>
+ <indexterm>
+ <primary>feedback</primary>
+ <secondary>contact information for this manual</secondary>
+ </indexterm>
+ <para>
+ If you find a typographical error in this manual, or if you have thought of a way to make this manual
+ better, we would love to hear from you! Submit a report in <ulink url="http://jira.jboss.com/jira/browse/JBEPP">JIRA</ulink>
+ against the Version: <emphasis>&JBEPPVERS;</emphasis>, Component: <emphasis>Documentation</emphasis>.
+ When submitting a bug report, be sure to mention the manual's identifier: Portal_User_Guide
+ If you have a suggestion for improving the documentation, try to be as specific as possible when
+ describing it. If you have found an error, please include the section number and some of the
+ surrounding text so we can find it easily.
+ </para>
+</section>
+
+
Added: docs/enterprise/trunk/Reference_Guide/en-US/Preface.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Preface.xml (rev 0)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Preface.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -0,0 +1,13 @@
+<?xml version='1.0'?>
+<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<preface id="Portal_User_Guide-Preface">
+ <title>Preface</title>
+ <xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </xi:fallback>
+ </xi:include>
+</preface>
Modified: docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml
===================================================================
--- docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Reference_Guide/en-US/Reference_Guide.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -27,7 +27,7 @@
-->
<!--<toc/>-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml" />
-
+ <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Trademarks.xml" />
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Overview.xml" />-->
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Featurelist.xml" />-->
Modified: docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -3,8 +3,8 @@
]>
<authorgroup>
-<author>
- <firstname>Red Hat Documentation Group</firstname>
- <surname></surname>
- </author>
+ <author>
+ <firstname>Red Hat</firstname>
+ <surname></surname>
+ </author>
</authorgroup>
Modified: docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -4,12 +4,11 @@
<bookinfo id="Tuning_Guide_JBoss_Enterprise_Portal_Platform">
<title>Tuning Guide</title>
- <subtitle>For use with JBoss Enterprise Portal Platform 4.3 </subtitle>
<edition>2.0</edition>
<pubsnumber>4</pubsnumber>
<productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
- <pubdate>jan, 2008</pubdate>
+ <pubdate>Jan, 2009</pubdate>
<isbn>N/A</isbn>
<abstract><para>This Installation Guide documents tuning of JBoss Enterprise Portal Platform</para>
</abstract>
Added: docs/enterprise/trunk/Tuning_Guide/en-US/Feedback.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Feedback.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Feedback.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<section id="sect-JBoss_Portlet_Bridge_Overview-We_Need_Feedback">
+ <title>We Need Feedback!</title>
+ <indexterm>
+ <primary>feedback</primary>
+ <secondary>contact information for this manual</secondary>
+ </indexterm>
+ <para>
+ If you find a typographical error in this manual, or if you have thought of a way to make this manual
+ better, we would love to hear from you! Submit a report in <ulink url="http://jira.jboss.com/jira/browse/JBEPP">JIRA</ulink>
+ against the Version: <emphasis>&JBEPPVERS;</emphasis>, Component: <emphasis>Documentation</emphasis>.
+ When submitting a bug report, be sure to mention the manual's identifier: Portal_User_Guide
+ If you have a suggestion for improving the documentation, try to be as specific as possible when
+ describing it. If you have found an error, please include the section number and some of the
+ surrounding text so we can find it easily.
+ </para>
+</section>
+
+
Added: docs/enterprise/trunk/Tuning_Guide/en-US/Preface.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Preface.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Preface.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -0,0 +1,13 @@
+<?xml version='1.0'?>
+<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<preface id="Portal_User_Guide-Preface">
+ <title>Preface</title>
+ <xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </xi:fallback>
+ </xi:include>
+</preface>
Modified: docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -4,6 +4,7 @@
<book>
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="jbossweb.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="hibernate.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
Modified: docs/enterprise/trunk/UserGuide/en-US/Author_Group.xml
===================================================================
--- docs/enterprise/trunk/UserGuide/en-US/Author_Group.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/UserGuide/en-US/Author_Group.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -4,28 +4,9 @@
<authorgroup>
<author>
- <firstname>Chris</firstname>
- <surname>Laprun</surname>
- <email>chris.laprun(a)jboss.com</email>
+ <firstname>Red Hat</firstname>
+ <surname></surname>
</author>
-
- <author>
- <firstname>Emanuel</firstname>
- <surname>Muckenhuber</surname>
- <email>emuckenh(a)redhat.com</email>
- </author>
-
- <author>
- <firstname>Roy</firstname>
- <surname>Russo</surname>
- <email>roy(a)jboss.org</email>
- </author>
-
-
-
-
-
-
</authorgroup>
Modified: docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml 2009-01-21 23:09:33 UTC (rev 12604)
+++ docs/enterprise/trunk/UserGuide/en-US/Book_Info.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -3,8 +3,7 @@
]>
<bookinfo id="Portal_User_Guide-Documentation">
- <title>Portal User Guide</title>
-
+ <title>User Guide</title>
<productname>JBoss Enterprise Portal Platform</productname>
<productnumber>4.3</productnumber>
<edition>1</edition>
Added: docs/enterprise/trunk/UserGuide/en-US/Feedback.xml
===================================================================
--- docs/enterprise/trunk/UserGuide/en-US/Feedback.xml (rev 0)
+++ docs/enterprise/trunk/UserGuide/en-US/Feedback.xml 2009-01-22 10:01:10 UTC (rev 12605)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<section id="sect-JBoss_Portlet_Bridge_Overview-We_Need_Feedback">
+ <title>We Need Feedback!</title>
+ <indexterm>
+ <primary>feedback</primary>
+ <secondary>contact information for this manual</secondary>
+ </indexterm>
+ <para>
+ If you find a typographical error in this manual, or if you have thought of a way to make this manual
+ better, we would love to hear from you! Submit a report in <ulink url="http://jira.jboss.com/jira/browse/JBEPP">JIRA</ulink>
+ against the Version: <emphasis>&JBEPPVERS;</emphasis>, Component: <emphasis>Documentation</emphasis>.
+ When submitting a bug report, be sure to mention the manual's identifier: Portal_User_Guide
+ If you have a suggestion for improving the documentation, try to be as specific as possible when
+ describing it. If you have found an error, please include the section number and some of the
+ surrounding text so we can find it easily.
+ </para>
+</section>
+
+
15 years, 5 months
JBoss Portal SVN: r12604 - docs/enterprise/trunk/pdf.
by portal-commits@lists.jboss.org
Author: prabhat.jha(a)jboss.com
Date: 2009-01-21 18:09:33 -0500 (Wed, 21 Jan 2009)
New Revision: 12604
Modified:
docs/enterprise/trunk/pdf/Tuning_Guide.pdf
Log:
productized tuning guide
Modified: docs/enterprise/trunk/pdf/Tuning_Guide.pdf
===================================================================
(Binary files differ)
15 years, 5 months
JBoss Portal SVN: r12603 - in docs/enterprise/trunk/Tuning_Guide: en-US and 1 other directory.
by portal-commits@lists.jboss.org
Author: prabhat.jha(a)jboss.com
Date: 2009-01-21 18:07:48 -0500 (Wed, 21 Jan 2009)
New Revision: 12603
Added:
docs/enterprise/trunk/Tuning_Guide/Makefile
docs/enterprise/trunk/Tuning_Guide/en-US/
docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml
docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml
docs/enterprise/trunk/Tuning_Guide/en-US/clustering.xml
docs/enterprise/trunk/Tuning_Guide/en-US/hibernate.xml
docs/enterprise/trunk/Tuning_Guide/en-US/identity.xml
docs/enterprise/trunk/Tuning_Guide/en-US/images/
docs/enterprise/trunk/Tuning_Guide/en-US/jbossweb.xml
docs/enterprise/trunk/Tuning_Guide/en-US/jvm.xml
docs/enterprise/trunk/Tuning_Guide/en-US/overview.xml
Log:
productized
Added: docs/enterprise/trunk/Tuning_Guide/Makefile
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/Makefile (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/Makefile 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,16 @@
+#Makefile for Portal_EAP
+
+XML_LANG = en-US
+DOCNAME = Portal_EAP
+PRODUCT = JBoss_Portal
+BRAND = JBoss
+
+#OTHER_LANGS = as-IN bn-IN de-DE es-ES fr-FR gu-IN hi-IN it-IT ja-JP kn-IN ko-KR ml-IN mr-IN or-IN pa-IN pt-BR ru-RU si-LK ta-IN te-IN zh-CN zh-TW
+#OTHER_LANGS = de-DE es-ES fr-FR ja-JP pt-BR zh-CN
+TRANSLATIONS = $(XML_LANG) $(OTHER_LANGS)
+
+
+COMMON_CONFIG = /usr/share/publican
+include $(COMMON_CONFIG)/make/Makefile.common
+
+
Added: docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Author_Group.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,10 @@
+<?xml version='1.0'?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<authorgroup>
+<author>
+ <firstname>Red Hat Documentation Group</firstname>
+ <surname></surname>
+ </author>
+</authorgroup>
Added: docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Book_Info.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,30 @@
+<?xml version='1.0'?>
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
+
+<bookinfo id="Tuning_Guide_JBoss_Enterprise_Portal_Platform">
+ <title>Tuning Guide</title>
+ <subtitle>For use with JBoss Enterprise Portal Platform 4.3 </subtitle>
+ <edition>2.0</edition>
+ <pubsnumber>4</pubsnumber>
+ <productname>JBoss Enterprise Portal Platform</productname>
+ <productnumber>4.3</productnumber>
+ <pubdate>jan, 2008</pubdate>
+ <isbn>N/A</isbn>
+ <abstract><para>This Installation Guide documents tuning of JBoss Enterprise Portal Platform</para>
+ </abstract>
+ <corpauthor>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="Common_Content/images/redhat-logo.svg" />
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+ <copyright>
+ <year>&YEAR;</year>
+ <holder>&HOLDER;</holder>
+ </copyright>
+ <xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</bookinfo>
+
Added: docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,15 @@
+<?xml version='1.0'?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
+
+<book>
+ <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="jbossweb.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="hibernate.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="identity.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="clustering.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="jvm.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</book>
+
Property changes on: docs/enterprise/trunk/Tuning_Guide/en-US/Tuning_Guide.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: docs/enterprise/trunk/Tuning_Guide/en-US/clustering.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/clustering.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/clustering.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="clustering">
+ <title>Clustering Tuning</title>
+
+ <section id="buddy-repl">
+ <title> Enable Buddy Replication for Portal and Portlet Session Clustering</title>
+ <para>
+ Portal and Portlet Session are merely wrappers around
+ HttpSession so most of HTTP session clustering optimization
+ applies to JBPP as well. EPP uses clustering configuration of
+ JBoss Web so changes go to
+ <filename>
+ jboss-web-cluster.sar/META-INF/jboss-service.xml
+ </filename>
+ . To enable buddy replication, change the value of
+ <emphasis>buddyReplicationEnabled</emphasis>
+ to true.
+ </para>
+ </section>
+
+ <section id="hib-cache">
+ <title>Hibernate and JBoss Cache Configuration</title>
+ <para>
+ EPP uses JBoss Cache as a second level cache for Hibernate and
+ this configuration is not defined in JBoss Cache definition used
+ for Portal and Portlet Session. Instead the configuration is
+ defined at
+ <filename>
+ jboss-portal-ha.sar/META-INF/jboss-service.xml
+ </filename>
+ </para>
+ </section>
+ <section id="opt-lock">
+ <title>Optimistic Locking (OL)</title>
+ <para>Our tests have shown that optimistic locking performs better
+ under heavy load and it scales (horizontally) better as
+ well. However, your use case may not show the same behavior
+ and for you pessimistic locking may be a better
+ configuration. To enable optimistic locking, modify
+ TreeCache mbean definition as follows:
+ <programlisting>
+ <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
+ <attribute name="CacheMode">INVALIDATION_SYNC</attribute>
+ </programlisting>
+
+ <note><para>
+ If you have not disabled query cache, then you should
+ not use INVALIATION_SYNC as CACHE_MODE. Use REPL_SYNC
+ instead.</para>
+ </note>
+ </para>
+ </section>
+ <section id="pess-lock">
+ <title>Pessimistic Locking (PL)</title>
+ <para>
+ When using Pessimistic Locking (PL), change isolation level
+ to READ_COMMITTED (RC). Please see <ulink url="http://lists.jboss.org/pipermail/jbosscache-dev/2008-July/002401.html"></ulink>
+ to see why it is okay to relax the isolation level from
+ REPEATABLE_READ (RR). As expected, RC has better performance than RR.
+ </para>
+ </section>
+
+ <section id="cache-evic">
+ <title>Cache Eviction Policy</title>
+ <para>
+ If you disabled lazy loading, then you can control number of
+ objects and time they can reside in memory by configuring
+ EvictionPolicyConfig attribute of TreeCache at
+ <filename>
+ jboss-portal- ha.sar/META-INF/jboss-service.xml
+ </filename>
+
+ <programlisting>
+ <attribute name="EvictionPolicyConfig">
+ <config>
+ <attribute name="wakeUpIntervalSeconds">5</attribute>
+ <region name="/_default_">
+ <attribute name="maxNodes">5000</attribute>
+ <attribute name="timeToLiveSeconds">1000</attribute>
+ </region>
+ </config>
+ </attribute>
+ </programlisting>
+ </para>
+ </section>
+</chapter>
Added: docs/enterprise/trunk/Tuning_Guide/en-US/hibernate.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/hibernate.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/hibernate.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="hibernate">
+ <title>Hibernate Tuning</title>
+ <section id="lazy-loading">
+ <title>Enable/Disable Lazy Loading</title>
+ <para>
+ EPP assumes that number of portal pages and portlets window will
+ be large and hence does not cache these objects. As a result,
+ there could be many direct DB connection. But depending on use
+ case, lazy loading should be turned on and off partially or in
+ its entirety. Modify
+ <filename>
+ deploy/jboss-portal[-ha].sar/conf/hibernate/*/domain.hbm.xml
+ </filename>
+ and change
+ <emphasis>lazy=”extra”</emphasis>
+ to
+ <emphasis>lazy=”true”</emphasis>
+ or
+ <emphasis>lazy=”false”</emphasis>
+ <orderedlist numeration="upperroman">
+ <listitem>
+ <para>
+ Modify attribute for the class
+ org.jboss.portal.core.impl.model.portal.ObjectNode
+ <programlisting>
+ <map name="children" inverse="true" cascade="none" fetch="select" lazy="true">
+ <cache usage="transactional" /> //[“read-write” in non clustered]
+ <key column="PARENT_KEY" />
+ <map-key type="org.jboss.portal.jems.hibernate.MagicString" column="NAME" />
+ <one-to-many class="org.jboss.portal.core.impl.model.portal.ObjectNode" />
+ </map>
+ </programlisting>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Enable caching for displayNames for the class
+ org.jboss.portal.core.impl.model.portal.PortalObjectImpl
+ <programlisting>
+ <map name="displayNames" cascade="none" fetch="select" lazy="true"
+ table="JBP_PORTAL_OBJECT_DNAMES">
+ <cache usage="transactional" />// [“read-write” in non clustered]
+ <key column="INSTANCE_PK" />
+ <map-key type="locale" column="LOCALE" />
+ <element type="string" column="TEXT" />
+ </map>
+ </programlisting>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Same as above for
+ <filename>hibernate/instance/domain.hbm.xml</filename>
+ for displayNames map.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Enable/disable lazy loading for set “users” in
+ <filename>hibernate/user/domain.hbm.xml</filename>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Disabling lazy loading implies there will be many
+ objects in memory. You can control how many objects
+ would need to reside in memory at a time and for how
+ long before they are evicted by modifying values at
+ <filename>conf/hibernate/*/ehcache.xml</filename>
+ in non clustered configuration. These parameters would
+ need to be changed as per the use case. For clustered
+ configuration, see the chapter on <xref linkend="clustering"> clustering
+ configuration.</xref>
+ </para>
+ </listitem>
+ </orderedlist>
+ </para>
+ </section>
+
+ <section id="query-cache">
+ <title>Enable/Disable Query Cache</title>
+ <para>
+ EPP no longer uses query cache. Unless EPP is customized to use
+ query cache, it should be disabled by turning the value of
+ property "cache.use_query_cache" to false in following files:
+
+ <itemizedlist>
+ <listitem><para><filename>hibernate/instance/hibernate.cfg.xml </filename></para></listitem>
+ <listitem><para><filename>hibernate/portal/hibernate.cfg.xml </filename></para></listitem>
+ <listitem><para><filename>hibernate/portlet/hibernate.cfg.xml</filename></para></listitem>
+ <listitem><para><filename>hibernate/user/hibernate.cfg.xml</filename></para></listitem>
+ </itemizedlist>
+
+ Disabling query cache also allows to use<emphasis>INVALIDATION_SYNC</emphasis> as
+ CACHE_MODE when using optimistic locking with JBoss Cache and
+ Hibernate as explained in the clustering section.
+ </para>
+ </section>
+</chapter>
+
+
+
+
+
Added: docs/enterprise/trunk/Tuning_Guide/en-US/identity.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/identity.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/identity.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="identity">
+ <title>Identity</title>
+ <section id="cache-login-cred">
+ <title>Cache Login Credentials</title>
+ <para>
+ EPP uses JaasSecurityManagerService to obtain current users
+ roles that are cached by JAAS during authentication. So altering
+ cache invalidation can affect performance. Please see the details at
+ <ulink
+ url="http://wiki.jboss.org/wiki/CachingLoginCredentials">
+ </ulink>.
+ </para>
+ </section>
+</chapter>
Added: docs/enterprise/trunk/Tuning_Guide/en-US/jbossweb.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/jbossweb.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/jbossweb.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="jbossweb">
+ <title>JBoss Web Tuning</title>
+ <section id="jboss-web">
+ <title> HTTP/AJP connector threads </title>
+ <para>
+ Increase number of HTTP/AJP connector threads. It's recommended
+ to set this value to <emphasis> 250 * n </emphasis> where n is number of CPU in your
+ server. Depending on nature of your application, this can be set
+ higher or lower. Modify value of maxThreads in in
+ <filename>deploy/jboss-web.deployer/server.xml</filename>
+
+ <programlisting>
+ <Connector port="8009" address="${jboss.bind.address}"
+ protocol="AJP/1.3" emptySessionPath="true" enableLookups="false"
+ redirectPort="8443" maxThreads="1500" />
+ </programlisting>
+ </para>
+ </section>
+
+ <section id="session-timeout">
+ <title> Global Session Timeout </title>
+ <para>
+ Reduce global session timeout to your need. The default value of
+ 30 min is too high for most use cases. A lower session timeout
+ results into a more consistent memory footprint and more
+ consistent throughput. Modify
+ <filename>deploy/jboss-web.deployer/conf/web.xml</filename>
+ <programlisting>
+ <session-config>
+ <session-timeout>15</session-timeout>
+ </session-config>
+ </programlisting>
+ </para>
+ </section>
+</chapter>
Added: docs/enterprise/trunk/Tuning_Guide/en-US/jvm.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/jvm.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/jvm.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="jvm">
+ <title>JVM Tuning</title>
+ <section id="large-page">
+ <title>Use Large Pages</title>
+ <para>
+ When using 64 bit Linux systems , use Linux's large memory page
+ support. Without large page support, increasing heap size may
+ not increase your performance. Modify JAVA_OPTS under
+ <filename>$JBOSS_HOME/bin/run.conf</filename>
+ to add -XX:+ UseLargePages. Please see EAP tuning guide or the
+ description at
+ <ulink
+ url="http://jbossworld.com/downloads/pdf/thursday/JBOSS_10-1050am_JBoss_Enterp...">
+ </ulink>
+ for the details.
+ </para>
+ </section>
+
+ <section id="gc">
+ <title>Garbage Collection (GC) Tuning</title>
+ <para>
+ Depending on nature of your application, adding <emphasis> XX:+UseConcMarkSweepGC -XX:+UseParNewGC </emphasis>
+ may optimize GC collection behavior.
+ </para>
+ </section>
+</chapter>
Added: docs/enterprise/trunk/Tuning_Guide/en-US/overview.xml
===================================================================
--- docs/enterprise/trunk/Tuning_Guide/en-US/overview.xml (rev 0)
+++ docs/enterprise/trunk/Tuning_Guide/en-US/overview.xml 2009-01-21 23:07:48 UTC (rev 12603)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="overview">
+ <title>Overview</title>
+ <section id="Overview">
+ <title>Overview</title>
+ <para>
+ Since JBoss Enterprise Portal Platform (EPP) uses many services
+ of JBoss Enterprise Application Platform (EAP), all tunings and
+ configurations that are recommended for EAP apply to EPP as well
+ hence most of those tunings will not be covered here. Following
+ is a guideline that may help achieve best out of EPP.
+ </para>
+
+ <para>
+ This document is intended for Portlet Developers, Portal
+ administrators, and those wishing to implement/extend the JBoss
+ Portal framework.
+ </para>
+ </section>
+</chapter>
15 years, 5 months