Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Edg-0004ne-Ou for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:08:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4Edf-0000h8-R5 for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 21:08:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4Edf-0000gl-AB for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:08:35 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a4Edc-00055l-MZ for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 21:08:34 +0000 Received: by wmvv187 with SMTP id v187so274727138wmv.1 for ; Wed, 02 Dec 2015 13:08:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=HPWcLP62qal3Xq1nCwagIAA1erWrtnDAlufwKx1PCGs=; b=eObgADdJTtyb66UQVjBcJ4ewPekcV8H3qRkhLaJDmzbqC5wDOJctF28F69ipK4rUv0 dfWwaVUfJcLtA4BUtRGxKRaFolX1hNiwOblWk5YYpMElS4asDvZpG8YsslLi62FD0buj 5CpJBLYABhtZDaGAeYls9CbaXiFVDGSD2E0rrQLyM1s8jXCTktHoZg0RQU7HC7cCmxTf XB8ZYa64RWUw8PuD3FBKuFWZ3yNutpYHbtSZfY//lj7VtwjxukQuJZ9qyXyzj7WBfXtG NIpc0UIMTD8fkDkdyZNcQZ5Uxs9ZGaLgVIuULu+Dv6eyN+UtD07jZh0uwZwzHGh9p/B4 qXeg== X-Received: by 10.28.172.2 with SMTP id v2mr47581674wme.10.1449090511785; Wed, 02 Dec 2015 13:08:31 -0800 (PST) Received: from [192.168.1.66] (123.209.115.89.rev.vodafone.pt. [89.115.209.123]) by smtp.gmail.com with ESMTPSA id a76sm32683604wma.19.2015.12.02.13.08.30 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 13:08:31 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_C3B48633-7496-4384-ABC8-8FFEDD336899" Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: user can't access own database after creation From: Nuno Zimas In-Reply-To: Date: Wed, 2 Dec 2015 21:08:30 +0000 Cc: John R Pierce , List Message-Id: References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com> <565F4D26.1050501@hogranch.com> To: Dave Cramer X-Mailer: Apple Mail (2.3096.5) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org --Apple-Mail=_C3B48633-7496-4384-ABC8-8FFEDD336899 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hmmm, says no suitable driver found. Strange. If the application I=E2=80=99m trying to deploy couldn=E2=80=99t see the = JDBC driver, how would to even communicate with the pgsql backend? I = mean, users can log in and create databases, but they can=E2=80=99t = access them. I=E2=80=99m puzzled. root@aida2next /u/2next# java -cp postgresql.jar:./ TestUrl Exception in thread "main" java.sql.SQLException: No suitable driver = found for jdbc:postgresql://10.10.10.100 at java.sql.DriverManager.getConnection(DriverManager.java:689) at java.sql.DriverManager.getConnection(DriverManager.java:247) at TestUrl.main(TestUrl.java:10) Nuno Zimas Systems Administrator & Web Developer T: +44 20 3289 1162 T: +351 244 204 857 > On 2 Dec 2015, at 20:39, Dave Cramer wrote: >=20 > java -cp postgresql.jar:./ TestUrl --Apple-Mail=_C3B48633-7496-4384-ABC8-8FFEDD336899 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hmmm, says no suitable driver found. Strange.
If= the application I=E2=80=99m trying to deploy couldn=E2=80=99t see the = JDBC driver, how would to even communicate with the pgsql backend? I = mean, users can log in and create databases, but they can=E2=80=99t = access them.
I=E2=80=99m puzzled.

root@aida2next /u/2next# java -cp postgresql.jar:./ = TestUrl
Exception in thread "main" = java.sql.SQLException: No suitable driver found for = jdbc:postgresql://10.10.10.100
at = java.sql.DriverManager.getConnection(DriverManager.java:689)
= at = java.sql.DriverManager.getConnection(DriverManager.java:247)
= at TestUrl.main(TestUrl.java:10)


Nuno Zimas
Systems Administrator & Web = Developer

T: +44 20 3289 = 1162
T: +351 244 204 = 857

On 2 Dec 2015, at 20:39, Dave Cramer <pg@fastcrypt.com> = wrote:

java -cp postgresql.jar:./ =
TestUrl

= --Apple-Mail=_C3B48633-7496-4384-ABC8-8FFEDD336899--