> From: marcobalc [mailto:m.bal...@i-contact.it]
> Subject: Re: bad content type mod_jk 1.2.27
>
> Someone can help me to identify which tomcat class set the
> content type about a request?
For static content, it's org.apache.catalina.servlets.DefaultServlet.
- Chuck
TH
Hi all,
I have tried with apache 2.0.63 and modjk 1.2.6 and the result is the same.
Someone can help me to identify which tomcat class set the content type
about a request? I want to add a log on source in order to understand why
the same request have two different response (content type text/ht
Hi,
I attach the ajp log for two cases: one ok and one ko.
http://www.nabble.com/file/p20971586/headers_ok_and_ko.txt
headers_ok_and_ko.txt
I'm going crazy in order to understand when tomcat lost headers... :(
Many thanks,
regards
Marco
marcobalc wrote:
>
> Hi,
>
> an other strange behav
Hi,
an other strange behavior is that some times when I reboot tomcat and I
refresh browser while I wait that tomcat is up and runnig I see the "normal"
error page displayed when the tomcat is not yet started but also in this
case I see the source html code on the browser instead of HTML interpre
Hi,
in effect in the case of Excel download I set Header after I send the output
stream because I do not know that tomcat start to flush before controller
return.
Now I have fixed this. But I don't understand why I have mime type problem
with other normal page.
An other repetitive case with sam
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marco,
marcobalc wrote:
> I have found one other interesting information: If the Excel is very small
> the problem do not appear. If the Excel is more big (some kb) the stack
> trace with the error appear.
I think the problem might be that you are ge
Hi Marco,
marcobalc schrieb:
> Hi,
>
> now I have the stacktrace but the problem is that the stack do not involve
> my classes :|
>
> java.lang.Throwable: Stack Info
> at org.apache.jk.core.MsgContext.action(MsgContext.java:263)
> at org.apache.coyote.Response.action(Response.jav
Hi,
I have found one other interesting information: If the Excel is very small
the problem do not appear. If the Excel is more big (some kb) the stack
trace with the error appear.
I think that should be a buffer problem but I don't know how to locate the
root cause.
regards
Marco
marcobalc w
Hi,
now I have the stacktrace but the problem is that the stack do not involve
my classes :|
java.lang.Throwable: Stack Info
at org.apache.jk.core.MsgContext.action(MsgContext.java:263)
at org.apache.coyote.Response.action(Response.java:183)
at org.apache.coyote.Response.
marcobalc schrieb:
> Rainer thanks for support.
>
> Now I have build tomcat but is not clear for me what you mean with "output
> of a stack"
>
>
> Could you seggest wath line write.
>
> (I think the line should be added in this block of code)
>
> if( actionCode==ActionCode.ACTION_COMMIT ) {
>
Rainer thanks for support.
Now I have build tomcat but is not clear for me what you mean with "output
of a stack"
Could you seggest wath line write.
(I think the line should be added in this block of code)
if( actionCode==ActionCode.ACTION_COMMIT ) {
...
...
}
Rainer Jung-3 wrote:
>
>
marcobalc schrieb:
> do you mean that I need to rebuild tomcat with a new log?
Yes, but for Tomcat 6 that's really easy to do. Download the source,
have Java 5 and ant ready, and call "ant download" and "ant". Then you
should be able to already find the compiled classes. You only need to
add log s
Hi,
do you mean that I need to rebuild tomcat with a new log?
At the moment I have reproduced the problem with an MultiActionController
with this default method
public ModelAndView init(HttpServletRequest request, HttpServletResponse
response, RegistrationsSearch command)
throws Exception {
marcobalc schrieb:
> Hi,
>
> I have tested an other controller that return to a jsp with simple HTML.
>
> The last rows of this controller are
>
> ...
>
> log.debug("isCommitted?? "+response.isCommitted());
> Map m = new HashMap();
> m.put("tutteListe", tutteListe);
> return new ModelAndVi
Hi,
I have tested an other controller that return to a jsp with simple HTML.
The last rows of this controller are
...
log.debug("isCommitted?? "+response.isCommitted());
Map m = new HashMap();
m.put("tutteListe", tutteListe);
return new ModelAndView(getInputView(), m);
I have invoked 5 t
Hi,
many thanks for advice: I have enabled this log and I see the information
that I attach. http://www.nabble.com/file/p20903814/committed.txt
committed.txt
The problem seem to be the row
"FINE: Response already committed "
but I don't understand why the response was committed...
I investi
Hi Marco,
marcobalc schrieb:
> Hi,
>
> .ic is the extension mapped to the controllers of my spring webapp.
>
> The Excel is generated by a controller (servlet): this controller execute
> this instructions
>
> response.setContentType("application/excel");
> response.setHeader("Content-Dispositio
Hi,
.ic is the extension mapped to the controllers of my spring webapp.
The Excel is generated by a controller (servlet): this controller execute
this instructions
response.setContentType("application/excel");
response.setHeader("Content-Disposition","attachment; filename=\""
nomeFileExcel "
marcobalc schrieb:
> Hi,
>
> no FlushHeader option is not vital: I have tried this option in order to
> solve the problem.
>
> With o without this option I have the same problem.
>
> I attach one request for Excel that return the bad result
>
> http://www.nabble.com/file/p20893729/logModJk.txt
Hi,
no FlushHeader option is not vital: I have tried this option in order to
solve the problem.
With o without this option I have the same problem.
I attach one request for Excel that return the bad result
http://www.nabble.com/file/p20893729/logModJk.txt logModJk.txt
Many thanks,
Marco
Ra
Hi Marco,
marcobalc schrieb:
> i all,
>
> I have a problem with
>
> tomcat 6.0.18
> Apache/2.2.9
> mod_jk/1.2.27
>
> Some times the content-type sent from my tomcat is ignored and the
> response have content type text/plain.
>
> For this reason some servlet that should return excel file and
21 matches
Mail list logo