Re: AW: AW: AW: cayenne with jetty6

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Feb 16 2007 - 10:02:15 EST

  • Next message: Peter Schröder: "AW: AW: AW: AW: cayenne with jetty6"

    On Feb 16, 2007, at 3:57 AM, Peter Schröder wrote:

    > 16 Feb 2007 09:55:03.928 [INFO] [main]
    > [org.objectstyle.cayenne.conf.JNDIDataSourceFactory] - failed
    > loading from local preferences
    > java.lang.ClassCastException:
    > org.objectstyle.cayenne.modeler.pref.PreferencesDataSourceFactory
    > at
    > org.objectstyle.cayenne.conf.JNDIDataSourceFactory.loadFromPreferences
    > (JNDIDataSourceFactory.java:147)
    > at org.objectstyle.cayenne.conf.JNDIDataSourceFactory.getDataSource
    > (JNDIDataSourceFactory.java:111)
    > at
    > org.objectstyle.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataNode
    > (RuntimeLoadDelegate.java:324)
    > at org.objectstyle.cayenne.conf.ConfigLoader$NodeHandler.init
    > (ConfigLoader.java:366)
    > at org.objectstyle.cayenne.conf.ConfigLoader
    > $DomainHandler.startElement(ConfigLoader.java:255)
    > at org.apache.xerces.parsers.AbstractSAXParser.startElement
    > (Unknown Source)

    Cool, we are getting somewhere. Maven ClassLoaders are a mystery to
    me, but I think I might know the fix. Could you try this patched
    cayenne.jar and tell me if it works?

    http://people.apache.org/~aadamchik/patched/cayenne-1.2-02162007.jar

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Feb 16 2007 - 10:02:46 EST