<html>
<head>
<style>
body {
  font-family: Verdana, sans-serif;
  font-size: 0.8em;
  color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
  width: 100%;
  height: 1px;
  background: #ccc;
  border: 0;
}
.footer {
  font-size: 0.8em;
  font-style: italic;
}
</style>
</head>
<body>
<span class="header"></span>
Issue #525 has been updated by Pablo Ojanguren.

<ul>
</ul>

<p>So problem comes from a SELECT <acronym title="*">COUNT</acronym>... (SiteMapGenerator.countNotClosedGroups(SiteMapGenerator.java:160))<br />We could start thinking on hibernate-pool configuration problem.</p>
<hr />
<h1><a href="http://redmine.ourproject.org/issues/525#change-785">Defect #525: SiteMap generation is not working properly in large sites</a></h1>

<ul>
<li>Author: Vicente J. Ruiz Jurado</li>
<li>Status: New</li>
<li>Priority: High</li>
<li>Assignee: </li>
<li>Category: </li>
<li>Target version: </li>
  <li>Resolution: </li>
  <li>Tags: </li>
</ul>

<p>The current exception</p>


        <p>2013-03-22 00:20:00 GenerateSitemapJob [INFO] Daily sitemap generation cron job start<br />2013-03-22 00:20:00 LoggerMethodInterceptor [DEBUG] SiteMapGenerator.generate()<br />2013-03-22 00:20:00 NewPooledConnection [WARN] [c3p0] A PooledConnection that has already signalled a Connection error is still in use!<br />2013-03-22 00:20:00 NewPooledConnection [WARN] [c3p0] Another error has occurred [ com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. ] which will not be reported to listeners!<br />com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.<br />  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br />  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)<br />  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<br />  at java.lang.reflect.Constructor.newInstance(Constructor.java:532)<br />  at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)<br />  at com.mysql.jdbc.Util.getInstance(Util.java:384)<br />  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)<br />  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)<br />  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)<br />  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929)<br />  at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1193)<br />  at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1180)<br />  at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4137)<br />  at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4103)<br />  at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:213)<br />  at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)<br />  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />  at java.lang.reflect.Method.invoke(Method.java:616)<br />  at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138)<br />  at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)<br />  at $Proxy100.prepareStatement(Unknown Source)<br />  at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:147)<br />  at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166)<br />  at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:145)<br />  at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1720)<br />  at org.hibernate.loader.Loader.doQuery(Loader.java:828)<br />  at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)<br />  at org.hibernate.loader.Loader.doList(Loader.java:2447)<br />  at org.hibernate.loader.Loader.doList(Loader.java:2433)<br />  at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2263)<br />  at org.hibernate.loader.Loader.list(Loader.java:2258)<br />  at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470)<br />  at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)<br />  at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195)<br />  at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1215)<br />  at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)<br />  at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:284)<br />  at com.google.inject.persist.jpa.JpaFinderProxy.invoke(JpaFinderProxy.java:72)<br />  at com.google.inject.persist.jpa.JpaPersistModule$1.invoke(JpaPersistModule.java:129)<br />  at $Proxy23.countExceptType(Unknown Source)<br />  at cc.kune.core.server.searcheable.SiteMapGenerator.countNotClosedGroups(SiteMapGenerator.java:160)<br />  at cc.kune.core.server.searcheable.SiteMapGenerator.generate(SiteMapGenerator.java:115)<br />  at cc.kune.core.server.searcheable.SiteMapGenerator$$EnhancerByGuice$$26e8b0a.CGLIB$generate$0(&lt;generated&gt;)<br />  at cc.kune.core.server.searcheable.SiteMapGenerator$$EnhancerByGuice$$26e8b0a$$FastClassByGuice$$a56540aa.invoke(&lt;generated&gt;)</p>


<hr />
<span class="footer"><p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="http://redmine.ourproject.org/my/account">http://redmine.ourproject.org/my/account</a></p></span>
</body>
</html>