Hi,

I would like to know if there is any known limitation where both CXF 3.0.2 and 
WLS 12.2.1 can work together, as that was not an issue with WLS 12.1.3?

Issue - Resource Interface that contain the signature of @Multipart with 
Attachment type is failed in Jersey validation.



public abstract Response applyBulkDependencies(@PathParam("fwa-id") String 
paramString1, @Multipart("dependencies") InputStream paramInputStream, 
@Multipart("dependencies") Attachment paramAttachment, 
@QueryParam("fwa-version") String paramString2, @QueryParam("sitegroup-id") 
String paramString3, @QueryParam("sitegroup-name") String paramString4, 
@QueryParam("file-name") String paramString5);



Exception

<Dec 15, 2017, 7:51:17,749 AM IST> <Error> <HTTP> <BEA-101216> <Servlet: 
"JAX-RS/Jersey#1" failed to preload on startup in Web application: 
"/fwa-extractor-ms".

org.glassfish.jersey.server.model.ModelValidationException: Validation of the 
application resource model has failed during application initialization.
[[WARNING] Parameter 1 of type java.lang.Class<?>[] from public void 
org.apache.cxf.jaxrs.provider.AbstractJAXBProvider.setExtraClass(java.lang.Class<?>[])
 is not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.AbstractJAXBProvider.setExtraClass(java.lang.Class[])',
 [WARNING] Parameter 1 of type java.lang.Class<?>[] from public void 
org.apache.cxf.jaxrs.provider.AbstractJAXBProvider.setExtraClass(java.lang.Class<?>[])
 is not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.AbstractJAXBProvider.setExtraClass(java.lang.Class[])',
 [WARNING] Parameter 1 of type java.util.Map<? extends java.lang.Enum<?>, 
java.lang.String> from public void 
org.apache.cxf.jaxrs.provider.RequestDispatcherProvider.setEnumResources(java.util.Map<?
 extends java.lang.Enum<?>, java.lang.String>) is not resolvable to a concrete 
type.; source='public void 
org.apache.cxf.jaxrs.provider.RequestDispatcherProvider.setEnumResources(java.util.Map)',
 [WARNING] Parameter 1 of type T from public void 
org.apache.cxf.jaxrs.provider.AbstractCachingMessageProvider.setObject(T) is 
not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.AbstractCachingMessageProvider.setObject(java.lang.Object)',
 [WARNING] Parameter 1 of type javax.ws.rs.ext.MessageBodyWriter<T> from public 
void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyWriter.setDelegatingWriter(javax.ws.rs.ext.MessageBodyWriter<T>)
 is not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyWriter.setDelegatingWriter(javax.ws.rs.ext.MessageBodyWriter)',
 [WARNING] Parameter 1 of type 
java.util.List<javax.ws.rs.ext.MessageBodyWriter<T>> from public void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyWriter.setDelegatingWriters(java.util.List<javax.ws.rs.ext.MessageBodyWriter<T>>)
 is not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyWriter.setDelegatingWriters(java.util.List)',
 [WARNING] Parameter 1 of type T from public void 
org.apache.cxf.jaxrs.provider.AbstractCachingMessageProvider.setObject(T) is 
not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.AbstractCachingMessageProvider.setObject(java.lang.Object)',
 [WARNING] Parameter 1 of type javax.ws.rs.ext.MessageBodyReader<T> from public 
void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyReader.setDelegatingReader(javax.ws.rs.ext.MessageBodyReader<T>)
 is not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyReader.setDelegatingReader(javax.ws.rs.ext.MessageBodyReader)',
 [WARNING] Parameter 1 of type 
java.util.List<javax.ws.rs.ext.MessageBodyReader<T>> from public void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyReader.setDelegatingReaders(java.util.List<javax.ws.rs.ext.MessageBodyReader<T>>)
 is not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.CachingMessageBodyReader.setDelegatingReaders(java.util.List)',
 [WARNING] Parameter 1 of type T from public void 
org.apache.cxf.jaxrs.provider.AbstractCachingMessageProvider.setObject(T) is 
not resolvable to a concrete type.; source='public void 
org.apache.cxf.jaxrs.provider.AbstractCachingMessageProvider.setObject(java.lang.Object)',
 [FATAL] No injection source found for a parameter of type public abstract 
javax.ws.rs.core.Response

com.amdocs.ms.frameworkagreementextractor.resources.interfaces.IExtractrequestResource.applyBulkDependencies(java.lang.String,java.io.InputStream,org.apache.cxf.jaxrs.ext.multipart.Attachment,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
 at index 1.; source='ResourceMethod{httpMethod=POST, 
consumedTypes=[multipart/form-data], producedTypes=[application/json], 
suspended=false, suspendTimeout=0, suspendTimeoutUnit=MILLISECONDS, 
invocable=Invocable{handler=ClassBasedMethodHandler{handlerClass=interface 
com.amdocs.ms.frameworkagreementextractor.resources.interfaces.IExtractrequestResource,
 handlerConstructors=[]}, definitionMethod=public abstract 
javax.ws.rs.core.Response 
com.amdocs.ms.frameworkagreementextractor.resources.interfaces.IExtractrequestResource.applyBulkDependencies(java.lang.String,java.io.InputStream,org.apache.cxf.jaxrs.ext.multipart.Attachment,java.lang.String,java.lang.String,java.lang.String,java.lang.String),
 parameters=[Parameter [type=class java.lang.String, source=fwa-id, 
defaultValue=null], Parameter [type=class java.io.InputStream, 
source=dependencies, defaultValue=null], Parameter [type=class 
org.apache.cxf.jaxrs.ext.multipart.Attachment, source=dependencies, 
defaultValue=null], Parameter [type=class java.lang.String, source=fwa-version, 
defaultValue=null], Parameter [type=class java.lang.String, 
source=sitegroup-id, defaultValue=null], Parameter [type=class 
java.lang.String, source=sitegroup-name, defaultValue=null], Parameter 
[type=class java.lang.String, source=file-name, defaultValue=null]], 
responseType=class javax.ws.rs.core.Response}, nameBindings=[]}']

        at 
org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:555)

        at 
org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184)

        at 
org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350)

        at 
org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347)

        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)



Regards

Moshe Lavi


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>

Reply via email to