Liferay Beginner’s Guide
上QQ阅读APP看书,第一时间看更新

Time for action – deploying on JBoss AS

You can get the latest community version of the Liferay JBoss bundle from the download page of Liferay: (http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.6/liferay-portal-jboss-6.0.6-20110225.zip/download).

Next follow these steps to start up JBoss Application server with Liferay:

  1. Extract the zip file that you downloaded to the folder called bundles (which we created for the last exercise).
  2. We will call the extracted folder LIFERAY_HOME.
  3. There will be a jboss folder inside LIFERAY_HOME, which we will refer to as JBOSS_HOME:
    Time for action – deploying on JBoss AS
  4. Navigate to JBOSS_HOME/bin and double-click on run.bat.
  5. Your server should start up properly and you should see the console as shown in the following screenshot:
    Time for action – deploying on JBoss AS
  6. Open a browser and type http://localhost:8080 and this will open the Liferay home page.

What just happened?

We have deployed Liferay with JBoss Application server.

Now we will install Liferay with GlassFish Application server.