OK, with fresh eyes, in the error messages is:
Feb 22, 2013 11:44:23 PM org.apache.catalina.core.NamingContextListener
addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could
not load resource factory class [Root exception is
java.lang.ClassNotFoundException:
org.apache.tomcat.jdbc.pool.DataSourceFactory]
This is more meaningful.
From:
http://stackoverflow.com/questions/12462842/org-apache-tomcat-jdbc-pool-datasource-is-no-longer-in-the-tomcat-7-dbcp-jar
"Class org.apache.tomcat.jdbc.pool.DataSource is included in
tomcat-jdbc.jar, not tomcat-dbcp.jar. The Tomcat JDBC Connection Pool is
a replacement for commons-dbcp, of which tomcat-dbcp is just a renamed
version. The jar file tomcat-jdbc.jar is not included in the default
Tomcat download. You can download it from Maven Central."
(http://search.maven.org/#search%7Cga%7C1%7Ctomcat-jdbc)
So, the "Run Syncope in real environments" documentation should note
that for postgres we need both of
postgresql-9.2-1002.jdbc4.jar
tomcat-jdbc-7.0.37.jar
in $CATALINIA_HOME/lib/.
I've put these in /usr/share/java/
cd /usr/share/tomcat7/lib
ln -s ../../java/postgresql-9.2-1002.jdbc4.jar ./postgresql.jar
ln -s ../../java/tomcat-jdbc-7.0.37.jar ./tomcat-jdbc.jar
And now,
/var/log/postgresql/postgresql-9.1-main.log
is full of:
FATAL: password authentication failed for user
So this is good; at least we're hitting postgres....