4 Replies Latest reply: Feb 10, 2014 5:51 PM by SAP PI RSS

PI 7.3 JMS Adapter Active MQ-com.sap.aii.adapter.jms.api.connector.ConnectorException

Srinivasa Kapu
Currently Being Moderated

Hi Guys,

 

we are trying to connect to the ActiveMQ (5.5.1) from PI 7.3 using JMS adapter and the provider.xml exactly looks like above and i have followed your blog PI tips Active MQ and i am getting the error as below. Any help would be appreciated.

 

A channel error occurred. Detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Cannot construct connection factory using constructor: ConstructorInvocationException: Error executing constructor invocation: <br>{ConstructorInvocation<br>{className=org.apache.activemq.ActiveMQConnectionFactory,<br>invokeParams=[<br>{InvokeParameter<br>{className=null,<br>type=java.lang.String,<br>value=tcp://XX.XXX.XX.XX:61616<br>}]<br>}: java.lang.reflect.InvocationTargetException at com.sap.aii.adapter.jms.core.connector.DirectConnectorImpl.createConnectionFactory(DirectConnectorImpl.java:101) <br>

 

My provider.xml looks like below.

 

<?xml version="1.0"?>

-<provider-descriptor> <display-name>XPI Adapter Library</display-name> <component-name>com.sap.aii.adapter.lib</component-name> <provider-name>sap.com</provider-name> -<references> <reference provider-name="sap.com" strength="strong" type="library">engine.j2ee14.facade</reference> </references> -<jars> <jar-name>lib/com.sap.aii.adapter.lib_api.jar</jar-name> <jar-name>lib/activemq-all-5.5.1.jar</jar-name> <jar-name>lib/slf4j-log4j12-1.6.4.jar</jar-name> <jar-name>lib/log4j-over-slf4j-1.6.4.jar</jar-name> <jar-name>lib/spring-aop-3.0.3.RELEASE.jar</jar-name> <jar-name>lib/spring-asm-3.0.3.RELEASE.jar</jar-name> <jar-name>lib/spring-beans-3.0.3.RELEASE.jar</jar-name> <jar-name>lib/spring-context-3.0.3.RELEASE.jar</jar-name> <jar-name>lib/spring-core-3.0.3.RELEASE.jar</jar-name> <jar-name>lib/spring-expression-3.0.3.RELEASE.jar</jar-name> <jar-name>lib/spring-jms-3.0.3.RELEASE.jar</jar-name> <jar-name>lib/spring-oxm-tiger-1.5.8.jar</jar-name> <jar-name>lib/spring-tx-3.0.3.RELEASE.jar</jar-name> </jars> </provider-descriptor>

 

Do i need to remove all spring files and just have 4 jar files as in the link below? Do i need to set any class path? I did overwrite option while deploying the sda file using JSPM. Any help would be appreciated

 

looked into threads http://scn.sap.com/thread/2140311

 

http://scn.sap.com/people/michal.krawczyk2/blog/2011/12/25/michals-pi-tips-activemq--jms--topics-with-sap-pi-73

 

 

Thanks,

 

Srini

Actions