Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
- Subject: Re: Puzzle: Custom AjaxFlexibleUpload not working in Linux
- From: Pascal Robert <email@hidden>
- Date: Fri, 15 Jun 2012 13:34:08 -0400
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