1 Reply Latest reply: Aug 6, 2012 2:13 AM by 804328 RSS

    WLS 10.3.4 EJB 2.1: remote-client-timeout lower limit 30 seconds?

    938188
      Hi,

      when I specify a remote client timeout < 30 seconds in the weblogic-ejb-jar.xml, I get a timeout after 30 seconds.
      <remote-client-timeout>5</remote-client-timeout>

      When I specify a remote client timeout > 30 seconds in the weblogic-ejb-jar.xml, I get a correct timeout after the specified time.
      <remote-client-timeout>45</remote-client-timeout>


      Is there a lower limit of 30 seconds in 10.3.4?

      Ideas?

      Thanks

      jc


      Exception:
      Exception in thread "main" weblogic.rmi.extensions.RequestTimeoutException: RJVM response from 'weblogic.rjvm.RJVMImpl@7f328c7a - id: '3904424286494068278S:10.211.55.6:[7001,-1,-1,-1,-1,-1,-1]:timeout:AdminServer' connect time: 'Fri May 18 08:58:16 CEST 2012'' for 'getObligo(J) 'timed out after: 30000ms.
           at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
           at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
           at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
           at Obligo_avx1j4_EOImpl_1034_WLStub.getObligo(Unknown Source)
           at TimeoutClient.TimeoutClient.main(TimeoutClient.java:39)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)




      weblogic-ejb-jar.xml


      <?xml version="1.0" encoding="UTF-8"?>
      <weblogic-ejb-jar xmlns="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar http://xmlns.oracle.com/weblogic/weblogic-ejb-jar/1.1/weblogic-ejb-jar.xsd">

      <weblogic-enterprise-bean>
      <ejb-name>Obligo</ejb-name>

      <jndi-name>ejb/ObligoBean</jndi-name>

      <remote-client-timeout>5</remote-client-timeout>

      </weblogic-enterprise-bean>

      </weblogic-ejb-jar>
        • 1. Re: WLS 10.3.4 EJB 2.1: remote-client-timeout lower limit 30 seconds?
          804328
          No.There is no lower limit as such and it should time-out within the time specified based on my attempts with remote client timeout.

          -------------

          Range of values:
               

          0 to maxSeconds, where maxSeconds is the maximum value of an int.

          Default value:
               

          0

          -------------------

          Can you try to restart the Weblogic managed server instance after making the changes in weblogic-ejb-jar.xml?

          -Sandeep