jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes trying to send a JMS object message to a glassfish jms queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "trying to send a JMS object message to a glassfish jms queue" Watch "trying to send a JMS object message to a glassfish jms queue" New topic
Author

trying to send a JMS object message to a glassfish jms queue

peter cooke
Ranch Hand

Joined: Mar 16, 2004
Posts: 317
I am running glassfish with a mdb tied to a jms queue.
my glassfish app server has the following:
JMS Connection Factories=jms/emailQueueFactoryPool
Edit JMS Destination Resource=jms/emailQueue

when I execute "QueueConnectionFactory qcf = (QueueConnectionFactory) ctx.lookup("jms/queue/emailFactoryPool");"
but I keep getting a
"javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0]"



any idea what I am doing wrong???


CIAO Peter M. Cooke
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: trying to send a JMS object message to a glassfish jms queue
 
It's not a secret anymore!