Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 953096

Summary: Gadget Server JSON Startup Issue
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Nick Cross <ncross>
Component: RT GovernanceAssignee: Gary Brown <gbrown>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Vecera <mvecera>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, kconner, ldimaggi, rzhang, soa-p-jira
Target Milestone: DR3   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:27:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Subset of log containing error. none

Description Nick Cross 2013-04-17 11:18:53 UTC
Created attachment 736795 [details]
Subset of log containing error.

Description of problem:

There are two json jars in gadget-server.war:
./standalone/deployments/gadget-server.war/WEB-INF/lib/json-20070829.jar
./standalone/deployments/gadget-server.war/WEB-INF/lib/json-simple-1.1.jar
./standalone/deployments/gadget-server.war/WEB-INF/lib/json-20090211.jar

Occasionally we have seen startup errors. We can more easily reproduce it if we remove the 20070829 jar. By removing the 20090211 jar we do not see the error any more. 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ryan Zhang 2013-04-17 11:32:52 UTC
Please notice that there are also duplicate jars in gadget-server.war:


[rzhang@/workspace/ip/product/soa/target/jboss-eap-6.1/standalone/deployments/gadget-server.war/WEB-INF/lib]$ls -l commons-codec-* httpcore* joda-time-* nekohtml-* slf4j-api* xercesImp*
-rw-r--r-- 1 rzhang rzhang   58160 Apr 17 18:19 commons-codec-1.4.jar
-rw-r--r-- 1 rzhang rzhang   73098 Apr 17 18:19 commons-codec-1.5.jar
-rw-r--r-- 1 rzhang rzhang  181200 Apr 17 18:19 httpcore-4.1.2.jar
-rw-r--r-- 1 rzhang rzhang  181410 Apr 17 18:19 httpcore-4.1.4.jar
-rw-r--r-- 1 rzhang rzhang  543044 Apr 17 18:19 joda-time-1.6.2.jar
-rw-r--r-- 1 rzhang rzhang  569231 Apr 17 18:19 joda-time-2.0.jar
-rw-r--r-- 1 rzhang rzhang  124361 Apr 17 18:19 nekohtml-1.9.14.jar
-rw-r--r-- 1 rzhang rzhang  149271 Apr 17 18:19 nekohtml-1.9.15.jar
-rw-r--r-- 1 rzhang rzhang   23671 Apr 17 18:19 slf4j-api-1.5.11.jar
-rw-r--r-- 1 rzhang rzhang   25496 Apr 17 18:19 slf4j-api-1.6.1.jar
-rw-r--r-- 1 rzhang rzhang 1229125 Apr 17 18:19 xercesImpl-2.9.1.jar
-rw-r--r-- 1 rzhang rzhang 1715759 Apr 17 18:19 xercesImpl-2.9.1-jbossas-1.jar

They should probably need to fix too.

Comment 2 Jeff Yu 2013-04-17 14:26:50 UTC
Hi Ryan,

Yes, I found this issue as well. And I've fixed it in as  https://issues.jboss.org/browse/GADGETS-52 .

Regards
Jeff

Comment 3 Jeff Yu 2013-04-17 14:42:13 UTC
Hi Ryan,

It should be: https://issues.jboss.org/browse/GADGETS-53

Regards
Jeff

Comment 4 JBoss JIRA Server 2013-04-17 15:21:06 UTC
Jeff Yu <cyu> updated the status of jira GADGETS-55 to Resolved

Comment 5 Ryan Zhang 2013-04-18 03:25:24 UTC
Got it, Thanks Jeff!
And if the duplicate "json-*"  is also resolved, then please set this issue to Modified.

Comment 6 Nick Cross 2013-04-24 14:11:43 UTC
Rebuilding shows duplicate json jar issue is resolved.

Comment 8 JBoss JIRA Server 2013-06-07 15:50:47 UTC
Gary Brown <gary> updated the status of jira GADGETS-55 to Closed