Menu

HC 1.4 - Channel Timeout

Help
Mike B
2005-02-08
2013-03-22
  • Mike B

    Mike B - 2005-02-08

    When I upload an image resource I always get a channel timeout and have to click the retry button, at which point the image is uploaded successfully. Here is the error message that I get:

    Channel ID:
        43

    Message:
        unsuccessfull rendering

    Error type:
        Channel timed out (code 4)

    Is there any way to prevent HyperContent from rendering a preview, and make it simply upload the file? Thanks for your help,

    Mike

     
    • Alex Vigdor

      Alex Vigdor - 2005-02-08

      Hi Mike,
      If you're using the image editor, you can comment out line 45 of "edu.columbia.hypercontent.editors.image.commands.UploadIMage".  This will prevent preview rendering on upload; if you don't want it to try and create a preview the next time you open that image, you  should also comment out lines 49-56 of
      "edu.columbia.hypercontent.editors.image.ImageEditor".

      By the way, you might also find that the timeout goes away if you're able to boost the uPortal memory allocation - previews should be pretty quick, even with large images, under decent memory conditions.  It is possible, however, that different JDK implementations might not offer the same image processing performance; it says somewhere in the javadoc that a JDK can offload image processing to a dedicated graphics cpu, which one would image could make a big difference.

      Hope that helps,
      Alex

       
    • Mike B

      Mike B - 2005-02-08

      Thanks for your quick response, I will definitely give your fixes a try. What I have done in the meantime is change the channel timeout to 5 seconds. This change makes waiting for it to halt bearable. Another workaround I've used is to zip all of the images and upload them together at the same time. Thanks again,

      Mike

       

Log in to post a comment.