Thanks Yoav for the prompt reply. I am using NetBeans IDE and I have the
directory cataina.jar mounted on my classpath. I am using Tomcat 5.0.19

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 .

Can you give me some pointers as to where I am going wrong?

Thanks


Moushumi Ghosh
Foresight International
711 Rose Road
Lake Zurich, IL 60047

([EMAIL PROTECTED])
Ph:847-726-4040  (Ext 257)

----- Original Message ----- 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 12:05 PM
Subject: RE: Creating Valve


>
> Hi,
> Write the Valve.  Put it in whatever package you want.  You will need to
> import at the very least org.apache.catalina.Valve since your class will
> implement this interface.  Put catalina.jar on your compile-time
> classpath, and put the compiled classes for your valve in whatever jar
> you want (let's say myValve.jar for example).  Then put myValve.jar in
> common/lib (rather than WEB-INF/lib) because it must be available to the
> catalina classes when starting up and configuring the server.
>
> Yoav Shapira
> Millennium Research Informatics
>
>
> >-----Original Message-----
> >From: Moushumi Ghosh [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, June 02, 2004 12:17 PM
> >To: [EMAIL PROTECTED]
> >Subject: Creating Valve
> >
> >Hi,
> >
> >If I want to create a valve for my application use, how can I compile
> it
> >without creating a separate app out of the catalina.jar where other
> valves
> >are located and add it to my app.
> >
> >Thanks in advance.
> >
> >Moushumi Ghosh
> >Foresight International
> >711 Rose Road
> >Lake Zurich, IL 60047
> >
> >([EMAIL PROTECTED])
> >Ph:847-726-4040  (Ext 257)
>
>
>
> This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to