Glad to hear that the doc helped. Yes, in Pega you would need the JMS MDB Listener and Service JMS rules. PRPC can help you auto generated the rules via the Integration > Services > Service Wizard. 2. You would need JNDI Server. This rule is auto generated too via the above wizard.
Posted: 2 years ago
Updated: 2 years ago
Posted: 11 May 2018 9:24 EDT Updated: 11 May 2018 9:23 EDT
I was following the steps defined in your attachment for configuring a JMS MDB listener where Websphere MQ is the default messaging provider.
I am kind of stuck defining the JNDI instance in PEGA. What will be the provider url in your example and where can that be found in WAS? Without this i am not able to establish a successful connection. Please advise.
Initial context factory
Got the following error message when i did a test connectivity on JNDI server instanc in pega.
Couldn't connect to JNDI server located at iiop:\\******:*****
I want to know how middleware can find the provider url..
Couldn't connect to JNDI server located at iiop://*******:*****
javax.naming.CommunicationException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "iiop://******:*****". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. [Root exception is org.omg.CORBA.COMM_FAILURE: purge_calls:2157 Reason: CONN_ABORT (1), State: ABORT (5) vmcid: IBM minor code: 306 completed: Maybe]
Thanks Kanneesh. Changing the port number actually worked and now i am able to establish the connection succesfully. However when i try to do a test connectivity on the Connect-JMS rule i am getting the following incompatible class cast exception. Any ideas on how this can be resolved?
JNDI lookup of JMS connection factory 'jms/PEGA.QCF' failed: java.lang.ClassCastException: com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle incompatible with javax.jms.ConnectionFactory