cancel
Showing results for 
Search instead for 
Did you mean: 

Reciever JMS Adpater Error

former_member182412
Active Contributor
0 Kudos

Hi Experts,

I am getting following error in Reciever JMS adapter:

I am using transport protocol is Acces JMS provider with JNDI

Channel error occurred; detailed error description: com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=http://168.89.59.82:7005/, java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory}for profile: ConnectionProfile of channel: CC_eRespond_ServiceTicketson node: 8273250 having object id: d72754188a053d43b6aa0dd420346941: javax.naming.CommunicationException

at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:66)

...

Can anyone please tell me what is the cause of this error.

Kind Regards,

Praveen.

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Praveen,

Why are you using Transport Protocal Acces JMS provider with JNDI??

Which Jar files you deployed MQ or Sonic MQ??

if you deployed Sonic MQ jar files use SONIC MQ JMS provided ,

if you deployed MW use MQ Series JMS Provides as Transport protocal.

Regards,

Raj

former_member182412
Active Contributor
0 Kudos

Hi Raja,

I am configuring JMS adapter for first time, can you please please give me more detail how to set up MQ series.

RameshGulipall
Active Participant
0 Kudos

Hi ,

First you need to deply the driver/jar for Sonic,WBMQ in PI server after that u can configre the JMS Sender/Receiver Adapter in PI.

While configration of Receiver JMS Adapter:

Message protocol:Sonicor WBMQ(which ne deployed in PI)

Server and IP:it is receiver MQ Sever ip

Port:MQ Server port

Chanle manger:

Queue manger: Queue manger and Queue all these created by MQ adim,you can get all informatiom regarding Channale,Queue m

manger and Queue from the MQ Admin

Queue:

TCP/IP connection

Regards,

Ramesh

former_member182412
Active Contributor
0 Kudos

what about third party side should they also have webshere MQ or not??

if yes what needs to be done on third party side????

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Praveen,

First let me know wts your receiver system ?? why you are using JMS adapter??

If you want to connect to MQ or SONIC MQ system or some other queue systems we go for JMS Adapter.

If you want to connect those systesm we need to deploy Jar files in XI server,these jar files are releven to the Queue system.

If you are using MQSeries 53x.xxx, you must enter the following JAR files in com.sap.aii.adapter.lib.sda:

com.ibm.mq.jar,com.ibm.mqbind.jar,com.ibm.mqjms.jar and connector.jar (use the JAR file from the AS Java client directory).

refer below link it wil give clear idea.

http://help.sap.com/saphelp_nwpi71/helpdata/en/43/81af2acfa86fcde10000000a1553f6/frameset.htm

Regards,

Raj

former_member182412
Active Contributor
0 Kudos

Hi The third party system is java system, it is using welogic server.

my config is look like this.

Tranport protocol : Access JMS provider with JNDI

JNDI Lookup Name of QueueConnectionFactory : ConnectionFactory

JNDI Lookup Name of JMS Queue : queue/IntegrationQueue

Name of JNDI Initial Context Factory : weblogic.jndi.WLInitialContextFactory

JNDI Server Address : http://IP:port/

username and password

former_member182412
Active Contributor
0 Kudos

Hi Experts,

We are sending messages from XI to Weblogic server with the help of JMS Adapter. The Queue is available in Weblogic server.

Our configuration of JMS receiver Adapter is

JNDI Lookup Name of Queue Connection Factory----


ConnectionFactory

JNDI Lookup Name of JMS Queue----


queue/IntegrationQueue

Name of JNDi Initial Context Factory: -


weblogic.jndi.WLInitialContextFactory

JNDI Server Address:----


weblogic server ip

JNDI Logon User: -


user

JNDI Password: -


password

Could you please help us.

The Error message as follows

Channel error occurred; detailed error description: com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=http://IP:port/, java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory}for profile: ConnectionProfile of channel: CC_eRespond_ServiceTicketson node: 8273250 having object id: d72754188a053d43b6aa0dd420346941: java.lang.NoClassDefFoundError

at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:66)

Regards

Praveen

Former Member
0 Kudos

For the parameter Queue Connection Factory you need to give the path like

com.sap.jms.client.QueueConnectionFactory

Youcan see this path in the jar file which is deployed

Former Member
0 Kudos

Hi Praveen

We are also having the similar situation like you and we are sending messages from XI to Weblogic server with the help of JMS Adapter. The Queue is available in Weblogic server.

Our configuration of JMS receiver Adapter is

JNDI Lookup Name of Queue Connection Factory----


ConnectionFactory

JNDI Lookup Name of JMS Queue----


queue/IntegrationQueue

Name of JNDi Initial Context Factory: -


weblogic.jndi.WLInitialContextFactory

JNDI Server Address:----


weblogic server ip

JNDI Logon User: -


user

JNDI Password: -


password

We are getting the error like " cannot connect because class 'weblogic.jndi.WLInitialContextFactory' is missing" Could you please tell me if you have imported any JAR files for this. If yes, Can you please give me some more details on where to import.

Thank you very much for your time and help.

Manju

Answers (0)