My context.xml:

<?xml version='1.0' encoding='utf-8'?>


<Context>

    
    <WatchedResource>WEB-INF/web.xml</WatchedResource>

    
    <Manager pathname=""/>

    <Resource name="jdbc/syncopeDataSource" 
              auth="Container" 
              type="javax.sql.DataSource"
              factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" 
              testWhileIdle="true"
              testOnBorrow="true"
              testOnReturn="true" 
              validationQuery="SELECT 1" 
              validationInterval="30000"
              maxActive="100"
              minIdle="2" 
              maxWait="10000" 
              initialSize="2" 
              removeAbandonedTimeout="20000"
              removeAbandoned="true" 
              logAbandoned="true"
              suspectTimeout="20000"
              timeBetweenEvictionRunsMillis="5000"
              minEvictableIdleTimeMillis="5000"
             
jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer"
              username="syncope" 
              password="syncope" 
              driverClassName="com.mysql.jdbc.Driver"
             
url="jdbc:mysql://localhost:3306/syncope?characterEncoding=UTF-8"/>

    
    

</Context>


--------------------



My persistence props:

jpa.driverClassName=com.mysql.jdbc.Driver
jpa.url=jdbc:mysql://localhost:3306/syncope?characterEncoding=UTF-8
jpa.username=syncope
jpa.password=syncope
jpa.dialect=org.apache.openjpa.jdbc.sql.MySQLDictionary
jpa.pool.validationQuery=SELECT 1
#note: other connection pool settings can also be configured here, see
persistenceContext.xml
quartz.jobstore=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
quartz.sql=tables_mysql_innodb.sql
audit.sql=audit_mysql_innodb.sql
database.schema=


--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Clean-project-install-syncope-1-2-5-not-working-tp5708144p5708146.html
Sent from the syncope-user mailing list archive at Nabble.com.

Reply via email to