0 Replies Latest reply on Jul 11, 2003 7:35 PM by raj_sohal

    Out of Memory can call to Stateless EJB

    raj_sohal


      Hello

      I am getting a out of memory exception sometimes doing a stateless EJB call from one JBOSS server to another JBOSS server (3.0.6).


      (Jul 10, 2003 2:06:29 AM), stdout: java.rmi.ServerError: Unexpected Error; nested exception is:
      (Jul 10, 2003 2:06:29 AM), stdout: java.lang.OutOfMemoryError
      (Jul 10, 2003 2:06:29 AM), stdout: java.lang.OutOfMemoryError
      (Jul 10, 2003 2:06:29 AM), stdout: at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
      (Jul 10, 2003 2:06:29 AM), stdout: at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
      (Jul 10, 2003 2:06:29 AM), stdout: at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
      (Jul 10, 2003 2:06:29 AM), stdout: at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      (Jul 10, 2003 2:06:29 AM), stdout: at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:138)
      (Jul 10, 2003 2:06:29 AM), stdout: at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      (Jul 10, 2003 2:06:29 AM), stdout: at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      (Jul 10, 2003 2:06:29 AM), stdout: at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
      (Jul 10, 2003 2:06:29 AM), stdout: at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
      (Jul 10, 2003 2:06:29 AM), stdout: at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      (Jul 10, 2003 2:06:29 AM), stdout: at $Proxy46.callEJBRule(Unknown Source)

      The max memory was moved from 256M to 512M but that didn't made any difference.

      Has any one see this behaviour?

      Thanks for all your help

      Raj