Excuse me, I got a problem
I followed the Build and Run document.
I have :
* Ubuntu 10.4
* JAVA-6-openjdk
at the end, terminal shows:
90 errors
at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:
354)
at
com.google.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:
179)
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:113)
at com.google.inject.Guice.createInjector(Guice.java:92)
at
org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:
73)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:
549)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1282)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
518)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
499)
at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:
115)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:
152)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:
156)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:
152)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:
132)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:
454)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:
396)
at
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:
210)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:
184)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
694)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:
569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2011-11-18 19:44:41.732:INFO::Opened /home/yufeijiang/lmco-
eurekastreams-20a81a4/web/target/jetty-access.log
2011-11-18 19:44:41.774:INFO::Started
SelectChann...@0.0.0.0:8080
2011-11-18 19:44:41.775:INFO::Started
SelectChann...@0.0.0.0:8081
[INFO] Started Jetty Server
And when I tried to access url http://localhost:8080.
browser shows "503 SERVICE_UNAVAILABLE".
HTTP ERROR: 503
Problem accessing /. Reason:
SERVICE_UNAVAILABLE
Powered by Jetty://
I ran jetty using command -- mvn jetty:run -DskipTests -Dlog.home=
$HOME/logs -Denv.WEBPORT=8080 -Denv.GRWEBPORT=8081 -Dcheckstyle.skip
I've checked previous threads and tired different solutions but didn't
work.
Hope get help here, thank you very much!
Best regards
Yufei Jiang
I ran Jetty with following command:
$ mvn jetty:run -Dskiptests -Dlog.home=$HOME/logs -Denv.WEBPORT=8080 -
Denv.GRWEBPORT=8081 -Dcheckstyle.skip -DESCONFIG=
The output lik these:
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2011-11-19 15:18:30.256:INFO::Opened /home/bh2010/eurekastreams/web/
target/jetty-access.log
2011-11-19 15:18:30.277:INFO::Started
SelectChann...@0.0.0.0:8080
2011-11-19 15:18:30.277:INFO::Started
SelectChann...@0.0.0.0:8081
[INFO] Started Jetty Server
It seems nothing wrong happened. When when I open http://localhost:8080
, it returns
"
HTTP ERROR: 503
Problem accessing /. Reason:
SERVICE_UNAVAILABLE
Powered by Jetty://
"
Any suggestion will be helpful.
Thanks
On 11月18日, 下午11时31分, Rob Keane <rob.ke...@gmail.com> wrote:
> Is there anything before the error output you posted?
>
> > SelectChannelConnec...@0.0.0.0:8080
> > 2011-11-18 19:44:41.775:INFO::Started
> > SelectChannelConnec...@0.0.0.0:8081
> > [INFO] Started Jetty Server
>
> > And when I tried to access urlhttp://localhost:8080.
On Nov 18, 11:31 pm, Rob Keane <rob.ke...@gmail.com> wrote:
> Is there anything before the error output you posted?
>
> > SelectChannelConnec...@0.0.0.0:8080
> > 2011-11-18 19:44:41.775:INFO::Started
> > SelectChannelConnec...@0.0.0.0:8081
> > [INFO] Started Jetty Server
>
> > And when I tried to access urlhttp://localhost:8080.
On 22 nov, 21:49, jjsahalf <jjsah...@gmail.com> wrote:
> Dear Rob Keane
>
> We have redirected the error log to a txt file. And then we checked it
> carefully.
> We noted a sentence in our the error log.
> It is "SLF4J: The requested version 1.6 by your slf4j binding is not
> compatible with [1.5.5, 1.5.6]"
>
> And then the log shows "2011-11-22 16:26:12.522:WARN::Failed startup
> of context
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@1802324{/,file:/
> home/bh2010/eurekastreams/web/target/ROOT/eureka/;jar:file:/home/
> bh2010/.m2/repository/org/apache/shindig/shindig-server/2.0.1.3/
> shindig-server-2.0.1.3.war!/;}"
>
> In every specific error, the output also relates to the slf4j, like
> "com.google.inject.CreationException: Guice creation errors:||1) Error
> injecting constructor, java.lang.NoSuchMethodError:
> org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/
> Object;)Lorg/slf4j/helpers/FormattingTuple;| at
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCache CacheProvider.java:
> 55)| while locating
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider| while
> locating org.apache.shindig.common.cache.CacheProvider| for
> parameter 0 at
> org.apache.shindig.gadgets.http.DefaultHttpCache.<init>(DefaultHttpCache.ja va:
> 37)| while locating
> org.apache.shindig.gadgets.http.DefaultHttpCache| while locating
> org.apache.shindig.gadgets.http.HttpCache| for parameter 1 at
> org.apache.shindig.gadgets.http.DefaultRequestPipeline.<init>(DefaultReques tPipeline.java:
> 52)| while locating
> org.apache.shindig.gadgets.http.DefaultRequestPipeline| while
> locating org.apache.shindig.gadgets.http.RequestPipeline| for
> parameter 0 at ......"
>
> So we believe the version mismatch of slf4j may cause the problem.http://www.slf4j.org/codes.html#version_mismatch
>
> So how to change our slf4j version? Other suggestions or comments?
>
> Below is full error log.
>
> 2011-11-22 16:25:55.869:INFO::Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2011-11-22 16:25:55.872:INFO::jetty-6.1.26
> 2011-11-22 16:25:55.872:INFO::No Transaction manager found - if your
> webapp requires one, please configure one.
> 2011-11-22 16:25:56.819:INFO:/:Set web app root system property:
> 'webapp.root' = [/home/bh2010/eurekastreams/web/target/ROOT/eureka]
> 2011-11-22 16:25:56.822:INFO:/:Initializing log4j from [/home/bh2010/
> eurekastreams/web/target/ROOT/eureka/WEB-INF/classes/conf/log4j.xml]
> SLF4J: The requested version 1.6 by your slf4j binding is not
> compatible with [1.5.5, 1.5.6]
> SLF4J: Seehttp://www.slf4j.org/codes.html#version_mismatchfor
> further details.
> 2011-11-22 16:26:03.521 INFO net.spy.memcached.MemcachedConnection:
> Added {QA sa=localhost/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0,
> topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
> 2011-11-22 16:26:03.541 INFO net.spy.memcached.MemcachedConnection:
> Connection state changed for sun.nio.ch.SelectionKeyImpl@293b29
> 2011-11-22 16:26:03.593 INFO net.spy.memcached.MemcachedConnection:
> Added {QA sa=localhost/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0,
> topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
> 2011-11-22 16:26:03.599 INFO net.spy.memcached.MemcachedConnection:
> Connection state changed for sun.nio.ch.SelectionKeyImpl@1ee30d2
> 2011-11-22 16:26:03.600 INFO net.spy.memcached.MemcachedConnection:
> Added {QA sa=localhost/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0,
> topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
> 2011-11-22 16:26:03.603 INFO net.spy.memcached.MemcachedConnection:
> Added {QA sa=localhost/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0,
> topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
> 2011-11-22 16:26:03.610 INFO net.spy.memcached.MemcachedConnection:
> Connection state changed for sun.nio.ch.SelectionKeyImpl@178e506
> 2011-11-22 16:26:03.611 INFO net.spy.memcached.MemcachedConnection:
> Connection state changed for sun.nio.ch.SelectionKeyImpl@1965791
> 2011-11-22 16:26:03.611 INFO net.spy.memcached.MemcachedConnection:
> Added {QA sa=localhost/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0,
> topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
> 2011-11-22 16:26:03.618 INFO net.spy.memcached.MemcachedConnection:
> Connection state changed for sun.nio.ch.SelectionKeyImpl@1a6bc76
> Nov 22, 2011 4:26:11 PM
> org.apache.shindig.gadgets.features.FeatureRegistry register
> INFO: Loading resources from: res:features/features.txt
> Nov 22, 2011 4:26:11 PM org.apache.shindig.common.xml.XmlUtil <clinit>
> INFO: Not using secure XML processing.
> Nov 22, 2011 4:26:11 PM org.apache.shindig.common.xml.XmlUtil <clinit>
> INFO: Reusing document builders
> Nov 22, 2011 4:26:12 PM
> org.apache.shindig.gadgets.features.FeatureRegistry register
> INFO: Loading resources from: res:features/eurekastreams_features.txt
> 2011-11-22 16:26:12.522:WARN::Failed startup of context
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@1802324{/,file:/
> home/bh2010/eurekastreams/web/target/ROOT/eureka/;jar:file:/home/
> bh2010/.m2/repository/org/apache/shindig/shindig-server/2.0.1.3/
> shindig-server-2.0.1.3.war!/;}
> com.google.inject.CreationException: Guice creation errors:||1) Error
> injecting constructor, java.lang.NoSuchMethodError:
> org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/
> Object;)Lorg/slf4j/helpers/FormattingTuple;| at
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCache CacheProvider.java:
> 55)| while locating
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider| while
> locating org.apache.shindig.common.cache.CacheProvider| for
> parameter 0 at
> org.apache.shindig.gadgets.http.DefaultHttpCache.<init>(DefaultHttpCache.ja va:
> 37)| while locating
> org.apache.shindig.gadgets.http.DefaultHttpCache| while locating
> org.apache.shindig.gadgets.http.HttpCache| for parameter 1 at
> org.apache.shindig.gadgets.http.DefaultRequestPipeline.<init>(DefaultReques tPipeline.java:
> 52)| while locating
> org.apache.shindig.gadgets.http.DefaultRequestPipeline| while
> locating org.apache.shindig.gadgets.http.RequestPipeline| for
> parameter 0 at
> org.apache.shindig.gadgets.preload.PipelinedDataPreloader.<init>(PipelinedD ataPreloader.java:
> 67)| while locating
> org.apache.shindig.gadgets.preload.PipelinedDataPreloader| for
> parameter 0 at
> org.apache.shindig.gadgets.preload.PipelineExecutor.<init>(PipelineExecutor .java:
> 57)| while locating
> org.apache.shindig.gadgets.preload.PipelineExecutor| for parameter
> 0 at
> org.apache.shindig.gadgets.rewrite.PipelineDataGadgetRewriter.<init>(Pipeli neDataGadgetRewriter.java:
> 53)| while locating
> org.apache.shindig.gadgets.rewrite.PipelineDataGadgetRewriter| at
> org.apache.shindig.gadgets.rewrite.RewriteModule.provideGadgetRewriters(Rew riteModule.java:
> 64)| while locating
> java.util.List<org.apache.shindig.gadgets.rewrite.GadgetRewriter>
> annotated with
> @com.google.inject.name.Named(value=shindig.rewriters.gadget)|Caused
> by: java.lang.NoSuchMethodError:
> org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/
> Object;)Lorg/slf4j/helpers/FormattingTuple;|?at
> org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:228)|?
> at net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:
> 270)|?at
> net.sf.ehcache.config.BeanHandler.startElement(BeanHandler.java:112)|?
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)|?at
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)|?at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkn own
> Source)|?at org.apache.xerces.impl.XMLDocumentScannerImpl
> $ContentDispatcher.scanRootElementHook(Unknown Source)|?at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
> $FragmentContentDispatcher.dispatch(Unknown Source)|?at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)|?at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)|?at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)|?at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)|?
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)|?
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)|?at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown
> Source)|?at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)|?at
> net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(Configuration Factory.java:
> 155)|?at
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.getConfigurati on(EhCacheCacheProvider.java:
> 70)|?at
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCache CacheProvider.java:
> 56)|?at org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider$
> $FastClassByGuice$$ed9a41b6.newInstance(<generated>)|?at
> com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastCo nstructor.java:
> 40)|?at com.google.inject.DefaultConstructionProxyFactory
> $1.newInstance(DefaultConstructionProxyFactory.java:60)|?at
> com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:
> 85)|?at com.google.inject.ConstructorBindingImpl
> $Factory.get(ConstructorBindingImpl.java:111)|?at
> com.google.inject.FactoryProxy.get(FactoryProxy.java:56)|?at
> com.google.inject.ProviderToInternalFactoryAdapter
> $1.call(ProviderToInternalFactoryAdapter.java:45)|?at
> com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)|?
> at
> com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFa ctoryAdapter.java:
> 42)|?at com.google.inject.Scopes$1$1.get(Scopes.java:54)|?at
> com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToPro viderAdapter.java:
> 48)|?at
> com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.ja va:
> 42)|?at
> com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.ja va:
> 66)|?at
> com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:
> 84)|?at com.google.inject.ConstructorBindingImpl
> $Factory.get(ConstructorBindingImpl.java:111)|?at
> com.google.inject.ProviderToInternalFactoryAdapter
> $1.call(ProviderToInternalFactoryAdapter.java:45)|?at...
>
> plus de détails »
Internally we are using Tomcat, so you may want to consider that depending on your goals.
Also, we will wait for your good news of fixing the current jetty
problem with patience, Thank you very much!
Best regards
Yufei Jiang
On Nov 25, 9:31 am, Rob Keane <rob.ke...@gmail.com> wrote:
> I'm hoping to find a fix this weekend, it looks like Jetty is pulling a conflicting logging library.
>
> Internally we are using Tomcat, so you may want to consider that depending on your goals.
>
> ...
>
> read more »
This install guide is aimed at CentOS, you are using Ubuntu?
Thank you very much!
Best regards
Yufei Jiang
On Nov 29, 7:22 am, Rob Keane <rob.ke...@gmail.com> wrote:
> http://www.eurekastreams.org/quick-install-guide/
>
> This install guide is aimed at CentOS, you are using Ubuntu?
>
> ...
>
> read more »
You will be unable to login if the app can't connect to your database
Best regards
Yufei Jiang
On Nov 29, 12:33 pm, Rob Keane <rob.ke...@gmail.com> wrote:
> Do you see any errors in your logs?
>
> You will be unable to login if the app can't connect to your database
>
> ...
>
> read more »
Best regards
Yufei Jiang
On Dec 2, 10:26 pm, Rob Keane <rob.ke...@gmail.com> wrote:
> Oh ok, gotcha. The admin for the demo data is the user jsterl
>
> ...
>
> read more »
Best regards
Yufei Jiang
On Dec 5, 9:46 pm, Rob Keane <rob.ke...@gmail.com> wrote:
> User management in not considered part of the scope of Eureka Streams. The idea is to hook into an existing LDAP/Active Directory setup.
>
> ...
>
> read more »
Best regards
Yufei Jiang
On Dec 6, 12:46 pm, Rob Keane <rob.ke...@gmail.com> wrote:
> Does your lab already have an LDAP or Active Directory server?
>
> ...
>
> read more »
We don't have an LDAP or Active Directory Server now, is there any
other solution?
Thanks
On 12月6日, 下午12时46分, Rob Keane <rob.ke...@gmail.com> wrote:
> Does your lab already have an LDAP or Active Directory server?
>
> ...
>
> 阅读更多 »