I've 404 error message on first access, or after a long time of inactivity on
the comment and relation services. A refresh a action (F5 in the navigator)
permits to have the page.
Those services are configured for using Mysql data storage. The tables are
configured for using InnoDB engine. The transactions are activated for JENA in
the nuxeo.ear/config/sql.properties. The datasource is configured lije that :
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>nxrelations-default-jena</jndi-name>
<connection-url>jdbc:mysql://${fr.toutatice.nuxeo.db.host}/nx_relations_default_jena</connection-url>
<driver-class>${fr.toutatice.nuxeo.db.driver}</driver-class>
<user-name>${fr.toutatice.nuxeo.db.login}</user-name>
<password>${fr.toutatice.nuxeo.db.pwd}</password>
<connection-property name="autoReconnect">true</connection-property>
<connection-property name="relaxAutoCommit">true</connection-property>
</local-tx-datasource>
</datasources>
-------------------------------
The logs gives the information that the jdbc connexion is closed :
---------------------
12:54:22,872 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces
Servlet threw exception
org.nuxeo.ecm.core.api.WrappedException: Exception:
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException. message: No
operations allowed after statement closed.
-------------------------------------------------------
O.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm