Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Everything is detected several times in my web app

Jason,

Please post how you are deploying and configuring your webapp in jetty
- include any context xml files or other jetty xml config files you
have altered.

Jan

On 26 April 2015 at 15:13, jason zhang <jasonzhang2002@xxxxxxxxx> wrote:
> I have a web application(http://data.flexdms.com/demo.war) which is fine
> under tomcat. I am trying to enable it under jetty.
> I downloaded the latest jetty(jetty-distribution-9.2.10.v20150310)
>
>
> Jetty complains that
>
>  Multiple servlets map to path: /rs/*:
> com.flexdms.flexims.jpa.rs.RSApplication,com.flexdms.flexims.jpa.rs.RSApplication
>
> You can see that all the classes mapped to /rs/* are the same class. I
> actually have this mapping in a web-fragment.xml. I use quickstart feature
> to debug why this is. It turns out jetty finds everything several times.
>
>
> I attached the generated quickstart-web.xml. You can see everything
> including jar file, servlet mapping, listener, filter mapping is repeated
> several times in the quickstart-web.xml. This may be the problem.
>
> Any suggestion?
>
> --
> -jiesheng
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users



-- 
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'


Back to the top