{"action":"created","issue":{"url":"https://api.github.com/repos/p6spy/p6spy/issues/171","labels_url":"https://api.github.com/repos/p6spy/p6spy/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/p6spy/p6spy/issues/171/comments","events_url":"https://api.github.com/repos/p6spy/p6spy/issues/171/events","html_url":"https://github.com/p6spy/p6spy/issues/171","id":23591900,"number":171,"title":"log troubleshooting information when P6SpyDriver can not find the passthrough driver","user":{"login":"quintonm","id":991413,"avatar_url":"https://avatars.githubusercontent.com/u/991413?v=3","gravatar_id":"","url":"https://api.github.com/users/quintonm","html_url":"https://github.com/quintonm","followers_url":"https://api.github.com/users/quintonm/followers","following_url":"https://api.github.com/users/quintonm/following{/other_user}","gists_url":"https://api.github.com/users/quintonm/gists{/gist_id}","starred_url":"https://api.github.com/users/quintonm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintonm/subscriptions","organizations_url":"https://api.github.com/users/quintonm/orgs","repos_url":"https://api.github.com/users/quintonm/repos","events_url":"https://api.github.com/users/quintonm/events{/privacy}","received_events_url":"https://api.github.com/users/quintonm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/p6spy/p6spy/labels/Enhancement","name":"Enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2013-12-02T18:32:05Z","updated_at":"2015-01-22T04:27:41Z","closed_at":"2015-01-22T04:27:41Z","body":"The log messages below came from the travis build log.  As you can see, it failed to find the H2 JDBC driver.  It would be helpful to have the contents of the classpath as well as the registered drivers in the log.\r\n\r\n'''\r\n[INFO] [talledLocalContainer] Caused by: liquibase.exception.DatabaseException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unable to find a driver that accepts jdbc:h2:mem:p6spy)\r\n[INFO] [talledLocalContainer] \tat liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:293)\r\n[INFO] [talledLocalContainer] \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1541)\r\n[INFO] [talledLocalContainer] \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)\r\n[INFO] [talledLocalContainer] \t... 36 more\r\n[INFO] [talledLocalContainer] Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unable to find a driver that accepts jdbc:h2:mem:p6spy)\r\n[INFO] [talledLocalContainer] \tat org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)\r\n[INFO] [talledLocalContainer] \tat org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSourcasicDataSource.java:1388)\r\n[INFO] [talledLocalContainer] \tat org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)\r\n[INFO] [talledLocalContainer] \tat liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:288)\r\n[INFO] [talledLocalContainer] \t... 38 more\r\n[INFO] [talledLocalContainer] Caused by: java.sql.SQLException: Unable to find a driver that accepts jdbc:h2:mem:p6spy\r\n[INFO] [talledLocalContainer] \tat com.p6spy.engine.spy.P6SpyDriver.findPassthru(P6SpyDriver.java:119)\r\n[INFO] [talledLocalContainer] \tat com.p6spy.engine.spy.P6SpyDriver.connect(P6SpyDriver.java:94)\r\n[INFO] [talledLocalContainer] \tat org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)\r\n[INFO] [talledLocalContainer] \tat org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)\r\n[INFO] [talledLocalContainer] \tat org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)\r\n[INFO] [talledLocalContainer] \tat org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)\r\n[INFO] [talledLocalContainer] \t... 41 more\r\n'''"},"comment":{"url":"https://api.github.com/repos/p6spy/p6spy/issues/comments/70969875","html_url":"https://github.com/p6spy/p6spy/issues/171#issuecomment-70969875","issue_url":"https://api.github.com/repos/p6spy/p6spy/issues/171","id":70969875,"user":{"login":"quintonm","id":991413,"avatar_url":"https://avatars.githubusercontent.com/u/991413?v=3","gravatar_id":"","url":"https://api.github.com/users/quintonm","html_url":"https://github.com/quintonm","followers_url":"https://api.github.com/users/quintonm/followers","following_url":"https://api.github.com/users/quintonm/following{/other_user}","gists_url":"https://api.github.com/users/quintonm/gists{/gist_id}","starred_url":"https://api.github.com/users/quintonm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintonm/subscriptions","organizations_url":"https://api.github.com/users/quintonm/orgs","repos_url":"https://api.github.com/users/quintonm/repos","events_url":"https://api.github.com/users/quintonm/events{/privacy}","received_events_url":"https://api.github.com/users/quintonm/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T04:27:41Z","updated_at":"2015-01-22T04:27:41Z","body":"Closing issue since there is no reliable way that I can find to log the classpath."}}