While I was configuring the JMS adapter for XA transaction, I have the following Error.
Error encountered
[ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource wMJmsQueue:sboJMSqueue.
[ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
can only be called from server
Please make sure you have all the right and updated jars in the common/lib directory. Please also make sure you have put the weblogic.jar under <is_dir>/lib/jars.
Yes weblogic.jar is in IS/LIB/Jars. In that I have OJDBC.jar and weblogic.jar. I want to know if we have to create a QueueConnectionFactory in webLogic for having a connection. If so how? Is the queueconnectionfactory javax.jms.queueconnectionfactory will do the work or I have to change it to some XA transaction related connection.
Regards
Suny.
You need to create a QueueConnectionFactory in weblogic and give the JNDI name of that connection factory in your settings. I am not sure how you can create the same in weblogic as I have never worked on it. But I tried this with other JMS/JNDI providers.
Aneel,
Yes I have Created that queueconnectionfactory in weblogic and tried to give that JNDI name but it gives me the same error.
Error:
can only be called from server.
What does it mean if it says that it can only be called from server?
Hi Sunil,
Please give a try by removing the values for the parameters JNDI Security Principal and JNDI Security Credentials from the JMS Adapter Connection.
If the JMS queues are not secured(meaning there exists no security settings for the JMS Queues on the application servers and that the JMS Queues are accessed by any application) then providing the values for the above said parameters for the JMS Adapter Connections causes many issues.