hi andrus,
i get this:
2007-02-14 08:30:01.463::WARN: failed CayenneFilter
org.objectstyle.cayenne.ConfigurationException: [v.1.2.1 September 19 2006] Error during Configuration initialization. [v.1.2.1 September 19 2006] Load failures. Main configuration class: org.objectstyle.cayenne.conf.DefaultConfiguration, details:
domain.node.name=basementNode, domain.node.datasource=jdbc/basement, reason: DataSource load failed - null
at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:321)
at org.objectstyle.cayenne.conf.ServletUtil.initializeSharedConfiguration(ServletUtil.java:127)
at org.objectstyle.cayenne.conf.WebApplicationContextFilter.init(WebApplicationContextFilter.java:142)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:570)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1201)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:482)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:444)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:141)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:332)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:277)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:195)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2.1 September 19 2006] Load failures. Main configuration class: org.objectstyle.cayenne.conf.DefaultConfiguration, details:
domain.node.name=basementNode, domain.node.datasource=jdbc/basement, reason: DataSource load failed - null
at org.objectstyle.cayenne.conf.RuntimeLoadDelegate.finishedLoading(RuntimeLoadDelegate.java:481)
at org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:115)
at org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:197)
at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:312)
... 33 more
-----Ursprüngliche Nachricht-----
Von: Andrus Adamchik [mailto:andru..bjectstyle.org]
Gesendet: Dienstag, 13. Februar 2007 17:23
An: use..ayenne.apache.org
Betreff: Re: AW: cayenne with jetty6
On Feb 13, 2007, at 11:19 AM, Peter Schröder wrote:
> after that jetty:run started without class-cast exception. instead
> cayenne could not find the jndi-resources.
What output do you see on the console?
Andrus
This archive was generated by hypermail 2.0.0 : Wed Feb 14 2007 - 02:32:36 EST