Fileupload in Firefox?

UI Components for JSF
Post Reply
egbokul
Posts: 30
Joined: 11 May 2010, 15:39

27 Jul 2010, 10:28

I've made the fileUpload component work with IE (luckily, this is my requirement), however it doesn't work in Firefox. It dies with an HTTP error or an IO error, depending on its mood...
It also works in Opera and Chrome... grrr...

Has anyone got it working in Firefox? The Primefaces showcase "works", which means that it doesn't show an error, though it doesn't display a success message either...

(Primefaces 2.1 release, Flash 10.1.53.64)

egbokul
Posts: 30
Joined: 11 May 2010, 15:39

27 Jul 2010, 10:33

OK, this is weird.
If I use localhost:8080, it doesn't work. If I use my computers external name, it does! WTF?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Jul 2010, 11:27

You can test the showcase example with this example, it also displayes info about update file with growl making sure the fileUploadListener is called;

http://www.primefaces.org:8080/prime-sh ... Update.jsf

Skarn
Posts: 4
Joined: 29 Jul 2010, 15:06

29 Jul 2010, 15:24

I have been dealing with the same issue of Firefox reporting either HTTP or IO errors when using this component, while it appears to work fine on IE 8.

I am running Glassfish 3.0.1 (Open Source version). I've tried deploying GF on a WinXP box and a Ubuntu Linux box.

I have tried various versions of Firefox including 4.0 beta 2 and 3.6.x.

I tried both primefaces 2.1-RC1 and 2.0.3. I have not yet tried the final version of 2.1.

The showcase example has never caused an issue on Firefox. I noticed that primefaces.prime.com is running tomcat - maybe it's a Firefox/Glassfish issue.

mustufa
Posts: 31
Joined: 06 Mar 2010, 06:49
Location: India
Contact:

31 Jul 2010, 17:03

Hello all

Even i had faced the same problem of HTTP Error for file upload only in "Mozilla" and works fine I.E. 8. I removed my addons and again tried it and it worked fine. So try doing that.

Thanks
Musutufa

egbokul
Posts: 30
Joined: 11 May 2010, 15:39

03 Aug 2010, 13:54

Now I'm constantly getting this exception after the upload:

WARNING: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
javax.faces.application.ViewExpiredException: viewId:/prot/expert/upload.xhtml - View /prot/expert/upload.xhtml could not be restored.
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:212)
...

Glassfish 3.0.1, Firefox 3.6, Primefaces 2.1.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

03 Aug 2010, 14:13

We'll do a re-test with glassfish 3.

pmblatino
Posts: 23
Joined: 19 Jul 2010, 08:49

04 Aug 2010, 07:24

OK, this is weird.
If I use localhost:8080, it doesn't work. If I use my computers external name, it does!
same here, i change it and started working again, and has been working fine (great tool!!)
PrimeFaces 5.2| GlassFish 4.1| JDK1.7 | Java EE 6 | NetBeans 8.1.2

zkropotkine
Posts: 24
Joined: 10 Jul 2010, 17:42

18 Oct 2010, 18:35

LOL, I'm facing the same issue and the workaround works like a charm :lol:

Firefox 3.6.10
Ubuntu 10
Glassfish 2.1.1
JSF 2.0
  • Glassfish 2.1.1
  • Mojara 2.0.3
  • PF 2.2M1
  • JSF 2.0
  • Firefox 3.6.10
  • Ubuntu 10
  • Netbeans 6.8

ersin.tozduman
Posts: 1
Joined: 18 Jun 2013, 13:45

18 Jun 2013, 13:56

Hi,

I'm having the same problem.
And right now it occurs with IE and Chrome(In some machines) too.
From one machine we can upload succesfully while the other machine gets an HTTP 500.

Web Server Weblogic Server 10.3.3.0.
The application works on a remote server so I'm not using localhost to reach it.

Do you have any idea how i can fix this problem.

Thank you,

P.S: The matter is very urgent we have run into the problem in our production environment.
So quick response would be appreciated.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 40 guests