aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sierra (JIRA)" <>
Subject [jira] [Commented] (ARIES-1912) aries-jaxrs-whiteboard 1.0.4 registers ServletContextHelper with context.path=/
Date Wed, 24 Apr 2019 16:50:00 GMT


Carlos Sierra commented on ARIES-1912:


that servlet context helper might belong to the default application, as described here:

you can check if that is the case if the value of the property "" is ".default".
In the case of the aries implementation you change its path from the root to a different one.
You have two ways of doing so, using configuration or publishing a new application with name
".default" and the desired "osgi.jaxrs.application.base", as stated here:

If you choose to use configuration admin to configure the default whiteboard's default application
you can create configuration with pid "" and set
the property "default.application.base" to the desired path and/or disable the default web
by setting the property "default.web" to false.

I hope this helps.


> aries-jaxrs-whiteboard 1.0.4 registers ServletContextHelper with context.path=/
> -------------------------------------------------------------------------------
>                 Key: ARIES-1912
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: jax-rs-whiteboard
>    Affects Versions: jax-rs-whiteboard-1.0.4
>            Reporter: Nhut Thai Le
>            Priority: Major
>         Attachments: aries-jaxrs-whiteboard101vs104.PNG, aries-jaxrs-whiteboard104.PNG
> We have been using aries-jaxrs-whiteboard to run our REST api along with paxweb-extender-whiteboard
for sometimes. Recently we upgraded aries-jaxrs-whiteboard from version 1.0.1 to 1.0.4 and
noticed that some of our Servlets/ServletFilters are not working anymore. Digging into paxweb
servlet registration process I found the new aries-jaxrs-whiteboard registers a cxf-servlet
with url pattern /* which makes this servlet a default handler.
> Screenshots attached here show the different between aries-jaxrs-whiteboard 1.0.1 and
1.0.4 in terms of ServletContextHelper and Servlet registration.

This message was sent by Atlassian JIRA

View raw message