shindig-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Lindner <lind...@inuus.com>
Subject Re: Shindig in Tomcat - Out of the box Guice errors
Date Fri, 29 Oct 2010 16:20:11 GMT
This error indicates that he shindig.properties file could not be found in
the classpath.

I'll see if we can add a test case for tomcat at some point...  Are you
renaming to ROOT.war?


On Fri, Oct 29, 2010 at 2:19 AM, Damon Rand <damonrand@gmail.com> wrote:

> Hi,
>
> I'm new to Shindig and must be missing something but the war doesn't
> startup in Tomcat as described.
>
> I downloaded the war from here and renamed it to root and started it
> in Tomcat 6.0.29.
> http://shindig.apache.org/download/index.html
>
> I needed to create an oauthkey.pem and added shindig.properties pointing to
> it..
>
> Then I start Tomcat and I get the below errors.
>
> Can anyone help?
>
> Damon.
>
>
> INFO: SessionListener: contextInitialized()
> 29-Oct-2010 22:04:36 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener
> instance of class
> org.apache.shindig.common.servlet.GuiceServletContextListener
> com.google.inject.CreationException: Guice creation errors:
>
> 1) No implementation for java.lang.Boolean annotated with
> @com.google.inject.name.Named(value=shindig.cache.ehcache.jmx.enabled)
> was bound.
>  while locating java.lang.Boolean annotated with
> @com.google.inject.name.Named(value=shindig.cache.ehcache.jmx.enabled)
>    for parameter 1 at
>
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCacheCacheProvider.java:55)
>  at
> org.apache.shindig.common.cache.ehcache.EhCacheModule.configure(EhCacheModule.java:32)
>
> 2) No implementation for java.lang.Boolean annotated with
> @com.google.inject.name.Named(value=shindig.cache.ehcache.jmx.stats)
> was bound.
>  while locating java.lang.Boolean annotated with
> @com.google.inject.name.Named(value=shindig.cache.ehcache.jmx.stats)
>    for parameter 2 at
>
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCacheCacheProvider.java:55)
>  at
> org.apache.shindig.common.cache.ehcache.EhCacheModule.configure(EhCacheModule.java:32)
>
> ...
>
> 170) No implementation for java.lang.String annotated with
> @com.google.inject.name.Named(value=shindig.features.default) was
> bound.
>  at
> org.apache.shindig.gadgets.DefaultGuiceModule.defaultFeatures(DefaultGuiceModule.java:134)
>
> 170 errors
>        at
> com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:354)
>        at
> com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:152)
>        at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
>        at com.google.inject.Guice.createInjector(Guice.java:92)
>        at
> org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:73)
>        at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
>        at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>        at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>        at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
>        at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
>        at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
>        at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>        at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>        at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>        at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>        at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>        at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
>        at
> org.apache.catalina.core.StandardService.start(StandardService.java:519)
>        at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>



-- 
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message