[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queue/testQueue, Message Driven Bean don't receive messa

2005-05-13 Thread fabrefumi
thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877595#3877595

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877595


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - queue/testQueue, Message Driven Bean don't receive messages.

2005-04-20 Thread fabrefumi
 Dear all,

I have a problem sending a message from a session Bean to a MDB. The message 
arrives to the queue, becouse I have tested it through  the jmx-console. but 
the message driven bean didn't read anyting. It's easy, but for me fustrating, 
What can I do to change that? 

ejb-jar ///
  
 
 Audimetro

 AudimetroMD

 medtv.ejb.AudimetroMDBean

 Container
 Auto-acknowledge
 
javax.jms.Queue
 

  

jboss.xml//
  
 AudimetroMD
 ="queue/testQueue"
  



MDB Xdoclet of Message DBean//
 * @ejb.bean name="AudimetroMD"
 *   display-name="Audimetro"
 *   destination-type="javax.jms.Queue"
 *   acknowledge-mode="Auto-acknowledge"
 *   
 * @jboss.destination-jndi-name ="queue/testQueue"
 * 
 */


///
a piece of code of sender...

 connectionFactory =(QueueConnectionFactory) 
jndiContext.lookup("java:/XAConnectionFactory");

destination =(Queue) jndiContext.lookup("queue/testQueue");


 a part from that when the JBOSS server is deploy the application shows this


17:28:11,554 INFO  [EjbModule] Deploying AudimetroMD
17:28:11,992 WARN  [JMSContainerInvoker] Could not find the queue 
destination-jndi-name=="queue/testQueue"
17:28:11,992 WARN  [JMSContainerInvoker] destination not found: 
queue/testQueue" reason: javax.naming.NameNotFoundException: testQueue" not 
bound
17:28:11,992 WARN  [JMSContainerInvoker] creating a new temporary destination: 
queue/testQueue"
17:28:11,992 ERROR [JMSContainerInvoker] Starting failed 
jboss.j2ee:binding=message-driven-bean,jndiName=local/AudimetroMD,plugin=invoker,service=EJB
MBeanException: null Cause: javax.management.MalformedObjectNameException: 
jboss.mq.destination:service=Queue,name=testQueue" is not a valid ObjectName. 
Unterminated quote pair, missing quote
at 
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:166).

I think that i have done anything wrong, or I am very close to solve this.

PLEASE, can you help me. It's a simple example.

Is possible that I need to config something else?

THANKS-

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874681#3874681

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874681


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - send messages from Statefull to anoteher one.

2005-04-07 Thread fabrefumi
Dear All,

I have an easy question to resolve, 

Which is the better communication architecture between two Statefull beans.

Statefull bean A (producer)
MDB?
Statefull bean B (consumer)

its possible? i don't know how communicate the MDB who recibes de messages with 
the Statefulbean B (consumer.)

Thanks in advance for your help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873101#3873101

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873101


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user