• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • 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: 3036
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.





 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic