Hide Forgot
Description of problem: A number of jars are missing from the gadget-web.war: closure-compiler-r1741.jar commons-codec-1.4.jar commons-io-2.1.jar ehcache-core-2.5.0.jar guava-10.0.1.jar guice-3.0.jar httpclient-4.2.1.jar httpcore-4.2.1.jar javax.inject-1.jar jaxrs-api-2.3.6.Final.jar joda-time-1.6.2.jar jsr250-api-1.0.jar nekohtml-1.9.15.jar protobuf-java-2.5.0.jar servlet-api-2.5.jar slf4j-api-1.7.2.jar xstream-1.4.3.jar and the following are additional jars that appear to have been included, but should not be necessary: gwtp-build-tools-0.7-redhat-1.jar jboss-annotations-api_1.1_spec-1.0.1.Final-redhat-2.jar jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar jcl-over-slf4j-1.7.2-redhat-1.jar xml-resolver-1.2-redhat-3.jar
Fixed by 2de077227fdb18183f7927ec3b51fbfe45a41aa3 in gadget-server distgit.
The version of guava in the latest installer is guava-13.0.1-redhat-1.jar however this is not compatible with the version of shindig being used. I replaced it with guava-10.0.1.jar from ER6 and was able to start it cleanly. The incompatibility relates to the changed visibility of some methods, leading to the following exception being seen on the console. Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.expireAfterWrite(JLjava/util/concurrent/TimeUnit;)Lcom/google/common/collect/MapMaker; from class org.apache.shindig.gadgets.render.DefaultRpcServiceLookup at org.apache.shindig.gadgets.render.DefaultRpcServiceLookup.<init>(DefaultRpcServiceLookup.java:57) at org.apache.shindig.gadgets.render.DefaultRpcServiceLookup$$FastClassByGuice$$3d2cc576.newInstance(<generated>)
gadget-server patches updated with commit 3bd0ccde1726220bb73d8a92d66428238af2486d: Revert "BZ1038232 Remove old workaround patch as no longer required" This reverts commit 2de077227fdb18183f7927ec3b51fbfe45a41aa3. We need the workaround again, as the problem causing the original revert is in the BPMS modules.
Gadget server patches updated : fcb8a551a873563ed0a677f707b32d1f5804b864
Hi, all the libs are present in ER7.