So first go to https://glassfish.dev.java.net/ and download V1 UR1 Build 03 30-June-06 or later. Do not try the v2 for the moment since it is a development release, not a stable one.
Once downloaded just install it as described (java -Xmx256m -jar jarfilename.jar)
DO NOT FORGET TO RUN ant -f setup in your glassfish dir.
Once done you have to drop in your Glassfish lib dir (the one located in /AppServer/lib/) several jar files:
- JDBC driver (in my case mysql connector (I'm using MYSQL 5.0 under XP Pro and decided to used 3.1.13 connecteor)
- liferay-portal-jaas-4.0.0.jar You can download it from Liferay and is required for Glassfish (http://www.liferay.com/web/guest/downloads)
- /AppServer/domains/domain1/server1/config/login.conf
Add the following lines:PortalRealm {
com.liferay.portal.security.jaas.ext.sun8.PortalLoginModule required;
}; - Modifying /AppServer/domains/domain1/server1/config/server.policy does not seem to be necessary for the current release of Glassfish.


2 commentaires:
I guess the second part is not yet written. Awaiting the second part
Yes, due to WorldCup I had to stop writing...
Will resume tomorrow for part II and III.
I'm likely to add more details and screenshots during the week end.
Regards,
Stef
Post a Comment