rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Wilson <scott.bradley.wil...@gmail.com>
Subject Re: Portal startup problem: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log
Date Mon, 14 Nov 2011 14:41:51 GMT

On 14 Nov 2011, at 13:25, Marlon Pierce wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I don't get the error either.
> 
> 
> Marlon
> 
> 
> On 11/14/11 8:18 AM, Jasha Joachimsthal wrote:
>> strange, I don't get that error. It means it misses some logging jars. Can
>> you clear your local maven repository under org/apache/rave and rebuild the
>> project?

I cleaned out my repo and rebuilt the project from scratch - eventually got it starting again!

However, now I get an error loading the initial data:

[INFO] [talledLocalContainer] ERROR: org.apache.rave.persistence.jpa.PopulatedLocalContainerEntityManagerFactory
- Database population has failed. It will be empty.
[INFO] [talledLocalContainer] java.lang.RuntimeException: SQL exception occurred loading data
from initial_data.sql
[INFO] [talledLocalContainer] 	at org.apache.rave.jdbc.util.DataSourcePopulator.executeScripts(DataSourcePopulator.java:154)
[INFO] [talledLocalContainer] 	at org.apache.rave.jdbc.util.DataSourcePopulator.populateDataSourceIfNecessary(DataSourcePopulator.java:131)
[INFO] [talledLocalContainer] 	at org.apache.rave.jdbc.util.DataSourcePopulator.initialize(DataSourcePopulator.java:113)
[INFO] [talledLocalContainer] 	at org.apache.rave.persistence.jpa.PopulatedLocalContainerEntityManagerFactory.postProcessEntityManagerFactory(PopulatedLocalContainerEntityManagerFactory.j

I even get this with running from a clean checkout.

S

>> 
>> Jasha
>> 
>> On 14 November 2011 12:28, Scott Wilson <scott.bradley.wilson@gmail.com>wrote:
>> 
>>> Hi everyone,
>>> 
>>> Now that the JSP-related error has gone away (thanks Jasha!) I'm seeing
>>> the error trace below when I try to start the portal using cargo.
>>> 
>>> Anyone else getting this?
>>> 
>>> S
>>> 
>>> [WARNING] [talledLocalContainer] SEVERE: Exception sending context
>>> initialized event to listener instance of class
>>> org.springframework.web.context.ContextLoaderListener
>>> [WARNING] [talledLocalContainer] java.lang.NoSuchMethodError:
>>> org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:225)
>>> [WARNING] [talledLocalContainer]        at
>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:220)
>>> [WARNING] [talledLocalContainer]        at
>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.StandardService.start(StandardService.java:525)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>>> [WARNING] [talledLocalContainer]        at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> [WARNING] [talledLocalContainer]        at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> [WARNING] [talledLocalContainer]        at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> [WARNING] [talledLocalContainer]        at
>>> java.lang.reflect.Method.invoke(Method.java:597)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>>> [WARNING] [talledLocalContainer]        at
>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>>> [WARNING] [talledLocalContainer] Nov 14, 2011 11:22:57 AM
>>> org.apache.catalina.core.StandardContext start
>>> [WARNING] [talledLocalContainer] SEVERE: Error listenerStart
>>> [WARNING] [talledLocalContainer] Nov 14, 2011 11:22:57 AM
>>> org.apache.catalina.core.StandardContext start
>>> [WARNING] [talledLocalContainer] SEVERE: Context [/portal] startup failed
>>> due to previous errors
>> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJOwRbiAAoJEEfVXEODPFIDI5IH+wWEzP2VB5gjORmGos5oksuN
> s5BZha5uJARPigY9W7L44Fn4bp4vdHQJIPHmL6e/KSKLk6J9+xCwd2/2YiqVAXVS
> bpYHSDvpPhfcq+/PnhNwQdZWaEmeShwPOrmejjYL24kguAvzfMaHd5GBOOjYX3rX
> NmD0sC8nnsKX2+zwy9ddVtyqJngvhtX4ZgpWA7ZveZ1dVLsT0hgNyXQCfvQwANGD
> XDDK7ryS10a2lvbzkMhIvYOVHkBmKwHCLYl0SCfiZpVAfHLWAv7vXZjnk4usPrfk
> tsiyCGqqsQk8BiSY/3NBKK1uNncnVA9sWq4W4T86aPZGMT7K42xAK3+5xkLjH2M=
> =nih/
> -----END PGP SIGNATURE-----


Mime
View raw message