"Caused by: javax.naming.NameNotFoundException: Context: GPPAPP_CELL/nodes/sd-9fwq-na3dNode01/servers/nodeagent, name: jms/FppQCF: First component in name jms/FppQCF not found."
[9/16/20 3:34:46:312 EDT] 0000007a DispatcherSer E org.springframework.web.servlet.FrameworkServlet initServletBean Context initialization failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'FPPSender': Unsatisfied dependency expressed through method 'setJmsTemplate' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FPPSenderQueueDest' defined in ServletContext resource [/WEB-INF/classes/QueueConnection.xml]: Cannot resolve reference to bean 'QueueConnectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'QueueConnectionFactory' defined in ServletContext resource [/WEB-INF/classes/QueueConnection.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Context: GPPAPP_CELL/nodes/sd-9fwq-na3dNode01/servers/nodeagent, name: jms/FppQCF: First component in name jms/FppQCF not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]"
For this we have already created queue conn. Factory having scope CELL " also nodeagent and server1 are under this CELL.
We have also tried to change scope under node, server1 . but still getting same error.
We have tried to copy resources.xml this file under nodeagent. But issue not getting resolve.
Under path,
/opt/middleware/webSphere/webSphere_Runtime/profiles/AppProfile1/installedApps/GPPAPP_CELL/FPPBusinessPortal_war.ear/FPPBusinessPortal.war/WEB-INF/classes
We can see 2 files which may take reference from resources.xml.
1] AppConstant.properties è
FPP_MQ_MANAGER=jms/FppQCF à this queue conn factory we have set under CELL.
2] QueueConnection.xml:
<bean id="QueueConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean"> not initializing this bean "QueueConnectionFactory"
<property name="jndiTemplate">
<ref bean="jndiTemplate" />
</property>
<property name="jndiName">
<value>#{subProp['FPP_MQ_MANAGER']}</value> à FPP_MQ_MANAGER this variable is in "AppConstant.properties"
<!-- <value>${FPP_MQ_MANAGER}</value> -->
</property>
</bean>
------------------------------
sandip kharwade
------------------------------