tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Fury <>
Subject Help: Cannot create resource instance
Date Wed, 23 Oct 2002 15:53:45 GMT
Hello all:

I am having trouble trying to set up mySQL connection
pooling. I am using the example straight from the Wrox
"Professional Apache Tomcat" book, which is excellent
I might add.

Unfortunately I am running into an error:

org.apache.jasper.JasperException: Cannot create
resource instance

I can't quite figure this one out. 
Here is my server.xml code:
 <!-- Database connection pooling -->
         <ResourceParams name="jdbc/HomeLand">
       <!-- end Database connection pooling -->

and web.xml:

and jsp db code:
InitialContext initCtx = new InitialContext();
DataSource ds = (DataSource)
con = ds.getConnection();

Any ideas why this would happen?

int myName() {
  cout << "-Matt Fury \n";
  return 0;

Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message