All i am running activemq 4.0.2 in an embedded broker, i have a simple client
which posts a message to a MDB within jboss the MDB reads the messages and
then trys to post the message to a topic, it does this by passing it to an
EJB, but i get this error when the EJB trys to post the message.

13:57:29,451 INFO  [TestMDB]
SimpleMessageReceiverBean.SimpleMessageReceiverBean
13:57:29,451 INFO  [TestMDB]
SimpleMessageReceiverBean.setMessageDrivenContext
13:57:29,466 INFO  [TestMDB] SimpleMessageReceiverBean.ejbCreate
13:57:29,497 INFO  [TestMDB] SimpleMessageReceiverBean.onMessage
13:57:29,513 INFO  [TestMDB] Message received:
ID:test1-4199-1169560649076-1:0:1:1
:1
13:57:29,544 INFO  [TestMDB] Sending message:
[EMAIL PROTECTED]
13:57:29,591 INFO  [TestMDB] SimpleMessageReceiverBean.ejbRemove
13:57:29,607 ERROR [LogInterceptor] TransactionRolledbackLocalException in
method: public abstract v
oid javax.jms.MessageListener.onMessage(javax.jms.Message), causedBy:
uk.co.objectsoft.exception.InfrastructureException:
javax.ejb.CreateException: Component not found [
jms not bound]
        at
uk.co.objectsoft.jms.ejb.JmsSenderUtil.getJmsSenderLocal(JmsSenderUtil.java:59)
        at com.db.abmonitor.mdb.TestMDB.sendMessage(TestMDB.java:97)
        at com.db.abmonitor.mdb.TestMDB.handleMessage(TestMDB.java:64)
        at com.db.abmonitor.mdb.TestMDB.onMessage(TestMDB.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
        at
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.j
ava:495)
        at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI
nterceptor.java:158)
        at
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterc
eptor.java:116)
        at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

        at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
        at
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
        at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
        at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.
java:136)
-- 
View this message in context: 
http://www.nabble.com/jboss-error-when-posting-to-activemq-topic%3A-Component-not-found-tf3064383.html#a8522498
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to