geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guang Zhe Wang (JIRA)" <>
Subject [jira] Created: (GERONIMO-5472) Java EE 6 sample: fileupload run incorrectly on tomcat-assembly.
Date Tue, 27 Jul 2010 07:53:18 GMT
Java EE 6 sample: fileupload run incorrectly on tomcat-assembly.

                 Key: GERONIMO-5472
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Tomcat
    Affects Versions: 3.0
            Reporter: Guang Zhe Wang
             Fix For: 3.0

1. The fileupload sample is under samples/javaee6, first checkout it from samples trunk and
build it.
2. Deploy the war package on tomcat-assembly server after it is started.
3. After the sample is deployed and started successfully, visit http://localhost:8080/fileupload-javaee6/,
you will be asked to select file to upload. Select a text file which is not larger than 10kb,
and click  submit.
4. The right response page will show the content of the file you submitted. But on tomcat-assembly,it
responses with
     HttpServletRequest.getParts() returns an empty collection!

     HttpServletRequest.getPart(String name) returns null!

The error stack is:
        at org.apache.geronimo.samples.javaee6.fileupload.MessageFilter.doFilter
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
        at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(Protecte
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
        at org.apache.geronimo.pool.ThreadPool$
        at org.apache.geronimo.pool.ThreadPool$
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
        at java.util.concurrent.ThreadPoolExecutor$ Source)
        at Source)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message