ok, thanks.
I downloaded the last revision, execute ant clean, ant and get a BUILD
successful.
Then I updated the config-files and start run-server.sh.
I think the server starts, but nevertheless I think I have some
problems with the certificates and/or certificates store (see the
corresponding screen output below). In addition I cannot connect to my
Openfire server (dont know why).
Any further ideas what's going on here?
------------ screen output ---------
d...@dave:~/testlab/wave$ ./run-server.sh
04.01.2011 15:50:20
org.waveprotocol.box.server.persistence.mongodb.MongoDbProvider start
INFO: Started MongoDb persistence
04.01.2011 15:50:21
org.waveprotocol.box.server.waveserver.WaveServerImpl <init>
INFO: Wave Server configured to host local domains: [dave.org]
04.01.2011 15:50:21
org.waveprotocol.box.server.waveserver.WaveServerImpl <init>
SCHWERWIEGEND: Failed to add our own signer info to the certificate
store
org.waveprotocol.wave.crypto.SignatureException: Certificate
validation failure
at
org.waveprotocol.wave.crypto.CachedCertPathValidator.validateNoCache(CachedCertPathValidator.java:
103)
at
org.waveprotocol.wave.crypto.CachedCertPathValidator.validate(CachedCertPathValidator.java:
65)
at
org.waveprotocol.wave.crypto.WaveSignatureVerifier.verifySignerInfo(WaveSignatureVerifier.java:
129)
at
org.waveprotocol.box.server.waveserver.CertificateManagerImpl.storeSignerInfo(CertificateManagerImpl.java:
199)
at
org.waveprotocol.box.server.waveserver.WaveServerImpl.<init>(WaveServerImpl.java:
363)
at org.waveprotocol.box.server.waveserver.WaveServerImpl$
$FastClassByGuice$$3065e839.newInstance(<generated>)
at
com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:
40)
at com.google.inject.internal.DefaultConstructionProxyFactory
$1.newInstance(DefaultConstructionProxyFactory.java:59)
at
com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:
84)
at com.google.inject.internal.ConstructorBindingImpl
$Factory.get(ConstructorBindingImpl.java:200)
at com.google.inject.internal.ProviderToInternalFactoryAdapter
$1.call(ProviderToInternalFactoryAdapter.java:43)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:
878)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:
40)
at com.google.inject.Scopes$1$1.get(Scopes.java:64)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:
40)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:53)
at com.google.inject.internal.ProviderToInternalFactoryAdapter
$1.call(ProviderToInternalFactoryAdapter.java:43)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:
878)
at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:
40)
at com.google.inject.Scopes$1$1.get(Scopes.java:64)
at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:
40)
at
com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:
38)
at
com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:
62)
at
com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:
83)
at com.google.inject.internal.ConstructorBindingImpl
$Factory.get(ConstructorBindingImpl.java:200)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:
825)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:
871)
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:
821)
at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:
860)
at org.waveprotocol.box.server.ServerMain.run(ServerMain.java:130)
at org.waveprotocol.box.server.ServerMain.main(ServerMain.java:76)
Caused by: java.security.cert.CertPathValidatorException: Path does
not chain with any of the trust anchors
at
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:
204)
at
java.security.cert.CertPathValidator.validate(CertPathValidator.java:
267)
at
org.waveprotocol.wave.crypto.CachedCertPathValidator.validateNoCache(CachedCertPathValidator.java:
101)
... 30 more
04.01.2011 15:50:22 com.google.gson.ParameterizedTypeHandlerMap
register
WARNUNG: Overriding the existing type handler for class
com.google.wave.api.Element
04.01.2011 15:50:22 com.google.gson.ParameterizedTypeHandlerMap
register
WARNUNG: Overriding the existing type handler for class
com.google.wave.api.Element
04.01.2011 15:50:22 com.google.gson.ParameterizedTypeHandlerMap
register
WARNUNG: Overriding the existing type handler for class
com.google.wave.api.Attachment
04.01.2011 15:50:22 com.google.gson.ParameterizedTypeHandlerMap
register
WARNUNG: Overriding the existing type handler for class
com.google.wave.api.Attachment
04.01.2011 15:50:22
org.waveprotocol.wave.federation.xmpp.XmppFederationTransport
startFederation
WARNUNG: couldn't connect to XMPP server:
org.xmpp.component.ComponentException: java.net.UnknownHostException: $
{xmpp_server_domain}
at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:
258)
at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:
211)
at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:
191)
at
org.waveprotocol.wave.federation.xmpp.ComponentPacketTransport.run(ComponentPacketTransport.java:
92)
at
org.waveprotocol.wave.federation.xmpp.XmppFederationTransport.startFederation(XmppFederationTransport.java:
43)
at org.waveprotocol.box.server.ServerMain.run(ServerMain.java:158)
at org.waveprotocol.box.server.ServerMain.main(ServerMain.java:76)
Caused by: java.net.UnknownHostException: ${xmpp_server_domain}
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:
158)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:546)
at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:
146)
... 6 more
04.01.2011 15:50:22 org.waveprotocol.box.server.ServerMain run
INFO: Starting server
2011-01-04 15:50:22.573:INFO::jetty-0.3
2011-01-04
15:50:22.798:INFO:org.eclipse.jetty.servlets.org.eclipse.jetty.servlets.ProxyServlet
$Transparent-23511000:org.eclipse.jetty.servlets.ProxyServlet
$Transparent-23511000 @ /gadgets to http://gmodules.com:80/gadgets
2011-01-04 15:50:22.849:INFO::Started
[email protected]:9898
On 4 Jan., 14:23, Soren Lassen <[email protected]> wrote:
> Sorry, that was a regression I introduced today. Thanks for reporting
> this. Fixed now in revision 4dd4c44681.
>
> On Tue, Jan 4, 2011 at 2:09 PM, jowi <[email protected]> wrote:
> > [...]
>
> > But now I have the following problem when starting the server:
>
> > d...@dave:~/testlab/wave$ ./run-server.sh
> > 04.01.2011 13:45:14
> > org.waveprotocol.box.server.persistence.mongodb.MongoDbProvider start
> > INFO: Started MongoDb persistence
> > Exception in thread "main" com.google.inject.CreationException: Guice
> > creation errors:
>
> > 1) No implementation for
> > org.waveprotocol.box.server.waveserver.WaveletStore<?> was bound.
> > while locating org.waveprotocol.box.server.waveserver.WaveletStore<?
>
> > for parameter 0 at
> > org.waveprotocol.box.server.waveserver.WaveMap.<init>(WaveMap.java:
> > 174)
> > at
> > org.waveprotocol.box.server.waveserver.WaveServerModule.configure(WaveServerModule.java:
> > 97)
>
> > 1 error
> > at
> > com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:
> > 385)
> > at
> > com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:
> > 164)
> > at
> > com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:
> > 116)
> > at
> > com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:
> > 186)
> > at
> > com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:
> > 193)
> > at org.waveprotocol.box.server.ServerMain.run(ServerMain.java:106)
> > at org.waveprotocol.box.server.ServerMain.main(ServerMain.java:76)
> > d...@dave:~/testlab/wave$
>
> > Any ideas, what's going on here?
>
> > On 4 Jan., 11:49, James Purser <[email protected]> wrote:
> >> The next thing I can suggest is replacing Sun Java with the OpenJDK. There
> >> have been issues between the two before.
>
> >> James
>
> >> On Tue, Jan 4, 2011 at 9:46 PM, jowi <[email protected]> wrote:
> >> > Hi James
>
> >> > thanks for your quick answer.
> >> > Unfortunately "ant clean" does not help...
> >> > I have downloaded the last revision, excuted "ant clean" and than
> >> > "ant".
> >> > The result was the same as described above. The same error occurs
> >> > again in the "CertpathTest" as described above.
>
> >> > Any other suggestions to solve the problem?
>
> >> > Johannes
>
> >> > On 4 Jan., 00:44, James Purser <[email protected]> wrote:
> >> > > Just out of curiosity did you run ant clean before you built the newer
> >> > > version?
>
> >> > > Also try doing an update now, I'm building and it seems to be working
> >> > fine.
>
> >> > > James
>
> >> > > On Tue, Jan 4, 2011 at 3:38 AM, jowi <[email protected]> wrote:
> >> > > > Hello everybody
>
> >> > > > I have tried to update my test-pcs with the newest WiaB revision (Rev
> >> > > > 003d6997df from 29.12.2010). Unfortunately execution of "ant" yields
> >> > > > a
> >> > > > "BUILD FAILED". The reason seems to be an error in a "CertpathTest".
>
> >> > > > Therefore I tried to compile older revisions.
>
> >> > > > It turned out, that the last revision which I can compile
> >> > > > successfully
> >> > > > is revision "82c0fdac92" from 21.11.2010 (Author: Lennard de Rijk).
>
> >> > > > Trying revision "a0bb2b9998" from 21.11.2010 (Author: Alex North) the
> >> > > > same error ("CertpathTest") occurs
>
> >> > > > Looking in the index.html file in /test_out shows an error in:
>
> >> > > > testname:
> >> > > > testValidator_canGrokCriticalExtension
>
> >> > > > type:
> >> > > > Certificate validation failure
> >> > > > org.waveprotocol.wave.crypto.SignatureException: Certificate
> >> > > > validation failure
> >> > > > at
>
> >> > org.waveprotocol.wave.crypto.CachedCertPathValidator.validateNoCache(CachedCertPathValidator.java:
> >> > > > 103)
> >> > > > at
>
> >> > org.waveprotocol.wave.crypto.CachedCertPathValidator.validate(CachedCertPathValidator.java:
> >> > > > 65)
> >> > > > at
>
> >> > org.waveprotocol.wave.crypto.CertpathTest.testValidator_canGrokCriticalExtension(CertpathTest.java:
> >> > > > 96)
> >> > > > Caused by: java.security.cert.CertPathValidatorException: Path does
> >> > > > not chain with any of the trust anchors
> >> > > > at
>
> >> > sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:
> >> > > > 195)
> >> > > > at
> >> > > > java.security.cert.CertPathValidator.validate(CertPathValidator.java:
> >> > > > 250)
> >> > > > at
>
> >> > org.waveprotocol.wave.crypto.CachedCertPathValidator.validateNoCache(CachedCertPathValidator.java:
> >> > > > 101)
>
> >> > > > The screen output from revision "a0bb2b9998" is shown below.
>
> >> > > > So, how can I solve the problem?
> >> > > > (I use Ubuntu 10.04 and Sun java 1.6.0_22)
>
> >> > > > Regards
>
> >> > > > Johannes
>
> >> > > > ------------- Revision a0bb2b9998 --------------
>
> >> > > > d...@dave:~/testlab/Rev_a0bb2b9998$ ant
> >> > > > Buildfile: build.xml
>
> >> > > > init:
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/build/src
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/build/test
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/build/
> >> > > > coverage
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/dist
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/build/
> >> > > > staging
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/build/dep
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/test_out
>
> >> > > > proto_src_dep:
>
> >> > > > proto_compile:
> >> > > > [javac] Compiling 6 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
> >> > > > [touch] Creating /home/dave/testlab/Rev_a0bb2b9998/build/dep/
> >> > > > proto_compile
>
> >> > > > gen_gxp_dep:
>
> >> > > > gen_gxp:
> >> > > > [touch] Creating /home/dave/testlab/Rev_a0bb2b9998/build/dep/
> >> > > > gen_gxp
>
> >> > > > compile_dep:
>
> >> > > > compile:
> >> > > > [taskdef] Could not load definitions from resource
> >> > > > emma_ant.properties. It could not be found.
>
> >> > > > init:
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/build/proto
>
> >> > > > build_proto:
> >> > > > [javac] Compiling 6 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/proto
>
> >> > > > compile:
>
> >> > > > compile:
> >> > > > [javac] Compiling 2 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 17 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 555 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
> >> > > > [javac] Note: Some input files use or override a deprecated API.
> >> > > > [javac] Note: Recompile with -Xlint:deprecation for details.
> >> > > > [javac] Note: Some input files use unchecked or unsafe operations.
> >> > > > [javac] Note: Recompile with -Xlint:unchecked for details.
>
> >> > > > compile:
> >> > > > [javac] Compiling 21 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
> >> > > > [javac] Note: Some input files use or override a deprecated API.
> >> > > > [javac] Note: Recompile with -Xlint:deprecation for details.
> >> > > > [javac] Note: /home/dave/testlab/Rev_a0bb2b9998/src/org/
> >> > > > waveprotocol/wave/client/common/util/IdentityHashQueue.java uses
> >> > > > unchecked or unsafe operations.
> >> > > > [javac] Note: Recompile with -Xlint:unchecked for details.
>
> >> > > > compile:
> >> > > > [javac] Compiling 14 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 5 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 17 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 23 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 18 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 16 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 6 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 118 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 1 source file to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
>
> >> > > > compile:
> >> > > > [javac] Compiling 1 source file to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
> >> > > > [javac] Compiling 253 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/src
> >> > > > [javac] Note: Some input files use or override a deprecated API.
> >> > > > [javac] Note: Recompile with -Xlint:deprecation for details.
> >> > > > [copy] Copying 145 files to /home/dave/testlab/Rev_a0bb2b9998/
> >> > > > build/src
> >> > > > [touch] Creating /home/dave/testlab/Rev_a0bb2b9998/build/dep/
> >> > > > compile
>
> >> > > > compile_tests:
> >> > > > [javac] Compiling 384 source files to /home/dave/testlab/
> >> > > > Rev_a0bb2b9998/build/test
> >> > > > [javac] Note: Some input files use or override a deprecated API.
> >> > > > [javac] Note: Recompile with -Xlint:deprecation for details.
> >> > > > [javac] Note: Some input files use unchecked or unsafe operations.
> >> > > > [javac] Note: Recompile with -Xlint:unchecked for details.
> >> > > > [copy] Copying 26 files to /home/dave/testlab/Rev_a0bb2b9998/
> >> > > > build/test
>
> >> > > > test:
> >> > > > [delete] Deleting directory /home/dave/testlab/Rev_a0bb2b9998/
> >> > > > test_out
> >> > > > [mkdir] Created dir: /home/dave/testlab/Rev_a0bb2b9998/test_out
> >> > > > [instr] processing instrumentation path ...
> >> > > > [instr]
>
> ...
>
> Erfahren Sie mehr »
--
You received this message because you are subscribed to the Google Groups "Wave
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/wave-protocol?hl=en.