org.hibernate.exception.GenericJDBCException: Cannot open connection

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:370)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
at org.hibernate.loader.Loader.doQuery(Loader.java:696)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.doList(Loader.java:2228)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
at org.hibernate.loader.Loader.list(Loader.java:2120)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at org.openmobster.core.synchronizer.server.engine.AppToChannelPersistence.readApps(AppToChannelPersistence.java:112)
at org.openmobster.core.synchronizer.server.engine.AppToChannelAssociation.getApps(AppToChannelAssociation.java:86)
at org.openmobster.core.synchronizer.event.SyncChannelEventListener.updateChangeLog(SyncChannelEventListener.java:121)
at org.openmobster.core.synchronizer.event.SyncChannelEventListener.channelUpdated(SyncChannelEventListener.java:95)
at org.openmobster.core.services.CometService.broadcastChannelEvent(CometService.java:106)
at org.openmobster.core.services.MobileObjectMonitor.messageIncoming(MobileObjectMonitor.java:205)
at org.openmobster.core.common.bus.BusConsumer.sendBusListenerEvent(BusConsumer.java:184)
at org.openmobster.core.common.bus.BusConsumer.consume(BusConsumer.java:120)
at org.openmobster.core.common.bus.BusConsumer.run(BusConsumer.java:77)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
3 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.