activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoyette <st...@goyettefamily.com>
Subject Re: NoClassDefFoundError ActiveMQConnectionFactory
Date Thu, 06 Jul 2006 16:22:09 GMT

I'm using version 4.0.1.

Here's the stack dump:

java.lang.NoClassDefFoundError:
org/apache/activemq/ActiveMQConnectionFactory
        at ca.intuit.jms.JMSTopic.createConnection(JMSTopic.java:81)
        at ca.intuit.jms.JMSConnection.getSession(JMSConnection.java:124)
        at ca.intuit.jms.JMSTopic.setListener(JMSTopic.java:146)
        at ca.intuit.jms.JMSSubSystem.setListener(JMSSubSystem.java:179)
        at ca.intuit.jms.MessageDispatcher.<init>(MessageDispatcher.java:62)
        at
ca.intuit.jms.MessageDispatcher.<clinit>(MessageDispatcher.java:50)
        at
ca.quicktax.web.servlet.Administration.initJms(Administration.java:819)
        at
ca.quicktax.web.servlet.Administration.sessionDestroyed(Administration.java:887)
        at com.evermind._ay._hsb(Unknown Source)
        at com.evermind._eu._hsb(Unknown Source)
        at com.evermind._hc._hsb(Unknown Source)
        at com.evermind._hc.run(Unknown Source)
        at com.evermind._bd.run(Unknown Source)
        at com.evermind._bf.run(Unknown Source)

This is what's at line 81 of JMSTopic:

connectionFactory = new ActiveMQConnectionFactory( "tcp://localhost:61616"
); 

It really does look like it can't find the jar file but they're definately
in the classpath.  I've included:

activeio-core-3.0-beta3.jar
activemq-core-4.0.1.jar
commons-logging-1.0.4.jar

At various times I've tried including everything in the lib directory as
well as everything in the optional directory (was grasping at that point).

this is running on Java HotSpot(TM) Client VM version 1.5.0_03-b07 and sits
inside Orion 2.0.5

Here's what's in my classpath at the time of the exception (via
system.properties):

/usr/local/orion/orion.jar
/usr/local/orion/ejb.jar
/usr/local/orion/activation.jar
/usr/local/orion/jdbc.jar
/usr/local/orion/jndi.jar
/usr/local/orion/jta.jar
/usr/local/orion/mail.jar
/usr/local/orion2.0.5/lib
/usr/local/orion2.0.5/lib/hsqldb.jar
/usr/local/orion2.0.5/lib/classes12.jar
/usr/local/orion2.0.5/lib/ojdbc14.jar
/usr/local/orion2.0.5/lib/p6spy.jar
/var/local/apps/06/config/orion/lib
/var/local/apps/06/j2ee-apps/applications/web/log4j-1.2.8.jar
/var/local/apps/06/j2ee-apps/applications/web/velocity-1.4.jar
/var/local/apps/06/j2ee-apps/applications/web/velocity-dep-1.4.jar
/var/local/apps/06/j2ee-apps/applications/web/axis.jar
/var/local/apps/06/j2ee-apps/applications/web/wsdl4j.jar
/var/local/apps/06/j2ee-apps/applications/web/jaxrpc.jar
/var/local/apps/06/j2ee-apps/applications/web/saaj.jar
/var/local/apps/06/j2ee-apps/applications/web/commons-beanutils-1.6.1.jar
/var/local/apps/06/j2ee-apps/applications/web/commons-discovery.jar
/var/local/apps/06/j2ee-apps/applications/web/commons-collections-3.0.jar
/var/local/apps/06/j2ee-apps/applications/web/cglib-full-2.0.2.jar
/var/local/apps/06/j2ee-apps/applications/web/commons-lang-1.0.1.jar
/var/local/apps/06/j2ee-apps/applications/web/dom4j-1.4.jar
/var/local/apps/06/j2ee-apps/applications/web/ehcache-0.9.jar
/var/local/apps/06/j2ee-apps/applications/web/hibernate2.jar
/var/local/apps/06/j2ee-apps/applications/web/hibernate-tools.jar
/var/local/apps/06/j2ee-apps/applications/web/jdom.jar
/var/local/apps/06/j2ee-apps/applications/web/jta.jar
/var/local/apps/06/j2ee-apps/applications/web/odmg-3.0.jar
/var/local/apps/06/j2ee-apps/applications/web/sso_client.jar
/var/local/apps/06/j2ee-apps/applications/web/intuit-shared.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/log4j-1.2.8.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/commons-logging-api-1.0.3.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/cos-31oct2000.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/activeio-core-3.0-beta3.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/commons-discovery.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/velocity-dep-1.4.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/commons-beanutils-1.6.1.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/activemq-core-4.0.1.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/commons-logging-1.0.4.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/commons-collections-3.0.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/jakarta-regexp-1.2.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/sso_client.jar
/var/local/apps/06/j2ee-apps/applications/web/webapp/WEB-INF/lib/velocity-1.4.jar

What am I missing?

Steve
-- 
View this message in context: http://www.nabble.com/NoClassDefFoundError-ActiveMQConnectionFactory-tf1897757.html#a5202922
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message