tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauricio Tia Ni Gong Lin <...@fua.br>
Subject JDBC trouble
Date Thu, 23 May 2002 20:57:08 GMT
Hi everybody,

When I try to access the PostgreSQL DataBase using Tomcat 4.0.3 the
following error message is displayed at the browser:

<--
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error

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:

org.apache.jasper.compiler.ParseException: /Expressions.jsp(10,38) Attribute
org.postgresql.Driver has no value

...
-->

The package "postgresql.jar" (driver for the database) I put in
$CATALINA_HOME/webapps/myapp/WEB-INF/lib directory and the .jsp file
in $CATALINA_HOME/webapps/myapp directory. But it does not work.

I checked the same source code in a normal application .java (terminal)
instead of using .jsp in Tomcat (web browser) and it's doing well. I guess
that I need to configure the Tomcat in order to find the DataBase
driver, but I am not sure.

Could you help me? I need some instructions or examples.

Regards,

Mauricio Lin.



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message