Thread: Help! Driver cannot be loaded.

Help! Driver cannot be loaded.

From
Yaochiu Huang
Date:
Dear Sir or Madam,

I got an error as per subject. Following is my
configurations:

Server: Red Hat Linux 7.1
PostgreSQL: 7.1.2
JDBC Driver: jdbc7.1-1.2.jar
IP: 192.168.0.1

Client: Windows 98
JDBC Driver:
   first time: jdbc7.1-1.2.jar
   second time: jdbc7.1-1.3.jar
IP: 192.168.0.3

Driver:   org.postgresql.Driver
URL:  jdbc:postgresql:heithere

where heithere is the db name.
I use a cross-wired line to connect the server and
client. The connection
has no problem.  I started postmaster with the
parameter -i for TCPIP
connection and -D for the db location.

I wrote a small test program using jBuilder. It runs
correctly on the server. However, when I run it on the
client, it got the error.  Please help.

Best Regards,

Brian



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

RE: Help! Driver cannot be loaded.

From
"Dave Cramer"
Date:
Brian,

Make sure the jar is in the classpath on the server

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Yaochiu Huang
Sent: July 17, 2001 9:46 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] Help! Driver cannot be loaded.


Dear Sir or Madam,

I got an error as per subject. Following is my
configurations:

Server: Red Hat Linux 7.1
PostgreSQL: 7.1.2
JDBC Driver: jdbc7.1-1.2.jar
IP: 192.168.0.1

Client: Windows 98
JDBC Driver:
   first time: jdbc7.1-1.2.jar
   second time: jdbc7.1-1.3.jar
IP: 192.168.0.3

Driver:   org.postgresql.Driver
URL:  jdbc:postgresql:heithere

where heithere is the db name.
I use a cross-wired line to connect the server and
client. The connection
has no problem.  I started postmaster with the
parameter -i for TCPIP
connection and -D for the db location.

I wrote a small test program using jBuilder. It runs
correctly on the server. However, when I run it on the
client, it got the error.  Please help.

Best Regards,

Brian



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: Help! Driver cannot be loaded.

From
Joseph Shraibman
Date:
Also make sure you gave postgres permission to accept connections from
the windows machine.

Dave Cramer wrote:
>
> Brian,
>
> Make sure the jar is in the classpath on the server
>
> Dave
>
> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org
> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Yaochiu Huang
> Sent: July 17, 2001 9:46 PM
> To: pgsql-jdbc@postgresql.org
> Subject: [JDBC] Help! Driver cannot be loaded.
>
> Dear Sir or Madam,
>
> I got an error as per subject. Following is my
> configurations:
>
> Server: Red Hat Linux 7.1
> PostgreSQL: 7.1.2
> JDBC Driver: jdbc7.1-1.2.jar
> IP: 192.168.0.1
>
> Client: Windows 98
> JDBC Driver:
>    first time: jdbc7.1-1.2.jar
>    second time: jdbc7.1-1.3.jar
> IP: 192.168.0.3
>
> Driver:   org.postgresql.Driver
> URL:  jdbc:postgresql:heithere
>
> where heithere is the db name.
> I use a cross-wired line to connect the server and
> client. The connection
> has no problem.  I started postmaster with the
> parameter -i for TCPIP
> connection and -D for the db location.
>
> I wrote a small test program using jBuilder. It runs
> correctly on the server. However, when I run it on the
> client, it got the error.  Please help.
>
> Best Regards,
>
> Brian
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com