You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@portals.apache.org by at...@apache.org on 2012/12/16 20:53:45 UTC
svn commit: r1422675 [3/9] - in /portals/site-live/jetspeed-2.1.3: ./ 2.1/
adminguide/ css/ deployguide/ devguide/ guides/ images/ multiproject/
style/ tutorial-ant/ tutorial-maven/ tutorials/ usersguide/
Added: portals/site-live/jetspeed-2.1.3/getting-started-source.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/getting-started-source.html?rev=1422675&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/getting-started-source.html (added)
+++ portals/site-live/jetspeed-2.1.3/getting-started-source.html Sun Dec 16 19:53:41 2012
@@ -0,0 +1,863 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal -
+ Getting Started with Jetspeed 2 using a Source Release (deprecated)
+ </title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-j2.css");@import url("./style/project.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 22 December 2007
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="http://portals.apache.org/jetspeed-1" class="externalLink" title="External Link" target="_nw">Jetspeed-1</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="http://portals.apache.org/jetspeed-2" class="externalLink" title="External Link" target="_nw">Jetspeed-2</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="http://portals.apache.org/bridges" class="externalLink" title="External Link" target="_nw">Bridges</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="jetspeed2.pdf"><img title="PDF Documentation" style="border: 1px" src="images/pdf.gif" alt="PDF Documentation"></img></a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="getting-started.html">Getting Started</a></li><li class="none"><a href="developers.html">Jetspeed for Developers</a></li></ul></div><div id="menuBuilding"><h5>Building</h5><ul><li class="none"><a href="maven-2-build.html">From Source with Maven-2</a></li><li class="none"><a href="maven-2-custom.html">From Maven-2 Plugin</a></li><li class="none"><a href="getting-started-source.html">From Source with Maven-1 (deprecated)</a></li><li class="none"><a href="getting-started-binary.html">From Maven-1 Plugin (deprecated)</a></li><li class="none"><a href="jetspeed-eclipse.html">From Eclipse</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="download.html">Download</a></li><li class="none"><a href="release-
notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="guides/index.html">Documentation Guides</a></li><li class="none"><a href="http://portals.apache.org/tutorials/jetspeed-2/" class="externalLink" title="External Link">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="http://portals.apache.org/tutorials/jetspeed-2-ant/" class="externalLink" title="External Link">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-2/multiproject/jetspeed-api/apidocs/index.html" class="externalLink" title="External Link">Jetspeed-2 API</a></li><li class="none"><a href="j2-maven-plugin.html">Jetspeed-2 Plugin</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="j1-migration.html">Jetspeed-1 Migration Guideline</a>
</li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="portlets-community.html">Portlets Community</a></li><li class="none"><a href="how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="mail-lists.html">Mailing List</a></li><li class="none"><a href="issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" class="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="quality-testing.html">Quality Testing</a></li><li class="none"><a href="faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>
Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="collapsed"><a href="maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="1__Naming_Conventions_and_Basic_Assumptions__deprecated_"></a><h2>1. Naming Conventions and Basic Assumptions (deprecated)</h2><div class="subsection"><a name="Source_Basic_Assumptions"></a><h3>Source Basic Assumptions</h3><ul>
+ <li>
+ Unless otherwise specified, you should be
+ running all maven build commands from within the
+ Jetspeed directory (if you are just building
+ Jetspeed) or from within your custom portal
+ directory.
+ </li>
+ <li>
+ You must use "/" as a file seperator on both
+ *nix and windows, e.g. c:/windows, and /home.
+ </li>
+ </ul></div><div class="subsection"><a name="Naming_Conventions"></a><h3>Naming Conventions</h3><p>
+ Below is a listing of common conventions used within
+ this document.
+ </p><p>
+ Variables are represented as ${
+ <i>some_variable</i>
+ }. This may signify a setting in Jetspeed or may
+ represent a setting within your environment.
+ Properties files are also capable of specifying
+ variables within them.
+ </p><p>
+ For example, ${org.apache.jetspeed.server.home}
+ references either a property defined further up in
+ the properties file, a variable that has been
+ defined somehwere within the build process or
+ defined in another build file within Jetspeed.
+ </p><ul>
+ <li>
+ <b>${USER_HOME}</b>
+ : This is the user's home directory. For Windows
+ systems, this generally c:\Documents and
+ Settings\${userName} where ${userName} is the
+ name you use to log into windows.
+ <br></br>
+ ${USER.HOME} is synonymous with ${USER_HOME}
+ within this document.
+ </li>
+ <li>
+ <b>${CATALINA_HOME}</b>
+ : This is the location of your tomcat
+ installation, e.g.
+ <i>c:/tomcat</i>
+ .
+ </li>
+ </ul></div><div class="subsection"><a name="Source_Subversion__SVN_"></a><h3>Source Subversion (SVN)</h3><p>
+ <a href="http://subversion.tigris.org" class="externalLink" title="External Link">
+ Subversion (SVN)
+ </a>
+ is used in the Jetspeed project to manage the source
+ files. SVN is very similar to CVS. For those user's
+ on Windows system who prefer non-command line access
+ we suggest using
+ <a href="http://tortoisesvn.tigris.org" class="externalLink" title="External Link">
+ TortoiseSVN
+ </a>
+ which plugs into your Windows Explorer view. For
+ those using the Eclipse IDE, the
+ <a href="http://subclipse.tigris.org" class="externalLink" title="External Link">Subclipse</a>
+ plugin is available for SVN access.
+ </p></div><div class="subsection"><a name="Maven_Setup"></a><h3>Maven Setup</h3><p>
+ We will not go into the specifics of Maven as that
+ is beyond the scope of this document. However, here
+ are a few bits of standard maven jargon we feel is
+ important for you to know.
+ </p><p>
+ You will see mention of a
+ <i>maven repository</i>
+ in this document. When you install Maven the .maven/
+ directory is created in your ${USER_HOME) directory.
+ <br></br>
+ Under .maven/ you will see a
+ <i>repository</i>
+ directory. This is were Maven stores all the jars
+ that it downloads when you run your builds. This is
+ also were Maven puts your jars and wars that you
+ build. They will be stored in a directory structure
+ that has the format of
+ ${groupId}/${projectId}/jars/${projectId}-{$version}.jar
+ for jar files and
+ ${groupId}/${projectId}/wars/${projectId}.war for
+ war files. The ${groupId}, ${projectId} and
+ ${version} variables are discussed later on in this
+ document. Jar and war files will also be created in
+ your project in the
+ <i>/target</i>
+ directory.
+ </p></div></div><div class="section"><a name="2__Jetspeed_build_and_maven-plugin_Properties"></a><h2>2. Jetspeed build and maven-plugin Properties</h2><p>You need to set a few properties.</p><p>
+ Creating your own custom portal is very easy with the
+ maven plugin provided by Jetspeed 2. And, it is used
+ when you build jetspeed from source as well. In fact,
+ the jetspeed-2 build procedure is just one example of a
+ custom portal configuration and setup.
+ </p><p>
+ The Jetspeed 2 maven-plugin defines default values for
+ most of the properties you can set, but not all. When
+ you download or checkout the jetspeed-2 source tree,
+ you'll see it contains a project.properties file in the
+ root folder overriding and setting some of these
+ properties.
+ </p><p>
+ As said before: not all properties are provided with a
+ default value: you
+ <i>must</i>
+ specify a few yourself. And you'll most likely want to
+ override some others.
+ </p><p>
+ Set or override the build or maven-plugin properties in
+ your
+ <code>${USER_HOME}/build.properties</code>
+ file.
+ </p><div class="subsection"><a name="Required_Portal_Configuration_Properties"></a><h3>Required Portal Configuration Properties</h3><table class="bodyTable"><tr class="a"><th>Property</th><th>Description</th><th nowrap="nowrap">Default value</th></tr><tr class="b"><td>
+ <code>org.apache.jetspeed.portal.home</code>
+ </td><td>
+ The folder where the maven-plugin will
+ (re)create or update your custom portal
+ maven project configuration (with goal
+ <code>j2:portal.conf.project</code>
+ ). This will be where you will be performing
+ all of your future custom portal
+ development.
+ <br></br>
+ Example:
+ <code>/home/myportal/</code>
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.portal.groupId
+ </code>
+ </td><td>
+ The (maven) short name of your portal
+ project group.
+ <br></br>
+ This value is used for the maven repository
+ folder in which the project artifacts (like
+ the portal war file) is stored.
+ <br></br>
+ Example:
+ <code>myprojects</code>
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.portal.artifactId
+ </code>
+ </td><td>
+ The (maven) short name of your portal
+ project.
+ <br></br>
+ This value is used for the portal war file
+ and the (portal) web application context
+ name.
+ <br></br>
+ Example:
+ <code>myportal</code>
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="a"><td>
+ <code>org.apache.jetspeed.portal.name</code>
+ </td><td>
+ The (maven) full name of your portal
+ project.
+ <br></br>
+ This value is used by maven for generating
+ JavaDoc titles.
+ <br></br>
+ Example:
+ <code>My Test Portal</code>
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.portal.currentVersion
+ </code>
+ </td><td>
+ The current version of your portal project.
+ <br></br>
+ This value is used by maven as name postfix
+ for the generated artifacts.
+ <br></br>
+ Example:
+ <code>1.0</code>
+ </td><td>
+ <i>no default</i>
+ </td></tr></table></div><div class="subsection"><a name="Optional_Portal_Configuration_Properties"></a><h3>Optional Portal Configuration Properties</h3><p>
+ The following properties all specify a subfolder of
+ the
+ <code>${org.apache.jetspeed.portal.home}</code>
+ location as defined above.
+ </p><table class="bodyTable"><tr class="a"><th>Property</th><th>Description</th><th nowrap="nowrap">Default value</th></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.portal.conf.dir
+ </code>
+ </td><td>
+ The folder where the maven-plugin will
+ generate and copy application server
+ specific configuration files as a tomcat
+ application context descriptor.
+ <br></br>
+ This folder and its contents is created or
+ updated by plugin goal
+ <code>j2:portal.conf.tomcat</code>
+ .
+ </td><td>
+ <i>target/portal-conf</i>
+ </td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.portal.sql.dir
+ </code>
+ </td><td>
+ The folder where the maven-plugin will
+ generate and copy portal and database server
+ specific sql DDL and DML scripts.
+ <br></br>
+ This folder and its contents is always
+ (re)created by plugin goal
+ <code>j2:portal.conf.sql</code>
+ .
+ </td><td>
+ <i>target/portal-sql</i>
+ </td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.portal.db.dir
+ </code>
+ </td><td>
+ The folder where the maven-plugin will
+ create build-in HSQLDB database(s).
+ <br></br>
+ This folder and its contents is created or
+ updated by plugin goal
+ <code>j2:start.production.server</code>
+ or
+ <code>j2:start.test.server</code>.
+ <br></br>
+ <i>This property is not needed/used for anything else.</i>
+ </td><td>
+ <i>target/portal-db</i>
+ </td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.portal.webapp.dir
+ </code>
+ </td><td>
+ The folder where the maven-plugin will copy
+ the standard jetspeed web application
+ resources.
+ <br></br>
+ This folder and its contents is created or
+ updated by plugin goal
+ <code>j2:portal.copy.webapp</code>
+ .
+ </td><td>
+ <i>
+ target/${org.apache.jetspeed.portal.artifactId}
+ </i>
+ </td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.portal.target.dir
+ </code>
+ </td><td>
+ The folder where the maven-plugin will
+ generate and copy runtime portal
+ configuration files.
+ <br></br>
+ These configuration files contain values
+ derived from build/plugin properties for the
+ portal and OJB.
+ <br></br>
+ This folder and its contents is created or
+ updated by plugin goal
+ <code>j2:portal.conf.jetspeed</code>
+ and goal
+ <code>j2:portal.conf.ojb</code>
+ .
+ </td><td>
+ <i>
+ target/${org.apache.jetspeed.portal.artifactId}
+ </i>
+ </td></tr></table></div><div class="subsection"><a name="Required_Application_Server_Properties"></a><h3>Required Application Server Properties</h3><p>
+ <i>
+ Note: The maven-plugin currently only supports
+ the Tomcat Server 5.0.x or 5.5.x
+ </i>
+ </p><table class="bodyTable"><tr class="a"><th>Property</th><th>Description</th><th nowrap="nowrap">Default value</th></tr><tr class="b"><td>
+ <code>org.apache.jetspeed.server.home</code>
+ </td><td>
+ The root folder of your Tomcat server
+ installation.
+ <br></br>
+ Example:
+ <code>${CATALINA_HOME}/</code>
+ .
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.server.shared
+ </code>
+ </td><td>
+ The location of the shared jars in your
+ Tomcat installation.
+ <br></br>
+ Example:
+ <code>
+ ${org.apache.jetspeed.server.home}/shared/lib/
+ </code>
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.deploy.war.dir
+ </code>
+ </td><td>
+ The location of web applications in your
+ Tomcat installation.
+ <br></br>
+ Example:
+ <code>
+ ${org.apache.jetspeed.server.home}/webapps/
+ </code>
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.services.autodeployment.user
+ </code>
+ </td><td>
+ A Tomcat user with the manager role.
+ <br></br>
+ Used to access the Tomcat Manager
+ application from within the portal,
+ explained below.
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.services.autodeployment.password
+ </code>
+ </td><td>
+ The password of the Tomcat user above.
+ <br></br>
+ Used to access the Tomcat Manager
+ application from within the portal,
+ explained below.
+ </td><td>
+ <i>no default</i>
+ </td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.catalina.version.major
+ </code>
+ </td><td>
+ The major version of the Tomcat server you
+ are using: 5 or 5.5
+ <br></br>
+ Example:
+ <code>5.5</code>
+ </td><td>
+ <i>no default</i>
+ </td></tr></table></div><div class="subsection"><a name="Optional_Database_Server_Properties"></a><h3>Optional Database Server Properties</h3><p>
+ Jetspeed-2 and its maven-plugin uses, as well as
+ provides, by default a Derby database.
+ </p><p>
+ If you want to use a different database you will
+ need to override the following properties:
+ </p><table class="bodyTable"><tr class="b"><th>Property</th><th>Description</th><th nowrap="nowrap">Default value</th></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.production.database.default.name
+ </code>
+ </td><td>
+ The type of database you are using. Used for
+ sql script generation with Torque.
+ <br></br>
+ Currently supported databases (with
+ corresponding Torque target database name):
+ <ul>
+ <li>derby</li>
+ <li>hsql (hypersonic)</li>
+ <li>oracle (oracle)</li>
+ <li>mysql (mysql)</li>
+ <li>postgres (postgresql)</li>
+ <li>mssql (mssql)</li>
+ <li>sapdb (sapdb)</li>
+ <li>db2 (db2)</li>
+ </ul>
+ </td><td>derby</td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.derbydatabase.path
+ </code>
+ </td><td>Path to where the embedded derby database will be created/expected</td><td>/tmp</td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.production.database.url
+ </code>
+ </td><td>The jdbc connection url</td><td>jdbc:derby:${org.apache.jetspeed.derbydatabase.path}/productiondb;create=true</td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.production.database.user
+ </code>
+ </td><td>The database user name to connect with.</td><td>sa</td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.production.database.password
+ </code>
+ </td><td>
+ The database user its password to connect
+ with.
+ </td><td>
+ <i>empty</i>
+ </td></tr><tr class="b"><td>
+ <code>
+ org.apache.jetspeed.production.database.driver
+ </code>
+ </td><td>The jdbc driver class name</td><td>org.apache.derby.jdbc.EmbeddedDriver</td></tr><tr class="a"><td>
+ <code>
+ org.apache.jetspeed.production.jdbc.drivers.path
+ </code>
+ </td><td>
+ A Java classpath style path to the jdbc
+ driver classes or jar(s) needed for
+ connecting to the database.
+ <br></br>
+ Example:
+ <code>
+ /lib/ojdbc14.jar;/lib/nls_charset12.jar
+ </code>
+ </td><td>
+ <i>empty</i>
+ </td></tr></table></div><div class="subsection"><a name="Example:_A_minimal_custom_portal_configuration"></a><h3>Example: A minimal custom portal configuration</h3><p>
+ Make sure you have define at least the required
+ properties as described above in your
+ <code>${USER_HOME}/build.properties</code>
+ . A minimal custom portal configuration using the
+ default embedded Derby database can be something like:
+
+ <div class="source"><pre>
+
+# required portal configuration properties
+org.apache.jetspeed.portal.home = /home/myportal/
+org.apache.jetspeed.portal.groupId = myprojects
+org.apache.jetspeed.portal.artifactId = myportal
+org.apache.jetspeed.portal.name = My Test Portal
+org.apache.jetspeed.portal.currentVersion = 1.0
+
+# required application server properties
+org.apache.jetspeed.server.home = ${CATALINA_HOME}/
+org.apache.jetspeed.server.shared = ${org.apache.jetspeed.server.home}/shared/lib/
+org.apache.jetspeed.deploy.war.dir = ${org.apache.jetspeed.server.home}/webapps/
+org.apache.jetspeed.services.autodeployment.user = j2deployer
+org.apache.jetspeed.services.autodeployment.password = xxxxx
+org.apache.jetspeed.catalina.version.major = 5.5
+ </pre></div>
+
+ <i>
+ Note: If you're going to build the default
+ Jetspeed 2 portal directly from the source only
+ the
+ <code>org.apache.jetspeed.portal.home</code>
+ property is required from the set of required
+ portal configuration properties.
+ </i>
+ </p></div></div><div class="section"><a name="4__Creating_a_new_Portal_Application"></a><h2>4. Creating a new Portal Application</h2><p>
+ Now we're going to configure, setup and build a new
+ custom portal application using the Jetspeed-2
+ maven-plugin.
+ </p><div class="subsection"><a name="4_1_Set_the_maven_remote_repository_lookup_configuration"></a><h3>4.1 Set the maven remote repository lookup configuration</h3><p>
+ To be able to setup a Jetspeed 2 based portal the
+ maven remote repository lookup needs to be
+ configured properly in your
+ <code>${USER_HOME}/build.properties</code>
+ :
+
+ <div class="source"><pre>
+
+maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, \
+ http://dist.codehaus.org/, http://cvs.apache.org/repository
+ </pre></div>
+
+ <i>
+ Note: the order in which these repositories must
+ be specified is significant!
+ </i>
+ </p></div><div class="subsection"><a name="4_2_Install_the_Jetspeed_2_maven-plugin"></a><h3>4.2 Install the Jetspeed 2 maven-plugin</h3><p>
+ The first time, and when you want to upgrade to a
+ newer version of Jetspeed 2, you need to install the
+ maven-plugin as follows:
+
+ <div class="source"><pre>
+
+maven -DartifactId=maven-jetspeed2-plugin -DgroupId=org.apache.portals.jetspeed-2 -Dversion=2.1.3 plugin:download
+ </pre></div>
+
+ <i>
+ Note: you can set the version flag to the
+ specific version you want to install,
+ 2.1.3 is just an example here.
+ </i>
+ </p></div><div class="subsection"><a name="4_3_Generate_a_new_portal_project"></a><h3>4.3 Generate a new portal project</h3><p>
+ Once you have the maven-plugin installed and set
+ properties as needed, generate a default portal
+ configuration using the plugin as follows:
+
+ <div class="source"><pre>
+
+maven j2:portal.genapp
+ </pre></div>
+
+ <i>
+ This maven goal actually executes several
+ subgoals which are further described in the
+ <a href="j2-maven-plugin.html">
+ maven-plugin documentation
+ </a>
+ itself.
+ </i>
+ </p></div><div class="subsection"><a name="4_4_Further_customization_of_the_portal"></a><h3>4.4 Further customization of the portal</h3><p>
+ This section doesn't specify anything to do. After
+ the portal project is generated you can adapt and
+ customize it to your taste by overriding and merging
+ your own configurations and extensions.
+ </p><p>
+ You can regenerate or update (part of) your portal
+ project with the
+ <code>j2:portal.genapp</code>
+ goal as described in the previous section or use its
+ subgoals directly.
+ </p></div><div class="subsection"><a name="4_5_Build_the_portal"></a><h3>4.5 Build the portal</h3><p>
+ Once your portal configuration and setup is ready,
+ you can build and install the portal application in
+ your local maven repository (as needed for
+ deployment) using the following standard maven goal
+ from your custom portal project directory (in
+ ${org.apache.jetspeed.portal.home}):
+
+ <div class="source"><pre>
+
+maven war:install
+ </pre></div>
+
+ </p><p>
+ You are now ready to deploy the new portal
+ application. For this, skip the following section on
+ building the Jetspeed 2 portal from source and
+ continue with the
+ <a href="#6__Deploy_and_Run">deployment</a>
+ section.
+ </p></div></div><div class="section"><a name="5__Build_Jetspeed_2_from_source"></a><h2>5. Build Jetspeed 2 from source</h2><p>
+ Build the Jetspeed 2 portal directly from the source is
+ somewhat easier to do but should only be done if you
+ don't want to create a new, customizable portal.
+ </p><div class="subsection"><a name="5_1_Setup_the_Jetspeed_2_source_and_build_properties"></a><h3>5.1 Setup the Jetspeed 2 source and build properties</h3><p>
+ The Jetspeed 2 source contains a
+ <code>project.properties</code>
+ file which provides all of the required portal
+ configuration settings as described
+ <a href="#Required_Portal_Configuration_Properties">
+ above
+ </a>
+ .
+ </p><p>
+ You should
+ <i>
+ <b>not</b>
+ </i>
+ define any of those properties in your
+ <code>${USER_HOME}/build.properties</code>
+ .
+ <br></br>
+ Instead, you
+ <i>must</i>
+ set a
+ <code>org.apache.jetspeed.project.home</code>
+ property, specifying the location where you expanded
+ the downloaded source or checked out the source from
+ subversion, like:
+
+ <div class="source"><pre>
+
+# required Jetspeed 2 portal configuration property for building from the source
+org.apache.jetspeed.project.home = /home/apache/jetspeed-2/
+ </pre></div>
+
+ <i>
+ Note: you still need to specify the required
+ application server properties as described
+ <a href="#Required_Application_Server_Properties">
+ above
+ </a>
+ .
+ </i>
+ </p><p>
+ The Jetspeed 2 project.properties uses this property
+ to define the required
+ <code>org.apache.portal.home</code>
+ :
+
+ <div class="source"><pre>
+
+org.apache.jetspeed.portal.home = ${org.apache.jetspeed.project.home}
+ </pre></div>
+
+ So, they are the same when you build the Jetspeed 2
+ portal from the source.
+ </p><p>
+ When you are going to deploy the portal as described
+ further below, you'll see references to the
+ <code>org.apache.jetspeed.portal.home</code>
+ which you can translate with the root folder of your
+ Jetspeed 2 source.
+ </p><p>
+ If you want to run the testcases when building the
+ Jetspeed 2 sources
+ <i>and</i>
+ don't want to use the default Derby test database,
+ you need to override the default test database
+ properties, similar to the production database
+ properties as described
+ <a href="#Optional_Database_Server_Properties">
+ above
+ </a>
+ :
+ <ul>
+ <li>
+ <code>
+ org.apache.jetspeed.test.database.default.name
+ </code>
+ </li>
+ <li>
+ <code>
+ org.apache.jetspeed.test.database.url
+ </code>
+ </li>
+ <li>
+ <code>
+ org.apache.jetspeed.test.database.user
+ </code>
+ </li>
+ <li>
+ <code>
+ org.apache.jetspeed.test.database.password
+ </code>
+ </li>
+ <li>
+ <code>
+ org.apache.jetspeed.test.database.driver
+ </code>
+ </li>
+ <li>
+ <code>
+ org.apache.jetspeed.test.database.drivers.path
+ </code>
+ </li>
+ </ul>
+ <i>
+ Note: due to outstanding issue
+ <a href="http://issues.apache.org/jira/browse/JS2-320" class="externalLink" title="External Link">
+ JS2-320
+ </a>
+ you currently
+ <b>must</b>
+ use hard coded values for the test database
+ properties.
+ </i>
+ </p></div><div class="subsection"><a name="Initialize_the_maven-plugin"></a><h3>Initialize the maven-plugin</h3><p>
+ Instead of downloading and installing the Jetspeed 2
+ maven-plugin, you are going to build and install it
+ directly from the source. You will need to repeat
+ this every time you update to a newer version of
+ Jetspeed 2 or change its project configuration, the
+ plugin itself or the resources used by the plugin.
+ </p><p>
+ Build and install the maven-plugin as follows from
+ the root directory of the Jetspeed-2 source:
+
+ <div class="source"><pre>
+
+cd ${org.apache.jetspeed.project.home}
+maven initMavenPlugin
+ </pre></div>
+
+ </p></div><div class="subsection"><a name="Optional:_start_the_HSQLDB_test_database_first"></a><h3>Optional: start the HSQLDB test database first</h3><p>
+ If you are going to run the testcases and want to use
+ a HSQLDB database, you will
+ need to start a test database before building
+ Jetspeed 2 in a
+ <i>separate</i>
+ console:
+
+ <div class="source"><pre>
+
+cd ${org.apache.jetspeed.project.home}
+maven j2:start.test.server
+ </pre></div>
+
+ </p><p>
+ After the build is finished you can stop the
+ database and close this console with a
+ <code>Ctrl-C</code>
+ .
+ </p></div><div class="subsection"><a name="Build_the_Jetspeed_2_portal_and_demo_portlet_applications"></a><h3>Build the Jetspeed 2 portal and demo portlet applications</h3><p>
+ For a full build and installation of the portal and
+ the demo portlet applications in your local maven
+ repository run:
+
+ <div class="source"><pre>
+
+cd ${org.apache.jetspeed.project.home}
+maven allClean allBuild
+ </pre></div>
+
+ </p><p>
+ But, if you also want to run the testcases during
+ the build run the following instead:
+
+ <div class="source"><pre>
+
+cd ${org.apache.jetspeed.project.home}
+maven -Dmaven.test.skip=false allClean allBuild
+ </pre></div>
+
+ </p><p>
+ You are now ready to deploy the Jetspeed 2 Portal.
+ </p></div></div><div class="section"><a name="6__Deploy_and_Run"></a><h2>6. Deploy and Run</h2><div class="subsection"><a name="Optional:_start_the_HSQLDB_production_database_first"></a><h3>Optional: start the HSQLDB production database first</h3><p>
+ If you are using a HSQLDB database you
+ need to start it before deploying the portal.
+ </p><p>
+ To start a HSQLDB production database run the
+ following in a
+ <i>separate</i>
+ console:
+
+ <div class="source"><pre>
+
+cd ${org.apache.jetspeed.portal.home}
+maven j2:start.production.server
+ </pre></div>
+
+ </p><p>
+ You need to have this database running during the
+ deployment and while running the application server.
+ Afterwards you can stop the database and close this
+ console with a
+ <code>Ctrl-C</code>
+ .
+ </p><p>
+ Note: this is required when using the
+ <code>j2:quickStart</code>
+ goal as described below. The Jetspeed 2 maven-plugin
+ provides other (sub)goals which you can use without
+ (re)creating a production database and/or inserting
+ default portal configuration data. See the
+ <a href="j2-maven-plugin.html">
+ Plugin documentation
+ </a>
+ for further information about the available goals.
+ </p></div><div class="subsection"><a name="Deploy"></a><h3>Deploy</h3><p>
+ We currently only cover deploying to Tomcat 5 or
+ Tomcat 5.5.
+ </p><p>
+ Information about deployment to other application
+ servers can be found at the The Jetspeed 2
+ <a href="http://wiki.apache.org/portals/Jetspeed2" class="externalLink" title="External Link">
+ Wiki
+ </a>
+ .
+ </p><p>
+ To deploy a default Jetspeed 2 portal, including the
+ demo portlet applications, run the following in a
+ <i>separate</i>
+ console:
+
+ <div class="source"><pre>
+
+cd ${org.apache.jetspeed.portal.home}
+maven j2:quickStart
+ </pre></div>
+
+ <i>
+ Note: the
+ <a href="j2-maven-plugin.html">
+ maven-plugin documentation
+ </a>
+ described other goals you can use to customize
+ the deployment to your taste.
+ </i>
+ </p></div><div class="subsection"><a name="Run"></a><h3>Run</h3><p>
+ The final step is starting up your Tomcat server and
+ the portal will automatically install any deployed
+ portlet applications.
+ </p><p>
+ Then you can access the portal with your browser at:
+
+ <div class="source"><pre><a href="http://localhost:8080/jetspeed" class="externalLink" title="External Link">http://localhost:8080/jetspeed</a></pre></div>
+
+ or replace "jetspeed" in the above url with the name
+ of you own portal application (
+ <code>
+ ${org.apache.jetspeed.portal.artifactId}
+ </code>
+ ).
+ </p></div><div class="subsection"><a name="Default_installed_user_accounts"></a><h3>Default installed user accounts</h3><p>
+ With the default Jetspeed 2 portal deployment,
+ several example user accounts are inserted into the
+ portal database with which you can logon to the
+ portal:
+ <table class="bodyTable"><tr class="b"><th>username</th><th>password</th><th>roles</th></tr><tr class="a"><td>
+ <code>admin</code>
+ </td><td>
+ <code>admin</code>
+ </td><td>
+ <code>admin, manager, user</code>
+ </td></tr><tr class="b"><td>
+ <code>manager</code>
+ </td><td>
+ <code>manager</code>
+ </td><td>
+ <code>manager, user</code>
+ </td></tr><tr class="a"><td>
+ <code>jetspeed</code>
+ </td><td>
+ <code>jetspeed</code>
+ </td><td>
+ <code>manager</code>
+ </td></tr><tr class="b"><td>
+ <code>user</code>
+ </td><td>
+ <code>user</code>
+ </td><td>
+ <code>user</code>
+ </td></tr><tr class="a"><td>
+ <code>tomcat</code>
+ </td><td>
+ <code>tomcat</code>
+ </td><td></td></tr></table>
+ </p></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2007, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/getting-started-source.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/getting-started.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/getting-started.html?rev=1422675&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/getting-started.html (added)
+++ portals/site-live/jetspeed-2.1.3/getting-started.html Sun Dec 16 19:53:41 2012
@@ -0,0 +1,394 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Jetspeed 2 - Getting Started with Jetspeed 2</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://portals.apache.org/jetspeed-2/" id="bannerLeft">
+
+ <img src="images/jetspeed-logo.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+ Last Published: 14 July 2010
+ </div>
+ <div class="xright"> <a href="http://portals.apache.org/applications/" class="externalLink">Applications</a>
+ |
+ <a href="http://portals.apache.org/" class="externalLink">Portals</a>
+ |
+ <a href="http://portals.apache.org/jetspeed-2/" class="externalLink">Jetspeed-2.2</a>
+
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Essentials</h5>
+ <ul>
+
+ <li class="none">
+ <a href="index.html">Welcome</a>
+ </li>
+
+ <li class="none">
+ <a href="features.html">Features</a>
+ </li>
+
+ <li class="none">
+ <strong>Getting Started</strong>
+ </li>
+
+ <li class="none">
+ <a href="demo.html">Jetspeed Online Demos</a>
+ </li>
+ </ul>
+ <h5>Get Jetspeed</h5>
+ <ul>
+
+ <li class="none">
+ <a href="download.html">Download</a>
+ </li>
+
+ <li class="none">
+ <a href="getting-started-installer.html">Installer Instructions</a>
+ </li>
+
+ <li class="none">
+ <a href="release-notes.html">Release Notes</a>
+ </li>
+ </ul>
+ <h5>Documentation Guides</h5>
+ <ul>
+
+ <li class="none">
+ <a href="usersguide/index.html">Users Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="adminguide/index.html">Administrators Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="deployguide/index.html">Deployment Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="devguide/index.html">Developers Guide</a>
+ </li>
+ </ul>
+ <h5>Migration</h5>
+ <ul>
+
+ <li class="none">
+ <a href="guide-migration.html">Migration Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="j1-migration.html">Jetspeed-1 Migration Guideline</a>
+ </li>
+
+ <li class="none">
+ <a href="j1-users.html">For Jetspeed-1 Users</a>
+ </li>
+ </ul>
+ <h5>APIs</h5>
+ <ul>
+
+ <li class="none">
+ <a href="apidocs/jetspeed-api/index.html">Jetspeed-2 Java API</a>
+ </li>
+
+ <li class="none">
+ <a href="devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a>
+ </li>
+ </ul>
+ <h5>Tutorials</h5>
+ <h5>Community</h5>
+ <ul>
+
+ <li class="none">
+ <a href="supporting-projects.html">Supporting Projects</a>
+ </li>
+
+ <li class="none">
+ <a href="who-uses-j2.html">Who Uses J2?</a>
+ </li>
+
+ <li class="none">
+ <a href="portlets-community.html">Portlets Community</a>
+ </li>
+
+ <li class="none">
+ <a href="how-to-help.html">How to Help?</a>
+ </li>
+ </ul>
+ <h5>Support</h5>
+ <ul>
+
+ <li class="none">
+ <a href="mail-lists.html">Mailing List</a>
+ </li>
+
+ <li class="none">
+ <a href="issue-tracking.html">Bug Database</a>
+ </li>
+
+ <li class="none">
+ <a href="http://wiki.apache.org/portals/Jetspeed2" class="externalLink">Wiki</a>
+ </li>
+
+ <li class="none">
+ <a href="faq.html">FAQ</a>
+ </li>
+ </ul>
+ <h5>Translation</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink">Japanese</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <subtitle></subtitle><authors><person name="David Sean Taylor" email="taylor@apache.org"></authors><div class="section"><h2><a name="Where_do_I_start"></a>Where do I start?</h2>
+<p>Where you start depends on what you plan on doing with Jetspeed. Its always best to start by reading the documentation guides. There are several guides provided:
+ </p>
+<ul><li><a href="usersguide/index.html">
+ Users Guide
+ </a></li>
+<li><a href="adminguide/index.html">
+ Administrators Guide
+ </a></li>
+<li><a href="deployguide/index.html">
+ Deployment and Configuration Guide
+ </a></li>
+<li><a href="devguide/index.html">
+ Developers Guide
+ </a></li>
+</ul>
+<p>
+ For those of you in more of a hurry to get started,
+ you have the choice of
+ installing Jetspeed from a binary release or doing more indepth open source development by working with the
+ source code.</p>
+<p>If you want to modify the core functionality of
+ Jetspeed or contribute to the development of Jetspeed,
+ you need to work with the source code. If you are
+ interested in building your first custom enterprise
+ portal, try the custom build. We recommend trying an Evaluation (demo, download) to get started. Eventually you will want to move on to Building a Custom Portal.
+ Advanced users will want to learn how to build from source.
+ </p>
+<ul><li><a href="#Evaluating">Evaluation</a></li>
+<li><a href="#Custom Build">Building a Custom Portal</a></li>
+<li><a href="#Building from Source">Building Jetspeed from Source</a></li>
+</ul>
+</div>
+<div class="section"><h2><a name="Evaluating"></a>Evaluating</h2>
+<p>
+ If you are evaluating Jetspeed, best to download the latest distribution or try running Jetspeed from the demo site:
+ <ul><li><a href="download.html">Download Jetspeed</a></li>
+<li><a href="demo.html">Jetspeed Online Demos</a></li>
+</ul>
+</p>
+<p><b>Download Requirements</b> - The requirements for the downloadable distribution are: Java 1.4.2_02 or higher, enough memory to run Tomcat with several web apps (the demo comes with Tomcat embedded in the installer)</p>
+<p><b>Online Demo Requirements</b> - The requirements for the online demos are minimal: just a web browser</p>
+</div>
+<div class="section"><h2><a name="Custom_Build"></a>Custom Build</h2>
+<p>
+When starting a new Jetspeed portal project, we strongly recommend that you create a custom portal project, and do not edit the Jetspeed-2 source and resources directly.
+A custom build allows you to create and maintain a Jetspeed Portal's lifecycle. With a custom build, you have a reproducible procedure for maintaining your portal across future versions.
+When we say custom, we mean customizing Jetspeed for your needs. Everyone has custom requirements. Custom build procedures formalize the steps required to create a custom portal.
+Although Jetspeed can be customized online using the portal customization features. Still, having a reproducible build is valuable as it enables you to store artifacts in a source code repository and
+maintain the life-cycle of this source.
+</p>
+<p>
+Custom Jetspeed builds for version 2.1.4 can currently be built with Maven-1, Maven-2 or Ant. Building Jetspeed from the source is not necessary for most projects.
+Since Maven-1 is being deprecated out of Jetspeed in version 2.2, we recommend starting with either an <a href="#Ant Custom Build">Ant Custom Build</a> or
+a <a href="#Maven-2 Custom Build">Maven-2 Custom Build</a>.
+</p>
+<div class="section"><h3><a name="Ant_Custom_Build"></a>Ant Custom Build</h3>
+<p>The Ant Custom Build is a set of build targets for creating and maintaining a portal. You can easily hook the Ant build into a developer's portal running locally for development,
+a test or staging server, or a production server. The Ant Custom Build provides you with several goals including:
+<ul><li>Create an Installer</li>
+<li>Deploy Portlet Applications</li>
+<li>Deploy Decorations </li>
+<li>Deploy Site and Page modifications</li>
+<li>Deploy Spring Assembly modifications </li>
+<li>Upgrade to a new version </li>
+</ul>
+</p>
+<p>
+To get started, goto the Ant Tutorial found here: <a href="tutorials/ant/index.html">Ant Tutorial for Jetspeed 2.1.4</a></p>
+</div>
+<div class="section"><h3><a name="Maven-2_Custom_Build"></a>Maven-2 Custom Build</h3>
+<p>The Maven-2 Custom Build is based on a Maven-2 plugin. To get started with the Maven-2 plugin, see the tutorial and usage guide here:
+<ul><li><a href="tutorials/maven-2/index.html">Maven-2 Custom Build Tutorial</a></li>
+<li><a href="devguide/maven-2-custom.html">Maven-2 Custom Build Guide</a></li>
+</ul>
+</p>
+<p><i>There is also a deprecated Maven-1 plugin. If you really insist on using Maven-1 custom builds, see the docs here: <a href="devguide/m1-getting-started-binary.html">Maven-1 Custom Build Guide</a>.</i></p>
+</div>
+<div class="section"><h3><a name="Requirements_for_Custom_Builds"></a>Requirements for Custom Builds</h3>
+<p>
+The general requirements for all custom builds of 2.1.4 are:
+</p>
+<ul><li>Java 1.4.2_02 or higher</li>
+<li>Maven-1 or Maven-2</li>
+<li>Ant</li>
+<li>
+ Servlet 2.4 Engine:
+ <ul><li><a href="deployguide/guide-tomcat.html">Tomcat 5.5.x</a></li>
+<li>Jetty</li>
+<li><a href="deployguide/deploying-jetspeed-to-websphere.html">Websphere 6.0</a></li>
+<li>Geronimo</li>
+<li>JBoss</li>
+<li>Weblogic</li>
+</ul>
+
+ Jetspeed 2 portals can be run under any
+ servlet container supporting the 2.4 specification or
+ greater. However we don't have documentation listed for all servers. Contributions welcome!
+ </li>
+<li>A Database
+ Jetspeed's security model requires a database to
+ authorize users and to retain the user information.
+ Jetspeed security should work with any JDBC 2.0
+ compliant driver. The following databases are tested:
+ <ul><li>Derby</li>
+<li>HSQLDB - Hypersonic SQL</li>
+<li>MySQL</li>
+<li>Oracle</li>
+<li>Postgres</li>
+<li>DB2</li>
+<li>Sybase</li>
+<li>SQL Server</li>
+</ul>
+<p>
+ Jetspeed is distributed with the Derby database
+ configured as the default.
+ </p>
+<p>
+ The database configuration will be setup during the
+ custom build process based on your property settings. See the appropriate build guide for details.. If you are not going to use the
+ default Derby database, you need to select another database
+ during your build configuration.
+ </p>
+</li>
+</ul>
+</div>
+</div>
+<div class="section"><h2><a name="Building_from_Source"></a>Building from Source</h2>
+<p>
+ Building from Source is covered in the following Developer guides for either Maven-1 or Maven-2. For most cases, we recommend building with Maven-2, but the Maven-1 build is also fully supported.
+ If you are going to build a 2.1.4 installer, currently you must build with the Maven-1 build.
+ </p>
+<div class="section"><h3><a name="Building_from_Source_with_Maven-1"></a>Building from Source with Maven-1</h3>
+<ul><li><a href="devguide/m1-getting-started-source.html">
+ Building with Maven-1 from Source
+ </a></li>
+<li><a href="devguide/m1-getting-started-binary.html">
+ Maven-1 Plugin Guide
+ </a></li>
+</ul>
+</div>
+<div class="section"><h3><a name="Building_from_Source_with_Maven-2"></a>Building from Source with Maven-2</h3>
+<p>The best place to start using Jetspeed, as a Developer, is to go to the developers guide documentation:</p>
+<p><a href="devguide/index.html">Jetspeed Developers Guide</a></p>
+<p>For general build information, also see:</p>
+<ul><li><a href="devguide/maven-2-build.html">
+ Building with Maven-2 from Source
+ </a></li>
+<li><a href="devguide/j2-maven-plugin.html">
+ Maven-2 Plugin Guide
+ </a></li>
+</ul>
+</div>
+</div>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2004-2010
+
+ Apache Software Foundation
+
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: portals/site-live/jetspeed-2.1.3/getting-started.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/guide-etl-migration.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/guide-etl-migration.html?rev=1422675&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/guide-etl-migration.html (added)
+++ portals/site-live/jetspeed-2.1.3/guide-etl-migration.html Sun Dec 16 19:53:41 2012
@@ -0,0 +1,466 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Jetspeed 2 - ETL Migration Guide</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://portals.apache.org/jetspeed-2/" id="bannerLeft">
+
+ <img src="images/jetspeed-logo.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+ Last Published: 14 July 2010
+ </div>
+ <div class="xright"> <a href="http://portals.apache.org/applications/" class="externalLink">Applications</a>
+ |
+ <a href="http://portals.apache.org/" class="externalLink">Portals</a>
+ |
+ <a href="http://portals.apache.org/jetspeed-2/" class="externalLink">Jetspeed-2.2</a>
+
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Essentials</h5>
+ <ul>
+
+ <li class="none">
+ <a href="index.html">Welcome</a>
+ </li>
+
+ <li class="none">
+ <a href="features.html">Features</a>
+ </li>
+
+ <li class="none">
+ <a href="getting-started.html">Getting Started</a>
+ </li>
+
+ <li class="none">
+ <a href="demo.html">Jetspeed Online Demos</a>
+ </li>
+ </ul>
+ <h5>Get Jetspeed</h5>
+ <ul>
+
+ <li class="none">
+ <a href="download.html">Download</a>
+ </li>
+
+ <li class="none">
+ <a href="getting-started-installer.html">Installer Instructions</a>
+ </li>
+
+ <li class="none">
+ <a href="release-notes.html">Release Notes</a>
+ </li>
+ </ul>
+ <h5>Documentation Guides</h5>
+ <ul>
+
+ <li class="none">
+ <a href="usersguide/index.html">Users Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="adminguide/index.html">Administrators Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="deployguide/index.html">Deployment Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="devguide/index.html">Developers Guide</a>
+ </li>
+ </ul>
+ <h5>Migration</h5>
+ <ul>
+
+ <li class="none">
+ <a href="guide-migration.html">Migration Guide</a>
+ </li>
+
+ <li class="none">
+ <a href="j1-migration.html">Jetspeed-1 Migration Guideline</a>
+ </li>
+
+ <li class="none">
+ <a href="j1-users.html">For Jetspeed-1 Users</a>
+ </li>
+ </ul>
+ <h5>APIs</h5>
+ <ul>
+
+ <li class="none">
+ <a href="apidocs/jetspeed-api/index.html">Jetspeed-2 Java API</a>
+ </li>
+
+ <li class="none">
+ <a href="devguide/guide-ajax-api.html">Jetspeed-2 AJAX API</a>
+ </li>
+ </ul>
+ <h5>Tutorials</h5>
+ <h5>Community</h5>
+ <ul>
+
+ <li class="none">
+ <a href="supporting-projects.html">Supporting Projects</a>
+ </li>
+
+ <li class="none">
+ <a href="who-uses-j2.html">Who Uses J2?</a>
+ </li>
+
+ <li class="none">
+ <a href="portlets-community.html">Portlets Community</a>
+ </li>
+
+ <li class="none">
+ <a href="how-to-help.html">How to Help?</a>
+ </li>
+ </ul>
+ <h5>Support</h5>
+ <ul>
+
+ <li class="none">
+ <a href="mail-lists.html">Mailing List</a>
+ </li>
+
+ <li class="none">
+ <a href="issue-tracking.html">Bug Database</a>
+ </li>
+
+ <li class="none">
+ <a href="http://wiki.apache.org/portals/Jetspeed2" class="externalLink">Wiki</a>
+ </li>
+
+ <li class="none">
+ <a href="faq.html">FAQ</a>
+ </li>
+ </ul>
+ <h5>Translation</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink">Japanese</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <subtitle></subtitle><authors><person name="Randy Watler" email="rwatler@apache.org"></authors><div class="section"><h2><a name="ETL_Migration_Using_Jetspeed_2.1.32.1.4_and_2.2.1_Installers"></a>ETL Migration Using Jetspeed 2.1.3/2.1.4+ and 2.2.1+ Installers</h2>
+<p>
+ To facilitate ETL based migration or data manipulation strategies, the Jetspeed installer
+ includes the ability to export, initialize, and import a Jetspeed database. In addition to
+ basic portal data, these operations also will include database PSML and user preferences
+ stored in the Jetspeed database. The installer does not require a Jetspeed portal build or
+ runtime environment to execute these operations.
+ </p>
+<p>
+ The binary installer can be obtained from the download page, (<a href="download.html">Download</a>),
+ both the minimal and demo installers include the neccessary data operations. In addition to
+ the installer, the appropriate JDBC driver for the installation and access to the database
+ will be required.
+ </p>
+</div>
+<div class="section"><h2><a name="Exporting_a_Jetspeed_database"></a>Exporting a Jetspeed database</h2>
+<p>
+ The first step in migrating a database is to export its contents into a file based
+ representation. It is best to perform this step on quiescent or shutdown portal instance.
+ Once the binary installer for the existing Jetspeed release and JDBC drivers have been gathered,
+ invoke the installer using the following shell command:
+ </p>
+<div class="source"><pre>
+ java -jar <Jetspeed installer JAR file>
+ </pre>
+</div>
+<p>
+ To run the installer in the console without a GUI, append the <code>text</code> argument to the
+ shell command:
+ </p>
+<div class="source"><pre>
+ java -jar <Jetspeed installer JAR file> text
+ </pre>
+</div>
+<p>
+ After starting the installer and advancing through the splash and license pages, select the
+ <code>Export Jetspeed Portal Database</code> installer operation and continue. The installer
+ will then prompt for the following information:
+ </p>
+<table class="bodyTable"><tr class="a"><th>Installer Prompt</th>
+<th>Description</th>
+</tr>
+<tr class="b"><td><code>Export data files location</code></td>
+<td>
+ Select a new directory where the export is to write the database XML files. Existing
+ files and directories in the selected directory will be removed when the export operation
+ is complete.
+ </td>
+</tr>
+<tr class="a"><td><code>Temporary installation location</code></td>
+<td>
+ If the default temporary location is not vaild, select a new temporary directory where the
+ installer Jetspeed instance can be unpacked, (it is removed after the installation is
+ complete).
+ </td>
+</tr>
+<tr class="b"><td><code>JVM memory size</code></td>
+<td>
+ Export operations can consume a large chunk of memory as the database is traversed. Enter
+ a larger JVM maximum memory size in megabytes as necessary for the installer Jetspeed
+ instance invocation.
+ </td>
+</tr>
+<tr class="a"><td><code>Database selection</code></td>
+<td>
+ Select the current portal database type. DB2, MSSQL, MySql, PostgreSQL, Oracle, and SapDB
+ are supported. Note that Derby is not currently supported.
+ </td>
+</tr>
+<tr class="b"><td><code>Database connection parameters</code></td>
+<td>
+ Enter or validate the current portal database user, password, connection string, driver
+ class, and driver JAR archive file.
+ </td>
+</tr>
+</table>
+<p>
+ After configuring the export operation, the installer will test the database connection before
+ proceeding to the confirmation page. Continue the installation process as instructed. When it
+ has finished, be sure to review the <code>Show Details</code> tab to ensure the export has
+ completed as expected. The following files should appear in the export data files location
+ specified during the installation:
+ <ul><li><code>j2-data.xml</code> file</li>
+<li><code>j2-prefs-data.xml</code> file, (2.1.X installers only)</li>
+<li><code>pages</code> directory, (if database Page Manager enabled)</li>
+</ul>
+
+ If the installation fails or errors occur in the detail output, the export has probably failed.
+ </p>
+</div>
+<div class="section"><h2><a name="Editing_the_Jetspeed_database_Exported_XML_Files"></a>Editing the Jetspeed database Exported XML Files</h2>
+<p>
+ Exported Jetspeed database XML files can be edited, provided the original format and all
+ dependencies are maintained. The formats and files that make up a release do change between
+ releases, so care must be taken to keep the syntax and files consistent with the export release
+ version. No editing should be required to migrate between dataabase vendors.
+ </p>
+<p>
+ Multiple imports can be performed in an additive fashion to merge slices of data cut from
+ individual exports. However, individual objects in the data model are replaced with new versions
+ loaded during the latest import; merging does not take place at the object level. Bulk edits may
+ also be performed to modify data during migration to complement the portal upgrades if desired.
+ </p>
+</div>
+<div class="section"><h2><a name="Initializing_a_Jetspeed_database"></a>Initializing a Jetspeed database</h2>
+<p>
+ Full exports are designed to be imported into an empty Jetspeed database. Creating databases is
+ left to the datbase administrator, but the loading of the Jetspeed database schema can also be
+ accompished using the Jetspeed installer. Databases that contain instances of older Jetspeed
+ portal schemas should be cleaned by dropping all Jetspeed tables prior to reinitialization by the
+ installer. <b>All information within the database will be removed when the Jetspeed database is
+ initialized.</b></p>
+<p>
+ To initialize a new database, the installer should be obtained and started for the target Jetspeed
+ release version as documented above for the export operation, except the <code>Initialize Jetspeed Portal Database</code>
+ operation must be selected. The installer will then prompt for the following information:
+ </p>
+<table class="bodyTable"><tr class="a"><th>Installer Prompt</th>
+<th>Description</th>
+</tr>
+<tr class="b"><td><code>Temporary installation location</code></td>
+<td>
+ If the default temporary location is not vaild, select a new temporary directory where the
+ installer Jetspeed instance can be unpacked, (it is removed after the installation is
+ complete).
+ </td>
+</tr>
+<tr class="a"><td><code>Database selection</code></td>
+<td>
+ Select the current portal database type. DB2, MSSQL, MySql, PostgreSQL, Oracle, and SapDB
+ are supported. Note that Derby is not currently supported.
+ </td>
+</tr>
+<tr class="b"><td><code>Database connection parameters</code></td>
+<td>
+ Enter or validate the current portal database user, password, connection string, driver
+ class, and driver JAR archive file.
+ </td>
+</tr>
+</table>
+<p>
+ After configuring the initialization operation, the installer will test the database connection
+ before proceeding to the confirmation page. Continue the installation process as instructed to
+ load or reload the Jetspeed database schema. When it has finished, be review the <code>Show Details</code>
+ tab to ensure the export has completed as expected. If the installation fails or errors occur in
+ the detail output, the initialization has probably failed. This normally indicates that the
+ database was not clean before the initialization was attempted or sufficient permissions were not
+ granted to the specified database user.
+ </p>
+</div>
+<div class="section"><h2><a name="Importing_a_Jetspeed_database"></a>Importing a Jetspeed database</h2>
+<p>
+ Previously exported Jetspeed database XML files can be reloaded using the installer import
+ operation. Full exports are normally loaded into empty databases, but multiple imports can be used
+ to load partial export data slices as necessary. Data in these slices can only be dependent on
+ information contained within the export or the export files themselves. Individual objects in the
+ XML data files are fully replaced upon load; object instance merging is not supported by import.
+ <b>All data objects imported to the database will replace any existing objects in the Jetspeed
+ database on import.</b></p>
+<p>
+ The installer will expect the following files to appear in the import data files location
+ directory specified during the installation:
+ <ul><li><code>j2-data.xml</code> file</li>
+<li><code>j2-prefs-data.xml</code> file, (2.1.X exports only)</li>
+<li><code>pages</code> directory, (assumes Page Manager to be enabled)</li>
+</ul>
+
+ All other files in the import data files location directory will be ignored.
+ </p>
+<p>
+ Jetspeed database import operations should only be attempted on a shutdown portal instance; imports
+ on a running portal may lead to unexpected results and is not supported. If the import is to merge
+ with data already loaded in the database, performing a full backup before the import is highly
+ recommended.
+ </p>
+<p>
+ To import an existing database export file set, the installer should be obtained and started for the
+ target Jetspeed release version as documented above. The <code>Import Jetspeed Portal Database</code>
+ operation must be selected. The installer will then prompt for the following information:
+ </p>
+<table class="bodyTable"><tr class="a"><th>Installer Prompt</th>
+<th>Description</th>
+</tr>
+<tr class="b"><td><code>Import data files location</code></td>
+<td>
+ Select an existing directory that contains the exported Jetspeed database XML files.
+ </td>
+</tr>
+<tr class="a"><td><code>Temporary installation location</code></td>
+<td>
+ If the default temporary location is not vaild, select a new temporary directory where the
+ installer Jetspeed instance can be unpacked, (it is removed after the installation is
+ complete).
+ </td>
+</tr>
+<tr class="b"><td><code>JVM memory size</code></td>
+<td>
+ Import operations can consume a large chunk of memory as the database is loaded. Enter
+ a larger JVM maximum memory size in megabytes as necessary for the installer Jetspeed
+ instance invocation.
+ </td>
+</tr>
+<tr class="a"><td><code>Database selection</code></td>
+<td>
+ Select the target portal database type. DB2, MSSQL, MySql, PostgreSQL, Oracle, and SapDB
+ are supported. Note that Derby is not currently supported.
+ </td>
+</tr>
+<tr class="b"><td><code>Database connection parameters</code></td>
+<td>
+ Enter or validate the target portal database user, password, connection string, driver
+ class, and driver JAR archive file.
+ </td>
+</tr>
+</table>
+<p>
+ After configuring the import operation, the installer will test the database connection before
+ proceeding to the confirmation page. Continue the installation process as instructed. When it
+ has finished, review the <code>Show Details</code> tab to ensure the export has completed as
+ expected. If the installation fails or errors appear in the detail output, the import has probably
+ failed and the database has been corrupted. The import operation(s) will have to be attempted
+ again from a clean or known database backup state. Problems are normally caused by data
+ incompatabilities/overlap between multiple import data slices or insufficient database permissions
+ granted to the specified database user.
+ </p>
+</div>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2004-2010
+
+ Apache Software Foundation
+
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: portals/site-live/jetspeed-2.1.3/guide-etl-migration.html
------------------------------------------------------------------------------
svn:executable = *
Added: portals/site-live/jetspeed-2.1.3/guide-federated-security.html
URL: http://svn.apache.org/viewvc/portals/site-live/jetspeed-2.1.3/guide-federated-security.html?rev=1422675&view=auto
==============================================================================
--- portals/site-live/jetspeed-2.1.3/guide-federated-security.html (added)
+++ portals/site-live/jetspeed-2.1.3/guide-federated-security.html Sun Dec 16 19:53:41 2012
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Jetspeed 2 Enterprise Portal - Guide to Federated Security</title><style type="text/css" media="all">
+ @import url("./style/maven-base.css");
+
+ @import url("./style/maven-j2.css");@import url("./style/project.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://portals.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://portals.apache.org/images/apache-portals.gif"></img></a><a href="http://portals.apache.org/jetspeed-2" id="projectLogo"><img alt="Jetspeed 2 Enterprise Portal" src="http://portals.apache.org/images/Jetspeed_blue_med.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 22 December 2007
+ | Doc for 2.1.3</div><div class="xright">
+
+ <a href="http://portals.apache.org/jetspeed-1" class="externalLink" title="External Link" target="_nw">Jetspeed-1</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="http://portals.apache.org/jetspeed-2" class="externalLink" title="External Link" target="_nw">Jetspeed-2</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="http://portals.apache.org/bridges" class="externalLink" title="External Link" target="_nw">Bridges</a>
+
+
+
+ <span class="separator">|</span>
+
+
+ <a href="jetspeed2.pdf"><img title="PDF Documentation" style="border: 1px" src="images/pdf.gif" alt="PDF Documentation"></img></a>
+ </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuEssentials"><h5>Essentials</h5><ul><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="getting-started.html">Getting Started</a></li><li class="none"><a href="developers.html">Jetspeed for Developers</a></li></ul></div><div id="menuBuilding"><h5>Building</h5><ul><li class="none"><a href="maven-2-build.html">From Source with Maven-2</a></li><li class="none"><a href="maven-2-custom.html">From Maven-2 Plugin</a></li><li class="none"><a href="getting-started-source.html">From Source with Maven-1 (deprecated)</a></li><li class="none"><a href="getting-started-binary.html">From Maven-1 Plugin (deprecated)</a></li><li class="none"><a href="jetspeed-eclipse.html">From Eclipse</a></li></ul></div><div id="menuGet_Jetspeed-2_1_3"><h5>Get Jetspeed-2.1.3</h5><ul><li class="none"><a href="download.html">Download</a></li><li class="none"><a href="release-
notes.html">Release Notes</a></li></ul></div><div id="menuDocumentation"><h5>Documentation</h5><ul><li class="none"><a href="guides/index.html">Documentation Guides</a></li><li class="none"><a href="http://portals.apache.org/tutorials/jetspeed-2/" class="externalLink" title="External Link">Jetspeed Tutorial - Maven-2 Custom Build</a></li><li class="none"><a href="http://portals.apache.org/tutorials/jetspeed-2-ant/" class="externalLink" title="External Link">Jetspeed Tutorial - Ant Custom Build (incomplete)</a></li><li class="none"><a href="http://portals.apache.org/jetspeed-2/multiproject/jetspeed-api/apidocs/index.html" class="externalLink" title="External Link">Jetspeed-2 API</a></li><li class="none"><a href="j2-maven-plugin.html">Jetspeed-2 Plugin</a></li></ul></div><div id="menuAbout_Jetspeed-2"><h5>About Jetspeed-2</h5><ul><li class="none"><a href="j1-users.html">For Jetspeed-1 Users</a></li><li class="none"><a href="j1-migration.html">Jetspeed-1 Migration Guideline</a>
</li><li class="none"><a href="supporting-projects.html">Supporting Projects</a></li><li class="none"><a href="who-uses-j2.html">Who Uses J2?</a></li><li class="none"><a href="portlets-community.html">Portlets Community</a></li><li class="none"><a href="how-to-help.html">How to Help?</a></li></ul></div><div id="menuSupport"><h5>Support</h5><ul><li class="none"><a href="mail-lists.html">Mailing List</a></li><li class="none"><a href="issue-tracking.html">Bug Database</a></li><li class="none"><a href="http://wiki.apache.org/portals/Jetspeed2" class="externalLink" title="External Link">Wiki</a></li><li class="none"><a href="quality-testing.html">Quality Testing</a></li><li class="none"><a href="faq.html">FAQ</a></li></ul></div><div id="menuTranslation"><h5>Translation</h5><ul><li class="none"><a href="http://jetspeed-japan.sourceforge.jp/jetspeed-2-trans/ja/index.html" class="externalLink" title="External Link">Japanese</a></li></ul></div><div id="menuProject_Documentation"><h5>
Project Documentation</h5><ul><li class="none"><a href="index.html">About Jetspeed 2 Enterprise Portal</a></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="collapsed"><a href="maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Configuring_Jetspeed-2_Federated_Security"></a><h2>Configuring Jetspeed-2 Federated Security</h2><p>
+1. override web.xml in custom build
+2. edit web.xml
+ * remove security-constraints "Login"
+ * remove LoginProxy, LoginServlet, LoginError, LoginRedirector, ...
+ * remove servlet-mapping for above servlets
+</p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 1999-2007, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Propchange: portals/site-live/jetspeed-2.1.3/guide-federated-security.html
------------------------------------------------------------------------------
svn:executable = *