Hi.

No, the App was on the ROOT, and the servelet path was /testservlet .I also
tested on not root, it aso did not work.

Could this have fixed it: https://issues.apache.org/jira/browse/TOMEE-1330

Matej

2014-09-14 13:34 GMT+02:00 Romain Manni-Bucau <[email protected]>:

> was the path containing a char which needs to be encoded in URLs?
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-14 13:33 GMT+02:00 Matej <[email protected]>:
> > Hello Andy.
> >
> > I can do that. But it seems it's been already fixed in 1.7.1. I have
> tested
> > this now.
> >
> > The strange thing was, the bug was only experienced on my Centos Linux
> > platform.
> >
> > So probably no JIRA needed.
> >
> > BR
> >
> > Matej
> >
> > 2014-09-14 10:14 GMT+02:00 Andy Gumbrecht <[email protected]>:
> >
> >> Hi Matej,
> >>
> >> Is it possible for you to create a JIRA issue here:
> >> https://issues.apache.org/jira/browse/TOMEE
> >>
> >> Please attach anything that may help diagnose the issue, like log files
> >> and config info etc.
> >>
> >> This will help us track and keep a record of the resolution.
> >>
> >> Thanks very much,
> >>
> >> Andy.
> >>
> >>
> >> On 14/09/2014 09:28, Romain Manni-Bucau wrote:
> >>
> >>> Linux=?
> >>>
> >>> we have test + I use it on ubuntu with success
> >>>
> >>>
> >>> Romain Manni-Bucau
> >>> Twitter: @rmannibucau
> >>> Blog: http://rmannibucau.wordpress.com/
> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >>> Github: https://github.com/rmannibucau
> >>>
> >>>
> >>> 2014-09-13 19:54 GMT+02:00 Matej <[email protected]>:
> >>>
> >>>> It's reproducable but only on Linux.
> >>>>
> >>>> @WebServlet(name = "MyServlet", urlPatterns = "/testservlet")
> >>>> public class TestServlet extends HttpServlet {
> >>>>
> >>>>      private static final long serialVersionUID = 1L;
> >>>>
> >>>>      @Override
> >>>>      protected void doGet(HttpServletRequest request,
> HttpServletResponse
> >>>> response)
> >>>>              throws ServletException, IOException {
> >>>>
> >>>>          response.getWriter().println("Hello World!");
> >>>>
> >>>>      }
> >>>> }
> >>>>
> >>>> This for instance works on Windows and not on Linux, producing 404 not
> >>>> found on /project/testservlet.
> >>>>
> >>>> No dependcies in pom only javaee-api
> >>>>
> >>>> BR
> >>>>
> >>>> Matej
> >>>>
> >>>> 2014-09-13 10:40 GMT+02:00 Romain Manni-Bucau <[email protected]
> >:
> >>>>
> >>>>  Hi
> >>>>>
> >>>>> are you able to reproduce it? Is it from WEB-INF/classes or from a
> lib?
> >>>>>
> >>>>> If a lib it can be excluded (excluded prefixes are
> >>>>>
> >>>>> http://svn.apache.org/repos/asf/tomee/tomee/trunk/
> >>>>> container/openejb-core/src/main/resources/default.exclusions
> >>>>> )
> >>>>>
> >>>>>
> >>>>> Romain Manni-Bucau
> >>>>> Twitter: @rmannibucau
> >>>>> Blog: http://rmannibucau.wordpress.com/
> >>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >>>>> Github: https://github.com/rmannibucau
> >>>>>
> >>>>>
> >>>>> 2014-09-13 10:18 GMT+02:00 Matej <[email protected]>:
> >>>>>
> >>>>>> Hello all.
> >>>>>>
> >>>>>> Is there maybe a bug in TomEE not scaning the  @WebServlet
> annotation
> >>>>>>
> >>>>> under
> >>>>>
> >>>>>> linux.
> >>>>>>
> >>>>>> I am facing a strange problem. Where upgrading from 1.6.x to 1.7 the
> >>>>>> WebServlet annotation stoped working under linux.... giving 404
> >>>>>>
> >>>>>> I tried with many different attribute combinations, also changing
> jdk,
> >>>>>>
> >>>>> jre
> >>>>>
> >>>>>> version 1.7, 1.8. Also tried with different projects, machines...
> >>>>>> Altough
> >>>>>> Linux was always Centos
> >>>>>>
> >>>>>> On Windows no issues.
> >>>>>>
> >>>>>> Everything seems to work from web.xml on both platforms.
> >>>>>>
> >>>>>> BR
> >>>>>>
> >>>>>> Matej
> >>>>>>
> >>>>>
> >>
>

Reply via email to