2.3 Starting and Stopping Novell Teaming

2.3.1 Starting Novell Teaming/Liferay

NOTE:These are Liferay-only instructions.

On Windows:

From the command prompt, change directories to the Liferay bin directory, and then run the startup command:

> cd C:\yourinstall\liferay-portal-tomcat-5.5-jdk5-4.3.0\bin\
> startup.bat 

WARNING:On Windows, you need to run the startup.bat command from the bin directory.

On Linux:

/yourinstall/liferay-portal-tomcat-5.5-jdk5-4.3.0/bin/icecore start

NOTE:Depending on your system configuration, it can take more than of 60 seconds before Novell Teaming/Liferay starts accepting Web transactions. Initial transactions also tend to be slower as various caches load into RAM. These delays are amplified somewhat when working with a new installation or updated software because the JSPs are recompiled as they are referenced.

In Windows, startup is complete when the Tomcat window displays the following message:

INFO:Server Startup in ##### ms

In Linux, the system does not automatically open a monitor window. You can start one by navigating to your your-installation/life-ray-portal-tomcat-5.5-jdk-4.30/logs directory and executing tail --f catalina.out. Startup is complete when this window displays:

INFO:Server Startup in ##### ms

2.3.2 Setting up Novell Teaming to Start on System Startup

On Windows:

  1. Enter C:\yourinstall\liferay-portal-tomcat-5.5-jdk5-4.3.0\bin\service.bat install icecore

  2. Use the Services Control Panel to configure the service to your needs.

    1. Select Control Panel > Administration Tools > Services.

    2. Right-click the ApacheTomcat icecore service and select Properties.

    3. Change the Startup Type to Automatic and click OK.

    4. Set your firewall to allow port 8080.

On Linux, from the root account:

  1. Enter cp /yourinstall/liferay-portal-tomcat-5.5-jdk5-4.3.0/bin/icecore /etc/init.d

  2. Enter chkconfig --add icecore

2.3.3 Log Files and Monitoring

On Windows:

A Tomcat window appears when you issue the startup.bat command. System messages and error messages appear here.

On Linux:

Unlike Windows, the Tomcat process starts as a background process and no window appears. To monitor the messages in real time, enter:

tail -f /yourinstall/liferay-portal-tomcat-5.5-jdk5-4.3.0/logs/catalina.out

2.3.4 Stopping Novell Teaming

On Windows:

Enter C:\yourinstall\liferay-portal-tomcat-5.5-jdk5-4.3.0\bin\shutdown.bat

On Linux:

Enter /yourinstall/liferay-portal-tomcat-5.5-jdk5-4.3.0/bin/icecore stop