Hi,
We are using SMX 4.4 and planning to communicate Websphere Message Queue. We
deployed below jar files into OSGI Container and able to communicate
Websphere Message Queue. However we noticed Deployment errors when security
exit has enabled
<bean id="connectionFactory" class="com.ibm.mq.jms.MQConnectionFactory">
<property name="transportType" value="1"/>
<property name="channel" value="${QUEUE-CHANNEL}"/>
<property name="hostName" value="${MQSERVER-ADDRESS}"/>
<property name="port" value="${MQSERVER-PORT}"/>
<property name="queueManager" value="${MQ-MANAGER}"/>
<property name="securityExit"
value="biz.capitalware.mqausx.MQAUSXJ2EE"
/>
<property name="securityExitInit"
value="hvk003:nnn"></property>
</bean>
Exception:
java.lang.NoClassDefFoundError: com/ibm/mq/MQExitChain
at java.lang.Class.getDeclaredMethods0(Native Method)[:1.6.0_31]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)[:1.6.0_31]
at java.lang.Class.getDeclaredMethod(Class.java:1935)[:1.6.0_31]
at
com.ibm.mq.jmqi.remote.exit.RemoteExitChain.<clinit>(RemoteExitChain.java:157)
at
com.ibm.mq.jmqi.remote.impl.RemoteConnection.initSecurityExits(RemoteConnection.java:1573)
at
com.ibm.mq.jmqi.remote.impl.RemoteConnectionSpecification.getSessionFromNewConnection(RemoteConnectionSpecification.java:348)
at
com.ibm.mq.jmqi.remote.impl.RemoteConnectionSpecification.getSession(RemoteConnectionSpecification.java:264)
at
com.ibm.mq.jmqi.remote.impl.RemoteConnectionPool.getSession(RemoteConnectionPool.java:144)
at com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1690)
at com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1343)
at
com.ibm.msg.client.wmq.internal.WMQConnection.<init>(WMQConnection.java:342)
at
com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6772)
at
com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6151)
at
com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:280)
Here enclosed exception details as an attachement. Please suggest me how to
resolve this issue.
Configured Websphere Message Queue OSGI jar files:
<bundle>wrap:file:system/bundles/com.ibm.mq.osgi.directip_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.msg.client.osgi.commonservices.j2se_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.msg.client.osgi.jms.prereq_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.msg.client.osgi.jms_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.msg.client.osgi.nls_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.msg.client.osgi.wmq.nls_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.msg.client.osgi.wmq.prereq_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.msg.client.osgi.wmq_7.1.0.3.jar</bundle>
<bundle>wrap:file:system/bundles/com.ibm.mq.osgi.java_7.1.0.3.jar</bundle>
Regards,
pchakinala
exception_details.txt
<http://servicemix.396122.n5.nabble.com/file/n5722358/exception_details.txt>
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Websphere-MQ-Security-Exit-tp5722358.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.