« Return to Thread: java.lang.NullPointerException: managedConnectionFactory is null

Re: java.lang.NullPointerException: managedConnectionFactory is null

by James Martin :: Rate this Message:

Reply to Author | View in Thread

I made the exception go away in my setup by adding a "depends-on" that referred to the connection factory bean in the declaration of my JCA container. Try changing the opening tag of your JCA container to the following:

<bean id="jencks" class="org.jencks.JCAContainer" depends-on="jmsConnectionFactory">

 « Return to Thread: java.lang.NullPointerException: managedConnectionFactory is null