Ok, error is the one I thought about. Will be fixed tomorrow
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-06-25 14:30 GMT+02:00 hwaastad <[email protected]>: > @Deployment(name = "webapp1", managed = false) > public static Archive<?> webapp1() { > return ShrinkWrap.createFromZipFile(WebArchive.class, new > File("../WebApp1/target/WebApp1.war")); > } > > @Deployment(name = "webapp2", managed = false) > public static Archive<?> webapp2() { > return ShrinkWrap.createFromZipFile(WebArchive.class, new > File("../WebApp2/target/WebApp2.war")); > } > > @ArquillianResource > private Deployer deployer; > > @Test > public void valid1() throws IOException { > deployer.deploy("webapp1"); > System.out.println(""); > System.out.println("==========================================="); > int result = WebClient.create("http://localhost:8080/WebApp1/test/ > ") > > .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus(); > System.out.println(result); > Assert.assertEquals(406,result); > deployer.deploy("webapp2"); > deployer.undeploy("webapp2"); > result = WebClient.create("http://localhost:8080/WebApp1/test/") > > .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus(); > System.out.println(result); > Assert.assertEquals(406,result); > deployer.undeploy("webapp1"); > System.out.println("==========================================="); > System.out.println(""); > } > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/tomee-redeployment-issue-tp4670067p4670182.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
