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 15:27:11 GMT
On 14 Nov 2011, at 15:19, Jasha Joachimsthal wrote:

> During the build you get this message a few times since the latest change
> in the datamodel. However the portal seems to work fine.
> @Matt do you still have a few todo's for the User/Person merger (apart from
> the ignored tests)?

I deleted the db file before restarting and this seemed to fix things - it must have got corrupted
at some point.

> 
> On 14 November 2011 15:51, Marlon Pierce <mpierce@cs.indiana.edu> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> The default database configuration is now for rave and shindig to use the
>> same file-based DB.   This is
>> <rave.database.location>/tmp/rave_db</rave.database.location> by default
>> (see top-level pom.xml).  Are you building on Windows?
>> 
>> 
>> Marlon
>> 
>> 
>> On 11/14/11 9:41 AM, Scott Wilson wrote:
>>> 
>>> On 14 Nov 2011, at 13:25, Marlon Pierce wrote:
>>> 
>>> 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/
>> 
>> iQEcBAEBAgAGBQJOwSrXAAoJEEfVXEODPFID9MIH/i6OzTZuqZ/CZbBayPNnJAyd
>> kY7wjqANdkifa1vPiWfn3IJFCe0RW4ZXEaxokHLUoe/IqS6fjiG03ugiY0381EQp
>> 0BYUBfhVfa+B+wpjEGD7pBvPjculVVWrSCDY9LsDMGZxzpJbmGROA6Pgyoc2sORy
>> 2HuePm1wkrP6e1lsxfjU6fE8QH/dqHkW/v0gcbdvXJO3ycPHgOsgbxU8m5lfJ6iq
>> ebC2qiJi8YnduCS1Mwh4yTAZRqdtP0WMYNW9uhXK6HiGnaz++cve3+R4Jd+/lwXW
>> 9zevnoysc1JOunK0Agz3vMA6qed1srN/SfsKnxyBik26GETnn4RIk8pMGfsw6oQ=
>> =p/uz
>> -----END PGP SIGNATURE-----
>> 


Mime
View raw message