I run my tests until now agains a embedded Tomcat container.
After some problems with classloaders during running one ui project with several REST webservice projects (jdbc library is loaded multiple times and causes conflicts) I decided to give a try to Managed Tomcat Container.
Are there some complete working examples (in git would be perfectly)? Documentation about it is very rar. Despite of the fact, I declare in my arquillian.xml file user and pass properties (like described here: Creating an Arquillian in-container test on Tomcat 7 (managed) · GitHub ) and in my tomcat-users.xml file proper roles "manager" and "manager-script" and proper user (like described here: Alfresco mit Arquillian #1 – “Managed Tomcat” | Under the (Content-)Hood ), I am still getting a 404 error:
Caused by: org.jboss.arquillian.container.spi.ConfigurationException: Unable to connect to Tomcat manager. The server command (/text/list) failed with responseCode (404) and responseMessage (Not Found).
Please make sure that you provided correct credentials to an user which is able to access Tomcat manager application.
These credentials can be specified in the Arquillian container configuration as "user" and "pass" properties.
The user must have aapropriate role specified in tomcat-users.xml file.
I am using latest arquillian-tomcat-managed-7 library in version 1.0.0.CR8 and tomcat 8.
Very thanks in advance