Tomcat Not coming up in UNIX machine post upgrade
Hi All , I am facing issue while upgrading to tomcat 9.063 from 9.011 . Application is not coming up with 503 error , neither do I see any error message in logs file . Please let me know if you need more details . https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.63/bin/apache-tomcat-9.0.63.tar.gz OS Name:Linux OS Version: 4.18.0-240.10.1.el8_3.x86_64 Architecture: amd64 JVM Version:11.0.10+9-LTS JVM Vendor: Red Hat, Inc. Regards Chandan
Re: Help with deploying multiple .WAR files in Tomcat
We successfully deploy multiple webapps by simply dropping .war files into the webapps directory all the time. No problems here. Just sharing my perspective. David On Thu, Aug 4, 2022 at 4:10 PM James H. H. Lampert wrote: > Multiple WAR files work fine for us. But we don't simply "drop [the WAR > files] in the webapps folder (and for the most part, that *doesn't* work > for us, even with *only one* webapp). > > We always deploy through the Manager webapp (which we always customize > to increase the allowable WAR file size by an order of magnitude, every > time we update somebody's Tomcat), and there are plenty of installations > where we have multiple nearly-identical contexts based on completely > identical WAR files (and note that another customization we make when > installing Tomcat is to disable re-expansion of WAR files when Tomcat > launches, since that would overwrite parameters manually inserted into > the contexts after deployment). > > -- > JHHL > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- E-Mail to and from me, in connection with the transaction of public business, is subject to the Wyoming Public Records Act and may be disclosed to third parties.
Re: Tomcat Not coming up in UNIX machine post upgrade
пт, 5 авг. 2022 г. в 10:58, Chandan Singh : > > Hi All , > > I am facing issue while upgrading to tomcat 9.063 from 9.011 . Application > is not coming up with 503 error , neither do I see any error message in logs > file . As you are getting an error 503 and not just a timeout with no response, it likely means that Tomcat is up and running. You can verify whether Tomcat is processing requests by looking into an access log file (as generated by AccessogValve). https://cwiki.apache.org/confluence/display/TOMCAT/Troubleshooting+and+Diagnostics#TroubleshootingandDiagnostics-CommonTroubleshootingScenario If there are no errors, it likely means that there are some info / success messages. Do you see the usual log messages that your web application has started up, and running? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Help with deploying multiple .WAR files in Tomcat
чт, 4 авг. 2022 г. в 22:21, Shakila Rajaiah : > > Hello Tomcat users, > Can someone help me find the correct documentation to deploy more than one > war file on Tomcat server. The information available on the web is confusing. > I followed this instruction 1. This mailing list expects e-mails to be in plain text. As such, any link that you might have had above, and any yellow highlighting of the text are lost. > and dropped both test1.war and test2.war files in the webapps folder. Test1.war seems to have deployed correctly. Howeevr I received multiple error messages with deploying test2.war. The errors are highlighted in yellow. > Simply drop both war files into Tomcat's webapps folder. That is all you need > to do. By default, Tomcat expands ("explodes" some say) each war (technically > a zip file) into a folder and automatically deploys the app for you. This > happens on the fly if Tomcat is already running, or on startup when you > launch Tomcat. > > and this is the error message that I received. > > [...] > org.apache.catalina.startup.HostConfig.deployWAR Deploying web application > archive [C:\apache-tomcat-9.0.46\webapps\Test2-0.0.1-SNAPSHOT.war] 2. The above name of a war file means that it will be unpacked as "Test2-0.0.1-SNAPSHOT". Thus the root URL of your web application will look like the following: http://localhost:8080/Test2-0.0.1-SNAPSHOT/ If that is what you are expecting, then OK. See https://tomcat.apache.org/tomcat-9.0-doc/config/context.html#Naming > Caused by: java.lang.IllegalArgumentException: More than one fragment with > the name [org_apache_jasper_el] 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. 3.The above message mentions the Servlet Specification. Links to different versions of the specification may be found here: https://cwiki.apache.org/confluence/display/TOMCAT/Specifications 4. Regarding "org_apache_jasper_el". It looks like your war includes a library that provides implementation of EL (expression language, as used in JSPs). An implementation of EL is provided by Tomcat. As well as implementations of the Servlet, JSP and WebSocket APIs. If your pom.xml file references such dependencies, annotate them with "provided", so that they are not packed into a war file. https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Help with deploying multiple .WAR files in Tomcat
Thank you - let me look into this.Shakila. Shakila Rajaiah * e-mail: sraja...@yahoo.com On Thursday, August 4, 2022 at 05:49:02 PM EDT, Noelette Stout wrote: It looks like you have multiple locations/instances of the same jar file (jasper-el.jar by the looks of the error message). This is typically included with tomcat. Are you also including a version with your application? Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [org_apache_jasper_el] 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. On Thu, Aug 4, 2022 at 1:21 PM Shakila Rajaiah wrote: Hello Tomcat users, Can someone help me find the correct documentation to deploy more than one war file on Tomcat server. The information available on the web is confusing. I followed this instruction and dropped both test1.war and test2.war files in the webapps folder. Test1.war seems to have deployed correctly. Howeevr I received multiple error messages with deploying test2.war. The errors are highlighted in yellow.Simply drop both war files into Tomcat's webapps folder. That is all you need to do. By default, Tomcat expands ("explodes" some say) each war (technically a zip file) into a folder and automatically deploys the app for you. This happens on the fly if Tomcat is already running, or on startup when you launch Tomcat. and this is the error message that I received. . _ __ _ _/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \\\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' || .__|_| |_|_| |_\__, | / / / /=|_|==|___/=/_/_/_/:: Spring Boot :: (v2.4.5) 022-08-02 14:47:48.459 INFO 1148 --- [ main] c.c.d.p.app.Test1Application : Starting Test1Application v0.0.1-SNAPSHOT using Java 1.8.0_291 on with PID 1148 (C:\apache-tomcat-9.0.46\webapps\citilink\WEB-INF\classes started by sr46\bin)022-08-02 14:47:48.475 INFO 1148 --- [ main] c.c.d.p.app.Test1Application : No active profile set, falling back to default profiles: default022-08-02 14:47:51.319 INFO 1148 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2703 ms022-08-02 14:47:52.319 INFO 1148 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'022-08-02 14:47:52.819 INFO 1148 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler'022-08-02 14:47:52.866 INFO 1148 --- [ main] c.c.d.p.app.Test1Application : Started Test1Application in 5.811 seconds (JVM running for 12.214)2-Aug-2022 14:47:52.897 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\apache-tomcat-9.0.46\webapps\test1.war] has finished in [9,766] ms2-Aug-2022 14:47:52.897 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\apache-tomcat-9.0.46\webapps\Test2-0.0.1-SNAPSHOT.war]2-Aug-2022 14:47:53.116 SEVERE [main] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [C:\apache-tomcat-9.0.46\webapps\Test2-0.0.1-SNAPSHOT.war] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:692) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1023) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1903) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:824) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1611) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerB
TCP timestamp vulnerability -- any insights on how this relates to Tomcat?
Today is the first time I heard of such a thing as a "TCP timestamp vulnerability." It seems a bit overblown to me, especially for a Tomcat server running on an AS/400. Can anybody share any insights about how this vulnerability relates to Tomcat? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org