简体   繁体   中英

Slow jboss , application spring mvc

I notice that the application server (JBOSS) takes a long time to forward the POST requests to the JAVA controller. When I click on a botton in my application (in debug mode), the JBOSS takes 2 minutes before I get to the stopwatch in eclipse. By analyzing I find that time is consumed by a class called StandardContextValve.invoke () Thank you for your help.

Gal Marder has some suggestion. You can follow

The problem has to do with the debug breakpoint. Probably one of them is creating some overhead during the loading process of the EJBs.

Try to remove all breakpoints and then start the server in debug mode, it worked for me.

Resource Link:

  1. JBoss slow in debug mode

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM