cancel
Showing results for 
Search instead for 
Did you mean: 

Error in JMS receiver adapter: "Error creating initial context with environment"

0 Kudos

Hello,

I have some trouble with a JMS receiver adapter (access to JMS-provider with JNDI).

The message in adapter monitoring is:

A channel error occurred. Detailed error (if any) :

com.sap.aii.adapter.jms.api.connector.ConnectorException: Fatal Error looking up connection factoryJMSQueueConnectionFactory, for profile: ConnectionProfile of channel: CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd:

ConnectorException: Error creating initial context with environment: java.naming.provider.url=wcsefdev.example.com:9064; java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory; for profile: ConnectionProfile of channel:

CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd: javax.naming.NoInitialContextException:

Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory

(JndiConnectorImpl.java:152)<br> ....

Message processing failed. Cause:

com.sap.aii.adapter.jms.core.fsm.DFA$InvalidTransitionException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_RCV_XLIMI00001:5b424f2f79b6350ca636ab35d528cfdd

The third party assured me that the specified JNDI parameters are right and everything is configured on their site, so it should work...

Might there be a problem with the JMS drivers?

Regards,

Marcus

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

>>com.sap.aii.adapter.jms.core.fsm.DFA$InvalidTransitionException: No transition found from state:

Are u sure, the queue names provided in JMS receiver channel is correct?

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Marcus,

Have a look at below thread