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

Bug 1178887

Summary: Errors and warnings when importing wsat-simple 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: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bsutter, jkudrnac
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:45:48 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:
Bug Depends On: 1178925    
Bug Blocks:    

Description Nikoleta Hlavickova 2015-01-05 15:25:17 UTC
Errors:
cvc-elt.1: Cannot find the declaration of element 'handler-chains'.
context-handlers.xml	/jboss-wsat-simple/src/main/webapp/WEB-INF/classes	line 20
XML Problem

cvc-elt.1: Cannot find the declaration of element 'handler-chains'.
context-handlers.xml	/jboss-wsat-simple/src/test/resources	line 20
XML Problem

Warnings:
The serializable class RestaurantException does not declare a static final serialVersionUID field of type long
RestaurantException.java	/jboss-wsat-simple/src/main/java/org/jboss/as/quickstarts/wsat/simple	line 22
Java Problem

The import org.jboss.as.quickstarts.wsat.simple.jaxws.RestaurantServiceATService is never used
ClientTest.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 26	
Java Problem

The import javax.xml.ws.WebServiceRef is never used
ClientTest.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 38
Java Problem

The import javax.xml.ws.handler.Handler is never used
ClientTest.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 39
Java Problem

The import javax.xml.ws.BindingProvider is never used
ClientTest.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 37
Java Problem

The import java.util.List is never used
ClientTest.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 41
Java Problem

The import java.util.ArrayList is never used
ClientTest.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 40
Java Problem

The import com.arjuna.mw.wst11.client.JaxWSHeaderContextProcessor is never used
ClientTest.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 22
Java Problem

SchemaLocation: schemaLocation value = 'http://java.sun.com/xml/ns/javaee' must have even number of URI's.
context-handlers.xml	/jboss-wsat-simple/src/main/webapp/WEB-INF/classes	line 20
XML Problem

SchemaLocation: schemaLocation value = 'http://java.sun.com/xml/ns/javaee' must have even number of URI's.
context-handlers.xml	/jboss-wsat-simple/src/test/resources	line 20
XML Problem

Qualifier annotation type must be annotated with @Target({TYPE, METHOD, FIELD, PARAMETER}) or @Target({FIELD, PARAMETER}) [JSR-299 §2.3.2, §10.1]
ClientStub.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 38
CDI Problem

No grammar constraints (DTD or XML Schema) referenced in the document.
jboss-web.xml	/jboss-wsat-simple/src/main/webapp/WEB-INF	line 1
XML Problem

Missing beans.xml file in the project jboss-wsat-simple. This file is required for bean archives [JSR-299 §12.1]
CDI Problem

Handler is a raw type. References to generic type Handler<C> should be parameterized
Client.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 62
Java Problem

Handler is a raw type. References to generic type Handler<C> should be parameterized
Client.java	/jboss-wsat-simple/src/test/java/org/jboss/as/quickstarts/wsat/simple	line 62
Java Problem

Handler is a raw type. References to generic type Handler<C> should be parameterized
WSATSimpleServletClient.java	/jboss-wsat-simple/src/main/java/org/jboss/as/quickstarts/wsat/simple/servlet	line 68
Java Problem

Handler is a raw type. References to generic type Handler<C> should be parameterized
WSATSimpleServletClient.java	/jboss-wsat-simple/src/main/java/org/jboss/as/quickstarts/wsat/simple/servlet	line 68
Java Problem

Comment 1 sgilda 2015-01-05 17:10:25 UTC
There is no schema for the jboss-web.xml file, XML Problem 'No grammar constraints' is dependent on Bug 1178925.

Comment 2 sgilda 2015-01-12 21:28:05 UTC
The jboss-web schema was added here:
a803cf7b22f2f5527bc7b94d9c3e6a2b25eb365f

XML problem fixed in this pull: https://github.com/jboss-developer/jboss-eap-quickstarts/pull/1233

Comment 4 Nikoleta Hlavickova 2015-02-11 09:49:05 UTC
Verified with EAP 6.4.0.ER2.