You can add to
src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
the line to get the JNDI context (same hack as for
RemotePersistenceExtension):

org.apache.openejb.arquillian.embedded.EmbeddedRemoteExtension


Then just upgrade (done on tomee master):


<dependency>
    <groupId>org.jboss.arquillian.extension</groupId>
    <artifactId>arquillian-transaction-impl-base</artifactId>
    <version>1.0.1.Final</version>
    <scope>test</scope>
</dependency>




Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-05-08 15:49 GMT+02:00 hwaastad <[email protected]>:

> Hi Romain,
> I've been banging my head over this and it's not working.
>
> https://github.com/hwaastad/ArquillianTomeePersistence.git
>
> and branch feature/embedded-implementation
>
> If you have a chance, I'd be very grateful.
>
> BTW, using the arquillian-openejb-embedded-4, what properties needs to be
> set to enable jaas testing in a webfilter/loginmodule? (I'm testing secure
> rest resources). I already do this in remote but would try embedded.
>
> br hw
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/debugging-tomee-remote-tp4674693p4674730.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to