Results 1 to 2 of 2

Thread: Error passing parameter using Hessian.

  1. #1
    Join Date
    Oct 2004
    Location
    singapore
    Posts
    11

    Default Error passing parameter using Hessian.

    Hi,

    This is my Interface Method...

    public void uploadFile(byte[] buf, String destFileName)

    I am calling this method from my client program..using Hessian

    stub.uploadFile(outbuf, serverPath);

    Its working fine when the buf size is small say 10MB.
    when i try to send buf size say 23MB i am getting this error
    java.lang.outOfMemoryError. :cry:

    Client program couldn't call server method..
    Hope you got me...

    Thank You,
    Regards,
    Kotesh.

  2. #2
    Join Date
    Aug 2004
    Location
    Amsterdam, Netherlands
    Posts
    450

    Default

    Have a look at the Caucho site (www.caucho.com) for more info on Hessian please. They probably know much more about it than we do.

Similar Threads

  1. ERROR: Context initialization failed
    By makhlo in forum Architecture
    Replies: 8
    Last Post: Jul 11th, 2008, 01:41 AM
  2. Transfer large files via Hessian
    By pwyngaard in forum JMS
    Replies: 2
    Last Post: Nov 7th, 2005, 04:33 PM
  3. Replies: 7
    Last Post: Sep 30th, 2005, 07:41 AM
  4. Replies: 7
    Last Post: Sep 13th, 2005, 01:45 AM
  5. Transaction Management
    By caverns in forum Data
    Replies: 3
    Last Post: Mar 8th, 2005, 06:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •