× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2013-03-22T18:11:20Z  · last modified 2013-03-29T18:16:37Z

Unable to acquire connection from connection pool for database mydb;


Priority Low
Complexity Unknown
Component DB - Azure
Version 14.0

 

Version: 14.0-dev-23
Build #: 31672
Build Date: 2013-Mar-21 02:00:01 PM
Operating Environment: Mac OS X (10.8.2, x86_64) / MacRoman / en / US / Apple Inc. 1.6.0_41-b02-445-11M4107
Memory: Max=782,827,520;  Total=102,739,968;  Free=50,176,360;  CPUs=8
 
1. Make an Azure Server Registration with Connection Pooled enabled in Server Registration -> Advanced Tab
2. Open a query window to the azure server
3. Change the database in the database drop down to mydb;
 
You get an exception like below. This exception does not occur for a Azure Server which is has connection pool disabled. 
 

 

java.sql.SQLException: Unable to acquire connection from connection pool.

        at \\...\\ .\\हिñçêČάй語简??한\\.S⠃ᠾꎑ⡑ volatile.getCurrentConnection(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.S⠃ᠾꎑ⡑ volatile.createStatement(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.Uꈲꊊꒃꐑ boolean.i(Unknown Source)

        at com.aquafold.datastudio.queryanalyzer.Mꏽꀦꅻᝎ.c(Unknown Source)

        at com.aquafold.datastudio.queryanalyzer.n⢆ᛊᜨ⣿ 7.itemStateChanged(Unknown Source)

        at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1205)

        at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1262)

        at javax.swing.JComboBox.contentsChanged(JComboBox.java:1309)

        at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)

        at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)

        at javax.swing.JComboBox.setSelectedItem(JComboBox.java:557)

        at \\...\\ .\\हिñçêČάй語简??한\\.Uꅈꐍꏋꉸ.setSelectedItem(Unknown Source)

        at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)

        at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:831)

        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)

        at java.awt.Component.processMouseEvent(Component.java:6382)

        at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)

        at com.apple.laf.AquaComboBoxPopup$1.processMouseEvent(AquaComboBoxPopup.java:132)

        at java.awt.Component.processEvent(Component.java:6147)

        at java.awt.Container.processEvent(Container.java:2083)

        at java.awt.Component.dispatchEventImpl(Component.java:4744)

        at java.awt.Container.dispatchEventImpl(Container.java:2141)

        at java.awt.Component.dispatchEvent(Component.java:4572)

        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)

        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)

        at java.awt.Container.dispatchEventImpl(Container.java:2127)

        at java.awt.Window.dispatchEventImpl(Window.java:2489)

        at java.awt.Component.dispatchEvent(Component.java:4572)

        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710)

        at java.awt.EventQueue.access$400(EventQueue.java:82)

        at java.awt.EventQueue$2.run(EventQueue.java:669)

        at java.awt.EventQueue$2.run(EventQueue.java:667)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)

        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)

        at java.awt.EventQueue$3.run(EventQueue.java:683)

        at java.awt.EventQueue$3.run(EventQueue.java:681)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)

        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Caused by: net.sourceforge.jtds.jdbc.AQSQLException: Cannot open database "mydb" requested by the login. The login failed.

        at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:375)

        at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2971)

        at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2318)

        at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:621)

        at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:364)

        at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:57)

        at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:191)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at \\...\\ .\\हिñçêČάй語简??한\\.Uꈲꊊꒃꐑ boolean.Bp(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.Uꈲꊊꒃꐑ boolean.ad(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.C̡ꍳꁺꐸ.getConnection(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.C̡ꍳꁺꐸ.mj(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.Uꈲꊊꒃꐑ boolean.k(Unknown Source)

        ... 47 more

 

1 attachment

Issue #8514

Closed
Fixed
Resolved 2013-03-25T20:28:44Z
 
 
Completion
No due date
Fixed Build dev-24
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017