<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating and configuring a MySQL DataSource in GlassFish Application Server</title>
	<atom:link href="http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/</link>
	<description>Something about JEE and WebSphere. Java, JEE and WebSphere tips and tutorials</description>
	<lastBuildDate>Thu, 04 Mar 2010 11:06:01 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bat</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-64758</link>
		<dc:creator>Bat</dc:creator>
		<pubDate>Thu, 04 Mar 2010 11:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-64758</guid>
		<description>no, I apply this on my local mac os...</description>
		<content:encoded><![CDATA[<p>no, I apply this on my local mac os&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-64757</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Thu, 04 Mar 2010 11:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-64757</guid>
		<description>Are u behind some firewall or something. I feel it is a network issue where it is not able to connect to the server.</description>
		<content:encoded><![CDATA[<p>Are u behind some firewall or something. I feel it is a network issue where it is not able to connect to the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bat</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-64756</link>
		<dc:creator>Bat</dc:creator>
		<pubDate>Thu, 04 Mar 2010 10:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-64756</guid>
		<description>I&#039;ve followed your instruction and when I try to do a ping, I&#039;ve this error : 

Ping failed Exception - Connection could not be allocated because: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO

Do you have an idea?

thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;ve followed your instruction and when I try to do a ping, I&#8217;ve this error : </p>
<p>Ping failed Exception &#8211; Connection could not be allocated because: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO</p>
<p>Do you have an idea?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-64601</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Tue, 02 Mar 2010 03:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-64601</guid>
		<description>It is the database server name. You can either use the name of the server or the IP of the server.</description>
		<content:encoded><![CDATA[<p>It is the database server name. You can either use the name of the server or the IP of the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glisando</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-64594</link>
		<dc:creator>glisando</dc:creator>
		<pubDate>Mon, 01 Mar 2010 17:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-64594</guid>
		<description>Hi..
 
Please refer to step 11(e). Servername. This is glassfish server we are using right? So can I just enter glassfish for that option? Or does the Servername mean something else?? Hope someone she some light on this...Thanks</description>
		<content:encoded><![CDATA[<p>Hi..</p>
<p>Please refer to step 11(e). Servername. This is glassfish server we are using right? So can I just enter glassfish for that option? Or does the Servername mean something else?? Hope someone she some light on this&#8230;Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to configure Datasource in Hibernate.cfg.xml</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-63634</link>
		<dc:creator>How to configure Datasource in Hibernate.cfg.xml</dc:creator>
		<pubDate>Mon, 25 Jan 2010 13:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-63634</guid>
		<description>I have created JDBC Data source (Connection Pool)which I want configure in Springs Hibernate to getSession Factory. What should be the factory classes, URL etc. to configure it.
Please help me</description>
		<content:encoded><![CDATA[<p>I have created JDBC Data source (Connection Pool)which I want configure in Springs Hibernate to getSession Factory. What should be the factory classes, URL etc. to configure it.<br />
Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sy</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-62448</link>
		<dc:creator>sy</dc:creator>
		<pubDate>Sun, 20 Dec 2009 04:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-62448</guid>
		<description>Hi, it mentioned by article on adding the following to the source :

Context ctx = new InitialContext();
	DataSource ds = (DataSource) ctx.lookup(&quot;jdbc/mysqltest&quot;);
	Connection con = ds.getConnection();

Is this mean I write a jar file or where to add the code sun-web.xml or where? Thanks.

I have tried the above connection setting, but still not successful, so I thought it might be the code. 

Appreciate any help.  Thank you.</description>
		<content:encoded><![CDATA[<p>Hi, it mentioned by article on adding the following to the source :</p>
<p>Context ctx = new InitialContext();<br />
	DataSource ds = (DataSource) ctx.lookup(&#8220;jdbc/mysqltest&#8221;);<br />
	Connection con = ds.getConnection();</p>
<p>Is this mean I write a jar file or where to add the code sun-web.xml or where? Thanks.</p>
<p>I have tried the above connection setting, but still not successful, so I thought it might be the code. </p>
<p>Appreciate any help.  Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Adnan Aftab</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-62250</link>
		<dc:creator>Muhammad Adnan Aftab</dc:creator>
		<pubDate>Wed, 16 Dec 2009 04:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-62250</guid>
		<description>these are very helpfull material.</description>
		<content:encoded><![CDATA[<p>these are very helpfull material.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nat</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-58807</link>
		<dc:creator>Nat</dc:creator>
		<pubDate>Mon, 14 Sep 2009 18:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-58807</guid>
		<description>:-) Outstanding!</description>
		<content:encoded><![CDATA[<p> <img src='http://www.albeesonline.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Outstanding!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Everyone</title>
		<link>http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/comment-page-1/#comment-58583</link>
		<dc:creator>Everyone</dc:creator>
		<pubDate>Wed, 09 Sep 2009 08:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=170#comment-58583</guid>
		<description>Just  a quick follow-up note  for newbies like me (+:

Problem: 
Glassfish is unable to locate the driver even after the jar is copied into glassfish-install-dir/lib

Solution: 
Navigate to Glassfish Admin Console/JVM Settings/JVM Options
Append the driver to the jdbc drivers parameter.
E.g. Djdbc.drivers=org.apache.derby.jdbc.ClientDriver;com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</description>
		<content:encoded><![CDATA[<p>Just  a quick follow-up note  for newbies like me (+:</p>
<p>Problem:<br />
Glassfish is unable to locate the driver even after the jar is copied into glassfish-install-dir/lib</p>
<p>Solution:<br />
Navigate to Glassfish Admin Console/JVM Settings/JVM Options<br />
Append the driver to the jdbc drivers parameter.<br />
E.g. Djdbc.drivers=org.apache.derby.jdbc.ClientDriver;com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</p>
]]></content:encoded>
	</item>
</channel>
</rss>
