"Error invoking method check" when deploying a WAR on Tomcat

10,865

Solution 1

Impossible to check the log... We managed to restart tomcat and it works now. Weird.

Thank you anyway!

Solution 2

I often encountered this problem and after checking the log this was caused by an OutOfMemoryError with tomcat

Solution 3

Check the log files of tomcat; they contain the full error message.

If you can't access them easily, write a small webapp which allows you to browse and/or download the logs and deploy that.

Share:
10,865
tamizboule
Author by

tamizboule

Allez les bleus!

Updated on June 11, 2022

Comments

  • tamizboule
    tamizboule almost 2 years

    When I deploy my WAR generated with Ant on my local system (copy/paste under /webapps), everything works fine.

    The thing is, when I deploy the WAR on a remote server for test purposes, I got this error message:

    There was an error thrown by Tomcat during deployment: "Error invoking method check". This however may not mean that you application failed to deploy. Please check the status in the application list

    But the application is not deployed at all. I have to use Probe (lambaprobe.org) to manage and deploy applications on Tomcat on the remote server I'm talking. And I don't have access to the filesystem, only probe.

    Any idea would be much appreciated!

    Thanks