[jira] [Created] (CXF-6799) java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable

2016-02-25 Thread Chris Dolphy (JIRA)
Chris Dolphy created CXF-6799:
-

 Summary: java.lang.ClassCastException: 
sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to 
java.lang.reflect.TypeVariable
 Key: CXF-6799
 URL: https://issues.apache.org/jira/browse/CXF-6799
 Project: CXF
  Issue Type: Bug
  Components: JAXB Databinding
Affects Versions: 2.7.17
 Environment: EAP 6.4.5;  jdk1.7.0_75
Reporter: Chris Dolphy


Deploying test web service gives on JBoss startup:
Caused by: java.lang.ClassCastException: 
sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to 
java.lang.reflect.TypeVariable
at 
org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:251)

Generated web service class has the following element which has issues with the 
JAXB binding:

@XmlElementRefs({
@XmlElementRef(name = "Salutation", namespace = 
"http://ws.gss.redhat.com/";, type = JAXBElement.
@XmlElementRef(name = "Name", namespace = "http://ws.gss.redhat.com/";, 
type = JAXBElement.class)
})
protected JAXBElement [] salutationAndName;


Web service was generated from WSDL with  and the  following schema:

  
  
  
  
  
  





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-6799) java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable

2016-02-25 Thread Chris Dolphy (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168342#comment-15168342
 ] 

Chris Dolphy commented on CXF-6799:
---

This may be the same as CXF-5994, but I don't have the WSDL mentioned to verify.

> java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast 
> to java.lang.reflect.TypeVariable
> ---
>
> Key: CXF-6799
> URL: https://issues.apache.org/jira/browse/CXF-6799
> Project: CXF
>  Issue Type: Bug
>  Components: JAXB Databinding
>Affects Versions: 2.7.17
> Environment: EAP 6.4.5;  jdk1.7.0_75
>Reporter: Chris Dolphy
>
> Deploying test web service gives on JBoss startup:
> Caused by: java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast 
> to java.lang.reflect.TypeVariable
>   at 
> org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:251)
> Generated web service class has the following element which has issues with 
> the JAXB binding:
> @XmlElementRefs({
> @XmlElementRef(name = "Salutation", namespace = 
> "http://ws.gss.redhat.com/";, type = JAXBElement.
> @XmlElementRef(name = "Name", namespace = 
> "http://ws.gss.redhat.com/";, type = JAXBElement.class)
> })
> protected JAXBElement [] salutationAndName;
> Web service was generated from WSDL with  collectionType="indexed" /> and the  following schema:
>   
>   
>   
>   
>   
>   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CXF-6800) add http-undertow transport

2016-02-25 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang updated CXF-6800:
--
Fix Version/s: 3.2.0

> add http-undertow transport
> ---
>
> Key: CXF-6800
> URL: https://issues.apache.org/jira/browse/CXF-6800
> Project: CXF
>  Issue Type: New Feature
>Reporter: Freeman Fang
>Assignee: Freeman Fang
> Fix For: 3.2.0
>
>
> As in Apache Camel there's already a camel-undertow component and in the 
> upcoming Karaf 4.1(which will use OPS4J PAX-WEB 6), there's also an undertow 
> http-osgi service implementation, so I think it should be good in CXF we also 
> has a http-undertow(the counterpart of current http-jetty) transport so that 
> end user has more option to chose the http transport they wanna use



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (CXF-6800) add http-undertow transport

2016-02-25 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang reassigned CXF-6800:
-

Assignee: Freeman Fang

> add http-undertow transport
> ---
>
> Key: CXF-6800
> URL: https://issues.apache.org/jira/browse/CXF-6800
> Project: CXF
>  Issue Type: New Feature
>Reporter: Freeman Fang
>Assignee: Freeman Fang
> Fix For: 3.2.0
>
>
> As in Apache Camel there's already a camel-undertow component and in the 
> upcoming Karaf 4.1(which will use OPS4J PAX-WEB 6), there's also an undertow 
> http-osgi service implementation, so I think it should be good in CXF we also 
> has a http-undertow(the counterpart of current http-jetty) transport so that 
> end user has more option to chose the http transport they wanna use



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CXF-6800) add http-undertow transport

2016-02-25 Thread Freeman Fang (JIRA)
Freeman Fang created CXF-6800:
-

 Summary: add http-undertow transport
 Key: CXF-6800
 URL: https://issues.apache.org/jira/browse/CXF-6800
 Project: CXF
  Issue Type: New Feature
Reporter: Freeman Fang


As in Apache Camel there's already a camel-undertow component and in the 
upcoming Karaf 4.1(which will use OPS4J PAX-WEB 6), there's also an undertow 
http-osgi service implementation, so I think it should be good in CXF we also 
has a http-undertow(the counterpart of current http-jetty) transport so that 
end user has more option to chose the http transport they wanna use



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CXF-6799) java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable

2016-02-25 Thread Chris Dolphy (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Dolphy updated CXF-6799:
--
Attachment: array-of-parameterizedtype-reproducer.zip

reproducer

> java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast 
> to java.lang.reflect.TypeVariable
> ---
>
> Key: CXF-6799
> URL: https://issues.apache.org/jira/browse/CXF-6799
> Project: CXF
>  Issue Type: Bug
>  Components: JAXB Databinding
>Affects Versions: 2.7.17
> Environment: EAP 6.4.5;  jdk1.7.0_75
>Reporter: Chris Dolphy
> Attachments: array-of-parameterizedtype-reproducer.zip
>
>
> Deploying test web service gives on JBoss startup:
> Caused by: java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast 
> to java.lang.reflect.TypeVariable
>   at 
> org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:251)
> Generated web service class has the following element which has issues with 
> the JAXB binding:
> @XmlElementRefs({
> @XmlElementRef(name = "Salutation", namespace = 
> "http://ws.gss.redhat.com/";, type = JAXBElement.
> @XmlElementRef(name = "Name", namespace = 
> "http://ws.gss.redhat.com/";, type = JAXBElement.class)
> })
> protected JAXBElement [] salutationAndName;
> Web service was generated from WSDL with  collectionType="indexed" /> and the  following schema:
>   
>   
>   
>   
>   
>   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (CXF-6801) build CXF which java9

2016-02-25 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang reassigned CXF-6801:
-

Assignee: Freeman Fang

> build CXF which java9
> -
>
> Key: CXF-6801
> URL: https://issues.apache.org/jira/browse/CXF-6801
> Project: CXF
>  Issue Type: Task
>Reporter: Freeman Fang
>Assignee: Freeman Fang
>
> As Java9 ea is out for a while so I think it should be good we investigate to 
> build CXF with Java9.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CXF-6801) build CXF which java9

2016-02-25 Thread Freeman Fang (JIRA)
Freeman Fang created CXF-6801:
-

 Summary: build CXF which java9
 Key: CXF-6801
 URL: https://issues.apache.org/jira/browse/CXF-6801
 Project: CXF
  Issue Type: Task
Reporter: Freeman Fang


As Java9 ea is out for a while so I think it should be good we investigate to 
build CXF with Java9.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CXF-6800) add http-undertow transport

2016-02-25 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang updated CXF-6800:
--
Attachment: CXF-6800.patch

> add http-undertow transport
> ---
>
> Key: CXF-6800
> URL: https://issues.apache.org/jira/browse/CXF-6800
> Project: CXF
>  Issue Type: New Feature
>Reporter: Freeman Fang
>Assignee: Freeman Fang
> Fix For: 3.2.0
>
> Attachments: CXF-6800.patch
>
>
> As in Apache Camel there's already a camel-undertow component and in the 
> upcoming Karaf 4.1(which will use OPS4J PAX-WEB 6), there's also an undertow 
> http-osgi service implementation, so I think it should be good in CXF we also 
> has a http-undertow(the counterpart of current http-jetty) transport so that 
> end user has more option to chose the http transport they wanna use



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-6799) java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable

2016-02-25 Thread Chris Dolphy (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168424#comment-15168424
 ] 

Chris Dolphy commented on CXF-6799:
---

https://github.com/apache/cxf/pull/114

> java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast 
> to java.lang.reflect.TypeVariable
> ---
>
> Key: CXF-6799
> URL: https://issues.apache.org/jira/browse/CXF-6799
> Project: CXF
>  Issue Type: Bug
>  Components: JAXB Databinding
>Affects Versions: 2.7.17
> Environment: EAP 6.4.5;  jdk1.7.0_75
>Reporter: Chris Dolphy
> Attachments: array-of-parameterizedtype-reproducer.zip
>
>
> Deploying test web service gives on JBoss startup:
> Caused by: java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast 
> to java.lang.reflect.TypeVariable
>   at 
> org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:251)
> Generated web service class has the following element which has issues with 
> the JAXB binding:
> @XmlElementRefs({
> @XmlElementRef(name = "Salutation", namespace = 
> "http://ws.gss.redhat.com/";, type = JAXBElement.
> @XmlElementRef(name = "Name", namespace = 
> "http://ws.gss.redhat.com/";, type = JAXBElement.class)
> })
> protected JAXBElement [] salutationAndName;
> Web service was generated from WSDL with  collectionType="indexed" /> and the  following schema:
>   
>   
>   
>   
>   
>   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CXF-6800) add http-undertow transport

2016-02-25 Thread Freeman Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CXF-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang updated CXF-6800:
--
Attachment: camel-cxf-undertow.patch

camel-cxf-undertow.patch is the work to verify the camel-cxf tests can run with 
http-undertow transport also. 

> add http-undertow transport
> ---
>
> Key: CXF-6800
> URL: https://issues.apache.org/jira/browse/CXF-6800
> Project: CXF
>  Issue Type: New Feature
>Reporter: Freeman Fang
>Assignee: Freeman Fang
> Fix For: 3.2.0
>
> Attachments: CXF-6800.patch, camel-cxf-undertow.patch
>
>
> As in Apache Camel there's already a camel-undertow component and in the 
> upcoming Karaf 4.1(which will use OPS4J PAX-WEB 6), there's also an undertow 
> http-osgi service implementation, so I think it should be good in CXF we also 
> has a http-undertow(the counterpart of current http-jetty) transport so that 
> end user has more option to chose the http transport they wanna use



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)