Sei ton

Greenhorn
+ Follow
since Apr 18, 2019
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sei ton

Tim Holloway wrote:
You can determine what context path has been assigned to which WAR(s) by looking at how the WARs were deployed into Tomcat. This can be done by manual inspection, but with that many WARs, I'd use one of the Tomcat management interfaces to automate the process of generating the context-to-WAR map.



Any clue or link on how do i do this?
Thank you.
4 years ago

Tim Holloway wrote:
It's fairly easy to track what webapps are being used. Every webapp is deployed with a context path, and by activating the Tomcat request logging Valve, you can see the URLs as they come in and examine the logs for context paths. If a WAR is not being used, the context path(s) it was deployed under will see no URL requests.
.



Hello Tim,
you talking about this configuration?


So on the log file i should get any request if used that is referred to the name of the War/Webapp deployed?

Thank you.

4 years ago

Stephan van Hulst wrote:How much WARs do you have deployed, and how did you figure out that that is the source of your performance issues?



Hello Stephan,
we have 70 Wars deployed, and we're sure that most of them are not being used at all, i just need to clean up the unused Wars, so i can make a better analysis,
we figured out that the performance is superfast to everything at the start up, the website responds great (the login process takes 10-15 second or so), but after 5 min or so just to login takes 2 minutes or so.
4 years ago
Hello all,
since on our production we have multiple Wars deployed, the performance of the overall website result being very slow and on random restarts,
is there any way to check which ones are the WARs used, so we can undeploy the other unused WARs to gain some performance?
Thanks you.
4 years ago