To configure Log4j, open $DOCUMENTUM/config/log4j.properties file and add the following lines into log4j.properties file.
# Enable log messages from eRoom Portlets log4j.logger.com.documentum.eroom=DEBUG,eRoomAppender #eRoom Portlets Appender log4j.appender.eRoomAppender=org.apache.log4j.RollingFileAppender log4j.appender.eRoomAppender.File=<$Documentum>/logs/eRoomPortlets.log log4j.appender.eRoomAppender.MaxFileSize=500KB log4j.appender.eRoomAppender.layout=org.apache.log4j.PatternLayout log4j.appender.eRoomAppender.layout.ConversionPattern=%d{HH:mm:ss} %p %c %m %n |
Create a directory, save the WAR file into this directory, and expand the WAR file.
Use the jar command from JDK1.4.x. For example, type jar -xvf MyeRoom.war.
Open WEB-INF/classes/com/documentum/eroom/utils/eRoom.properties file and change the path in portlet.eroom.server.path.
For example, modify portlet.eroom.server.path=http://<eroom_server_hostname>/.
From the top directory that contains the WAR file, create the WAR file that's ready for deployment.
For example, type the following:
rm MyeRoom.war jar -cvf MyeRoom.war * |
Refer to eRoom 7 Installation, Upgrade, and Configuration Guide for installing and configuring eRoom Server.