You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Stephanie Stroka <st...@gmail.com> on 2014/02/15 23:25:37 UTC

TomEE 1.6.1, OpenEJB 4.6.1

Hi everyone,

who of you knows when the next release is coming out? I'm waiting for the
new TomEE version that includes openejp 4.6.1 because of this bug that I'm
currently running into: https://issues.apache.org/jira/browse/OPENEJB-2063

I tried downloading the snapshot release, but Nexus has problems:
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.6.1-SNAPSHOT/apache-tomee-1.6.1-20140122.151138-49-jaxrs.zip

Thanks to anybody who can help me!
Stephanie

Re: TomEE 1.6.1, OpenEJB 4.6.1

Posted by Andy <ag...@tomitribe.com>.
I think you should try removing all the slf4j libs, that may do it?

Andy.

Re: TomEE 1.6.1, OpenEJB 4.6.1

Posted by Stephanie Stroka <st...@gmail.com>.
Hi Andy,

Thanks for answering! I was trying to use slf4j and logback. I added the
logback classic and core version 1.1 libs, as well as the jul-to-slf4j
brige (version 1.7.5) to my classpath. I also added the handler in
logging.properties: handlers = org.slf4j.bridge.SLF4JBridgeHandler.

I tried setting the openejb.factory.log=slf4j, without removing any of my
libs, and I get the same result:

Feb 16, 2014 1:09:40 PM org.apache.openejb.observer.ObserverManager
fireEvent
SEVERE: error invoking
Observer{class=org.apache.tomee.webservices.TomeeJaxRsService}
java.lang.UnsupportedOperationException
        at
org.apache.cxf.common.logging.AbstractDelegatingLogger.setLevel(AbstractDelegatingL
        at
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListe
        at
org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:453)

Do you have any other ideas? Maybe the use of the jul-slf4j bridge is not
necessary?

I'll try the trick with maven. Thanks for the hint.

Cheers,
Stephanie


On Sun, Feb 16, 2014 at 12:38 PM, Andy <ag...@tomitribe.com> wrote:

> Hi Stephanie,
>
> What logging framework do you have configured? This issue only arises on
> certain configurations. Have a look at Romain's logging blog here:
> http://rmannibucau.wordpress.com/2012/07/18/openejb-tomee-
> and-log-framework/ and try to find a workaround.
>
> The SNAPSHOT should be online and may just be a temporary problem. Try
> again, but just add it to your maven config and not download it directly.
>
> <dependency>
>     <groupId>org.apache.openejb</groupId>
>     <artifactId>apache-tomee</artifactId>
>     <version>1.6.1-SNAPSHOT</version>
> </dependency>
>
> However, the directory view on https://repository.apache.org/
> content/groups/snapshots/org/apache/openejb/apache-tomee/1.6.1-SNAPSHOT/is working (the actual archive links change with every build).
>
> Andy.
>

Re: TomEE 1.6.1, OpenEJB 4.6.1

Posted by Andy <ag...@tomitribe.com>.
Hi Stephanie,

What logging framework do you have configured? This issue only arises on 
certain configurations. Have a look at Romain's logging blog here: 
http://rmannibucau.wordpress.com/2012/07/18/openejb-tomee-and-log-framework/ 
and try to find a workaround.

The SNAPSHOT should be online and may just be a temporary problem. Try 
again, but just add it to your maven config and not download it directly.

<dependency>
     <groupId>org.apache.openejb</groupId>
     <artifactId>apache-tomee</artifactId>
     <version>1.6.1-SNAPSHOT</version>
</dependency>

However, the directory view on 
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.6.1-SNAPSHOT/ 
is working (the actual archive links change with every build).

Andy.