Re: Netbeans - JDBC Driver Class - Mailing list pgsql-jdbc

From Scott Taylor
Subject Re: Netbeans - JDBC Driver Class
Date
Msg-id 000a01c2cd43$c7f636e0$c51b7ad5@workstation1
Whole thread Raw
In response to Netbeans - JDBC Driver Class  ("Scott Taylor" <scott.taylor@4i-dotcom.com>)
List pgsql-jdbc
I have moved a copy of pg73jdbc3.jar into each of the 3 lib directories in
Netbeans and still not working.

I can't even run the "Test Driver" or expand the Tables node  in the
Database Explorer. But I can execute SQL commands on the Connection node and
see my data.




----- Original Message -----
From: "Andy Kriger" <akriger@greaterthanone.com>
To: "Scott Taylor" <scott.taylor@4i-dotcom.com>
Sent: Wednesday, February 05, 2003 5:56 PM
Subject: RE: [JDBC] Netbeans - JDBC Driver Class


> whichever JAR is yr driver (i use the latest pg73jdbc3.jar)
> don't know which dir gets the JAR though - that's a tomcat config thing
>
> -----Original Message-----
> From: Scott Taylor [mailto:scott.taylor@4i-dotcom.com]
> Sent: Wednesday, February 05, 2003 12:22
> To: Andy Kriger
> Subject: Re: [JDBC] Netbeans - JDBC Driver Class
>
>
> is the jar file "postgresql.jar" or "pg73jdbc3.jar"?
>
> I notice that there are a few lib directories with jar files:
>
> tomcat/lib
> tomcat/common/lib
> tomcat/server/lib
>
> what do you think?
>
>
>
>
> ----- Original Message -----
> From: "Andy Kriger" <akriger@greaterthanone.com>
> To: "Scott Taylor" <scott.taylor@4i-dotcom.com>
> Sent: Wednesday, February 05, 2003 5:14 PM
> Subject: RE: [JDBC] Netbeans - JDBC Driver Class
>
>
> > if you're running Tomcat w/in NB, it looks like there's an
> > $NB_HOME/tomcat/lib dir
> > have you tried putting the driver's JAR there too?
> > (maybe NB doesn't pass it's classpath to tomcat when tomcat runs
> internally)
> >
> > if that doesn't work, i'd try yr JSP running in an external app-server
to
> > make sure it works there
> >
> > -----Original Message-----
> > From: Scott Taylor [mailto:scott.taylor@4i-dotcom.com]
> > Sent: Wednesday, February 05, 2003 11:22
> > To: Andy Kriger
> > Subject: Re: [JDBC] Netbeans - JDBC Driver Class
> >
> >
> > Yes it is in my CLASSPATH, and I am assuming Netbeans can find it
because
> I
> > can run SQL statements from the Database Explorer in Netbeans.
> >
> > What else can I do?
> >
> > ----- Original Message -----
> > From: "Andy Kriger" <akriger@greaterthanone.com>
> > To: "Scott Taylor" <scott.taylor@4i-dotcom.com>;
> <pgsql-jdbc@postgresql.org>
> > Sent: Wednesday, February 05, 2003 4:17 PM
> > Subject: RE: [JDBC] Netbeans - JDBC Driver Class
> >
> >
> > > Do you have the driver's JAR file installed somewhere NB can find it
on
> > > launch?
> > >
> > > It should be in your CLASSPATH or in the jre/lib/ext or in
> > $NB_HOME/lib/ext
> > > (you get the picture).
> > >
> > > -----Original Message-----
> > > From: pgsql-jdbc-owner@postgresql.org
> > > [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Scott Taylor
> > > Sent: Wednesday, February 05, 2003 10:51
> > > To: pgsql-jdbc@postgresql.org
> > > Subject: [JDBC] Netbeans - JDBC Driver Class
> > >
> > >
> > > Does anyone use Netbeans to connect to PostgreSQL?
> > >
> > > I have connected 7.3.1, and I can connect because I can run SELECT
> > > statements from Netbeans. However when I try the "Test Driver" or
launch
> a
> > > JSP in the browser I get:
> > >
> > > Type Exception report
> > >
> > > message Internal Server Error
> > >
> > > description The server encountered an internal error (Internal Server
> > Error)
> > > that prevented it from fulfilling this request.
> > >
> > > exception
> > >
> > > javax.servlet.ServletException: In <driver>, invalid driver class
name:
> > > "org.postgresql.Driver" at
> > >
> >
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
> > > l.java:471) at
> > > org.apache.jsp.ProductList$jsp._jspService(ProductList$jsp.java:474)
at
> > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > etc..............
> > >
> > > Please help
> > >
> > > Thanks
> > >
> > > Scott
> > >
> > >
> > >
> > >
> > > ---------------------------(end of
broadcast)---------------------------
> > > TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org
> > >
> > >
> >
> >
>
>


pgsql-jdbc by date:

Previous
From: Richard Welty
Date:
Subject: Re: JDBC Reference Manual
Next
From: snpe
Date:
Subject: Re: java.lang.OutOfMemoryError