I am using Progress OpenEdge 11.5, and have replaced the SonicMQ JMS adapter with the generic JMS adapter.
A connection with an ActiveMQ server works flawlessly, but I am not able to connect to my SonicMQ server.
SonicMQ is version 7.6.2.... the server logfile states 'Failed to create a JMS session. (9290)' but there is no information showing the reason WHY...
RUN VALUE(DLC + "/jms/jmssession.r") PERSISTENT SET ptpsession ("-H localhost -S 5162").RUN setBrokerURL IN ptpsession (INPUT "tcp://sonicMQhost:2506").RUN setUser IN ptpsession (INPUT username).RUN setPassword IN ptpsession (INPUT userpass).
/* Connect to the broker. */RUN beginSession IN ptpsession.
and then the program stops with message "Error connecting to the JMS AppServer service".
I have tried several different things already; I have tried port 2500, I have tried adding "-AppService broker1" to the ptpsession parameters, I have tried adding "-AppService xx.SonicMQ1", nothing seems to work.
This definitely works; the good thing is that it doesn't matter whether the client is 10.2B or 11.5!
Some excerpts from AdminServerPlugins.properties:
# 4GL Sonic Adapter plugin - SonicMQ adapter support
# Policy for the 4GL SonicMQ Adapter
And a new file $DLC/properties/jmsProvider.properties:
Connecting from my OE ABLE client to ActiveMQ (server) works fine; just cannot get connected to SonicMQ v 7.6.2....
I have no connectionfactory, for neither connection.
Thanks for your help.
Unfortunately this is not what I'm looking for. I'm trying to connect to ActiveMQ as well as SonicMQ in ONE client session...
GENERIC JMS Adapter should be able to provide for this.. Apparently it doesn't so I'm going to log a support call about this issue.
In the meantime I have come up with an idea of a possibility that might be a temporary solution: I have a version 10.2B implementation running as well as a version 11.5. I can have my client session connect to the 11.5 SonicMQ1 adapter for ActiveMQ connectivity and to the 10.2B SonicMQ1 adapter for SonicMQ connectivity.
I will be trying this today.