• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem getting Queueconnection through servlet  RSS feed

 
Deep Mukherjee
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to connect queue through my application. I am using RAD 7.5 and WAS 6.1 server.


When i am trying to connect through standalone java application i am able to connect the queue and putting the message there and getting the response bag. It just a java program running on jdk.

i have created a dynamic web program. when i am trying to access the same java program that web application its gving me MQJMS exception 2005 unable to create queue.I am just trying to create a instance of that class and tring to put the messages in the queue.
the later program is running on WAS 6.1


Can you please help .

Just for information ... i am directly getting the access of queue and putting the massage there .I am not going throughany local queues
or Queues on the server.
 
Greg Charles
Sheriff
Posts: 3014
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're probably not going to get a good answer to this in the Ant/Maven forum. Let's give it a try in EJB and other Java EE Technologies (including JMS).
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have created a dynamic web program. when i am trying to access the same java program that web application its gving me MQJMS exception 2005 unable to create queue.


I am not sure if you have worded it wrong, but it's unlikely that you are creating a queue. Queues are administered objects usually and are configured outside the client code as a server administrative task.

Does the exact same code of your standalone client not work from within your web app? Is it possible to post the code?

cheers,
ram.





 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!