Hi Craig,

        Found it. After your pointer about class mixup's I checked our
        libraries. Someone had sneaked in j2ee.jar which had a copy of the
        javax.servlet.* classes. After I removed this it worked fine.

        Cheers,

        Marcus

On Thu, 23 Aug 2001, Marcus Crafter wrote:

> Hi Craig,
> 
>       Thanks for your fast reply! :-)
> 
> On Thu, 23 Aug 2001, Craig R. McClanahan wrote:
> 
> > 99.9% cause of this is having servlet.jar in the wrong place (it belongs
> > in $CATALINA_HOME/commons/lib *only*), having it in your Java extensions
> > directory ($JAVA_HOME/jre/lib/ext), or hacking it in to the CLASSPATH when
> > Tomcat is started.
> > 
> > In particular, IIRC, Cocoon (at least for a while) was including a copy of
> > servlet.jar inside the webapp's /WEB-INF/lib directory.  It should
> > absolutely *not* be there.
> 
>       I've checked this, it's not there. The servlet jar isn't included in
>       our application's WEB-INF/lib directory, nor the cocoon sample
>       application any more.
>       
>       The strange thing is that the cocoon sample application works fine, so
>       it must be some config problem with our application. Kind of confused
>       what it could be though. :-(
> 
>       I'll keep trying.
> 
>       Cheers,
> 
>       Marcus
> 
> 

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : [EMAIL PROTECTED]
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:

Reply via email to