RE: Interesting Tomcat (et al) Issue ...

From: Gentry, Michael \(Contractor\) ("Gentry,)
Date: Wed Jul 13 2005 - 16:29:45 EDT

  • Next message: Mike Kienenberger: "Re: Interesting Tomcat (et al) Issue ..."

    Well ...

    cayenne.xml #1: 6 Domains, Sybase
    cayenne.xml #2: 1 Domain, PostgreSQL

    They are completely unrelated. There are three (at the moment) Tapestry
    apps I have under development. Two of them use #1, one of them uses #2.
    Both are in the CLASSPATH, but #1 shows up first, and that is the only
    one visible to all three apps, so the third app cannot use the DB unless
    I shut down the other two and remove the projects (which would be rather
    inconvenient).

    I guess I have the Cayenne source code ... I might have to fix this if I
    can figure it all out. :-)

    /dev/mrg

    -----Original Message-----
    From: Mike Kienenberger [mailto:mkienen..laska.net]
    Sent: Wednesday, July 13, 2005 3:39 PM
    To: cayenne-use..bjectstyle.org
    Cc: cayenne-use..bjectstyle.org
    Subject: Re: Interesting Tomcat (et al) Issue ...

    "Gentry, Michael (Contractor)" <michael_gentr..anniemae.com> wrote:
    > The cayenne.xml that is getting picked up actually has six domains in
    it
    > (and will have more later). The problem is, I need the second
    > cayenne.xml for the other utility, and they aren't at all related.
    >
    > It's looking like I'd have to disable/remove the original framework
    and
    > two applications in order to work on the third. Of course, this means
    I
    > couldn't use the two original applications if I needed them (nor
    anyone
    > else). Not too elegant of a solution ...
    >
    > I'd love to be proven incorrect! :-)

    I'm not sure I completely understand what you're doing, but maybe you
    need a
    custom cayenne.xml file that contains the contents of both of the
    others?

    It's easier to maintain multiple cayenne.xml files than multiple
    projects :)

    -Mike



    This archive was generated by hypermail 2.0.0 : Wed Jul 13 2005 - 16:29:49 EDT