'Struts action call to a particular method not working intermittently

So I am using Struts 2 and I have action calls to specific methods , now my application instance works fine most of the time but intermittently my struts calls after interceptor requests just fade out and don't call the specified method for processing but after a restart of application server again starts working .

Sample code : Struts.xml

<action name="getOktaFactorDetails" class="*.OKTASetupAction"
        method="getFactorDetailsForAccountSecurity" >
        <interceptor-ref name="loggingStack" />
        <result name="oktaAuthChoiceSecurity" type="tiles">oktaAuthChoiceSecurity</result>
    </action>

This class has autowiring to dependency for which we are creating a bean id to with default scope Spring bean :

</bean>
<bean id="OktaApiService" class="*.OktaApiServiceImpl"/>

PS : Interceptors never return any error so it's not the interceptors which are causing the issue . Hoping to get this problem sorted out with all the wisdom you guy's have out there



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source