Symptom
The WebSphere MQ connection test report fails due the error: "com/ibm/mq/MQEnvironment : cannot initialize class because prior initialization attempt failed"
In the log error.log (located in the Business Connector installation folder: <server>/logs), the following exception stack is present:
"...
Caused by: java.lang.reflect.InvocationTargetException
...
Caused by: java.lang.NoClassDefFoundError: com/ibm/mq/MQEnvironment : cannot initialize class because prior initialization attempt failed
...
Caused by: java.lang.NoSuchFieldError: isOn
at com.ibm.mq.PoolScavenger.<clinit>(PoolScavenger.java:77)
..."
Read more...
Environment
SAP Business Connector (SAP BC) with packages ZFA (public sector) and ZFA_RBM (pension receipt notifications).
Product
Keywords
WebSphere, MQ, connection, MQEnvironment, initialization, InvocationTargetException, NoClassDefFoundError, NoSuchFieldError, PoolScavenger , KBA , BC-MID-BUS , Business Connector , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.