My intention is not to remove the servlet that handles the whiteboard of
course :-)

Christian

Am Mo., 23. Sept. 2019 um 12:38 Uhr schrieb Timothy Ward <
timothyjw...@apache.org>:

> I’m pretty sure that the page you’re talking about is not a servlet, but a
> default JAX-RS resource designed to show you that you have the whiteboard
> up and running. The servlet(s) registered by the JAX-RS whiteboard cannot
> be removed without breaking the whiteboard (they provide the HTTP input to
> the JAX-RS resources).
>
> Tim
>
> > On 20 Sep 2019, at 13:57, Raymond Auge <raymond.a...@liferay.com> wrote:
> >
> > https://issues.apache.org/jira/browse/ARIES-1931
> >
> > On Fri, Sep 20, 2019 at 8:25 AM Raymond Auge <raymond.a...@liferay.com>
> > wrote:
> >
> >> I think I'm the only one that likes it so I guess we should remove it
> ☺️.
> >>
> >> - Ray
> >>
> >> On Fri, Sep 20, 2019, 03:35 Christian Schneider, <
> ch...@die-schneider.net>
> >> wrote:
> >>
> >>> I can not speak for other users of jax-rs but for me personally it was
> >>> rather annoying that the main page of my web server suddenly shows some
> >>> kind of advertisement for Aries JAX-RS. The page also does not really
> help
> >>> in getting your first jax-rs sevice up.
> >>>
> >>> Of course better documentation allows to easily understand how to
> remove
> >>> it
> >>> again, but it forces everyone to apply this configuration. No one will
> >>> want
> >>> this information page on top level in their finished product.
> >>>
> >>> How about instead of showing this page we offer a pre built example
> bundle
> >>> that can simply be installed to show the system is running. This would
> >>> leave the main jar ready for production use and still allow the user to
> >>> easily check jax-rs works in his environment. I am willing to create
> such
> >>> an example and document how to use it.
> >>>
> >>> Christian
> >>>
> >>> Am Do., 19. Sept. 2019 um 17:02 Uhr schrieb Raymond Auge <
> >>> raymond.a...@liferay.com>:
> >>>
> >>>> In fact I could add this tidbit of information in the default web page
> >>>> itself.
> >>>>
> >>>> I think it's nice to boot up a bare jaxrs runtime with at least
> >>> something
> >>>> that shows it works.
> >>>>
> >>>> - Ray
> >>>>
> >>>> On Thu, Sep 19, 2019 at 11:00 AM Raymond Auge <
> raymond.a...@liferay.com
> >>>>
> >>>> wrote:
> >>>>
> >>>>> Is setting the configuration property `default.web=false` in a
> >>>>> configuration for PID `org.apache.aries.jax.rs.whiteboard.default`
> >>> not
> >>>>> sufficient?
> >>>>>
> >>>>> - Ray
> >>>>>
> >>>>> On Thu, Sep 19, 2019 at 8:48 AM Jean-Baptiste Onofré <
> j...@nanthrax.net
> >>>>
> >>>>> wrote:
> >>>>>
> >>>>>> +1
> >>>>>>
> >>>>>> it makes sense and it would avoid to eventually "conflict" with user
> >>>>>> space servlet.
> >>>>>>
> >>>>>> Regards
> >>>>>> JB
> >>>>>>
> >>>>>> On 19/09/2019 14:46, Christian Schneider wrote:
> >>>>>>> Currently when you install the Aries JAX-RS whiteboard it installs
> >>> a
> >>>>>>> servlet on top level of the http server with some information
> >>> around
> >>>>>> Aries
> >>>>>>> JAX-RS.
> >>>>>>> I think this is not a good idea as it interferes with possible
> >>> other
> >>>>>>> servlets. It can be deactivated with a property but I think this is
> >>>>>> still a
> >>>>>>> bad default.
> >>>>>>>
> >>>>>>> So I propose to not install the servlet by default and instead
> >>> allow
> >>>> to
> >>>>>>> activate it via a property or even better an OSGi config.
> >>>>>>>
> >>>>>>> WDYT?
> >>>>>>>
> >>>>>>> Christian
> >>>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Jean-Baptiste Onofré
> >>>>>> jbono...@apache.org
> >>>>>> http://blog.nanthrax.net
> >>>>>> Talend - http://www.talend.com
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >>>>> (@rotty3000)
> >>>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >>>>> (@Liferay)
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >>>> (@rotty3000)
> >>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >>>> (@Liferay)
> >>>>
> >>>
> >>>
> >>> --
> >>> --
> >>> Christian Schneider
> >>> http://www.liquid-reality.de
> >>>
> >>> Computer Scientist
> >>> http://www.adobe.com
> >>>
> >>
> >
> > --
> > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> > (@rotty3000)
> > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> > (@Liferay)
>
>

-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Reply via email to