Installing the Archiver as a standalone Java process
The standalone Archiver ships as a set of JAR files. Installing the Archiver separately involves copying these JAR files and copying over configuration files from the Archive Manager Modules.
Procedure
- On your target machine, create a dedicated directory for your Archiver and in this directory, create a library location (say, a subdirectory called lib/) and a configuration location (say, config/).
- Access your Archive Manager installation media and navigate to the folder Content Delivery\roles\am_archiver\lib\.
- Copy over the files in this location to your library location on your target machine:
- cd_archivedeploy.jar
- cd_archivemanager.jar
- cd_archivepipeline.jar
- cd_archivequeue.jar
- cd_archivestorage.jar
- cd_broker.jar
- cd_cache.jar
- cd_core.jar
- cd_datalayer.jar
- cd_deployer.jar
- cd_model.jar
- cd_tcdl.jar
- On the installation media and navigate to the folder Content Delivery\roles\am_archiver\third-party-lib\.
- Copy over the files in this location to the same library location on your target machine:
- activation.jar
- antlr.jar
- aopalliance.jar
- commons-codec.jar
- commons-collections.jar
- commons-dbcp.jar
- commons-httpclient.jar
- commons-pool.jar
- dom4j.jar
- easylicense.jar
- guava.jar
- hibernate-commons-annotations.jar
- hibernate-core.jar
- hibernate-entitymanager.jar
- hibernate-jpa-2.0-api.jar
- jackson-core-asl.jar
- jackson-mapper-asl.jar
- javassist.jar
- jaxb-api.jar (see note below)
- jaxb-impl.jar (see note below)
- jboss-logging.jar
- jboss-transaction-api_1.1_spec.jar
- jcl-over-slf4j.jar
- jdbcpool.jar
- logback-classic.jar
- logback-core.jar
- serializer.jar (do not use if using JBoss)
- slf4j-api.jar
- spring-aop.jar
- spring-asm.jar
- spring-beans.jar
- spring-context.jar
- spring-context-support.jar
- spring-core.jar
- spring-expression.jar
- spring-jdbc.jar
- spring-orm.jar
- spring-tx.jar
- stax-api.jar (do not use if using JBoss or WebLogic)
- xalan.jar (do not use if using JBoss)
- xmlpull.jar
- xpp3_min.jar
- xstream.jar
Note: If you use Java 6 (you can check by entering the commandjava -version), ensure that the files jaxb-api.jar and jaxb-impl.jar are not present in any location used by the Transport Service. The Content Manager installer, which installs the Transport Service, does not install these files. But if you install a Content Delivery Server Role in the same location, these files may still end up there. If this is the case, remove them. - On the machine on which your Content Deployer with Archive Manager Modules is installed, navigate to the Content Deployer's configuration directory.
- Copy the following files from that location to the configuration location on your target machine:
- cd_archivemanager_conf.xml
- cd_storage_conf.xml
- logback.xml
- Open cd_storage_conf.xml for editing and remove the following contents, if present:
- A
Bundlethat has asrcattribute set to the valueundo_dao_bundle.xml. - A
Wrapperthat has aNameattribute set to the valueUndoWrapper.
- A
- Save and close cd_storage_conf.xml
- Copy the following license files from the machine that runs your Content Deployer to a location that the configuration files can find:
- Your Archive Manager license file (you can remove this file from your Content Deployer location if you want)
- Your Content Delivery license file (specifically, you need your Content Broker license)
- From the same machine as before, navigate to the Content Deployer's library directory.
- Copy the JDBC driver JAR in this location to the library location on your target machine.
- In the Archiver location on your target machine, create a shell script file that places the configuration location (here assumed to be config/) and all the JAR files in the library location (here assumed to be lib/) in the classpath, and then runs the Archiver Manager Host class:
- For Linux/UNIX operating systems:
-
#!/bin/sh TRIDION_CLASSPATH=./config for i in ./lib/*.jar ; dO TRIDION_CLASSPATH=${TRIDION_CLASSPATH}:$i done java -cp $TRIDION_CLASSPATH com.tridion.archiving.manager.ArchiveManagerHost - For Windows operating systems:
-
java -cp "./config;./lib/*" com.tridion.archiving.manager.ArchiveManagerHost
- Start the Archiver by running the shell script you created.