Deploying in tomcat with exception: Cannot find operation isServiced

百般思念 提交于 2019-12-18 14:41:18

问题


I installed Tomcat and Tomcat Manager on a remote server as per the instructions on this post.

After adding it I successfully accessed the manager on http://IP_ADDRESS:8080/manager/html

Then I used the war file upload option to try to deploy the war file on it but it gives the following exception.

FAIL - Deploy Upload Failed, Exception: Cannot find operation isServiced

Documentation on isServiced


回答1:


Just looked this up. Broken in Tomcat versions M19 and 8.5.13. Fixed in upcoming versions M20 and in 8.5.14. http://bz.apache.org/bugzilla/show_bug.cgi?id=60949. So you can roll back to M18 or 8.5.12 for now.




回答2:


Sachi, I had the same issue, I was working with Tomcat 9 M19 and just went back to Tomcat 9 M18 and everything worked well again.




回答3:


I was using Netbeans to develop my code when I landed with the same error. I was using Tomcat 9.0.0.M19. I followed the suggestion provided by Dan and Jon above and changed my server path in Netbeans to point to the previous version of Tomcat i.e. 9.0.0.M18 and things started working.

You can download the previous version from http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M18/bin/

For MAC I downloaded http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M18/bin/apache-tomcat-9.0.0.M18.tar.gz

This should work.




回答4:


This error caused due to tomcat version incompatibility. Please change tomcat version and your are good to go .



来源:https://stackoverflow.com/questions/43205092/deploying-in-tomcat-with-exception-cannot-find-operation-isserviced

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!