did you try arquillian-tomee-embedded or arquillian-tomee-remote? i think (if my memory is fine) if you specify in arquillian.xml port of a running tomee if will be used otherwise it will be downloaded.
- Romain 2012/6/14 nahueldv <[email protected]> > Hi! I am trying to automate some tests using Tomee and Arquillian (total > newbie with both of them). I noticed that officially there are two flavors: > "embedded" and "remote" (http://openejb.apache.org/arquillian.html). I > need > to run Tomee in "managed" mode. > > Googling it, a guy suggested using arquillian-tomcat-managed-7 to manage > the > container. This seems to work well, up to the following error: > "... > Caused by: org.jboss.arquillian.container.spi.ConfigurationException: > Unable > to connect to Tomcat manager. The server command (/text/list) failed with > responseCode (401) and responseMessage (Unauthorized). > > 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 appripriate role specified in tomcat-users.xml file. > ..." > So, two questions: > Is there some particular reason why Tomee managed is not supported yet? > Could you suggest some clean way to make Maven override/add users to > tomcat-users.xml file? (Mine is a Maven project. I am using > maven-dependency-plugin to retrieve Tomee from the repo and unpack it to a > selected folder). > > Thanks in advance! > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Tomee-managed-tp4655618.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
