{"action":"reopened","issue":{"url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/319","labels_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/319/comments","events_url":"https://api.github.com/repos/brettwooldridge/HikariCP/issues/319/events","html_url":"https://github.com/brettwooldridge/HikariCP/issues/319","id":78553717,"number":319,"title":"HikariJNDIFactory Tomcat7 java version 1.7.0.80","user":{"login":"pgtips","id":4571178,"avatar_url":"https://avatars.githubusercontent.com/u/4571178?v=3","gravatar_id":"","url":"https://api.github.com/users/pgtips","html_url":"https://github.com/pgtips","followers_url":"https://api.github.com/users/pgtips/followers","following_url":"https://api.github.com/users/pgtips/following{/other_user}","gists_url":"https://api.github.com/users/pgtips/gists{/gist_id}","starred_url":"https://api.github.com/users/pgtips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgtips/subscriptions","organizations_url":"https://api.github.com/users/pgtips/orgs","repos_url":"https://api.github.com/users/pgtips/repos","events_url":"https://api.github.com/users/pgtips/events{/privacy}","received_events_url":"https://api.github.com/users/pgtips/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-20T14:44:50Z","updated_at":"2015-05-20T15:25:09Z","closed_at":null,"body":"Ubuntu 14.04.2 LTS\r\n\r\n/var/lib/tomcat7/conf/server.xml (basing off sample JNDI DataSource on wiki)\r\n\r\n`<GlobalNamingResources>\r\n<Resource name=\"jdbc/CORS\" auth=\"Container\" factory=\"com.zaxxer.hikari.HikariJNDIFactory\" type=\"javax.sql.DataSource\" \r\n              minimumIdle=\"2\" maximumIdle=\"5\" maximumPoolSize=\"40\" connectionTimeout=\"300000\" \r\n              jdbcUrl=\"jdbc:mysql://localhost:3306/CORS?zeroDateTimeBehaviour=convertToNull\" dataSource.implicitCachingEnabled=\"true\"\r\n              dataSource.user=\"\" dataSource.password=\"\" /\r\n</GlobalNamingResources>`\r\n\r\njars put in /usr/share/tomcat7/lib/ as want access globally.\r\n\r\nTried using Hikari 2.3.7 and got:\r\n\r\n`Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory\r\n        at com.zaxxer.hikari.util.PropertyBeanSetter.<clinit>(PropertyBeanSetter.java:41)\r\n        at com.zaxxer.hikari.HikariJNDIFactory.getObjectInstance(HikariJNDIFactory.java:55)`\r\n\r\nadded slf4j-api-1.7.10.jar and got:\r\n\r\n`Caused by: java.lang.NoClassDefFoundError: javassist/ClassPath\r\n        at com.zaxxer.hikari.HikariConfig.<clinit>(HikariConfig.java:31)\r\n        at com.zaxxer.hikari.HikariJNDIFactory.createDataSource(HikariJNDIFactory.java:76)\r\n        at com.zaxxer.hikari.HikariJNDIFactory.getObjectInstance(HikariJNDIFactory.java:67)\r\n        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)`\r\n\r\nadded javassist-3.12.1.GA.jar and got:\r\n\r\nsame error as before.\r\n\r\nTomcat7 has only the ROOT app under webapps.\r\n\r\nTried using Hikari 2.3.8 - no change.\r\n\r\nSearched the issues (and Google) and tried suggestions or added libraries to match - no change. Asking here as it 'appears' it is HikariConfig that is causing the issue...\r\n\r\nThank you,"}}