Re: can't run cayenne-web-app 1.0b1

From: Jean-Paul Le Fèvre (lefevr..ep.saclay.cea.fr)
Date: Fri Apr 25 2003 - 05:51:15 EDT

  • Next message: Merritt, Scott: "RE: One to many relationships require reverse relationships?"

    Well, I think I've found the cause of my difficulties with
    the Cayenne web app : they are due to the strange behaviour
    of the Tomcat classloader. I'm currently using Tomcat.1.24-LE
    (I changed simultaneously the Cayenne and Tomcat version
    but it was not a good idea !)

    It is hard to describe precisely and logically the problems
    I faced because of the complexity of the system and of the
    interactions between components : a couple of small changes
    could lead to completely different error traces.

    Basically the behaviour of the system depends strongly on the location
    of the various classes and jars, more specifically it depends on what is
    put in the shared/lib (or class) directory and what is put in
    WEB-INF/lib (or class). For instance moving cayenne.jar between shared
    and WEB-INF provided completely different errors.

    From my various experiments I can draw the following conclusions :

    - cayenne files AND struts files AND common-*jar AND your app files
      MUST be in the same directory hierarchy (either shared or WEB-INF)

    - the Tomcat classloader sucks.

    -- 
    ______________________________________________
    

    Jean-Paul Le Fèvre - Jean-Paul.LeFevr..ea.fr



    This archive was generated by hypermail 2.0.0 : Fri Apr 25 2003 - 05:51:09 EDT