IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2013-02-05T18:10:52Z by SystemAdmin
1 Post

Pinned topic [RSA] MQ errors w/WAS 7.0 test environment

‏2010-07-02T23:47:38Z |
I have a program that references some MQ classes, such as MQQueueConnectionFactory and MQTopicConnectionFactory. It's in a utility project that includes the WAS runtime.

When using the WAS 6.1 runtime, there was no problem with referencing the MQ classes. However, when switching to the WAS 7.0 runtime, I get the following error from RSA:
The type cannot be resolved. It is indirectly referenced from required .class files

Is this a configuration problem on my part?

Further detail:

The class is an implemented interface of MQQueueConnectionFactory (per the MQ 7.0 documentation.) I have found that class defined in a JAR file ( in ${ECLIPSE_HOME}/runtimes/base_v7/installedConnectors/wmq.jmsra.rar. If I look at the WAS 7.0 runtime library in my project, the public MQ JAR files ( and are also being taken from that same RAR, but aren't being exposed.

RSA Version: 7.5.4
WAS 7.0 Test Environment Update 1 (latest available.)
Updated on 2013-02-05T18:10:52Z at 2013-02-05T18:10:52Z by SystemAdmin
  • VenkatYadavalli
    1 Post

    Re: [RSA] MQ errors w/WAS 7.0 test environment

    ‏2010-12-21T13:36:33Z  in response to ArtK

    Can you please let me know if you found any resolution to this problem, I face the same issue, it would be great help if you can share me the resolution.

    Thanks in advance.
    • SystemAdmin
      14225 Posts

      Re: [RSA] MQ errors w/WAS 7.0 test environment

      ‏2013-02-05T18:10:52Z  in response to VenkatYadavalli
      Hi, I had the same issue. I couldn't find a solution online after searching in different ways. Hopefully this is of help to someone.
      I found that the MQQueueConnection in the under <your path to websphere install dir>IBM\SDP\runtimes\base_v7\installedConnectors\wmq.jmsra.rar implements JmsQueueConnection interface. But JmsQueueConnection is not provided in the jar file mentioned above. So I downloaded the mqjms jar from and added the same to the classpath. Fyi, i'm using RAD7.5 and WAS7.0.