Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

tomcat

war

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

like image 907
tamizboule Avatar asked Mar 01 '23 05:03

tamizboule


1 Answers

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

like image 156
Ilalaina Avatar answered Mar 05 '23 16:03

Ilalaina