Thread: jdbc -Connection fail in suddnly

jdbc -Connection fail in suddnly

From
Manoj Mallawaarachchie
Date:
Hi All,

I got a Abnormal problem in my Posthresql DB running on RedHat 7.0
yesterday It work with JDBC application.

My Prpblem is It say fail to connect no suitable driver. but I put jdbc
drivers(jar) files in jdk/jre/lib/ext directory and set the all
classpths and it work fine in last few months but i got this error
suddnly.
So I did fresh installation in another machine and do the configuration
It got same error.
Only thing in 2 nd PC is partition for data directory where data base
data is stored. /data/pgsql/data/base

What can be happen..?
please advice me
Thank in advance
regards
Manoj




Re: jdbc -Connection fail in suddnly

From
"Dave Cramer"
Date:
Manoj,

If you put the driver into the jdk/jre/lib/ext directory then you don't
have to set the classpath, it should work automagically.

Can you send us some test code which fails?

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Manoj
Mallawaarachchie
Sent: Monday, February 25, 2002 6:26 AM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] jdbc -Connection fail in suddnly


Hi All,

I got a Abnormal problem in my Posthresql DB running on RedHat 7.0
yesterday It work with JDBC application.

My Prpblem is It say fail to connect no suitable driver. but I put jdbc
drivers(jar) files in jdk/jre/lib/ext directory and set the all
classpths and it work fine in last few months but i got this error
suddnly. So I did fresh installation in another machine and do the
configuration It got same error. Only thing in 2 nd PC is partition for
data directory where data base data is stored. /data/pgsql/data/base

What can be happen..?
please advice me
Thank in advance
regards
Manoj




---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



Re: jdbc -Connection fail in suddnly

From
"Nick Fankhauser"
Date:
Something must have changed. Has anything at all been added or updated on
the original machine recently? It is possible that the installation scripts
for some other piece of software may have affected your classpath.

-NickF

> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org
> [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Manoj
> Mallawaarachchie
> Sent: Monday, February 25, 2002 6:26 AM
> To: pgsql-jdbc@postgresql.org
> Subject: [JDBC] jdbc -Connection fail in suddnly
>
>
> Hi All,
>
> I got a Abnormal problem in my Posthresql DB running on RedHat 7.0
> yesterday It work with JDBC application.
>
> My Prpblem is It say fail to connect no suitable driver. but I put jdbc
> drivers(jar) files in jdk/jre/lib/ext directory and set the all
> classpths and it work fine in last few months but i got this error
> suddnly.
> So I did fresh installation in another machine and do the configuration
> It got same error.
> Only thing in 2 nd PC is partition for data directory where data base
> data is stored. /data/pgsql/data/base
>
> What can be happen..?
> please advice me
> Thank in advance
> regards
> Manoj
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>