Forum Discussion

sug_in2008's avatar
sug_in2008
New Contributor
15 years ago

JMS Testing in SoapUI

Hi
I am using the latest version of soapui ( free version) i.e Soapui 3.5 beta1 for JMS testing and following the http://www.soapui.org/tutorials/jms/jms-tutorial.html
for configuring the ActiveMQ

I am facing following issue in the configuration of the ActiveMQ session in Hermes
1. Activemq is running successfully
2. On the Providers tab of Preferences ; I have added the required the jars
3. On the sessions tab , I have selected the "Loader" as ""
and Class as org.apache.activemq.ActiveMQConnectionFactory
4. But when I select the ActiveMQ from the dropdown of the Plugin it gives me following error:

"Unable to locate this plugin
Select the loader the JMS provider  classes  are in before  choosing the plugin"


Please suggest ...
  • colincrist's avatar
    colincrist
    Occasional Contributor
    The ActiveMQ plugin was not built correctly in the release provided with SoapUI which is causing this problem.

    I'm looking at it and will let you know when fixed.

    Regards,

    Colin.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    you can try our nightly build installer  which contains hermesJMS without this error http://www.eviware.com/nightly-builds/
    Also make sure that your new SoapUI pointing to proper hermesJMS which is under %soapui_home%\hermesJMS

    Hope this helps

    Regards Nebojsa
    eviware.com
  • accollado's avatar
    accollado
    New Contributor
    Hi Colin,
    I downloaded the 1.14 version, but I had the same error.
    I attach a pic and the logs.
    Regards
  • colincrist's avatar
    colincrist
    Occasional Contributor
    Can you

    a) provide me your hermes-config.xml.
    b) check that the hermes-activemq.jar does indeed contain .class files.

    Thanks,

    Colin.
  • accollado's avatar
    accollado
    New Contributor
    Hi Colin,
    the hermes-config and yes, the hermes-activemq.jar contains two .class

    hermes-activemq.jar
    -->hermes
        -->ext
              -->activemq
                  -->ActiveMQAdmin.class
                  --> ActiveMQAdminFactory.class

    Regards
  • Jasper175's avatar
    Jasper175
    Frequent Contributor
    Here is what helped me get it to work:

    1. Don't use JMS from SoapUI... use the web version:
    http://www.hermesjms.com/webstart/hermes/bin/hermes.jnlp

    2. For Win7 Users ensure you set JAVA_HOME since some machines don't have it. When you run activemq.bat note the first line it may tell you that JAVA_HOME is not set.
    If that is the case kill it...
    To set:
    set JAVA_HOME="C:\Program Files\Java\jre6"
    set PATH=%JAVA_HOME%/bin;%PATH%

    3. Then run activemq.bat

    Proceed with your configurations
    Hope this helps
    Rob Long (Jasper175)