Jun 2, 2011

Deploy Documentum Using Apache Tomcat

 
Deploy Documentum Using Apache Tomcat in RHEL


Release:
Redhat Enterprise Linux 5.x
Apache Tomcat 6.0.14

Problem:
Need to deploy Documentum using apache tomcat in RHEL

Solution:

1)      Download the Apache tomcat from the below link


2)      Copy tomcat to the server and extract the zip folder

      # cd /documentum
      # tar -zxvf apache-tomcat-6.0.14.tar.gz
      # ln -s apache-tomcat-6.0.14 tomcat

Note: Here tomcat dump copied to the “/documentum” directory. Also here one soft link created for the future purpose.

3)      Mention the java and jre home path in tomcat also mention the “PermSize” details also.

      # vi /documentum/tomcat/bin/catalina.sh

      JAVA_HOME=/usr/java/jdk1.6.0_24
      JRE_HOME=/usr/java/jdk1.6.0_24/jre
      JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms1024m -Xmx3072m -XX:PermSize=256m -XX:MaxPermSize=512m"

Note: Here “Xms” means that initial heap size and “Xmx” means that maximum heap size.

4)      To access the tomcat Manager url add the below entries in the “tomcat-users.xml” file

      # vi /documentum/tomcat/conf/tomcat-users.xml

  





Note: For accessing tomcat manager ( http://IPADDRESS:8080/manager ) use the above authentication “username=tomcat” and “password=tomcat

5)      Also enable pooling option to access the documentum URL from the web.xml file

      # vi /documentum/tomcat/conf/web.xml












6)      Deploy the webtop and DA war files. Copy both the war files to the webapps directory
     
            # cp Webtop.war DA.war /documentum/tomcat/webapps

7)      Star the Apache Tomcat server using the below command.

      # /documentum/tomcat/bin/startup.sh

Note : To stop the tomcat use “/documentum/tomcat/bin/shutdown.sh

8)      Edit the dfc.properties file to mention the repository

# /documentum/tomcat/webapps/webtop/WEB-INF/classes/dfc.properties

dfc.session.max_count=1000
dfc.docbroker.host[0]=server.example.com
dfc.globalregistry.repository=Global
dfc.globalregistry.username=dm_bof_registry
dfc.globalregistry.password=MmKZP8KOlvrE6ndUolyl6Q\=\=

Note: Here “server.example.com” is the server hostname and the “Global”  is the repository name.




No comments: