cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: AW: AW: cayenne with jetty6
Date Wed, 14 Feb 2007 14:47:57 GMT
You may need to enable logging for Cayenne config classes - there  
should be a lot of info preceding the exception (including  
intermediate exceptions) when this happens.

http://cayenne.apache.org/doc12/configuring-logging.html

You may set this logger to DEBUG:

log4j.logger.org.objectstyle.cayenne = DEBUG

Andrus



On Feb 14, 2007, at 2:31 AM, Peter Schröder wrote:
> 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.initializeSharedConfigurati 
> on(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.executeStandaloneG 
> oal(DefaultLifecycleExecutor.java:488)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
> (DefaultLifecycleExecutor.java:458)
> 	at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand 
> leFailures(DefaultLifecycleExecutor.java:306)
> 	at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment 
> s(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.initializeSharedConfigurati 
> on(Configuration.java:312)
> 	... 33 more
>
> -----Ursprüngliche Nachricht-----
> Von: Andrus Adamchik [mailto:andrus@objectstyle.org]
> Gesendet: Dienstag, 13. Februar 2007 17:23
> An: user@cayenne.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
>
>


Mime
View raw message