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 <[email protected]> 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.
>

Reply via email to