ok, I replaced Sun Java by OpenJDK.
Now, "ant" is successful (BUILD successful). Many thanks for the hint!

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] instrumentation path processed in 2846 ms
> > > >    [instr] [2898 class(es) instrumented, 0 resource(s) copied]
> > > >    [instr] metadata merged into [/home/dave/testlab/Rev_a0bb2b9998/
> > > > build/coverage/metadata.emma] {in 251 ms}
> > > >    [junit] WARNING: multiple versions of ant detected in path for
> > > > junit
> > > >    [junit]          jar:file:/usr/share/ant/lib/ant.jar!/org/apache/
> > > > tools/ant/Project.class
> > > >    [junit]      and jar:file:/home/dave/testlab/Rev_a0bb2b9998/
> > > > third_party/codegen/gwt/gwt-dev.jar!/org/apache/tools/ant/
> > > > Project.class
> > > >    [junit] Running com.google.wave.api.data.ApiViewTest
> > > >    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 1,088
> > > > sec
> > > >    [junit] Running com.google.wave.api.data.DocumentHitIteratorTest
> > > >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,161
> > > > sec
> > > >    [junit] Running com.google.wave.api.data.ElementSerializerTest
> > > >    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0,196
> > > > sec
> > > >    [junit] Running
> > > > com.google.wave.api.data.converter.ContextResolverTest
> > > >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,295
> > > > sec
> > > >    [junit] Running
> > > > com.google.wave.api.data.converter.v21.EventDataConverterV21Test
> > > >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0,096
> > > > sec
> > > >    [junit] Running
> > > > com.google.wave.api.data.converter.v22.EventDataConverterV22Test
>
> > > >    ...    (not shown)
>
> > > >    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0,051
> > > > sec
> > > >    [junit] Running
> > > > org.waveprotocol.wave.crypto.CachedCertPathValidatorTest
> > > >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1,092
> > > > sec
> > > >    [junit] Running org.waveprotocol.wave.crypto.CertpathTest
> > > >    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0,071
> > > > sec
> > > >    [junit] TEST org.waveprotocol.wave.crypto.CertpathTest FAILED
> > > >    [junit] Running org.waveprotocol.wave.crypto.SignerInfoTest
> > > >    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0,039
> > > > sec
> > > >    [junit] Running
> > > > org.waveprotocol.wave.crypto.WaveSignatureVerifierTest
> > > >    [junit] Tests run: 6, Failures: 0, Errors: 0, Time
>
> ...
>
> 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.

Reply via email to