You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Karl Kildén <ka...@gmail.com> on 2014/04/20 15:04:33 UTC

No logging output using @RunWith(EJBContainerRunner.class)

Hello, No logging output using @RunWith(EJBContainerRunner.class).

When I use this style:
 EJBContainer.createEJBContainer().getContext().bind("inject", this);

Logging works fine. Any ideas?

cheers

Re: No logging output using @RunWith(EJBContainerRunner.class)

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

It is fixed on trunk
Le 20 avr. 2014 14:05, "Karl Kildén" <ka...@gmail.com> a écrit :

> Hello, No logging output using @RunWith(EJBContainerRunner.class).
>
> When I use this style:
>  EJBContainer.createEJBContainer().getContext().bind("inject", this);
>
> Logging works fine. Any ideas?
>
> cheers
>

Re: No logging output using @RunWith(EJBContainerRunner.class)

Posted by Karl Kildén <ka...@gmail.com>.
Thank you Andy!

I actually have the trunk so it was no trouble this time :-)

Thanks Romain for quick fix as always


On 24 April 2014 12:26, Andy Gumbrecht <ag...@tomitribe.com> wrote:

> Sure, that link is to the downloads page that also contains the OpenEJB
> snapshot downloads.
>
> To use the Apache Snapshot Repository in your own Maven project Karl just
> ensure it is declared in your project pom:
>
>     <repositories>
>           ...
>       <repository>
>         <id>apache-m2-snapshot</id>
>         <name>Apache M2 Snapshot Repository</name>
> <url>http://repository.apache.org/snapshots/</url>
>         <releases>
>             <enabled>false</enabled>
>         </releases>
>         <snapshots>
>             <enabled>true</enabled>
>         </snapshots>
>       </repository>
>     </repositories>
>
> Andy.
>
>
>  hmm, just need to use 4.6.1-SNAPSHOT in the pom with apache snapshot
>> repo. It is not linked to tomee directly.
>>
>
> --
>   Andy Gumbrecht
>
>   http://www.tomitribe.com
>   agumbrecht@tomitribe.com
>   https://twitter.com/AndyGeeDe
>
>   TomEE treibt Tomitribe! | http://tomee.apache.org
>
>

Re: No logging output using @RunWith(EJBContainerRunner.class)

Posted by Andy Gumbrecht <ag...@tomitribe.com>.
Sure, that link is to the downloads page that also contains the OpenEJB 
snapshot downloads.

To use the Apache Snapshot Repository in your own Maven project Karl 
just ensure it is declared in your project pom:

     <repositories>
           ...
       <repository>
         <id>apache-m2-snapshot</id>
         <name>Apache M2 Snapshot Repository</name>
<url>http://repository.apache.org/snapshots/</url>
         <releases>
             <enabled>false</enabled>
         </releases>
         <snapshots>
             <enabled>true</enabled>
         </snapshots>
       </repository>
     </repositories>

Andy.

> hmm, just need to use 4.6.1-SNAPSHOT in the pom with apache snapshot
> repo. It is not linked to tomee directly.

-- 
   Andy Gumbrecht

   http://www.tomitribe.com
   agumbrecht@tomitribe.com
   https://twitter.com/AndyGeeDe

   TomEE treibt Tomitribe! | http://tomee.apache.org


Re: No logging output using @RunWith(EJBContainerRunner.class)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm, just need to use 4.6.1-SNAPSHOT in the pom with apache snapshot
repo. It is not linked to tomee directly.


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-04-23 17:28 GMT+02:00 agumbrecht <ag...@tomitribe.com>:
> Hi Karl,
>
> You can download the snapshots from here:
>
> http://tomee.apache.org/download/tomee-1.6.1-snapshot.html
> <http://tomee.apache.org/download/tomee-1.6.1-snapshot.html>
>
> Andy
>
>
>
> -----
>     --
>     Andy Gumbrecht
>
>     http://www.tomitribe.com
>     agumbrecht@tomitribe.com
>     https://twitter.com/AndyGeeDe
>
>     TomEE treibt Tomitribe ! | http://tomee.apache.org
> --
> View this message in context: http://openejb.979440.n4.nabble.com/No-logging-output-using-RunWith-EJBContainerRunner-class-tp4668920p4668975.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: No logging output using @RunWith(EJBContainerRunner.class)

Posted by agumbrecht <ag...@tomitribe.com>.
Hi Karl,

You can download the snapshots from here:

http://tomee.apache.org/download/tomee-1.6.1-snapshot.html
<http://tomee.apache.org/download/tomee-1.6.1-snapshot.html>  

Andy



-----
    -- 
    Andy Gumbrecht

    http://www.tomitribe.com
    agumbrecht@tomitribe.com
    https://twitter.com/AndyGeeDe

    TomEE treibt Tomitribe ! | http://tomee.apache.org
--
View this message in context: http://openejb.979440.n4.nabble.com/No-logging-output-using-RunWith-EJBContainerRunner-class-tp4668920p4668975.html
Sent from the OpenEJB User mailing list archive at Nabble.com.