Announcement Announcement Module
No announcement yet.
Weblogic EJB business method timeout in SimpleRemoteStatelessSessionProxyFactoryBean Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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">
    <prop key="java.naming.factory.initial">
    <prop key="java.naming.provider.url">t3://</prop>
    <prop key="weblogic.rmi.clientTimeout">300</prop>
    <prop key="weblogic.jndi.requestTimeout">10000</prop>
    <property name="connectionFailureExceptionList">

    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?