Bug 1038232 - Missing jars from gadget-web war
Summary: Missing jars from gadget-web war
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: RT Governance
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER7
: 6.0.0
Assignee: Nick Cross
QA Contact: Andrej Vano
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 16:44 UTC by Gary Brown
Modified: 2014-02-06 15:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Gary Brown 2013-12-04 16:44:05 UTC
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

Comment 1 Nick Cross 2013-12-05 09:57:35 UTC
Fixed by 2de077227fdb18183f7927ec3b51fbfe45a41aa3 in gadget-server distgit.

Comment 2 kconner 2013-12-06 01:35:16 UTC
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>)

Comment 3 Julian Coleman 2013-12-08 17:20:22 UTC
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.

Comment 4 Nick Cross 2013-12-09 13:11:08 UTC
Gadget server patches updated : fcb8a551a873563ed0a677f707b32d1f5804b864

Comment 5 Andrej Vano 2013-12-13 07:51:54 UTC
Hi,

all the libs are present in ER7.


Note You need to log in before you can comment on or make changes to this bug.