• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem getting Queueconnection through servlet

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic