Hi,

Is Tomcat bundled with red5 standard? Or is it jetty that is the http
service? If tomcat is not included by default, what does tomcat do
for you? Does it replace jetty? And if it does, what are the benefits
of using it over jetty?

I'm having a problem with file uploads through my JSP file on jetty.
I use the apache commons-fileupload library for handling the file
upload. When I upload a file from my local system via html file it
uploads with no problems and no errors. But when I upload a file
using flash's FileReference object I get a 500 error, and that's all
it gives me (no details, which would otherwise be seen in the browser).

I really don't have any idea of what the error could be. Is there a
way to have jetty log the error to a file so I can see it after it
happens?

I ran the flash uploaded and html uploader into php and apache and
both worked just fine. I saved the headers of both and here are the
more important differences:

HTML Upload:

[HTTP_ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
[HTTP_CONNECTION] => keep-alive
[HTTP_HOST] => localhost
[HTTP_KEEP_ALIVE] => 300

Flash uploader:

[HTTP_ACCEPT_TYPES] => text/*
[HTTP_CONNECTION] => close
[HTTP_HOST] => localhost:80

Besides user agent that was the biggest difference that I could find.

-Luke

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to