1. Geronimo 1.1 with Tomcat

  1. Download and install Geronimo/Tomcat into your preferred directory. From now on, the directory where you installed Gernonimo will be referred to as $GERONIMO_HOME.

  2. Download and install JDK 5 . Set an environment variable called %JAVA_HOME% to point to your JDK directory.

  3. Download MySQL from www.mysql.com and install.

  4. Download liferay-portal-4.1.x.war.

  5. Download portal-kernal.jar from liferay Portal 4.1.x Dependencies.

  6. Populate your database with the portal schema and default data.

    1. Download script create-mysql.sql from Liferay Portal 4.1.0 SQL Scripts.

    2. In command prompt, run mysql script by entering mysql < create-mysql.sql.

  7. Edit $GERONIMO_HOME\bin\geronimo.bat

    insert at line 219:

    set JAVA_OPTS=-Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT
  8. Point browser to localhost:8080/console to enter Administration Console.

    • Login in as User: system and Password: manager

  9. Click Common Libs under Services.

    • Click Browse, find portal-kernal.jar and add

    • Group: Liferay

    • Artifact: Portal-kernel

    • Version: enter version number of jar

    • Type: Jar

    • Click Install???

  10. Click Database Pools under Services

    • Click Using the Geronimo database pool wizard

    • Name of Database Pool: LiferayPool

    • Database Type: MySql

    • Click Next

    • Driver Jar: click Download a Driver and select MySQL Connector/J3.0.17

    • Click Next

    • DB User Name: <none>

    • DB Password: <none>

    • Port: 3306 (default)

    • Host: localhost

    • Database: lportal

    • Click Next

    • Click Test Connection

    • Click Deploy

  11. Click Deploy New under Applications

    • Archive: Browse for lieray-portal-4.x.war

    • Click Install

  12. Click Web App WARs

    • Uninstall geronimo/welcome-tomcat/1.1/car

    • Start -default/liferayportal/xxxxxxx.../war

  13. Open your browser to http://localhost:8080. Click on My Liferay at the upper right hand corner to enter the login screen. Your login is test@liferay.com and your password is test.