Failed conversion/cast getting connection factory through JNDI
119 views
Skip to first unread message
paul.ant...@gmail.com
unread,
Aug 15, 2017, 6:18:20 PM8/15/17
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I am getting the following exception when trying to put a message on the queue:
Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle] to required type [javax.jms.ConnectionFactory] for property 'connectionFactory': no
matching editors or conversion strategy found
It seems as though getting the connection factory object from JNDI resolves to JMSQueueConnectionFactoryHandle. My assumption is that there is something wrong with the configuration.
I am using spring, the following is my bean configuration: