You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tom Birchmire <co...@world.std.com> on 2000/06/25 01:21:10 UTC

Internal Servlet Error (RedHat6.2,postgresql7.0.2-2, Tomcat3.1)

I have RedHat 6.2, postgresql-7.0.2-2, and  Jakarta-Tomcat 3.1 and
installed and working fine separately.  When I attempt to connect toi
the database via a .jsp, I get :

Internal Servlet Error
javax.servlet.ServletException: Unable to load class postgresql.Driver

and

Root cause:
java.lang.ClassNotFoundException: Unable to load class postgresql.Driver

I have jdbc7.0.2-2.jar in my various classpaths.

The older docs mentioned posgresql.jar but the newer docs don't.

Do I need postgresql.jar in my classpath and if I do where is it?
Is there another .rpm I need to install or is what I want
(postgresql.Driver) hidden somewere else?

Thanks for any help,
Tom Birchmire



Re: Internal Servlet Error (RedHat6.2,postgresql7.0.2-2, Tomcat3.1)

Posted by "Matt D. Herold" <ma...@cYtechs.de>.
On Sat, Jun 24, 2000 at 07:21:10PM -0400, Tom Birchmire wrote:
> I have RedHat 6.2, postgresql-7.0.2-2, and  Jakarta-Tomcat 3.1 and
> installed and working fine separately.  When I attempt to connect toi
> the database via a .jsp, I get :
> 
> Internal Servlet Error
> javax.servlet.ServletException: Unable to load class postgresql.Driver
> 
> and
> 
> Root cause:
> java.lang.ClassNotFoundException: Unable to load class postgresql.Driver

The postgres-Driver was renamed from 'postgresql.Driver' to
'org.postgresql.Driver'.


Matt

Re: Internal Servlet Error (Thanks for rename of postgresql.Driver)

Posted by Tom Birchmire <co...@world.std.com>.
Thanks Matt and John for telling me about the rename;  now I'm on to premission
denied errors.
Regards, Tom Birchmire

John McKendry wrote:

> Tom Birchmire wrote:
> >
> > I have RedHat 6.2, postgresql-7.0.2-2, and  Jakarta-Tomcat 3.1 and
> > installed and working fine separately.  When I attempt to connect toi
> > the database via a .jsp, I get :
> >
> > Internal Servlet Error
> > javax.servlet.ServletException: Unable to load class postgresql.Driver
> >
> > and
> >
> > Root cause:
> > java.lang.ClassNotFoundException: Unable to load class postgresql.Driver
> >
> > I have jdbc7.0.2-2.jar in my various classpaths.
> >
> > The older docs mentioned posgresql.jar but the newer docs don't.
> >
> > Do I need postgresql.jar in my classpath and if I do where is it?
> > Is there another .rpm I need to install or is what I want
> > (postgresql.Driver) hidden somewere else?
> >
> > Thanks for any help,
> > Tom Birchmire
> >
> Try loading org.postgresql.Driver, rather than postgresql.Driver. That's the name
> in jdbc7.0-1.2.jar, anyway. You can check the pathname with
> "jar tf jdbc7.0.2-2.jar | grep Driver" .
>
> John McKendry
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Re: Internal Servlet Error (RedHat6.2,postgresql7.0.2-2, Tomcat3.1)

Posted by John McKendry <mc...@mediaone.net>.
Tom Birchmire wrote:
> 
> I have RedHat 6.2, postgresql-7.0.2-2, and  Jakarta-Tomcat 3.1 and
> installed and working fine separately.  When I attempt to connect toi
> the database via a .jsp, I get :
> 
> Internal Servlet Error
> javax.servlet.ServletException: Unable to load class postgresql.Driver
> 
> and
> 
> Root cause:
> java.lang.ClassNotFoundException: Unable to load class postgresql.Driver
> 
> I have jdbc7.0.2-2.jar in my various classpaths.
> 
> The older docs mentioned posgresql.jar but the newer docs don't.
> 
> Do I need postgresql.jar in my classpath and if I do where is it?
> Is there another .rpm I need to install or is what I want
> (postgresql.Driver) hidden somewere else?
> 
> Thanks for any help,
> Tom Birchmire
> 
Try loading org.postgresql.Driver, rather than postgresql.Driver. That's the name
in jdbc7.0-1.2.jar, anyway. You can check the pathname with 
"jar tf jdbc7.0.2-2.jar | grep Driver" .

John McKendry