please provide source code, or maybe at least the relevant lines.

what is the fully qualified class name of your servlet?

also if you send source code please include any "import" or "package"
statement lines.

fillup



On 5/24/02 11:03 AM, "Scott C Strecker" <[EMAIL PROTECTED]> wrote:

> I am trying to utilize Session Tracking in a servlet under tomcat 4.0.3.
> When I try
> a simple example I get the following error in my log file.
> 
> java.lang.NoClassDefFoundError: org/apache/tomcat/util/http/ServerCookie
>       at
> org.apache.tomcat.util.http.Cookies.addCookie(Cookies.java:180, Compiled
> Code)
>       at
> org.apache.tomcat.util.http.Cookies.processCookieHeader(Cookies.java:300,
> Compiled Code)
>       at
> org.apache.tomcat.util.http.Cookies.processCookies(Cookies.java:211,
> Compiled Code)
>       at
> org.apache.tomcat.util.http.Cookies.getCookieCount(Cookies.java:161,
> Compiled Code)
>       at
> org.apache.ajp.tomcat4.Ajp13Request.addCookies(Ajp13Request.java:184,
> Compiled Code)
>       at
> org.apache.ajp.tomcat4.Ajp13Request.setAjpRequest(Ajp13Request.java:146,
> Compiled Code)
>       at
> org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:417,
> Compiled Code)
>       at
> org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495,
> Compiled Code)
>       at java.lang.Thread.run(Thread.java:484, Compiled Code)
> 
> Is this because of some setting in my configuration i.e. to turn
> cookies on. Or am I missing a class
> as the error seems to indicate. I have the stock setup for tomcat as it
> came from the factory ( so to speak ).
> I have not changed any settings on the tomcat web.xml. I was under the
> impression that cookies=on was
> the default.
> 
> Any pointers would be much appreciated.
> 
> Scott
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to