com.google.common.util.concurrent.UncheckedExecutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The exception is displayed behind the modal and the modal cannot be closed. ERROR - org.obiba.opal.web.magma.provider.RuntimeExceptionMapper - Unhandled exception com.google.common.util.concurrent.UncheckedExecutionException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3932) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4812) ~[guava-15.0.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry.getSessionFactory(DefaultDatabaseRegistry.java:152) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.DatabaseSessionFactoryProvider.getSessionFactory(DatabaseSessionFactoryProvider.java:43) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.magma.datasource.hibernate.support.HibernateDatasourceFactory.internalCreate(HibernateDatasourceFactory.java:35) ~[magma-datasource-hibernate-1.8-20131127.182939-49.jar:1.8-SNAPSHOT] at org.obiba.magma.AbstractDatasourceFactory.create(AbstractDatasourceFactory.java:36) ~[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.DefaultDatasourceRegistry.addDatasource(DefaultDatasourceRegistry.java:107) ~[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.security.SecuredDatasourceRegistry.addDatasource(SecuredDatasourceRegistry.java:48) ~[magma-security-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.MagmaEngine.addDatasource(MagmaEngine.java:135) ~[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.opal.project.ProjectsServiceImpl$2.doInTransaction(ProjectsServiceImpl.java:209) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.project.ProjectsServiceImpl$2.doInTransaction(ProjectsServiceImpl.java:198) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.project.ProjectsServiceImpl.registerDatasource(ProjectsServiceImpl.java:198) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.project.ProjectsServiceImpl.save(ProjectsServiceImpl.java:156) ~[opal-project-2.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at com.sun.proxy.$Proxy84.save(Unknown Source) ~[na:na] at org.obiba.opal.web.project.ProjectsResource.createProject(ProjectsResource.java:71) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.project.ProjectsResource$$FastClassByCGLIB$$47d9e36.invoke(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:627) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.web.project.ProjectsResource$$EnhancerByCGLIB$$6742cb6b.createProject(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:221) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:na] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:73) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.OpalVersionFilter.doFilterInternal(OpalVersionFilter.java:39) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.Server.handle(Server.java:363) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:331) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory.guessDialect(SessionFactoryFactory.java:81) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory.getSessionFactory(SessionFactoryFactory.java:75) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory$$FastClassByCGLIB$$d174c549.invoke(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory$$EnhancerByCGLIB$$5d355b1e.getSessionFactory(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry$SessionFactoryCacheLoader.load(DefaultDatabaseRegistry.java:333) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry$SessionFactoryCacheLoader.load(DefaultDatabaseRegistry.java:328) ~[opal-core-2.0-SNAPSHOT.jar:na] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193) ~[guava-15.0.jar:na] ... 75 common frames omitted Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at org.apache.commons.dbcp.managed.BasicManagedDataSource.createPoolableConnectionFactory(BasicManagedDataSource.java:200) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) ~[commons-dbcp-1.4.jar:1.4] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] ... 94 common frames omitted Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'opal_data_sql123' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_25] at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.Util.getInstance(Util.java:386) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) ~[mysql-connector-java-5.1.27.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_25] at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347) ~[mysql-connector-java-5.1.27.jar:na] at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.LocalXAConnectionFactory.createConnection(LocalXAConnectionFactory.java:62) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.PoolableManagedConnectionFactory.makeObject(PoolableManagedConnectionFactory.java:103) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.BasicManagedDataSource.createPoolableConnectionFactory(BasicManagedDataSource.java:196) ~[commons-dbcp-1.4.jar:1.4] ... 98 common frames omitted
    via by Etienne Morency-Bachand [X],
  • The exception is displayed behind the modal and the modal cannot be closed. ERROR - org.obiba.opal.web.magma.provider.RuntimeExceptionMapper - Unhandled exception com.google.common.util.concurrent.UncheckedExecutionException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3932) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4812) ~[guava-15.0.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry.getSessionFactory(DefaultDatabaseRegistry.java:152) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.DatabaseSessionFactoryProvider.getSessionFactory(DatabaseSessionFactoryProvider.java:43) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.magma.datasource.hibernate.support.HibernateDatasourceFactory.internalCreate(HibernateDatasourceFactory.java:35) ~[magma-datasource-hibernate-1.8-20131127.182939-49.jar:1.8-SNAPSHOT] at org.obiba.magma.AbstractDatasourceFactory.create(AbstractDatasourceFactory.java:36) ~[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.DefaultDatasourceRegistry.addDatasource(DefaultDatasourceRegistry.java:107) ~[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.security.SecuredDatasourceRegistry.addDatasource(SecuredDatasourceRegistry.java:48) ~[magma-security-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.MagmaEngine.addDatasource(MagmaEngine.java:135) ~[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.opal.project.ProjectsServiceImpl$2.doInTransaction(ProjectsServiceImpl.java:209) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.project.ProjectsServiceImpl$2.doInTransaction(ProjectsServiceImpl.java:198) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.project.ProjectsServiceImpl.registerDatasource(ProjectsServiceImpl.java:198) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.project.ProjectsServiceImpl.save(ProjectsServiceImpl.java:156) ~[opal-project-2.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at com.sun.proxy.$Proxy84.save(Unknown Source) ~[na:na] at org.obiba.opal.web.project.ProjectsResource.createProject(ProjectsResource.java:71) ~[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.project.ProjectsResource$$FastClassByCGLIB$$47d9e36.invoke(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:627) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.web.project.ProjectsResource$$EnhancerByCGLIB$$6742cb6b.createProject(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:221) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:na] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:73) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.OpalVersionFilter.doFilterInternal(OpalVersionFilter.java:39) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.Server.handle(Server.java:363) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:331) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory.guessDialect(SessionFactoryFactory.java:81) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory.getSessionFactory(SessionFactoryFactory.java:75) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory$$FastClassByCGLIB$$d174c549.invoke(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory$$EnhancerByCGLIB$$5d355b1e.getSessionFactory(<generated>) ~[spring-core-3.2.5.RELEASE.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry$SessionFactoryCacheLoader.load(DefaultDatabaseRegistry.java:333) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry$SessionFactoryCacheLoader.load(DefaultDatabaseRegistry.java:328) ~[opal-core-2.0-SNAPSHOT.jar:na] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278) ~[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193) ~[guava-15.0.jar:na] ... 75 common frames omitted Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at org.apache.commons.dbcp.managed.BasicManagedDataSource.createPoolableConnectionFactory(BasicManagedDataSource.java:200) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) ~[commons-dbcp-1.4.jar:1.4] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) ~[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] ... 94 common frames omitted Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'opal_data_sql123' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_25] at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.Util.getInstance(Util.java:386) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) ~[mysql-connector-java-5.1.27.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_25] at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416) ~[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347) ~[mysql-connector-java-5.1.27.jar:na] at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.LocalXAConnectionFactory.createConnection(LocalXAConnectionFactory.java:62) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.PoolableManagedConnectionFactory.makeObject(PoolableManagedConnectionFactory.java:103) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.BasicManagedDataSource.createPoolableConnectionFactory(BasicManagedDataSource.java:196) ~[commons-dbcp-1.4.jar:1.4] ... 98 common frames omitted
    via by Etienne Morency-Bachand [X],
  • Lucas Earl - Google+
    via by Unknown author,
  • Help, please!
    via by Unknown author,
  • 日志输出的类名不对
    via GitHub by fivesmallq
    ,
  • Mysql Error???
    via GitHub by AlexZZ95MC
    ,
    • com.google.common.util.concurrent.UncheckedExecutionException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199)[guava-15.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3932)[guava-15.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936)[guava-15.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806)[guava-15.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4812)[guava-15.0.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry.getSessionFactory(DefaultDatabaseRegistry.java:152)[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.DatabaseSessionFactoryProvider.getSessionFactory(DatabaseSessionFactoryProvider.java:43)[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.magma.datasource.hibernate.support.HibernateDatasourceFactory.internalCreate(HibernateDatasourceFactory.java:35)[magma-datasource-hibernate-1.8-20131127.182939-49.jar:1.8-SNAPSHOT] at org.obiba.magma.AbstractDatasourceFactory.create(AbstractDatasourceFactory.java:36)[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.DefaultDatasourceRegistry.addDatasource(DefaultDatasourceRegistry.java:107)[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.security.SecuredDatasourceRegistry.addDatasource(SecuredDatasourceRegistry.java:48)[magma-security-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.magma.MagmaEngine.addDatasource(MagmaEngine.java:135)[magma-api-1.8-20131127.182939-84.jar:1.8-SNAPSHOT] at org.obiba.opal.project.ProjectsServiceImpl$2.doInTransaction(ProjectsServiceImpl.java:209)[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.project.ProjectsServiceImpl$2.doInTransaction(ProjectsServiceImpl.java:198)[opal-project-2.0-SNAPSHOT.jar:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.project.ProjectsServiceImpl.registerDatasource(ProjectsServiceImpl.java:198)[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.project.ProjectsServiceImpl.save(ProjectsServiceImpl.java:156)[opal-project-2.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at com.sun.proxy.$Proxy84.save(Unknown Source)[na:na] at org.obiba.opal.web.project.ProjectsResource.createProject(ProjectsResource.java:71)[opal-project-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.project.ProjectsResource$$FastClassByCGLIB$$47d9e36.invoke(<generated>)[spring-core-3.2.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:627)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.web.project.ProjectsResource$$EnhancerByCGLIB$$6742cb6b.createProject(<generated>)[spring-core-3.2.5.RELEASE.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:221)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)[resteasy-jaxrs-3.0.5.Final.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[javax.servlet-2.5.0.v201103041518.jar:na] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:73)[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.OpalVersionFilter.doFilterInternal(OpalVersionFilter.java:39)[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.Server.handle(Server.java:363)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at java.lang.Thread.run(Thread.java:724)[na:1.7.0_25] Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:331)[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory.guessDialect(SessionFactoryFactory.java:81)[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory.getSessionFactory(SessionFactoryFactory.java:75)[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory$$FastClassByCGLIB$$d174c549.invoke(<generated>)[spring-core-3.2.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.obiba.opal.core.runtime.jdbc.SessionFactoryFactory$$EnhancerByCGLIB$$5d355b1e.getSessionFactory(<generated>)[spring-core-3.2.5.RELEASE.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry$SessionFactoryCacheLoader.load(DefaultDatabaseRegistry.java:333)[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.service.impl.DefaultDatabaseRegistry$SessionFactoryCacheLoader.load(DefaultDatabaseRegistry.java:328)[opal-core-2.0-SNAPSHOT.jar:na] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)[guava-15.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)[guava-15.0.jar:na] ... 75 more Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'opal_data_sql123') at org.apache.commons.dbcp.managed.BasicManagedDataSource.createPoolableConnectionFactory(BasicManagedDataSource.java:200)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)[commons-dbcp-1.4.jar:1.4] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)[spring-jdbc-3.2.5.RELEASE.jar:3.2.5.RELEASE] ... 94 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'opal_data_sql123' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_25] at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.Util.getInstance(Util.java:386)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)[mysql-connector-java-5.1.27.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_25] at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)[mysql-connector-java-5.1.27.jar:na] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)[mysql-connector-java-5.1.27.jar:na] at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.LocalXAConnectionFactory.createConnection(LocalXAConnectionFactory.java:62)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.PoolableManagedConnectionFactory.makeObject(PoolableManagedConnectionFactory.java:103)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.managed.BasicManagedDataSource.createPoolableConnectionFactory(BasicManagedDataSource.java:196)[commons-dbcp-1.4.jar:1.4] ... 98 more

    Users with the same issue

    rocday
    1 times, last one,
    zbalint
    3 times, last one,
    tvrmsmith
    1 times, last one,
    Handemelindo
    1 times, last one,
    slash
    2 times, last one,
    115 more bugmates