You need to include concurrent jar which is available at
http://ibiblio.org/maven2/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar
On 8/8/06, javaxmlsoapdev <[EMAIL PROTECTED]> wrote:
I am using all the mentioned version of Jencks, ActiveMQ, spring-xml etc.
I
am getting this exception. Am I missing any jars. please let me know.
Cannot resolve reference to bean 'connectionManager' while setting bean
property 'connectionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'connectionManager': FactoryBean threw exception on object
creation; nested exception is java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'jmsTemplate' defined in ServletContext resource
[/WEB-INF/spring-embedded.xml]: Cannot resolve reference to bean
'jmsConnectionFactory' while setting bean property 'connectionFactory';
nested exception is
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'jmsConnectionFactory' defined in
ServletContext resource [/WEB-INF/spring-embedded.xml]: Cannot resolve
reference to bean 'connectionManager' while setting bean property
'connectionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'connectionManager': FactoryBean threw exception on object
creation; nested exception is java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'jmsConnectionFactory' defined in ServletContext resource
[/WEB-INF/spring-embedded.xml]: Cannot resolve reference to bean
'connectionManager' while setting bean property 'connectionManager';
nested
exception is org.springframework.beans.factory.BeanCreationException:
Error
creating bean with name 'connectionManager': FactoryBean threw exception
on
object creation; nested exception is java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'connectionManager': FactoryBean threw exception on object
creation; nested exception is java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
Caused by:
java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
at
org.apache.geronimo.connector.outbound.connectionmanagerconfig.SinglePool.addPoolingInterceptors
(SinglePool.java:113)
at
org.apache.geronimo.connector.outbound.GenericConnectionManager$InterceptorsImpl
.<init>(GenericConnectionManager.java:85)
--
View this message in context:
http://www.nabble.com/Embedded-ActiveMQ-in-Spring-throws-java.lang.ClassNotFoundException-tf2035683.html#a5700011
Sent from the ActiveMQ - User forum at Nabble.com.
--
Cheers,
Guillaume Nodet