Hi Alex,

the whiteboard "propagates" the properties set to the Application service and/or the whiteboard configuration to the registered servlet and servlet context helper.

if there is any specific property, as JB suggests,  that you might need to pass to CXF servlet it can be done with the prefix "servlet.init.".

I hope this helps.

Carlos.

El 3/12/20 a las 14:42, Jean-Baptiste Onofre escribió:
Hi,

I suspect either Aries JAXRS doesn’t set multipart on the CXF servlet (or on the registration).

I will take a look tomorrow morning my time.

Regards
JB

Le 3 déc. 2020 à 14:28, Alex Soto <alex.s...@envieta.com <mailto:alex.s...@envieta.com>> a écrit :

(Also posted to the Karaf mailing list)

With Karaf 4.3.0, using Aries JAX-RS 1.0.10,  how can I enable multi part support?

I am  adding configuration file “org.apache.aries.jax.rs.whiteboard.default.cfg”  to the “etc” directory  with property:

osgi.http.whiteboard.servlet.multipart.enabled=true

But I am still getting error:

java.lang.IllegalStateException: No multipart config for servlet

When getting parts from  HttpServletRequest.


Any help will be appreciated.

Best regards,
Alex soto





Reply via email to