Thanks Marks. It helps in solving the problem. On Thu, Apr 9, 2020, 5:44 PM Mark Thomas <ma...@apache.org> wrote:
> On April 9, 2020 8:49:05 AM UTC, Kushagra Bindal < > bindal.kusha...@gmail.com> wrote: > >Yes Mark. :) This discussion is also going on. > > > >But is there anything configuration changes which I can try at my end > >as > >well. > > It is difficult to provide advice on how to fix a broken web application > when we don't have access to the application let alone the source code. > > It looks like there are multiple versions of the same JAR in WEB-INF/lib > or possibly elsewhere on the class path. I'd start by removing all the > duplicates / older versions. The tricky part will be which ones to keep and > which to remove. Generally you'll want the latest version and if a version > of a JAR is in Tomcats lib directory then a version probably needs to be > there. > > Mark > > > > >On Thu, Apr 9, 2020 at 2:14 PM Mark Thomas <ma...@apache.org> wrote: > > > >> On 09/04/2020 09:35, Kushagra Bindal wrote: > >> > Thanks Luis. But we have different vulnerabilities till 8.5.40 > >version. > >> > > >> > > >> > > > https://www.cvedetails.com/vulnerability-list/vendor_id-45/product_id-887/Apache-Tomcat.html > >> > > >> > > >> > That is why we are upgrading to latest 8.5 series version. Can > >someone > >> > please help in resolving this issue? > >> > >> This looks like an issue you'll need to take up with Alfresco > >support. > >> > >> Mark > >> > >> > >> > > >> > On Thu, Apr 9, 2020 at 1:43 PM Luis Rodríguez Fernández < > >> uo67...@gmail.com> > >> > wrote: > >> > > >> >> Hello Kushagra, > >> >> > >> >> Regarding the supported platform matrix [1] it looks like the > >tomcat > >> >> version should be Tomcat 8.5.28 > >> >> > >> >> Hope it helps, > >> >> > >> >> Luis > >> >> > >> >> [1] > >> >> > >> >> > >> > > > https://docs.alfresco.com/process-services1.10/concepts/supported-platforms.html > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> El jue., 9 abr. 2020 a las 9:53, Kushagra Bindal (< > >> >> bindal.kusha...@gmail.com>) > >> >> escribió: > >> >> > >> >>> Hi, > >> >>> > >> >>> We are currently using Alfresco APS 1.10.0 version. It is working > >> >> smoothly > >> >>> with 8.5.24 version. > >> >>> > >> >>> But while upgrading this to Tomcat 8.5.53 we are encountering > >below > >> >> error. > >> >>> > >> >>> 08-Apr-2020 08:46:07.951 WARNING [localhost-startStop-1] > >> >>> org.apache.catalina.startup.SetContextPropertiesRule.begin > >> >>> [SetContextPropertiesRule]{Context} Setting property 'debug' to > >'100' > >> did > >> >>> not find a matching property. > >> >>> 08-Apr-2020 08:46:13.919 SEVERE [localhost-startStop-1] > >> >>> org.apache.catalina.core.ContainerBase.addChildInternal > >> >>> ContainerBase.addChild: start: > >> >>> org.apache.catalina.LifecycleException: Failed to start component > >> >>> > >> >>> > >> >> > >> > > >[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bpm-designer]] > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440) > >> >>> at > >org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) > >> >>> at > >> >> > >org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) > >> >>> at > >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1859) > >> >>> at > >> >> > >java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > >> >>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > >> >>> at java.lang.Thread.run(Thread.java:745) > >> >>> Caused by: java.lang.IllegalArgumentException: More than one > >fragment > >> >> with > >> >>> the name [spring_web] was found. This is not legal with relative > >> >> ordering. > >> >>> See section 8.2.2 2c of the Servlet specification for details. > >Consider > >> >>> using absolute ordering. > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2200) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2159) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1131) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:776) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5065) > >> >>> at > >org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > >> >>> ... 10 more > >> >>> 08-Apr-2020 08:46:13.921 SEVERE [localhost-startStop-1] > >> >>> org.apache.catalina.startup.HostConfig.deployDirectory Error > >deploying > >> >> web > >> >>> application directory [/usr/local/tomcat/webapps/bpm-designer] > >> >>> java.lang.IllegalStateException: ContainerBase.addChild: start: > >> >>> org.apache.catalina.LifecycleException: Failed to start component > >> >>> > >> >>> > >> >> > >> > > >[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bpm-designer]] > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747) > >> >>> at > >> >> > >org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) > >> >>> at > >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1859) > >> >>> at > >> >> > >java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > >> >>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > >> >>> at > >> >>> > >> >>> > >> >> > >> > > >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > >> >>> at java.lang.Thread.run(Thread.java:745) > >> >>> 08-Apr-2020 08:46:13.922 INFO [localhost-startStop-1] > >> >>> org.apache.catalina.startup.HostConfig.deployDirectory Deployment > >of > >> web > >> >>> application directory [/usr/local/tomcat/webapps/bpm-designer] > >has > >> >> finished > >> >>> in [6,051] ms > >> >>> > >> >>> We explored the same on google and found one solution on > >stackoverflow > >> : > >> >>> > >> >>> > >> >> > >> > > > https://stackoverflow.com/questions/54290263/more-than-one-fragment-with-the-name-spring-web-was-found-this-is-not-legal-w > >> >>> > >> >>> Now we tried it by setting <absolute-ordering> in web.xml, but > >the > >> >> problem > >> >>> persist. > >> >>> > >> >>> Can someone please suggest the possible solution of this problem. > >> >>> > >> >>> -- > >> >>> Regards, > >> >>> Kushagra > >> >>> > >> >> > >> >> > >> >> -- > >> >> > >> >> "Ever tried. Ever failed. No matter. Try Again. Fail again. Fail > >> better." > >> >> > >> >> - Samuel Beckett > >> >> > >> > > >> > > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >