WLS 7.x
Jdk1.4.2
activeMQ-4-RC2
Hi all,
Can the activeMQ be deployed in it own WAR ( ie. the example war with the
distribution) and used by other WAR on the same
app server?
I can't get this work as it complains about the following. It seems that the
when the servlet is invoked it is trying to startup another broker
instance. I don't understand why?
Any ideas?
<May 31, 2006 6:32:19 PM EST> <Notice> <WebLogicServer> <000360> <Server
started
in RUNNING mode>
TestServelt init
May 31, 2006 6:33:08 PM org.apache.activemq.broker.jmx.ManagementContext
findMBe
anServer
SEVERE: Couldnot load MBeanServer
java.lang.NoClassDefFoundError: javax/management/remote/JMXServiceURL
at
org.apache.activemq.broker.jmx.ManagementContext.createConnector(Mana
gementContext.java:323)
at
org.apache.activemq.broker.jmx.ManagementContext.createMBeanServer(Ma
nagementContext.java:293)
at
org.apache.activemq.broker.jmx.ManagementContext.findMBeanServer(Mana
gementContext.java:272)
at
org.apache.activemq.broker.jmx.ManagementContext.getMBeanServer(Manag
ementContext.java:145)
at
org.apache.activemq.broker.jmx.ManagementContext.start(ManagementCont
ext.java:69)
at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:353
)
at
org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnec
t(VMTransportFactory.java:102)
at
org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTrans
portFactory.java:48)
at
org.apache.activemq.transport.TransportFactory.doConnect(TransportFac
tory.java:42)
at
org.apache.activemq.transport.TransportFactory.connect(TransportFacto
ry.java:76)
at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:222)
at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:210)
at
org.apache.activemq.ActiveMQConnectionFactory.createQueueConnection(A
ctiveMQConnectionFactory.java:172)
at
com.ogs.mig.payment.test.TestServlet.setMessageReceiver(TestServlet.j
ava:135)
at com.ogs.mig.payment.test.TestServlet.init(TestServlet.java:65)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
etStubImpl.java:1092)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:685)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:916)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
--
View this message in context:
http://www.nabble.com/activeMQ+embedded+broker+in+separate+war-t1713647.html#a4653458
Sent from the ActiveMQ - User forum at Nabble.com.