You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@shindig.apache.org by Damon Rand <da...@gmail.com> on 2010/10/29 11:19:14 UTC
Shindig in Tomcat - Out of the box Guice errors
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)
Re: Shindig in Tomcat - Out of the box Guice errors
Posted by Damon Rand <da...@gmail.com>.
Thanks.
Its not immediately obvious where shindig.properties should go, there
is no default shindig.properties in the shindig.war to give me a hint.
I dropped it into ROOT/WEB-INF/classes which seemed to be found but
thats when my Guice problems started.
Damon.
On 30 October 2010 05:20, Paul Lindner <li...@inuus.com> wrote:
> 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 <da...@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
>
Re: Shindig in Tomcat - Out of the box Guice errors
Posted by Damon Rand <da...@gmail.com>.
Looks like signing.key-file needs an absolute path. The shindig webapp
has now started with no errors.
Next problem is that there is no welcome page in web.xml. Browsing to
/ gives me "resource not found".
It should show at least a helloworld gadget..
Damon.
On 30 October 2010 13:42, Damon Rand <da...@gmail.com> wrote:
> Actually getting closer now..
>
> I found shindig.properties inside shindig-common-2.0.0.jar and copied
> that out to WEB-INF/classes.
>
> Then I'm updating
> shindig.signing.key-name=
> shindig.signing.key-file=
>
> To
> shindig.signing.key-name=mykey
> shindig.signing.key-file=oauthkey.pem
>
> Now I just need to work out where to put oauthkey.pem such that it
> will get picked up.
>
> Maybe I'm missing some documentation somewhere? I didn't find anything
> to tell me the above.
>
> Damon.
>
>
>
> On 30 October 2010 05:20, Paul Lindner <li...@inuus.com> wrote:
>> 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 <da...@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
>>
>
Re: Shindig in Tomcat - Out of the box Guice errors
Posted by Damon Rand <da...@gmail.com>.
Actually getting closer now..
I found shindig.properties inside shindig-common-2.0.0.jar and copied
that out to WEB-INF/classes.
Then I'm updating
shindig.signing.key-name=
shindig.signing.key-file=
To
shindig.signing.key-name=mykey
shindig.signing.key-file=oauthkey.pem
Now I just need to work out where to put oauthkey.pem such that it
will get picked up.
Maybe I'm missing some documentation somewhere? I didn't find anything
to tell me the above.
Damon.
On 30 October 2010 05:20, Paul Lindner <li...@inuus.com> wrote:
> 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 <da...@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
>
Re: Shindig in Tomcat - Out of the box Guice errors
Posted by Paul Lindner <li...@inuus.com>.
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 <da...@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