Please proceed as described in the following instructions if you wish to operate the Portal Manager in conjunction with the Tomcat Application Server, version 5.5. For Tomcat 5.0, the procedure is similar. However, you require the installation package for Tomcat 5.0. It is not necessary to install the compatibility package for using the JDK 1.4.
- Download Tomcat
- Download the
apache-tomcat-5.5.17.tar.gzpackage from the Apache Tomcat website. - If Tomcat is to be
operated with the JDK 1.4, please also download the
apache-tomcat-5.5.17-compat.tar.gzpackage.
- Download the
- Install Tomcat
- Unpack the package you downloaded in step
1.1. In the following, the directory created is
referred to as
tomcatInstallDir. - If Tomcat is operated using the JDK 1.4,
please also unpack the package you downloaded in step
1.2 and use the same target directory as for the
Tomcat package because additional jar files are
placed into the
tomcatInstallDir/common/libdirectory.
- Unpack the package you downloaded in step
1.1. In the following, the directory created is
referred to as
Adapt the
PATHenvironment variable so that the JDK to be used can be found.If on the same machine a Trifork server is installed which uses the standard ports, adapt three ports in the
tomcatInstallDir/conf/server.xmlfile:<Connector port="8080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> <Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" /> <Connector port="8082" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" acceptCount="100" connectionTimeout="20000" proxyPort="80" disableUploadTimeout="true" />
Copy the JavaBeans™ Activation Framework from
fionaInstallDir/share/lib/activation.jartotomcatInstallDir/common/lib.Copy JavaMail from
fionaInstallDir/share/lib/mail.jartotomcatInstallDir/common/lib.Recursively copy the PM and PM-PL web applications from the
fionaInstallDir/instance/myInstance/webappsdirectory totomcatInstallDir/webapps/.In the files
tomcatInstallDir/webapps/PM/WEB-INF/web.xmlandtomcatInstallDir/webapps/PM-PL/WEB-INF/web.xml, adapt the path to thelicense.xmlfile contained in theconfigdirectory of your CMS instance. If the CMS is running on a different machine, also copy the licence file to a location where Tomcat can find it.In the
tomcatInstallDir/webapps/PM/WEB-INF/logging.xmlandtomcatInstallDir/webapps/PM-PL/WEB-INF/logging.xmlfiles, enter the path to the directory where the log files of the web applications are located. Example:<param name="File" value="tomcatInstallDir/logs/PM.log"/>
Delete the file
trifork-app-conf.xmlfrom theMETA-INFdirectories of both web applications, PM and PM-PL. Into each directory place a version of the filecontext.xml, adapted to the respective web application. For PM:<Context docBase="${catalina.home}/webapps/PM" path="/PM" crossContext="true" />
For PM-PL:
<Context docBase="${catalina.home}/webapps/PM-PL" path="/PM-PL" crossContext="true" />
- Prepare PM and PM-PL for live operation:
- If you use version 6.0.x of the Portal
Manager, please deactivate the
com.infopark.pm.PreviewDocumentSourcebean in thedocumentManagerbean contained in thetomcatInstallDir/webapps/PM/WEB-INF/pm.xmlfile (by commenting it out) - Activate the
com.infopark.pm.FileDocumentSourcebean (by removing the comment characters). In thedocumentRootproperty, specify the path to the export directory. - In the
userManagerbean contained in thetomcatInstallDir/webapps/PM/WEB-INF/pm.xmlfile, activate the user manager bean you wish to use and configure it. Deactivate the other user managers. - In the
searchEnginebean contained in thetomcatInstallDir/webapps/PM-PL/WEB-INF/pm.xmlfile, deactivate the bean in thecom.infopark.libs.search.cm.AdvancedCmSearchEngineclass and activate this bean in thecom.infopark.libs.search.ses.SesSearchEngineclass. Adapt thehostandportproperties so that they match the Search Server ports of the CMS instance (see theserver.xmlfile in theconfigdirectory of the instance. - Change the
portletPathMappingspecified in thetomcatInstallDir/webapps/PM-PL/WEB-INF/pm.xmlfile to/PM-PL = /PM-PL.
- If you use version 6.0.x of the Portal
Manager, please deactivate the
Start the Tomcat server by running
tomcatInstallDir/bin/startup.sh. You can now open the following URL to access your exported pages containing portlets:http://myTomcatHost:myTomcatPort/PM/
Should problems arise, please look into the log files contained in the
tomcatInstallDir/logsdirectory. With general errors, thecatalina.outandcatalina.yyyy-mm-dd.logfiles are instructive. With application-specific errors, please examine the files configured in step 9 above.