Bug 1178782

Summary: Warnings when importing helloworld-mbean quickstart into JBDS
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Nikoleta Hlavickova <nziakova>
Component: QuickstartsAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bsutter, david.lloyd, fbricon, jkudrnac, manderse
Target Milestone: ER2   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:43:43 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:

Description Nikoleta Hlavickova 2015-01-05 13:25:13 UTC
Missing beans.xml file in the project jboss-helloworld-mbean-service. This file is required for bean archives [JSR-299 ยง12.1]
jboss-helloworld-mbean-service		line 0
CDI Problem

No grammar constraints (DTD or XML Schema) referenced in the document.
jboss-service.xml	/jboss-helloworld-mbean-service/src/main/resources/META-INF	line 1
XML Problem

No grammar constraints (DTD or XML Schema) referenced in the document.
jboss-service.xml	/jboss-helloworld-mbean-webapp/src/main/webapp/META-INF	line 1	
XML Problem

The import java.util.concurrent.atomic.AtomicInteger is never used
AnnotatedComponentHelloWorld.java	/jboss-helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean	line 19
Java Problem

The import java.util.concurrent.atomic.AtomicInteger is never used
MXComponentHelloWorld.java	/jboss-helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean	line 19
Java Problem

Comment 6 sgilda 2015-01-16 22:20:58 UTC
Talked to David and he confirmed this is a schema problem. Created the following bugs:

https://issues.jboss.org/browse/WFLY-4260
https://bugzilla.redhat.com/show_bug.cgi?id=1183165

Comment 7 sgilda 2015-01-20 14:56:05 UTC
Since the schema is not valid, if we add the schemalocation to the file, we get errors instead of warnings. Warnings are preferable, so I added a note to the JBDS instructions explaining the "Grammar constraint" warnings.

Fixed in this commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/5c8e6429e878e006b17588158c8b5208c1205b38

Comment 8 Nikoleta Hlavickova 2015-02-11 11:38:19 UTC
Verified with EAP 6.4.0.ER2.