Wednesday, August 24, 2016

installing liferay with jboss


 - Liferay-ee war file can be downloaded from the location :
http://www.liferay.com/group/customer/downloads?p_p_id=3_WAR_osbportlet&p_p_lifecycle=1&p_p_state=maximized&_3_WAR_osbportlet_fileName=/portal/6.0.12/liferay-portal-6.0-ee-sp2-20110727.war


- Download dependencies for  Liferay-ee:
http://www.liferay.com/group/customer/downloads?p_p_id=3_WAR_osbportlet&p_p_lifecycle=1&p_p_state=maximized&_3_WAR_osbportlet_fileName=/portal/6.0.12/liferay-portal-dependencies-6.0-ee-sp2-20110727.zip

Boss 5.x Liferay Home is one folder above JBoss's install location:-
jboss home:-
/home/jbosslr/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as 
one folder above:-
/home/jbosslr/EnterprisePlatform-5.1.0/jboss-eap-5.1/
1. Download and install JBoss AS 5.0.1 into your preferred directory.
This directory will be referred to below as $JBOSS_HOME.
2. Download the latest version of the Liferay Portal .war file.
3. Remove hibernate-validator.jar from $JBOSS_HOME/common/lib.
4. download mysql-connector-java-5.1.18-bin.jar and keep on $jboss_home/common/lib
mysql-connector-java-5.1.18.tar.gz
untar it and move mysql-connector-java-5.1.18-bin.jar to
mysql-connector-java-5.1.18-bin.jar and remove else



5. Download Liferay's Portal Dependencies. Unzip to
$JBOSS_HOME/server/default/lib.

and move it content $JBOSS_HOME/server/default/lib. And delete folder
Deploy Liferay
1. Delete all the files and folders in$JBOSS_HOME/server/default/deploy/ROOT.war
2. Unzip the Liferay .war file to the ROOT.war directory.
3. Remove jaxrpc.jarstax.jarxercesImpl.jarxml-apis.jar
from:
$JBOSS_HOME/server/default/deploy/ROOT.war/WEB-INF/lib



4. Navigate to the Liferay Home folder, which is one folder above JBoss's install location.
/home/jbosslr/EnterprisePlatform-5.1.0/jboss-eap-5.1/

5. Create a file called portal-ext.propertiesAdd the following directives to the file:
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?
useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=root

No comments:

Post a Comment