This has come up before...  tomcat follows the spec - loading all jars in
WEB-INF/lib... no mention of zips (o:

On Fri, 24 Aug 2001, Shawn Evans wrote:

> I don't know about everyone else, but I got my Oracle classes12.zip in my
> lib and it wouldn't work.... so after looking at my code, wondering what I
> messed up (4 hours), I decided to change it to *.jar.  OMG it decided to
> work... might want to have TomCat be able to do both zip & jar's in the
> lib....
> 
> just my 2 cents.
> 
> Shawn
> 
> ----- Original Message -----
> From: "Jonathan Eric Miller" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Evans, Shawn"
> <[EMAIL PROTECTED]>
> Sent: Thursday, August 23, 2001 12:52 PM
> Subject: Re: Tomcat 4.0.7b and lib help
> 
> 
> > My guess is that this may be the same problem that I ran into while trying
> > to use JDBCRealm. I think you have to put the .jar file in
> > TOMCAT_HOME/server/lib instead of TOMCAT_HOME/lib for low-level .jar files
> > that get used by Tomcat itself? I'm not an expert, that just seemed to be
> > experience that I had.
> >
> > Jon
> >
> > ----- Original Message -----
> > From: "Shawn Evans" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 23, 2001 11:45 AM
> > Subject: Tomcat 4.0.7b and lib help
> >
> >
> > > I have a servlet FBJServlet that uses a DB connection pool, and I have
> the
> > > JDBC driver for Oracle installed as well in the /lib/classes12.jar... I
> > open
> > > the jar and see OracleDataSource... but I get the error below.
> > > Root Cause:
> > > java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
> > > at
> com.sterling.util.db.pooling.DBPoolManager.init(DBPoolManager.java:110)
> > > at com.sterling.util.db.pooling.DBPoolManager.(DBPoolManager.java:17)
> > > at
> > >
> >
> com.sterling.util.db.pooling.DBPoolManager.getInstance(DBPoolManager.java:23
> > > )
> > > at com.sterling.ForceBrowserJ.FBJServlet.init(FBJServlet.java:15)
> > > at javax.servlet.GenericServlet.init(GenericServlet.java:366)
> > > at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:833)
> > > at
> > >
> >
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:602)
> > > at
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> > > va:214)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 66)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > > at
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> > > va:215)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 66)
> > > at
> > >
> >
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> > > 46)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 64)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > > at
> > >
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2314)
> > > at
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> > > )
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 66)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 64)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > > at
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > > :163)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 66)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > > at
> > >
> >
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> > > 1000)
> > > at
> > >
> >
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1093
> > > )
> > > at java.lang.Thread.run(Thread.java:484)
> > >
> > >
> > >
> >
> 

Reply via email to