users@glassfish.java.net

Re: deploying liferay

From: <glassfish_at_javadesktop.org>
Date: Wed, 29 Jul 2009 03:39:03 PDT

I have successfully installed liferay 5.2.3 in glassfish2.1 with oracle db

• from http://www.liferay.com/web/guest/downloads/additional download
        liferay-portal-5.2.3.war
        liferay-portal-sql-5.2.3.zip
        liferay-plugins-sdk-5.2.3.zip
        liferay-portal-client-5.2.3.zip
        liferay-portal-ext-5.2.3.zip
        liferay-portal-dependencies-5.2.3.zip
• Create Oracle user lportal/lportal and execute script create-oracle.sql (in liferay-portal-sql-5.2.3.zip)
• Create Glassfish domain lportal
        asadmin create-domain --adminport 14848 --instanceport 18080 lportal
(admin name:lportal admin password:lportallportal)
• Copy from ……liferay-portal-dependencies-5.2.3 copio into ……\domains\lportal\lib
        portal-kernel.jar portal-service.jar portlet.jar container.jar portlet-container.jar saw-api.jar hsql.jar
• Copy oracle jdbc drivers into ……\domains\lportal\lib\ext
        ojdbc14.jar ojdbc14dms.jar orai18n.jar
• Start domain lportal
        asadmin start-domain lportal
• Create connection pool (lportalPool) and connection resource (jdbc/lportal) for db lportal (using Admin console)
• In ….\domains\lportal\config create portal-ext.properties containing
        jdbc.default.jndi.name=jdbc/lportal
• Deploy war (liferay-portal-5.2.3.war)
        Copy it in ….\domains\lportal\autodeploy
• Restart glassfish on domain lportal
• From browser connect to http://localhost:18080
o Login as the default administrator: test_at_liferay.com
o Password: test
[Message sent by forum member 'graziano1955' (graziano1955)]

http://forums.java.net/jive/thread.jspa?messageID=358028