You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by asotobu <as...@gmail.com> on 2014/05/07 14:14:54 UTC

Re: Deploying WAR file from Arquillian Extension

I have tried today with a simple WAR with HelloWorld servlet and still the
same problem, I can only deploy one application, when I tried to deploy the
second one the same exception of previous post is thrown. Moreover if I use
the remote Apache TomEE connector then although both applications are
deployed, next exception is thrown:

java.lang.RuntimeException: Could not create new instance of class
org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
	at
org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:160)
	at
org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:111)
	at
org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:97)
	at
org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:52)
	at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:95)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)






--
View this message in context: http://openejb.979440.n4.nabble.com/Deploying-WAR-file-from-Arquillian-Extension-tp4669020p4669209.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Deploying WAR file from Arquillian Extension

Posted by Romain Manni-Bucau <rm...@gmail.com>.
You updated your project?

If so it means both apps uses same name
Le 17 mai 2014 01:27, "asotobu" <as...@gmail.com> a écrit :

> I have tried today with a simple WAR with HelloWorld servlet and still the
> same problem, I can only deploy one application, when I tried to deploy the
> second one the same exception of previous post is thrown. Moreover if I use
> the remote Apache TomEE connector then although both applications are
> deployed, next exception is thrown:
>
> java.lang.RuntimeException: Could not create new instance of class
> org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
>         at
>
> org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:160)
>         at
>
> org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:111)
>         at
>
> org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:97)
>         at
>
> org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:52)
>         at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:95)
>         at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
>         at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Deploying-WAR-file-from-Arquillian-Extension-tp4669020p4669209.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>