I have another problem now. I don't know where to place the jar containing
the my valve or the valve class file itself. I tried putting the jar file
under tomcat's common/lib, server/lib , shared/lib but it didn't work. Also
I have tried putting the class file under common/classes, server/classes,
shared/classes. Again that doesn't work either. I get the following error on
tomcat startup.
==================================
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: com.foresightint.util.MemoryLogValve
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:891)
======================================
Where should the valve class be placed.
Any help would be appreciated.
Thanks so much.
Moushumi Ghosh
Foresight International
711 Rose Road
Lake Zurich, IL 60047
([EMAIL PROTECTED])
Ph:847-726-4040 (Ext 257)
----- Original Message -----
From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 12:40 PM
Subject: Re: Creating Valve
> On Wed, Jun 02, 2004 at 12:19:30PM -0500, Moushumi Ghosh wrote:
>
> : I created a "org.apache.catalina.valves" package for my use in my
> : application. I have that package under classes dir under WEB-INF of my
> : application. However when in my class MemoryLogValve, I import
> : "org.apache.catalina.valves.ValveBase", I get the error cannot resolve
> : symbol .
>
> Sounds like the proper JAR file (or a class on which ValveBase depends)
> is still not in the classpath.
>
> Are you sure that's the right catalina.jar you're using? Doesn't
> NetBeans come with an older install of Tomcat...?
>
> -QM
>
> --
>
> software -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]