|Re: [jetty-users] Everything is detected several times in my web app|
And also post the log output with -Dorg.eclipse.jetty.webapp.LEVEL=DEBUG -Dorg.eclipse.jetty.annotations.LEVEL=DEBUG enabled as well please. Jan On 26 April 2015 at 16:38, Jan Bartel <janb@xxxxxxxxxxx> wrote: > 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' -- Jan Bartel <janb@xxxxxxxxxxx> www.webtide.com 'Expert Jetty/CometD developer,production,operations advice'
Back to the top