Bug#775505: Re: Bug#775505: tomcat7: NullPointerException with catalina*.jar from package - datasource

Ralf Hauser ralfhauser at gmx.ch
Tue Feb 17 09:48:03 UTC 2015


Hi Emmanuel,

Unfortunately, your request from last Wednesday didn't make it into my
inbox.
So, I only saw your request now.

Regards 

      Ralf

Out of the server.xml
...
<Resource name="jdbc/privasphere" auth="Container"
type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://127.0.0.1:3306/privalope?autoReconnect=true&autoReconn
ectForPools=true&&useUnicode=true&characterEncoding=UTF-8&co
nnectTimeout=300000&socketTimeout=300000&gatherPerfMetrics=true&
reportMetricsIntervalMillis=1800000&logSlowQueries=true&serverTimezo
ne=Europe/Zurich&removeAbandoned=true&logAbandoned=true&"
username="someUser" password="somePw"
maxActive="15" maxIdle="15"
maxWait="10000" factory="org.apache.commons.dbcp.BasicDataSourceFactory"
initialSize="2"
validationQuery="SELECT 1" testWhileIdle="true"
loginTimeout="10" minIdle="4" poolPreparedStatements="false"
timeBetweenEvictionRunsMillis="1000000"
testOnBorrow="false" />
<ResourceParams ...
...
<Resource name="jdbc/privasphereExtraDomSig" auth="Container"
type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/psconf?useSSL=false&requireSSL=false&am
p;autoReconnect=true&autoReconnectForPools=true&&useUnicode=true
&characterEncoding=UTF-8&removeAbandoned=true&logAbandoned=true&
amp;"
username="someUser" password="somePw"
maxActive="4" maxIdle="4" maxWait="10000"
factory="org.apache.commons.dbcp.BasicDataSourceFactory" initialSize="2"
validationQuery="SELECT 1" testWhileIdle="true"
loginTimeout="10" minIdle="4" poolPreparedStatements="false"
timeBetweenEvictionRunsMillis="1000000"
/>
<ResourceParams name="jdbc/privasphereExtraDomSig">
<parameter>...
...



More information about the pkg-java-maintainers mailing list