Consultor Eletrônico



Kbase P119401: Adapter for SonicMQ: ConnectionStateChangeListener.class not found.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/10/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1x
Sonic MQ 6.1

SYMPTOM(s):

4GL -JMS clients error out when connecting to the adapter.

Connection refused by Application Server. (5467)

Error connecting to the JMS Appservice

Adapter.Server.log has a NoClassDefFound exception in it.

java.lang.NoClassDefFoundError: progress/message/jclient/ConnectionStateChangeListener
at com.progress.javafrom4gl.services.jms.jms._connect(jms.java:229)
at com.progress.javafrom4gl.implementation.JavaServlet.<init>(JavaServlet.java:72)
at com.progress.javafrom4gl.implementation.ServiceImpl.createConnectionServlet(ServiceImpl.java:98)
at com.progress.ubroker.broker.ubServerThreadIPC.write(ubServerThreadIPC.java:394)
at com.progress.ubroker.broker.ubASserverThread.processConnect(ubASserverThread.java:490)
at com.progress.ubroker.broker.ubServerThread.processEvent(ubServerThread.java(Compiled Code))
at com.progress.ubroker.broker.ubServerThread.mainline(ubServerThread.java:411)
at com.progress.ubroker.broker.ubServerThread.run(ubServerThread.java:320)

CAUSE:

The problem is that the Adapter for SonicMQ has Sonic 5.1 jars in its classpath and the 4GL-JMS clients are trying to connect to a Sonic 6.1 Broker that ha Fault Tolerance enabled. Fault Tolerance is a feature new to 6.1 so the class needed ( ConnectionStateChangeListener) does not exist in the 5.1 .jar file

FIX:

Replace the 5.1 jar files with the one From SonicMQ 6.1