<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cannot create PoolableConnectionFactory Exception in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-create-poolableconnectionfactory-exception/m-p/11810#M4729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to Alfresco. I installed installed MySQL separately (v. 5.0.22). Next I downloaded the MySQL JDBC driver jar file (mysql-connector-java-3.1.13.jar) and made it available in my system classpath. To verify if it is working, I wrote a short java program to see if the driver is loaded and confirmed that it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next I downloaded Alfresco bundled with Tomcat (alfresco-tomcat-1.2.1.zip) and installed it. So far so good. My MySQL installation seems to run fine. However, when I run Alfresco, it returns a huge exception trace before finally saying that the server has started. Sure enough, the Tomcat default website is available through &lt;/SPAN&gt;&lt;A href="http://localhost:8080" rel="nofollow noopener noreferrer"&gt;http://localhost:8080&lt;/A&gt;&lt;SPAN&gt; , but when I try to access Alfresco, through &lt;/SPAN&gt;&lt;A href="http://localhost:8080/afresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/afresco&lt;/A&gt;&lt;SPAN&gt; it says the requested resource "/alfresco" is not available. The exception trace is given below. Help needed badly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;09:48:05,125 ERROR [org.hibernate.util.JDBCExceptionReporter] Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** BEGIN NESTED EXCEPTION ** &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;java.net.SocketException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MESSAGE: java.net.ConnectException: Connection refused: connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;STACKTRACE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;java.net.SocketException: java.net.ConnectException: Connection refused: connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.MysqlIO.&amp;lt;init&amp;gt;(MysqlIO.java:284)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.Connection.&amp;lt;init&amp;gt;(Connection.java:1485)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:80)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2006 05:12:30 GMT</pubDate>
    <dc:creator>rohit_l</dc:creator>
    <dc:date>2006-06-26T05:12:30Z</dc:date>
    <item>
      <title>Cannot create PoolableConnectionFactory Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-create-poolableconnectionfactory-exception/m-p/11810#M4729</link>
      <description>Hello All,I'm new to Alfresco. I installed installed MySQL separately (v. 5.0.22). Next I downloaded the MySQL JDBC driver jar file (mysql-connector-java-3.1.13.jar) and made it available in my system classpath. To verify if it is working, I wrote a short java program to see if the driver is loaded</description>
      <pubDate>Mon, 26 Jun 2006 05:12:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-create-poolableconnectionfactory-exception/m-p/11810#M4729</guid>
      <dc:creator>rohit_l</dc:creator>
      <dc:date>2006-06-26T05:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create PoolableConnectionFactory Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-create-poolableconnectionfactory-exception/m-p/11811#M4730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is embarrassing; I dont know how the problem got solved, honestly. I re-installed MySQL and did the configuration for the d/b instance again. The only difference from the original installation was that I configured the port number to the default 3306. The first time I had set it to 3307 because for some reason 3306 was said to be already in use. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So once I had created the 'alfresco' d/b with a user of the same name with all grant privileges (I had run the db_setup.sql) file command wise on the mysql prompt), I ran Alfresco and it started working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So most probably it was the port number issue, although I can't be sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps other newcomers like me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rohit Lal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 06:45:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-create-poolableconnectionfactory-exception/m-p/11811#M4730</guid>
      <dc:creator>rohit_l</dc:creator>
      <dc:date>2006-06-26T06:45:51Z</dc:date>
    </item>
  </channel>
</rss>

