csharpdotcom wrote:
> I configured the server as given in the book, and specified the JNDI
> name as "jdbc/mydb", and compiled the code provided, created a war
> file and deployed it. Online I found a file called
> "postgresql-8.3dev-601.jdbc4.jar.zip", copied it to my "/glassfish/
> domains/domain1/lib/ext/" folder, as instructed and started the server
I just checked the PG JDBC web site download page
<http://jdbc.postgresql.org/download.html>
and find no '.zip' files, only '.jar' files. The only zipped (actually,
GZIPped) file I see is the source distribution; presumably you only
downloaded
the binary distribution.
In any event, make sure that it is a JAR file in your path. You might use
a
ZIP program to view the contents to make sure that it is a proper JAR file
that you downloaded.
--
Lew


|