comparison contrib/make_flys_release/make_release.sh @ 8485:026f4c684ee5

Make maxWait configurable and wait for 30 seconds
author "Tom Gottfried <tom@intevation.de>"
date Fri, 28 Nov 2014 16:34:40 +0100
parents 2db7a949ff8b
children 07a369e6e277
comparison
equal deleted inserted replaced
8484:8c615d738e84 8485:026f4c684ee5
381 <password>$BACKENDPASS</password> 381 <password>$BACKENDPASS</password>
382 <dialect>org.hibernatespatial.oracle.OracleSpatial10gDialect</dialect> 382 <dialect>org.hibernatespatial.oracle.OracleSpatial10gDialect</dialect>
383 <driver>oracle.jdbc.driver.OracleDriver</driver> 383 <driver>oracle.jdbc.driver.OracleDriver</driver>
384 <url>jdbc:oracle:thin:@//$BACKENDURL:$BACKENDPORT/$BACKENDBACK</url> 384 <url>jdbc:oracle:thin:@//$BACKENDURL:$BACKENDPORT/$BACKENDBACK</url>
385 <validation-query>select 1 from rivers</validation-query> 385 <validation-query>select 1 from rivers</validation-query>
386 <max-wait>30000</max-wait>
386 <connection-init-sqls>$INITSQLS</connection-init-sqls> 387 <connection-init-sqls>$INITSQLS</connection-init-sqls>
387 </backend-database> 388 </backend-database>
388 EOF 389 EOF
389 390
390 cat > $WORK_DIR/server/conf/seddb-db.xml << EOF 391 cat > $WORK_DIR/server/conf/seddb-db.xml << EOF
394 <password>$SEDDBPASS</password> 395 <password>$SEDDBPASS</password>
395 <dialect>org.hibernate.dialect.Oracle9iDialect</dialect> 396 <dialect>org.hibernate.dialect.Oracle9iDialect</dialect>
396 <driver>oracle.jdbc.driver.OracleDriver</driver> 397 <driver>oracle.jdbc.driver.OracleDriver</driver>
397 <url>jdbc:oracle:thin:@//$SEDDBURL:$SEDDBPORT/$SEDDBBACK</url> 398 <url>jdbc:oracle:thin:@//$SEDDBURL:$SEDDBPORT/$SEDDBBACK</url>
398 <validation-query>select 1 from gewaesser</validation-query> 399 <validation-query>select 1 from gewaesser</validation-query>
400 <max-wait>30000</max-wait>
399 <connection-init-sqls>$SEDINITSQLS</connection-init-sqls> 401 <connection-init-sqls>$SEDINITSQLS</connection-init-sqls>
400 </seddb-database> 402 </seddb-database>
401 EOF 403 EOF
402 404
403 else 405 else

http://dive4elements.wald.intevation.org