File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
peter cooke
Ranch Hand
Posts: 317
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic