Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Torques, 1 year ago
Failed to create managed connection: java.lang.NoClassDefFoundError: Could not initialize class org.apache.activemq.ActiveMQPrefetchPolicy
java.lang.NoClassDefFoundError: Could not initialize class org.apache.activemq.ActiveMQPrefetchPolicy	at org.apache.activemq.ActiveMQConnectionFactory.(ActiveMQConnectionFactory.java:88)	at org.apache.activemq.ActiveMQConnectionFactory.(ActiveMQConnectionFactory.java:131)	at org.apache.activemq.ActiveMQConnectionFactory.(ActiveMQConnectionFactory.java:127)	at sun.reflect.GeneratedConstructorAccessor618.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at java.lang.Class.newInstance0(Class.java:355)	at java.lang.Class.newInstance(Class.java:308)	at oracle.tip.adapter.jms.JMS.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:170)	at oracle.tip.adapter.jms.JMS.JMSConnectionFactoryFactory.getQueueConnectionFactory(JMSConnectionFactoryFactory.java:86)	at oracle.tip.adapter.jms.JMS.JMSConnection.init(JMSConnection.java:173)	at oracle.tip.adapter.jms.JMS.JMSConnection.(JMSConnection.java:117)	at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:371)	at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createDefaultConnection(JmsManagedConnectionFactory.java:364)	at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:327)	at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.java:95)	at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803)	at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)	at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193)	at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)	at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332)	at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315)	at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620)	at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309)	at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:365)	at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:320)	at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129)	at oracle.tip.adapter.jms.JmsConnectionFactory.getConnection(JmsConnectionFactory.java:93)	at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.createConsumer(JMSMessageConsumer.java:318)	at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.init(JMSMessageConsumer.java:913)	at oracle.tip.adapter.jms.inbound.JmsConsumer.init(JmsConsumer.java:862)	at oracle.tip.adapter.jms.JmsEndpoint.run(JmsEndpoint.java:163)	at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)	at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)	at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)