activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wozzer <paul.j.worr...@jpmorgan.com>
Subject Re: activemq-all-*.jar not recognised in Tomcat 6
Date Wed, 23 Jul 2008 14:12:44 GMT

I am sure it is something to do with the jar itself. If you got a clean
Tomcat 6.0.16, dropped the active-all-5.x.0.jar in ${CATALINA_HOME}/lib and
deployed a web app using activemq you will get the same problem.

However, I tried what you suggested and the same problem persists..

2008-07-23 15:07:56,514 ERROR
[org.springframework.web.context.ContextLoader] Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'cmdbDataStore' defined in ServletContext resource
[/WEB-INF/cmdb-persistence.xml]: Cannot resolve reference to bean
'percentageAllocationProducer' while setting bean property
'percentageAllocationProducer'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'percentageAllocationProducer' defined in ServletContext resource
[/WEB-INF/cmdb-messaging.xml]: Cannot resolve reference to bean
'myJmsTemplate' while setting bean property 'jmsTemplate'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'myJmsTemplate' defined in ServletContext resource
[/WEB-INF/cmdb-messaging.xml]: Cannot create inner bean
'org.springframework.jms.connection.SingleConnectionFactory#1367e28' while
setting bean property 'connectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.jms.connection.SingleConnectionFactory#1367e28' defined
in ServletContext resource [/WEB-INF/cmdb-messaging.xml]: Cannot resolve
reference to bean 'jmsFactory' while setting bean property
'targetConnectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jmsFactory': Invocation of init method failed; nested exception
is javax.naming.NamingException: Could not create resource factory instance
[Root exception is java.lang.NoClassDefFoundError]
Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'percentageAllocationProducer' defined in ServletContext resource
[/WEB-INF/cmdb-messaging.xml]: Cannot resolve reference to bean
'myJmsTemplate' while setting bean property 'jmsTemplate'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'myJmsTemplate' defined in ServletContext resource
[/WEB-INF/cmdb-messaging.xml]: Cannot create inner bean
'org.springframework.jms.connection.SingleConnectionFactory#1367e28' while
setting bean property 'connectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.jms.connection.SingleConnectionFactory#1367e28' defined
in ServletContext resource [/WEB-INF/cmdb-messaging.xml]: Cannot resolve
reference to bean 'jmsFactory' while setting bean property
'targetConnectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jmsFactory': Invocation of init method failed; nested exception
is javax.naming.NamingException: Could not create resource factory instance
[Root exception is java.lang.NoClassDefFoundError]
Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'myJmsTemplate' defined in ServletContext resource
[/WEB-INF/cmdb-messaging.xml]: Cannot create inner bean
'org.springframework.jms.connection.SingleConnectionFactory#1367e28' while
setting bean property 'connectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.jms.connection.SingleConnectionFactory#1367e28' defined
in ServletContext resource [/WEB-INF/cmdb-messaging.xml]: Cannot resolve
reference to bean 'jmsFactory' while setting bean property
'targetConnectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jmsFactory': Invocation of init method failed; nested exception
is javax.naming.NamingException: Could not create resource factory instance
[Root exception is java.lang.NoClassDefFoundError]
Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.jms.connection.SingleConnectionFactory#1367e28' defined
in ServletContext resource [/WEB-INF/cmdb-messaging.xml]: Cannot resolve
reference to bean 'jmsFactory' while setting bean property
'targetConnectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jmsFactory': Invocation of init method failed; nested exception
is javax.naming.NamingException: Could not create resource factory instance
[Root exception is java.lang.NoClassDefFoundError]
Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jmsFactory': Invocation of init method failed; nested exception
is javax.naming.NamingException: Could not create resource factory instance
[Root exception is java.lang.NoClassDefFoundError]
Caused by: 
javax.naming.NamingException: Could not create resource factory instance
[Root exception is java.lang.NoClassDefFoundError]
	at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
....
-- 
View this message in context: http://www.nabble.com/activemq-all-*.jar-not-recognised-in-Tomcat-6-tp18608426p18611643.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message