Re: New to Glassfish with PostgreSQL



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
.



Relevant Pages

  • JNLP versioning using version.xml
    ... I'm trying to setup versioning on the jar file in my war. ... neatest method seems to be to include a ...
    (comp.lang.java.programmer)
  • Re: JSPs in a Jar file
    ... and then allow the server to read the jsp from jar file? ... You can package your application as a war, and the server will read the ... JSPs from the war file. ...
    (comp.lang.java.programmer)
  • Re: creating a war file using tomcat
    ... jar.exe tool to create a War. ... Popular integrated development environments like Eclipse and NetBeans have the ability to invoke the 'jar' command for you, as does the Ant build tool. ... a JAR file should have the extension ".war" and have a specific internal structure. ...
    (comp.lang.java.programmer)
  • Re: strange for loop construct
    ... Gabriel> have to read them online. ... them online because you don't have a source distribution on your ...
    (comp.lang.python)
  • Re: strange for loop construct
    ... Gabriel> Where do you find the "What's new" for previous releases? ... Gabriel> have to read them online. ... them online because you don't have a source distribution on your ...
    (comp.lang.python)