The following sections detail how to install CQ5 in conjunction with various application servers:
A generic overview is also given for general usage and information:
After installing WebSphere v6.1 you:
Unpack the installation files of the CQ5 Quickstart into a directory (without starting the server); the installation directory will be referred to as
<:cq-installation-dir>Start the CQ5 Quickstart jar with the option
-unpack; for example:java -jar cq-wcm-quickstart-5.1.0.jar -unpackThis will create a folder
<cq-installation-dir>crx-quickstartcontaining the files and folders used for installation, without actually starting the installation.
![[Important]](../resources/important.png)
Important This must be done from the command line. If you open the jar file directly you will activate the Quickstart installation and start the server.
Copy the following jar files to the application server folder holding shared libraries:
CRX\server\lib\container\jcr-1.0.jarCRX\server\lib\container\crx-shared.jar
Restart WebSphere.
Deploy the following web applications; they can be found in
:<cq-installation-dir>\crx-quickstart\server\webappsCRX webapp;
crx-explorer_crx.war.For example, deploy with the context path
/crx.Launchpad webapp;
crx-launchpad.war.For example, deploy with the context path
/launchpad.
Start the two applications.
Register your CRX license:
Access your CRX installation:
http://<server>:<port>/<context-path>/index.jspfor example:
http://<server>:<port>/crx/index.jspClick the red warning message - “Click here...” (the message is a link).
Enter your license key.
WebSphere v6.1 uses JDK 1.5. By default the SAMLv2 JSP JDK source level uses JDK 1.3. As the SAMLv2 sample configuration uses the JDK 1.5 syntax, running it with the default source level will not work. The following steps should be used to configure the source level as 1.5:
Within the deployed
crx-explorer_crx.war, editibm-web-ext.xmiand add the following configuration parameter to specify the JSP engine:<jspAttributes xmi:id="JSPAttribute_1225281520121" name="jdkSourceLevel" value="15"/>![[Note]](../resources/note.png)
Note The integer (
n) referenced inJSPAttribute_must be unique within the file.<n>Repeat for
crx-launchpad.war.![[Note]](../resources/note.png)
Note The default configuration directory for the web module is:
<WAS_ROOT>\profiles\profilename\config\cells\cellname\applications\enterpriseappname\ deployments\deployedname\webmodulename\WEB-INF\If you have already checked the option
Use Binary Configurationthe files are extracted to the following directory, where they can be edited:<WAS_ROOT>\profiles\profilename\installedApps\nodename\enterpriseappname\webmodulename\Where
<WAS_ROOT>is the root directory of the web application server installation.Restart Websphere.
Access the CRX main console.
Log in to the
crx.systemworkspace asadmin.Navigate to the
Package Managerin CRX.Upload and install the following CQ5 package from
:<cq-installation-dir>\crx-quickstart\repository\install\systemWCM Security Content Package;
cq-security-content-<.cq-version>.jar
Switch to the
crx.defaultworkspace, again asadminUpload and install the following CQ5 packages from
in the following order:<cq-installation-dir>\crx-quickstart\repository\installSling Content Package;
0001-cq-wcm-sling-content-.<cq-version>.jarWCM Content Package;
0002-cq-wcm-content-.<cq-version>.jar
For an author instance of CQ5 you must configure it to start in “author run mode” so that you can perform replications.
Open the file:
<for edit.cq-installation-dir>\crx-quickstart\launchpad\sling.propertiesAdd the following two properties to the file:
sling.jcrinstall.folder.name.regexp = .*/(install|config)(.author)?$ sling.run.modes = author
Restart the
crx-launchpadweb application.
After installing WebLogic v10.3 and creating your domain you:
When you deploy CQ5 with WebLogic 10.3 you must have the server
locale set to en_US to avoid errors such
as:
java.lang.IllegalArgumentException: Bad date
header: 'Wed, 12 Nov 2008 16:34:28 GMT'
These can occur when, for example, requesting a resource such as
/libs/widgets/0.gif.
To configure the server locale on Microsoft Windows:
Open the
Control Panel.Open
Regional and Languages Options.In the
Regional Optionstab, forStandards and formatsselect English(United States).
To configure the server locale on Linux or Unix:
set the environment variable
LANGtoen_US.
To enable out-of-the-box authentication of users in CQ5, authentication by the application server must be switched off:
Open
<.WebLogic-installation-dir>/user_projects/domains/<your-domain>/config/config.xmlLocate the element
<security-configuration>.Add the following child element to it:
<enforce-valid-basic-auth-credentials> false </enforce-valid-basic-auth-credentials>If you had already started WebLogic then you will need to restart it.
Unpack the installation files of the CQ5 Quickstart into a directory (without starting the server); the installation directory will be referred to as
<:cq-installation-dir>Start the CQ5 Quickstart jar with the option
-unpack; for example:java -jar cq-wcm-quickstart-5.1.0.jar -unpackThis will create a folder
<cq-installation-dir>crx-quickstartcontaining the files and folders used for installation, without actually starting the installation.
![[Important]](../resources/important.png)
Important This must be done from the command line. If you open the jar file directly you will activate the Quickstart installation and start the server.
Copy the following jar files to the application server folder holding shared libraries:
CRX\server\lib\container\jcr-1.0.jarCRX\server\lib\container\crx-shared.jar
Restart WebLogic.
Deploy the following web applications; they can be found in
:<cq-installation-dir>\crx-quickstart\server\webappsCRX webapp;
crx-explorer_crx.war.For example, deploy with the context path
/crx.Launchpad webapp;
crx-launchpad.war.For example, deploy with the context path
/launchpad.
Start the two applications.
Register your CRX license:
Access your CRX installation:
http://<server>:<port>/<context-path>/index.jspfor example:
http://<server>:<port>/crx/index.jspClick the red warning message - “Click here...” (the message is a link).
Enter your license key.
Access the CRX main console.
Log in to the
crx.systemworkspace asadmin.Navigate to the
Package Managerin CRX.Upload and install the following CQ5 package from
:<cq-installation-dir>\crx-quickstart\repository\install\systemWCM Security Content Package;
cq-security-content-<.cq-version>.jar
Switch to the
crx.defaultworkspace, again asadminUpload and install the following CQ5 packages from
in the following order:<cq-installation-dir>\crx-quickstart\repository\installSling Content Package;
0001-cq-wcm-sling-content-.<cq-version>.jarWCM Content Package;
0002-cq-wcm-content-.<cq-version>.jar
For an author instance of CQ5 you must configure it to start in “author run mode” so that you can perform replications.
Open the file:
<for edit.cq-installation-dir>\crx-quickstart\launchpad\sling.propertiesAdd the following two properties to the file:
sling.jcrinstall.folder.name.regexp = .*/(install|config)(.author)?$ sling.run.modes = author
Restart the
crx-launchpadweb application.
After installing Tomcat v6 you:
Tomcat enables neither admin nor
manager access at installation.
Therefore you have to manually edit
tomcat-users.xml to allow access for these
accounts:
Navigate to the Tomcat configuration folder.
Edit
tomcat-users.xmlto include access foradminandmanager. The configuration should look similar to the following example:<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="manager"/> <role rolename="tomcat"/> <role rolename="admin"/> <role rolename="role1"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="admin" password="admin" roles="admin,manager"/> <user username="role1" password="tomcat" roles="role1"/> </tomcat-users>
Unpack the installation files of the CQ5 Quickstart into a directory (without starting the server); the installation directory will be referred to as
<:cq-installation-dir>Start the CQ5 Quickstart jar with the option
-unpack; for example:java -jar cq-wcm-quickstart-5.1.0.jar -unpackThis will create a folder
<cq-installation-dir>crx-quickstartcontaining the files and folders used for installation, without actually starting the installation.
![[Important]](../resources/important.png)
Important This must be done from the command line. If you open the jar file directly you will activate the Quickstart installation and start the server.
Copy the following jar files to the application server folder holding shared libraries:
CRX\server\lib\container\jcr-1.0.jarCRX\server\lib\container\crx-shared.jar
Restart Tomcat.
Deploy the following web applications; they can be found in
:<cq-installation-dir>\crx-quickstart\server\webappsCRX webapp;
crx-explorer_crx.war.For example, deploy with the context path
/crx.Launchpad webapp;
crx-launchpad.war.For example, deploy with the context path
/launchpad.
Start the two applications.
Register your CRX license:
Access your CRX installation:
http://<server>:<port>/<context-path>/index.jspfor example:
http://<server>:<port>/crx/index.jspClick the red warning message - “Click here...” (the message is a link).
Enter your license key.
Access the CRX main console.
Log in to the
crx.systemworkspace asadmin.Navigate to the
Package Managerin CRX.Upload and install the following CQ5 package from
:<cq-installation-dir>\crx-quickstart\repository\install\systemWCM Security Content Package;
cq-security-content-<.cq-version>.jar
Switch to the
crx.defaultworkspace, again asadminUpload and install the following CQ5 packages from
in the following order:<cq-installation-dir>\crx-quickstart\repository\installSling Content Package;
0001-cq-wcm-sling-content-.<cq-version>.jarWCM Content Package;
0002-cq-wcm-content-.<cq-version>.jar
For an author instance of CQ5 you must configure it to start in “author run mode” so that you can perform replications.
Open the file:
<for edit.cq-installation-dir>\crx-quickstart\launchpad\sling.propertiesAdd the following two properties to the file:
sling.jcrinstall.folder.name.regexp = .*/(install|config)(.author)?$ sling.run.modes = author
Restart the
crx-launchpadweb application.
After installing JBoss v4 you:
Unpack the installation files of the CQ5 Quickstart into a directory (without starting the server); the installation directory is referred to as
<:cq-installation-dir>Start the CQ5 Quickstart jar with the option
-unpack; for example:java -jar cq-wcm-quickstart-5.1.0.jar -unpackThis creates a folder
<cq-installation-dir>crx-quickstartcontaining the files and folders used for installation, without actually starting the installation.
![[Important]](../resources/important.png)
Important This must be done from the command line. If you open the jar file directly you will activate the Quickstart installation and start the server.
Copy the following jar files to the application server folder holding shared libraries (
<JBOSS_HOME]\server\default\lib>):CRX\server\lib\container\jcr-1.0.jarCRX\server\lib\container\crx-shared.jar
Restart JBoss.
Unpack the
crx-explorer_crx.warfile located in thefolder.<cq-installation-dir>\crx-quickstart\server\webapps![[Note]](../resources/note.png)
Note In Windows, change the
.warextension to.zipand unpack like any zip file. In Linux, typejar xvf crx-explorer_crx.warto unpack.In the
WEB-INFfolder, openlog4j.xml.Remove or comment the line
<appender-ref ref="console"/>which is in the Loggers section of the file and save your changes and exit the file. This disables console logging in the CRX web application.In the
WEB-INFfolder, navigate to thelibfolder and delete the following files:jcr-1.0.jar
jackrabbit-api-1.4.jar
day-commons-naming-1.1.1.jar
crx-api-1.4.1.jar
Pack the
crx-explorer_crx.warfile.![[Note]](../resources/note.png)
Note In Windows, run the zip utility to compress it and rename the
crx-explorer_crx.zipfile tocrx-explorer_crx.war. In Linux, typejar cvf crx-explorer_crx.war.Deploy the following web applications; they can be found in
:<cq-installation-dir>\crx-quickstart\server\webappsCRX webapp;
crx-explorer_crx.war.For example, deploy with the context path
/crx.Launchpad webapp;
crx-launchpad.war.For example, deploy with the context path
/launchpad.
JBoss supports Hot Deployment, so you can simply drag the two files to
<JBOSS_HOME>\server\default\deploy.Start the two applications.
Register your CRX license:
Access your CRX installation:
http://<server>:<port>/<context-path>/index.jspfor example:
http://<server>:<port>/crx/index.jspClick the red warning message - “Click here...” (the message is a link).
Enter your license key.
By default JBoss' default login configuration attempts to
authenticate users against a list of users in the
users.properties file. You must configure JBoss as
follows to let login attempts by unknown users to pass to the web
application (CRX Explorer). The web application will then process
authentication by itself.
Open the file for editing:
<JBOSS_HOME>\server\default\conf\login-config.xmlIn the section
application-policy name="other"(at the bottom of the file) add the attribute:unauthenticatedIdentity="nobody"to the
login-moduleentry.
Once you have installed CQ5 you will want to install content packages.
Access the CRX main console:
http://<server>:<port>/crx-explorer_crx/index.jspLog in to the
crx.systemworkspace asadmin.Navigate to the
Package Managerin CRX.Upload and install the following CQ5 package from
:<cq-installation-dir>\crx-quickstart\repository\install\systemWCM Security Content Package;
cq-security-content-<.cq-version>.jar
Switch to the
crx.defaultworkspace, again asadminUpload and install the following CQ5 packages from
in the following order:<cq-installation-dir>\crx-quickstart\repository\installSling Content Package;
0001-cq-wcm-sling-content-.<cq-version>.jarWCM Content Package;
0002-cq-wcm-content-.<cq-version>.jar
Restart JBoss.
For an author instance of CQ5 you must configure it to start in “author run mode” so that you can perform replications.
Open the file:
<for edit.cq-installation-dir>\crx-quickstart\launchpad\sling.propertiesAdd the following two properties to the file:
sling.jcrinstall.folder.name.regexp = .*/(install|config)(.author)?$ sling.run.modes = author
Restart the
crx-launchpadweb application.
After installing the appropriate web application server you:
This section provides generic information about installing CQ5 with an application server.
Unpack the installation files of the CQ5 Quickstart into a directory (without starting the server); the installation directory will be referred to as
<:cq-installation-dir>Start the CQ5 Quickstart jar with the option
-unpack; for example:java -jar cq-wcm-quickstart-5.1.0.jar -unpackThis will create a folder
<cq-installation-dir>crx-quickstartcontaining the files and folders used for installation, without actually starting the installation.
![[Important]](../resources/important.png)
Important This must be done from the command line. If you open the jar file directly you will activate the Quickstart installation and start the server.
Copy the following jar files to the application server folder holding shared libraries:
CRX\server\lib\container\jcr-1.0.jarCRX\server\lib\container\crx-shared.jar
Restart your web application server.
Deploy the following web applications; they can be found in
:<cq-installation-dir>\crx-quickstart\server\webappsCRX webapp;
crx-explorer_crx.war.For example, deploy with the context path
/crx.Launchpad webapp;
crx-launchpad.war.For example, deploy with the context path
/launchpad.
Start the two applications.
Register your CRX license:
Access your CRX installation:
http://<server>:<port>/<context-path>/index.jspfor example:
http://<server>:<port>/crx/index.jspClick the red warning message - “Click here...” (the message is a link).
Enter your license key.
Once you have installed CQ5 you will want to install content packages.
Access the CRX main console.
Log in to the
crx.systemworkspace asadmin.Navigate to the
Package Managerin CRX.Upload and install the following CQ5 package from
:<cq-installation-dir>\crx-quickstart\repository\install\systemWCM Security Content Package;
cq-security-content-<.cq-version>.jar
Switch to the
crx.defaultworkspace, again asadminUpload and install the following CQ5 packages from
in the following order:<cq-installation-dir>\crx-quickstart\repository\installSling Content Package;
0001-cq-wcm-sling-content-.<cq-version>.jarWCM Content Package;
0002-cq-wcm-content-.<cq-version>.jar
For an author instance of CQ5 you must configure it to start in “author run mode” so that you can perform replications.
Open the file:
<for edit.cq-installation-dir>\crx-quickstart\launchpad\sling.propertiesAdd the following two properties to the file:
sling.jcrinstall.folder.name.regexp = .*/(install|config)(.author)?$ sling.run.modes = author
Restart the
crx-launchpadweb application.