![]() |
|
This document specifies how to deploy Liferay on Pramati Server and use the application.
The certification was done with the following product versions:
To use Liferay with Pramati Server:
liferay.liferay-portal-pro-3.6.1.war and liferay-jaas.jar in the liferay directory.
and classpath.bat
and place them in the liferay directory.<$PSERVER-INSTALL>/server/bin/setup.bat. Add the below snippet right after Pramati declares the CLASSPATH. Modify the newly added snippet by replacing the
set LOCALCLASSPATH=
for %%i in ("\*.jar") do call "\classpath.bat" %%i
set CLASSPATH=%CLASSPATH%;%LOCALCLASSPATH%
extract.bat that was placed in the liferay directory.
runserver.bat of Server located in <$PSERVER-INSTALL>/server/bin/ folder, increase the JVM heap size to -Xmx128m.security-config.xml located in <$PSERVER-INSTALL>/server/nodes/liferay/config directory.<server-policy> tag.
<realm-policy>
<realm-name>PortalRealm</realm-name>
<AllPermission>
<permission>
<name>AllPermission</name>
<action/>
<group-name>everybody<group-name>
<permission>
<AllPermission>
<CertificateManagerPermission />
<JMSPermission>
<permission>
<name>pramati_dmq</name>
<action>queue-browser,receiver<action>
<group-name>everybody<group-name>
<group-name>nobody<group-name>
</permission>
<permission>
<name>*<name>
<action>durable-subscriber,queue-browser,receiver,sender,unsubscribe<action>
<group-name>everybody<group-name>
<group-name>nobody<group-name>
<permission>
</JMSPermission>
<NamingServicePermission>
<permission>
<name>*<name>
<action>lookup,list<action>
<group-name>nobody<group-name>
<permission>
<NamingServicePermission>
<ResourceServicePermission />
<RealmPermission />
<UserManagerPermission />
<ServerAdminPermission />
<ServerAppPermission />
<realm-policy>
<realm> tag in the security-config.xml file. This corresponds to the default system realm. Create a new realm by appending the following snippet after the <realm> of the system realm config.<realm> <realm-name>PortalRealm<realm-name> <user-manager> <class-name>com.liferay.portal.jaas.ext.pramati.PortalUserManager<class-name> <init-options> <entry> <name>algotype<name> <value>text<value> <entry> <entry> <name>realmname<name> <value>PortalRealm</value> <entry> <entry> <name>encode<name> <value>true<value> <entry> <init-options> <user-manager> <realm>
<configuration> tag:
<login-module-configuration>
<realm-name>PortalRealm<realm-name>
<config-entry>
<class-name>com.liferay.portal.jaas.ext.pramati.PortalLoginModule<class-name>
<flag>required<flag>
<options>
<entry>
<name>algotype<name>
<value>text<value>
<entry>
<entry>
<name>realmname<name>
<value>PortalRealm<value>
<entry>
<entry>
<name>encode<name>
<value>true<value>
<entry>
<options>
<config-entry>
<login-module-configuration>
liferay-portal-pro-3.6.1.war located in the liferay directory created earlier. Go to:To access the application after it has started, access the URL http://<ip>:<port> of your node.
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |