Bug 1178782 - Warnings when importing helloworld-mbean quickstart into JBDS
Summary: Warnings when importing helloworld-mbean quickstart into JBDS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Quickstarts
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER2
: EAP 6.4.0
Assignee: jboss-set
QA Contact: Nikoleta Hlavickova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-05 13:25 UTC by Nikoleta Hlavickova
Modified: 2019-08-19 12:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:43:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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