Author: mmcallis
Date: 2008-02-13 22:01:12 -0500 (Wed, 13 Feb 2008)
New Revision: 9965
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/configuration.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/installation.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
Log:
5.2.1.6. Deploying your Portlet
revising section
updating previous pages with ulinks to
localhost:8080/portal
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/configuration.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/configuration.xml 2008-02-14
02:00:29 UTC (rev 9964)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/configuration.xml 2008-02-14
03:01:12 UTC (rev 9965)
@@ -38,7 +38,7 @@
</para>
<para>
<warning>
- <title>Root user Privileges</title>
+ <title>Root User Privileges</title>
<para>
Linux systems require root user privileges to run a server 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.
</para>
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/installation.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/installation.xml 2008-02-14
02:00:29 UTC (rev 9964)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/installation.xml 2008-02-14
03:01:12 UTC (rev 9965)
@@ -30,7 +30,7 @@
</listitem>
<listitem>
<para>
- <emphasis role="bold">Log in to JBoss Portal:</emphasis>
using a Web browser, navigate to
<computeroutput>http://localhost:8080/portal</computeroutput> to open the
JBoss Portal homepage. Log in using one of the two default accounts: username
<emphasis>user</emphasis>, password <emphasis>user</emphasis>, or
username <emphasis>admin</emphasis>, password
<emphasis>admin</emphasis>.
+ <emphasis role="bold">Log in to JBoss Portal:</emphasis>
using a Web browser, navigate to <ulink
url="http://localhost:8080/portal"></ulink> to open the JBoss Portal
homepage. Log in using one of the two default accounts: username
<emphasis>user</emphasis>, password <emphasis>user</emphasis>, or
username <emphasis>admin</emphasis>, password
<emphasis>admin</emphasis>.
</para>
</listitem>
</orderedlist>
@@ -166,7 +166,7 @@
</listitem>
<listitem>
<para>
- <emphasis role="bold">Log in to JBoss Portal:</emphasis> using
a Web browser, navigate to
<computeroutput>http://localhost:8080/portal</computeroutput> to open the
JBoss Portal homepage. Log in using one of the two default accounts: username
<emphasis>user</emphasis>, password <emphasis>user</emphasis>, or
username <emphasis>admin</emphasis>, password
<emphasis>admin</emphasis>:
+ <emphasis role="bold">Log in to JBoss Portal:</emphasis> using
a Web browser, navigate to <ulink
url="http://localhost:8080/portal"></ulink> to open the JBoss Portal
homepage. Log in using one of the two default accounts: username
<emphasis>user</emphasis>, password <emphasis>user</emphasis>, or
username <emphasis>admin</emphasis>, password
<emphasis>admin</emphasis>:
</para>
<para>
<mediaobject>
@@ -259,7 +259,7 @@
</imageobject>
</mediaobject>
<para>
- If the source files were obtained from SVN, change into the
<filename>trunk/src/</filename> directory to see the directories from the
above image. As well, there will be an empty <filename>thirdparty</filename>
directory. This directory will contain files after building the JBoss Portal source code
(<xref linkend="building_deploying_from_source" />). For more information
about the JBoss Portal SVN repository, and accessing different versions of the JBoss
Portal codebase, please visit the <ulink
url="http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalSVNRepo">... Portal SVN
Repo</ulink> page on the JBoss Wiki.
+ If the source files were obtained from SVN, change into the
<filename>trunk/src/</filename> directory to see the directories from the
above image. As well, there will be an empty <filename>thirdparty</filename>
directory. This directory will contain files after building the JBoss Portal source code
(see <xref linkend="building_deploying_from_source" />). For more
information about the JBoss Portal SVN repository, and accessing different versions of the
JBoss Portal codebase, please visit the <ulink
url="http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalSVNRepo">... Portal SVN
Repo</ulink> page on the JBoss Wiki.
</para>
</sect2>
<sect2>
@@ -482,7 +482,7 @@
</listitem>
<listitem>
<para>
- <emphasis role="bold">Log in to JBoss Portal:</emphasis>
using a Web browser, navigate to
<computeroutput>http://localhost:8080/portal</computeroutput> to open the
JBoss Portal homepage. Log in using one of the two default accounts: username
<emphasis>user</emphasis>, password <emphasis>user</emphasis>, or
username <emphasis>admin</emphasis>, password
<emphasis>admin</emphasis>:
+ <emphasis role="bold">Log in to JBoss Portal:</emphasis>
using a Web browser, navigate to <ulink
url="http://localhost:8080/portal"></ulink> to open the JBoss Portal
homepage. Log in using one of the two default accounts: username
<emphasis>user</emphasis>, password <emphasis>user</emphasis>, or
username <emphasis>admin</emphasis>, password
<emphasis>admin</emphasis>:
</para>
<para>
<mediaobject>
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-02-14
02:00:29 UTC (rev 9964)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-02-14
03:01:12 UTC (rev 9965)
@@ -532,6 +532,11 @@
</listitem>
<listitem>
<para>
+ If required, edit the
<filename>HelloWorldPortlet/src/main/org/jboss/portlet/hello/HelloWorldPortlet.java</filename>
file, and the XML descriptors in the
<filename>HelloWorldPortlet/src/resources/helloworldportlet-war/WEB-INF/</filename>
directory.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
Run the <command>ant deploy</command> command:
</para>
<para>
@@ -585,7 +590,7 @@
<sect3>
<title>Deploying your Portlet</title>
<para>
- If you did not expand the <filename>helloworldportlet.war</filename>
file, copy the <filename>HelloWorldPortlet/helloworldportlet.war</filename>
file into the correct JBoss AS or JBoss EAP <filename>deploy/</filename>
directory. If you expanded the <filename>helloworldportlet.war</filename>
file, copy the
<filename>HelloWorldPortlet/output/lib/exploded/helloworldportlet.war/</filename>
directory into the correct JBoss AS or JBoss EAP <filename>deploy/</filename>
directory. For example, if you are using JBoss AS, copy the file or directory into the
<filename>$JBOSS_HOME/server/default/deploy/</filename> directory.
+ If you did not expand the <filename>helloworldportlet.war</filename>
file, copy the <filename>HelloWorldPortlet/helloworldportlet.war</filename>
file into the correct JBoss AS or JBoss EAP <filename>deploy/</filename>
directory. If you expanded the <filename>helloworldportlet.war</filename>
file, copy the
<filename>HelloWorldPortlet/output/lib/exploded/helloworldportlet.war/</filename>
directory into the correct JBoss AS or JBoss EAP <filename>deploy/</filename>
directory. For example, if you are using JBoss AS, copy the war file or the expanded
directory into the <filename>$JBOSS_HOME/server/default/deploy/</filename>
directory.
</para>
<para>
Performing this step on a running instance of JBoss AS or JBoss EAP, and JBoss
Portal, will trigger a hot-deploy of the portlet:
@@ -593,11 +598,11 @@
<para>
<screen><![CDATA[
INFO [TomcatDeployer] deploy, ctxPath=/helloworldportlet,
- warUrl=.../tmp/deploy/tmp35219helloworldportlet-exp.war/]]>
+warUrl=.../tmp/deploy/tmp35219helloworldportlet-exp.war/]]>
</screen>
</para>
<para>
- To see the HelloWorldPortlet, navigate to <ulink
url="http://localhost:8080/portal/">http://localhost:8080/portal/</ulink>,
or, if the main JBoss Portal page is already open, refresh the page. The HelloWorldPortlet
is added to the default page of JBoss Portal:
+ To see the HelloWorldPortlet, navigate to <ulink
url="http://localhost:8080/portal/">http://localhost:8080/portal/</ulink>,
or, if the default JBoss Portal page is already open, refresh the page. The
HelloWorldPortlet is added to the default JBoss Portal page:
</para>
<para>
<mediaobject>
@@ -615,7 +620,7 @@
</screen>
</para>
<para>
- Re-deploying the HelloWorldPortlet will produce the following output on the JBoss AS
or JBoss EAP console:
+ Re-deploying the HelloWorldPortlet will produce output to the JBoss AS or JBoss EAP
console, similar to the following:
</para>
<para>
<screen><![CDATA[