<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Bugs &#187; Liferay</title>
	<atom:link href="http://www.randombugs.com/category/java/liferay/feed" rel="self" type="application/rss+xml" />
	<link>http://www.randombugs.com</link>
	<description>Just another Bastard Operator From Hell. Everything from *nix to programming</description>
	<lastBuildDate>Thu, 06 May 2010 14:21:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Liferay 5.2.1 with Mysql in Glassfish 2.1</title>
		<link>http://www.randombugs.com/java/liferay-521-mysql-glassfish-21.html</link>
		<comments>http://www.randombugs.com/java/liferay-521-mysql-glassfish-21.html#comments</comments>
		<pubDate>Fri, 13 Feb 2009 11:21:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Liferay]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Glassfish]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=182</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/text-x-java.png" width="24" height="24" alt="" title="Java" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/liferay.png" width="24" height="24" alt="" title="Liferay" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>In the old versions of Liferay, switching from HSQL to MySQL was easy under Glassfish. Just replace the jdbc connector created for HSQL with one for MySQL and at the next restart of Liferay all was working ok. From version 5.2.1 configuration was changed and all is done from portal.properties. To switch from HSQL just create a portal-ext.properties with the following content:


jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&#038;characterEncoding=UTF-8&#038;useFastDateParsing=false
jdbc.default.username=lportal
jdbc.default.password=lportalpassword

and putit in /domain/domain1/applications/j2ee-module/liferay-portal/WEB-INF/classes/ if you are running in a single instance or if you are running in a clustered instance /nodeagents/agent1/instance1/applications/j2ee-module/liferay-portal/WEB-INF/classes .
Good Luck
Related Posts:How to install and configure ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/liferay-521-mysql-glassfish-21.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install and configure a Liferay cluster</title>
		<link>http://www.randombugs.com/java/glassfish/how-to-install-and-configure-a-liferay-cluster.html</link>
		<comments>http://www.randombugs.com/java/glassfish/how-to-install-and-configure-a-liferay-cluster.html#comments</comments>
		<pubDate>Tue, 26 Aug 2008 09:47:00 +0000</pubDate>
		<dc:creator>sacx</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Liferay]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://randombugs.wordpress.com/2008/08/26/how-to-install-and-configure-a-liferay-cluster/</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/cluster.png" width="24" height="24" alt="" title="Clustering" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bluefish.png" width="24" height="24" alt="" title="Glassfish" /><br/>This article is the second part from a serie of 2 articles about glassfish and liferay. I hope you will find this articles very useful. First article is here.

Before starting:
1. Be sure you have the DNS configuration working properly (or /etc/hosts)
2. Install a glassfish cluster (http://random-byte.blogspot.com/2008/08/how-to-install-and-configure-glassfish.html)
3. If you have some errors about jdbc\__TimePool (a bug in glassfish) when you are trying to set the target on the cluster just create another JDBC resource with a another name with the target on cluster (Read first part about his error: http://randombugs.wordpress.com/2008/08/26/how-to-install-and-configure-a-glassfish-cluster/)
4. Before ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/how-to-install-and-configure-a-liferay-cluster.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install and configure a Glassfish cluster</title>
		<link>http://www.randombugs.com/java/glassfish/how-to-install-and-configure-a-glassfish-cluster.html</link>
		<comments>http://www.randombugs.com/java/glassfish/how-to-install-and-configure-a-glassfish-cluster.html#comments</comments>
		<pubDate>Tue, 26 Aug 2008 09:06:00 +0000</pubDate>
		<dc:creator>sacx</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Liferay]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://randombugs.wordpress.com/2008/08/26/how-to-install-and-configure-a-glassfish-cluster/</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/cluster.png" width="24" height="24" alt="" title="Clustering" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bluefish.png" width="24" height="24" alt="" title="Glassfish" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/text-x-java.png" width="24" height="24" alt="" title="Java" /><br/>
In the last days I tried to install and configure a Glassfish and a Liferay cluster for a client. From what I see in Internet is a lot of &#8220;old&#8221; documentation for Glassfish / Liferay clustering and nothing related to latest versions of Glasfish / Liferay (glassfish v2ur2 and Liferay 5.1.1), and I know this documentation also will become old in some months   . So I intend to write (as best as I can) a very simple documentation about how I manage this to work and what problems ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/how-to-install-and-configure-a-glassfish-cluster.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
