WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

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.

  • 1.  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.

    Posted Tue September 22, 2020 11:50 AM

    "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
    ------------------------------


  • 2.  RE: 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.

    Posted Tue September 29, 2020 04:21 AM
    Hi Team, Kindly help me out for this. We have created this for testing purpose on our cloud instances.

    ------------------------------
    sandip kharwade
    ------------------------------