forked from andrewharmellaw/archaius-spring-adapter
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the test. Moved the Initial data loading to @Beforeclass method
- Loading branch information
skumar81
committed
Jun 24, 2014
1 parent
4002b63
commit f58f340
Showing
19 changed files
with
611 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
eclipse.preferences.version=1 | ||
encoding//src/main/java=UTF-8 | ||
encoding//src/main/resources=UTF-8 | ||
encoding//src/test/java=UTF-8 | ||
encoding//src/test/resources=UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 | ||
org.eclipse.jdt.core.compiler.compliance=1.7 | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.source=1.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
activeProfiles= | ||
eclipse.preferences.version=1 | ||
resolveWorkspaceProjects=true | ||
version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
---------------------------------------------------------------- | ||
Tue Jun 24 14:38:59 GMT 2014: | ||
Booting Derby version The Apache Software Foundation - Apache Derby - 10.10.2.0 - (1582446): instance a816c00e-0146-ce50-ca46-00000617f248 | ||
on database directory memory:C:\Users\skumar81\git\archaius-spring-adapter\jdbcDemoDB with class loader sun.misc.Launcher$AppClassLoader@27feae0f | ||
Loaded from file:/D:/Users/skumar81/.m2/repository/org/apache/derby/derby/10.10.2.0/derby-10.10.2.0.jar | ||
java.vendor=Oracle Corporation | ||
java.runtime.version=1.7.0_55-b13 | ||
user.dir=C:\Users\skumar81\git\archaius-spring-adapter | ||
os.name=Windows 7 | ||
os.arch=amd64 | ||
os.version=6.1 | ||
derby.system.home=null | ||
Database Class Loader started - derby.database.classpath='' | ||
---------------------------------------------------------------- | ||
Tue Jun 24 14:39:02 GMT 2014: | ||
Shutting down instance a816c00e-0146-ce50-ca46-00000617f248 on database directory memory:C:\Users\skumar81\git\archaius-spring-adapter\jdbcDemoDB with class loader sun.misc.Launcher$AppClassLoader@27feae0f | ||
Tue Jun 24 14:39:02 GMT 2014 Thread[pollingConfigurationSource,5,main] Cleanup action starting | ||
java.sql.SQLException: Database 'memory:jdbcDemoDB' not found. | ||
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source) | ||
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) | ||
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) | ||
at org.apache.derby.jdbc.Driver20.connect(Unknown Source) | ||
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) | ||
at java.sql.DriverManager.getConnection(DriverManager.java:571) | ||
at java.sql.DriverManager.getConnection(DriverManager.java:187) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:240) | ||
at com.netflix.config.sources.JDBCConfigurationSource.getConnection(JDBCConfigurationSource.java:143) | ||
at com.netflix.config.sources.JDBCConfigurationSource.load(JDBCConfigurationSource.java:105) | ||
at com.netflix.config.sources.JDBCConfigurationSource.poll(JDBCConfigurationSource.java:88) | ||
at com.netflix.config.AbstractPollingScheduler$1.run(AbstractPollingScheduler.java:163) | ||
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | ||
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) | ||
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) | ||
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) | ||
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | ||
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | ||
at java.lang.Thread.run(Thread.java:745) | ||
Caused by: java.sql.SQLException: Database 'memory:jdbcDemoDB' not found. | ||
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) | ||
... 29 more | ||
============= begin nested exception, level (1) =========== | ||
java.sql.SQLException: Database 'memory:jdbcDemoDB' not found. | ||
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) | ||
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source) | ||
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source) | ||
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) | ||
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) | ||
at org.apache.derby.jdbc.Driver20.connect(Unknown Source) | ||
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) | ||
at java.sql.DriverManager.getConnection(DriverManager.java:571) | ||
at java.sql.DriverManager.getConnection(DriverManager.java:187) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259) | ||
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:240) | ||
at com.netflix.config.sources.JDBCConfigurationSource.getConnection(JDBCConfigurationSource.java:143) | ||
at com.netflix.config.sources.JDBCConfigurationSource.load(JDBCConfigurationSource.java:105) | ||
at com.netflix.config.sources.JDBCConfigurationSource.poll(JDBCConfigurationSource.java:88) | ||
at com.netflix.config.AbstractPollingScheduler$1.run(AbstractPollingScheduler.java:163) | ||
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | ||
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) | ||
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) | ||
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) | ||
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | ||
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | ||
at java.lang.Thread.run(Thread.java:745) | ||
============= end nested exception, level (1) =========== | ||
Cleanup action completed | ||
---------------------------------------------------------------- | ||
Tue Jun 24 14:39:02 GMT 2014: | ||
Booting Derby version The Apache Software Foundation - Apache Derby - 10.10.2.0 - (1582446): instance 3ea3c0fb-0146-ce50-ca46-00000617f248 | ||
on database directory memory:C:\Users\skumar81\git\archaius-spring-adapter\jdbcDemoDB with class loader sun.misc.Launcher$AppClassLoader@27feae0f | ||
Loaded from file:/D:/Users/skumar81/.m2/repository/org/apache/derby/derby/10.10.2.0/derby-10.10.2.0.jar | ||
java.vendor=Oracle Corporation | ||
java.runtime.version=1.7.0_55-b13 | ||
user.dir=C:\Users\skumar81\git\archaius-spring-adapter | ||
os.name=Windows 7 | ||
os.arch=amd64 | ||
os.version=6.1 | ||
derby.system.home=null | ||
Database Class Loader started - derby.database.classpath='' | ||
---------------------------------------------------------------- | ||
Tue Jun 24 14:39:02 GMT 2014: | ||
Shutting down instance 3ea3c0fb-0146-ce50-ca46-00000617f248 on database directory memory:C:\Users\skumar81\git\archaius-spring-adapter\jdbcDemoDB with class loader sun.misc.Launcher$AppClassLoader@27feae0f | ||
---------------------------------------------------------------- | ||
Tue Jun 24 14:39:02 GMT 2014: | ||
Booting Derby version The Apache Software Foundation - Apache Derby - 10.10.2.0 - (1582446): instance 36e280fc-0146-ce50-ca46-00000617f248 | ||
on database directory memory:C:\Users\skumar81\git\archaius-spring-adapter\jdbcDemoDB with class loader sun.misc.Launcher$AppClassLoader@27feae0f | ||
Loaded from file:/D:/Users/skumar81/.m2/repository/org/apache/derby/derby/10.10.2.0/derby-10.10.2.0.jar | ||
java.vendor=Oracle Corporation | ||
java.runtime.version=1.7.0_55-b13 | ||
user.dir=C:\Users\skumar81\git\archaius-spring-adapter | ||
os.name=Windows 7 | ||
os.arch=amd64 | ||
os.version=6.1 | ||
derby.system.home=null | ||
Database Class Loader started - derby.database.classpath='' |
Oops, something went wrong.