Re: Urgent createDataContext

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Apr 25 2005 - 08:16:16 EDT

  • Next message: Vassilis Raxenidis: "Re: Urgent createDataContext"

    Also check ALL your logs (some containers use more than one log file)...
    Do you see any ConfigurationException stack traces?

    Andrus

    > This message is logged from constructor of DefaultConfiguration. So
    > looks like it is being created over and over again. So the question is
    > how do you "bootstrap" Cayenne. Is this a web application? If so, what
    > Cayenne iitialization method (if any) do you use?
    >
    > Also try starting your application in Eclipse debugger, putting a
    > breakpoint inside Cayenne DefaultConfiguration constructor. This way
    > you'll be able to see who calls the constructor. This may require some
    > setup (as you will need to run your web container in debug mode), but at
    > the end will be able to tell exactly what happens.
    >
    > Andrus
    >
    >
    >> Hi,
    >>
    >> I'm using the 1.1 version of Cayenne and suddenly I have the following
    >> problem.
    >> I call in my code the DataContext.createDataContext() method. Although
    >> this method used to work perfectly, suddenly started to have problems.
    >> More specificaly when I call the method, the execution of the code
    >> blocks on it.
    >> While it is blocked the following message is logged repeatedly
    >> [ 2 5 A p r 2 0 0 5 1 3 : 2 6 : 3 8 , 3 2 0 ] [ D E B U G ]
    >> [ c o n f . D e f a u l t C o n f i g u r a t i o n] u s i n g d o
    >> m a i n f i l e n a m e : c a y e n n e . x m l
    >>
    >> Do anyone know what may be wrong with the createDataContext call?
    >>
    >> Please help....
    >>
    >> ####################################################################
    >> Vassilis Raxenidis
    >> FORTHnet S.A.
    >> Research & Development Department
    >> e-mail : raxe..orthnet.gr
    >> phone : (+30) 2811 391200
    >> ####################################################################



    This archive was generated by hypermail 2.0.0 : Mon Apr 25 2005 - 08:16:17 EDT