latos / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

Unable to start WIAB in a VPS with Root Access. Same build runs in OSX Snowleopard #243

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build copy of WIAB
2. Attempt to Run ./run-server.sh

What is the expected output? What do you see instead?
I expect to see the server running output.
Instead I see:
$ ./run-server.sh
Exception in thread "main" com.google.inject.internal.ComputationException: 
java.lang.NoClassDefFoundError: 
com.google.inject.internal.cglib.core.DebuggingClassWriter$1
   at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553)
   at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419)
   at com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
   at com.google.inject.internal.FailableCache.get(FailableCache.java:46)
   at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:48)
   at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:121)
   at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:443)
   at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:698)
   at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:630)
   at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:223)
   at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:174)
   at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:704)
   at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:814)
   at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:847)
   at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:808)
   at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:860)
   at org.waveprotocol.box.server.ServerMain.buildFederationModule(ServerMain.java:130)
   at org.waveprotocol.box.server.ServerMain.run(ServerMain.java:105)
   at org.waveprotocol.box.server.ServerMain.main(ServerMain.java:81)
Caused by: java.lang.NoClassDefFoundError: 
com.google.inject.internal.cglib.core.DebuggingClassWriter$1
   at java.lang.Class.initializeClass(libgcj.so.90)
   at com.google.inject.internal.cglib.core.DebuggingClassWriter.toByteArray(DebuggingClassWriter.java:71)
   at com.google.inject.internal.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:26)
   at com.google.inject.internal.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
   at com.google.inject.internal.cglib.core.KeyFactory$Generator.create(KeyFactory.java:144)
   at com.google.inject.internal.cglib.core.KeyFactory.create(KeyFactory.java:116)
   at com.google.inject.internal.cglib.core.KeyFactory.create(KeyFactory.java:108)
   at com.google.inject.internal.cglib.core.KeyFactory.create(KeyFactory.java:104)
   at com.google.inject.internal.cglib.core.MethodWrapper.<clinit>(MethodWrapper.java:22)
   at java.lang.Class.initializeClass(libgcj.so.90)
   at com.google.inject.internal.cglib.core.DuplicatesPredicate.evaluate(DuplicatesPredicate.java:25)
   at com.google.inject.internal.cglib.core.CollectionUtils.filter(CollectionUtils.java:52)
   at com.google.inject.internal.cglib.reflect.FastClassEmitter.<init>(FastClassEmitter.java:69)
   at com.google.inject.internal.cglib.reflect.FastClass$Generator.generateClass(FastClass.java:72)
   at com.google.inject.internal.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
   at com.google.inject.internal.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
   at com.google.inject.internal.cglib.reflect.FastClass$Generator.create(FastClass.java:64)
   at com.google.inject.internal.BytecodeGen.newFastClass(BytecodeGen.java:169)
   at com.google.inject.internal.DefaultConstructionProxyFactory.create(DefaultConstructionProxyFactory.java:52)
   at com.google.inject.internal.ProxyFactory.create(ProxyFactory.java:149)
   at com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:75)
   at com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:27)
   at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:35)
   at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
   at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35)
   at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549)
   ...18 more
Caused by: java.lang.ClassNotFoundException: 
com.google.inject.internal.asm.util.TraceClassVisitor not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:dist/waveinabox-server-0.3.jar], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at java.lang.Class.forName(libgcj.so.90)
   at java.lang.Class.initializeClass(libgcj.so.90)
   ...43 more

What changeset or version are you using? On what operating system?
Debian Linux on a Dreamhost PS

Please provide any additional information below.
I've uploaded my full working setup from my Mac and can run the server from my 
mac. Unfortunately, cannot run the server from the VPS

Original issue reported on code.google.com by Frenks...@gmail.com on 17 Mar 2011 at 12:41

GoogleCodeExporter commented 8 years ago
Resolved.

Issue was the use of Java 1.5.0 on the VPS. Once upgrade to 1.6 the server runs 
like a charm.

Also Dreamhost has some really nice VPSs for anyone that would like to try and 
deploy a WIAB for very little per month.

Original comment by Frenks...@gmail.com on 17 Mar 2011 at 4:18

GoogleCodeExporter commented 8 years ago

Original comment by vega113 on 19 Mar 2011 at 10:36