Re: NewB: Servlet/cmd:Classpath confusion

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: "john-paul delaney" <jp(at)justatest(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: NewB: Servlet/cmd:Classpath confusion
Date: 2002-02-13 14:01:21
Message-ID: NEBBLAAHGLEEPCGOBHDGAEHHEFAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


> I tested some basic sample servlets and they're working ok

Are these servlets with JDBC code in them, or just servlets testing Tomcat?

> Nevertheless, even when I run the command line argument to
> specify the classpath, I get the same error.
> Nick mentions problems of this kind for users running Tomcat - as

If you're getting the error when running from the command line, then this
has nothing to do with Tomcat.

The problem that seems to plague many new users of Tomcat is that since
Tomcat runs as a detached process, new developers often forget to add the
jdbc jar file to the classpath for the Tomcat process, or have trouble
figuring out how to do this.

Which line of the code is referenced for the 'NoClassDefFoundError' ?

> Secondly, I'm new to databases - postgreSQL is my first
> experience in this field, and I think I need a 'cheatsheet' on
> psql commands & syntax for beginners (such as SELECT TABLE_NAME

I think there's a brief sql tutorial in the postgresql docs on-line. You
might also want to check out Bruce Momjian's book, which is still on-line in
html: http://www.ca.postgresql.org/docs/aw_pgsql_book/index.html. He has a
gentle intro to SQL in the psql environment.

-Nick

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jose Luis LG 2002-02-13 14:25:02 pl/pgsql array return
Previous Message Michal Josifek 2002-02-13 13:19:29 problem with storing BLOBs larger then 2MB