users@glassfish.java.net

Re: Problem using CXF on Glassfish 3.1.1: keep getting the Metro

From: <forums_at_java.net>
Date: Wed, 11 Jan 2012 12:13:37 -0600 (CST)

Hi Andreas.

So I removed the commons.jar that was packaged in th WEB-INF/lib, so that
there is only one now, packaged in the EAR's lib directory. This solved my
ConfigProperties issue: the webapp, when initializing the static properties
attribute, now has to ask its parent classloader, and so the EJBs also see
the same instance of ConfigProperties, where the static attribute is
correctly populated wth the properties.

I am now running into other strange issues that are potentially consequences
of the delegate="false" setting, including one where an EJB gets a
NoClassDefFoundError on a call to a static method of a class that is packaged
in lib/commons.jar.

I'll keep you updated.

Thanks,

Fabien


--
[Message sent by forum member 'sonicfab']
View Post: http://forums.java.net/node/881765