Re: [INTERFACES] applet

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Andrea Antibo <antibo(at)mclink(dot)it>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] applet
Date: 1998-10-15 17:26:44
Message-ID: Pine.LNX.3.96.981015182252.31130K-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Thu, 15 Oct 1998, Andrea Antibo wrote:

>
> On 14-Oct-98 Peter T Mount wrote:
> >
> > Three things here:
> >
> > 1) The Class.forName() line isn't needed if you use the jdbc.drivers
> > property. It doesn't hurt, but not required.
>
>
> if I cut the line from source code or from .hotjava/properties file I have this
> error:
>
> File not found when looking for: postgresql.Driver

It sounds like the properties file isn't actually being used.

> > 3) You may be having problems with the null password. If you are using
> > trust, or ident authentication (set in pg_hba.conf), then you could put
> > anything in here. Otherwise, use "Alter user" to set yourself a password,
> > and put it in here.
>
> Ok, but when I wrote a application like basic.java exemple without password it
> worked fine.

It can depend. In the past, I've found that most failed connections are
caused by null or empty ("") passwords.

--
Peter T Mount peter(at)retep(dot)org(dot)uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Roeland M.J. Meyer 1998-10-15 20:56:53 LiveWire Javascript and PGSQL
Previous Message Andrea Antibo 1998-10-15 16:31:21 driver