activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Leyba" <>
Subject spring package problem
Date Wed, 07 Mar 2007 09:43:10 GMT

I've a JBoss service that starts my ActiveMQ brokers and it run's ok.

Now, I'm trying to deploy another application that is an axis server
deployed as a weapp to offer web services that will use activemq.

As JBoss services load classes before my webapp, my webapp could use
the classes loaded by the .sar. This was fantastic till today where I
tried to integrate my webapp with Spring... I received a lot of errors
calling a Spring webContextListener and discovered that errors were
produced because ActiveMQ comes with the whole Spring package and as
its loaded by the sar, my webapp thinks the app context was loaded...

So, I've two solutions:

1 - Try to know which Spring jars needs activemq to avoid the load of
spring-web in my sar.

2 - Try to isolated the webapp spring-web class loading to the whole war.

I found the first one more clean and easy so I wonder if somebody
could tell me wich Spring jars are needed by ActiveMQ.

Thanks in advance

Javier Leyba
Barcelona - Spain

View raw message