Announcement Announcement Module
Collapse
No announcement yet.
Weblogic EJB business method timeout in SimpleRemoteStatelessSessionProxyFactoryBean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Weblogic EJB business method timeout in SimpleRemoteStatelessSessionProxyFactoryBean

    I am trying to implement a timeout condition on the EJB business method using weblogic.rmi.clientTimeout within SimpleRemoteStatelessSessionProxyFactoryBean that uses Weblogic 10.3.5. However, I'm not able to get it to work on the actual business method. The initial create() method times out fine, but the actual business method invocation does not timeout. I have following bean definition.



    <bean id="TEST.testConnectionUpdateBan"
    class="adapter.bos.test.SimpleRemoteStatelessSessi onProxyFactoryBean" lazy-init="true">


    <property name="jndiName"
    value="testBeans.testAccountServices" />
    <property name="businessInterface" value="test.interfaces.api.testAccountServices" />
    <property name="lookupHomeOnStartup" value="true"/>
    <property name="cacheHome" value="false"/>
    <property name="refreshHomeOnConnectFailure" value="true"/>
    <property name="exposeAccessContext" value="true"/>

    <property name="jndiEnvironment">
    <props>
    <prop key="java.naming.factory.initial">
    weblogic.jndi.WLInitialContextFactory
    </prop>
    <prop key="java.naming.provider.url">t3://xxxx.xx.xxx:18017</prop>
    <prop key="weblogic.rmi.clientTimeout">300</prop>
    <prop key="weblogic.jndi.requestTimeout">10000</prop>
    </props>
    </property>
    <property name="connectionFailureExceptionList">
    <list>
    <value>org.omg.CORBA.TRANSIENT</value>
    </list>
    </property>
    </bean>

    The same jndi property weblogic.rmi.clientTimeout works perfectly fine outside Spring in a simple Java Weblogic client and is able to timeout the business method fine. Any idea what could be missing?
Working...
X