You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Alex Soto <as...@gmail.com> on 2017/01/27 13:28:59 UTC

Strange error starting Arquillian Test

Hi, I am trying to run an Arquillian Test using remote adapter and I am
getting this exception:

Jan 27, 2017 2:27:34 PM org.apache.openejb.arquillian.common.Setup findHome
INFO: Unable to find home in:
/var/folders/xd/_pglfgy97snfpv5pfd74qjtr0000gn/T/arquillian-apache-tomee/apache-tomee-7.0.2-webprofile.zip
Jan 27, 2017 2:27:35 PM
org.apache.tomee.arquillian.remote.RemoteTomEEContainer start
SEVERE: Unable to start remote container
org.jboss.shrinkwrap.api.exporter.ArchiveExportException: File could not be
created:
/var/folders/xd/_pglfgy97snfpv5pfd74qjtr0000gn/T/arquillian-apache-tomee/apache-tomee-webprofile-7.0.2/lib/xx-arquillian-tomee-bean-discoverer.jar
at
org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.getOutputStreamToFile(AbstractStreamExporterImpl.java:95)
at
org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.exportTo(AbstractStreamExporterImpl.java:144)


Any idea?

Re: Strange error starting Arquillian Test

Posted by Alex Soto <as...@gmail.com>.
Yes I had write permission what I did is just debug tomee adapter and
remove everything in root directory

El 27 ene. 2017 2:31 p. m., "Romain Manni-Bucau" <rm...@gmail.com>
escribió:

> Hi Alex
>
> do you have write perms in this folder?
>
> think it can help to set in arquillian.xml tomee container:
>
> <property name="dir">target/arquillian-tomee-server</property>
>
> <property name="appWorkingDir">target/arquillian-tomee-apps</property>
>
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2017-01-27 14:28 GMT+01:00 Alex Soto <as...@gmail.com>:
>
> > Hi, I am trying to run an Arquillian Test using remote adapter and I am
> > getting this exception:
> >
> > Jan 27, 2017 2:27:34 PM org.apache.openejb.arquillian.common.Setup
> > findHome
> > INFO: Unable to find home in:
> > /var/folders/xd/_pglfgy97snfpv5pfd74qjtr0000gn/
> T/arquillian-apache-tomee/
> > apache-tomee-7.0.2-webprofile.zip
> > Jan 27, 2017 2:27:35 PM
> > org.apache.tomee.arquillian.remote.RemoteTomEEContainer start
> > SEVERE: Unable to start remote container
> > org.jboss.shrinkwrap.api.exporter.ArchiveExportException: File could not
> > be
> > created:
> > /var/folders/xd/_pglfgy97snfpv5pfd74qjtr0000gn/
> T/arquillian-apache-tomee/
> > apache-tomee-webprofile-7.0.2/lib/xx-arquillian-tomee-bean-
> discoverer.jar
> > at
> > org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.
> > getOutputStreamToFile(AbstractStreamExporterImpl.java:95)
> > at
> > org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.
> > exportTo(AbstractStreamExporterImpl.java:144)
> >
> >
> > Any idea?
> >
>

Re: Strange error starting Arquillian Test

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi Alex

do you have write perms in this folder?

think it can help to set in arquillian.xml tomee container:

<property name="dir">target/arquillian-tomee-server</property>

<property name="appWorkingDir">target/arquillian-tomee-apps</property>



Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-01-27 14:28 GMT+01:00 Alex Soto <as...@gmail.com>:

> Hi, I am trying to run an Arquillian Test using remote adapter and I am
> getting this exception:
>
> Jan 27, 2017 2:27:34 PM org.apache.openejb.arquillian.common.Setup
> findHome
> INFO: Unable to find home in:
> /var/folders/xd/_pglfgy97snfpv5pfd74qjtr0000gn/T/arquillian-apache-tomee/
> apache-tomee-7.0.2-webprofile.zip
> Jan 27, 2017 2:27:35 PM
> org.apache.tomee.arquillian.remote.RemoteTomEEContainer start
> SEVERE: Unable to start remote container
> org.jboss.shrinkwrap.api.exporter.ArchiveExportException: File could not
> be
> created:
> /var/folders/xd/_pglfgy97snfpv5pfd74qjtr0000gn/T/arquillian-apache-tomee/
> apache-tomee-webprofile-7.0.2/lib/xx-arquillian-tomee-bean-discoverer.jar
> at
> org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.
> getOutputStreamToFile(AbstractStreamExporterImpl.java:95)
> at
> org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.
> exportTo(AbstractStreamExporterImpl.java:144)
>
>
> Any idea?
>