This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP and have Lucian Maly on-line!
See this thread for details.
Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

JMS ConnectionFactory lookup failure in Sun Application Server

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to connect to a JMS application installed in Sun Application server, which is running in Windows machine.
My Client side Program is running in a linux machine and tries to connect to the Server, which is running in the Sun Application server. InintialContext object is created successfully and when the client program tries a JNDI lookup for the QueueConnectionFactory, the lookup is failing with NamingException.

The Exception message is : "javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting]"

I have added the following jars in the classpath of my program : appserv-admin.jar, appserv-rt.jar, imqjmsra.jar, j2ee.jar, imq.jar

Did anyone faced the issue previously? If anybody has come across the same situation please help me to find out the problem.

Thanks in advance
Manu.
 
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic