activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano <>
Subject Re: JCA adapter and Spring 2 application conflict in JBoss
Date Sun, 11 Feb 2007 15:43:11 GMT

No response till now from Jboss forum. But I made some more experiments to
help understand what happens.
As the original error came from
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver I set
the whole org.springframework.beans.factory.xml package at the log4j DEBUG
level and discovered that the problems seems related that this class when
loading namespace mappings  will find reference to activemq and
XBeanNamespaceHandler in every Spring application when the activeMQ JCA rar
is deployed in JBoss:
2007-02-11 15:05:56,484 DEBUG
 Loaded mappings [{,,,,,,,

 So DefaultNamespaceHandlerResolver will try to load the
XBeanNamespaceHandler class generating the original problem. The workaround
of deleting the spring-2.0 jar that I found previously revealed not a good
solution as with DEBUG on revealed to generate this error:

2007-02-11 15:12:42,484 DEBUG
Ignoring handler [org.apache.xbean.spring.context.v2.XBeanNamespaceHandler]:
class not found

Supposing the problem is to load correctly the XBeanNamespaceHandler I tryed
another workaround adding the xbean-spring-2.8.jar to the Spring app an
effectively all run fine and this shoul work even for an embedded broker.
The real solution would be not to have unneeded namespace mappings  visible
in the app, but I don't know how to do it.
Any further idea?


Luciano wrote:
> I posted the problem on JBoss forum:
> Luciano

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message