• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux


  • Subject: Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
  • From: Matteo Centro <email@hidden>
  • Date: Fri, 15 Jun 2012 20:17:23 +0200

Ok, I think I got a little hint: if the file is big enough (like > 10 MB over a slow ADSL connection) after a while it starts updating the bar... But it's waaaay more than 1 second or even the 2 seconds default.
Another weird thing: during the long wait the browser (uhm, Safari) looks like it's stuck.

BTW has anybody managed to use something like this in WO?

http://blueimp.github.com/jQuery-File-Upload/

This is what my client really wants...

Thanks,


Matteo

On Fri, Jun 15, 2012 at 8:02 PM, Matteo Centro <email@hidden> wrote:
Both 1.6 and yes it's Sun JVM.
Maybe I'm too demanding and I should lower the refreshTime? Now it's 1000.

Matteo


On Fri, Jun 15, 2012 at 7:34 PM, Pascal Robert <email@hidden> wrote:
You are running Java 6 on both your Mac and Linux? JVM on Linux is OpenJDK or coming from Sun?

> Hello list,
>
> I have a weird problem that's driving me nuts...
> I know that I'm not going to provide enough info to completely debug the issue so I apologize in advance.
>
> I think I just need a hint to point in the right direction.
>
> I needed a clone of ERAttachmentFlexibleUpload which uses AjaxFlexibleFileUpload with the only difference in the progress bar (i used http://twitter.github.com/bootstrap/components.html#progress the striped bar).
> The div structures are different so I chose the approach of cloning WOnder stuff in my project.
>
> Everything works like a charm on my Mac (even if I deploy the application) the problem arises when I deploy on Linux...
> The upload works but the bar doesn't move and the client browser gets kind of stuck.
>
> The exact same application (with Project, User and Local frameworks embedded) has a totally different behavior on Mac or Linux, which makes sense if I used DBs but there is no DB involved in this issue.
>
> I turned on some logging on the app:
>
> As soon as I start the upload I get a ton of those messages:
>
> DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload  - AjaxFlexibleFileUpload2.uploadState: {state = 0; }
>
> then after a while I get
>
> DEBUG it.altera.dsl.ajax.ALTFlexibleFileUpload  - AjaxFlexibleFileUpload2.uploadState: {state = 2; progress = 0; filename = "test.mov"; }
>
> progress stays at 0 forever... then it completes the upload!
>
> If I use the twin component from AjaxFramework everything works ok both in Mac and Linux so it's clear that i screwed up something, I just don't know what.
>
> Any hints/similar issues?
>
> Thanks,
>
>
> Matteo
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Puzzle: Custom AjaxFlexibleUpload not working in Linux (From: Matteo Centro <email@hidden>)
 >Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux (From: Pascal Robert <email@hidden>)
 >Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux (From: Matteo Centro <email@hidden>)

  • Prev by Date: Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
  • Next by Date: Re: pageWithName(WORedirect.class.getName()) is taking minutes
  • Previous by thread: Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
  • Next by thread: AUTO: Witold Lustanski is out of the office (returning Wed 06/27/2012)
  • Index(es):
    • Date
    • Thread