On 22 Feb, 14:48, Lew <l...@[EMAIL PROTECTED]
> wrote:
> 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
Thanks, well in fact I had downloaded the zipped file mentioned above
and unzipped it. Anyway, I've replaced it with
postgresql-8.3-603.jdbc4.jar from the link you gave, and put it in my
glassfish/domains/domain1/lib/ext/ directory, but I still don't know
how to go from there and get the first example in chapter 10 of Geary
and Horstmann "Core JavaServer Faces" to work. There is some
configuration I'm just not familiar with, as I'm new to this.
Incidentally I'm running Ubunto Linux.
Christopher


|