You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ga...@infoblu.it on 2002/09/26 13:37:03 UTC

Tomcat 4.1.12: access log corrupted

Hi, i'm migrating  my webapp from 4.1.10 to 4.1.12, but i guess the access
log has gone a bit screwed up.
In the context descriptor of the app i have a valve like this:

<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="
infoviabilita_access_log." suffix=".txt" pattern="common" />
that worked like a charm with 4.1.10.

Now with 4.1.12 have a look to a sample of what i see into it.
(Sorry for the weird looking but it's full of control characters that when
imbedded into the mail do strange things)
I think i should open a bug. Do i?

6"><a href=" - - [26/Sep/2002:13:12:15 1000] "GET /main.jsp HTTP/1.1" 200 -
172.20.52.27 - - [26/Sep/2002:13:12:34 1000] "POST /home/checklogin.jsp
HTTP/1.1" 302 -
waveFlash"
 - - [26/Sep/2002:13:12:41 1000] "GET /InfoTraffic/situazione_viabilita.jsp
HTTP/1.1" 200 -
        





 - - [26/Sep/2002:13:12:41 1000] "GET
/servlet/url.Image?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????? HTTP/1.1"
200 5060
        





 - - [26/Sep/2002:13:12:46 1000] "GET ??C
?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????? HTTP/1.1" 200 4537
/table>
<ta - - [26/Sep/2002:13:12:48 1000] "POST
/InfoTraffic/situazione_viabilita.jsp HTTP/1.1" 200 -
UTF-8"?>
<ma - - [26/Sep/2002:13:12:50 1000] "GET
/common/mappeflash.jsp?mapCod=8&BV_SessionID=1&BV_EngineID=2&mapType=traffico

HTTP/1.1" 200 -
" height="22 - - [26/Sep/2002:13:12:56 1000] "GET
/InfoPlus/ricercaservizi.jsp HTTP/1.1" 200 -
        





 - - [26/Sep/2002:13:13:01 1000] "GET ??C
?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????? HTTP/1.1" 200 5060
>
</table>
 - - [26/Sep/2002:13:13:04 1000] "POST
/InfoTraffic/situazione_viabilita.jsp HTTP/1.1" 200 -
UTF-8"?>
<ma - - [26/Sep/2002:13:13:04 1000] "GET
/common/mappeflash.jsp?mapCod=2&BV_SessionID=1&BV_EngineID=2&mapType=traffico

HTTP/1.1" 200 -
{
    docume - - [26/Sep/2002:13:13:09 1000] "GET
/InfoTraffic/andamento_traffico.jsp HTTP/1.1" 200 -
172.20.52.27 - - [26/Sep/2002:13:13:32 1000] "GET
/InfoTraffic/popupRicercaLocalita.jsp?srv=7&da=milano&a=lodi HTTP/1.1" 302
-
window.opene - - [26/Sep/2002:13:13:34 1000] "GET
/InfoTraffic/popupGraphicDisplayer.jsp?&da=milano&a=lodi&casello_mappa=yes
HTTP/1.1" 200 -
INK href='/c - - [26/Sep/2002:13:13:39 1000] "POST
/servlet/GraphicGenerator HTTP/1.1" 200 2217




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 4.1.12: access log corrupted

Posted by Craig Longman <cr...@begeek.com>.
On Thu, 2002-09-26 at 07:37, gabriele.garuglieri@infoblu.it wrote:
> Now with 4.1.12 have a look to a sample of what i see into it.
> (Sorry for the weird looking but it's full of control characters that when
> imbedded into the mail do strange things)
> I think i should open a bug. Do i?
> 
> 6"><a href=" - - [26/Sep/2002:13:12:15 1000] "GET /main.jsp HTTP/1.1" 200 -
> 172.20.52.27 - - [26/Sep/2002:13:12:34 1000] "POST /home/checklogin.jsp
> HTTP/1.1" 302 -
> waveFlash"
>  - - [26/Sep/2002:13:12:41 1000] "GET /InfoTraffic/situazione_viabilita.jsp
> HTTP/1.1" 200 -

i think this might be related to the bug i posted about the requestURI
getting trashed when doing an PageContext.include(), the two problems
look very similar (the same sort of garbage as the 'url').

bug #12787

does anyone who is experiencing this know if their code does a
PageContext.include()?  actually, it needs to be an include() IF the
doStartTag() preceeding it returns EVAL_PAGE_INCLUDE.


-- 

     CraigL->Thx();


RE: Tomcat 4.1.12: access log corrupted

Posted by Christopher Watson <c....@zen.co.uk>.
Hello

Reading this message had me very worried, BUT

Just to let you know I DON'T get this bad behaviour.

I did have to uncomment the access log valve, but it behaves OK

Both as port 8080 and via IIS using tomcat's ISAPI using ajp13 port 8009

I wonder if you are using a different connector ..?

Also, have you upgraded everything? Made sure all the jars are up-to-date?
Cleared out the work directory

Hope this helps

Christopher

> -----Original Message-----
> From: Miguel Angel Mulero Martinez
> [mailto:miguel-angel.mulero@mad.tecsidel.es]
> Sent: 26 September 2002 12:49
> To: Tomcat Users List
> Subject: RE: Tomcat 4.1.12: access log corrupted
>
>
> I had look at my server.xml and it don't have a valve access log
> by default
> (I think remember older versions have it). I add one like yours,
> and I have
> got the same problem. Look at the first characters of each line:
>
> >
> <SCRIPT -  [26/Sep/2002:13:46:04 1000] "GET
> /ceeieuropa/prepararFormLoginAction.do HTTP/1.1" 200 -
> le></head -  [26/Sep/2002:13:47:47 1000] "GET
> /ceeieuropa/ultimasNoticiasAction.do HTTP/1.1" 200 -
> /option>
>  -  [26/Sep/2002:13:47:58 1000] "GET
> /ceeieuropa/prepararFormLicitacionesAction.do HTTP/1.1" 200 -
>  GAS NATU -  [26/Sep/2002:13:48:00 1000] "POST
> /ceeieuropa/busquedaLicitacionesAction.do?cambioPaises=1 HTTP/1.1" 200 -
> ption val -  [26/Sep/2002:13:48:03 1000] "POST
> /ceeieuropa/busquedaLicitacionesAction.do?cambioPaises=1 HTTP/1.1" 200 -
>
> I think you must post a bug.
>
> Regards,
> Miguel
>
> -----Mensaje original-----
> De: gabriele.garuglieri@infoblu.it [mailto:gabriele.garuglieri@infoblu.it]
> Enviado el: jueves, 26 de septiembre de 2002 13:37
> Para: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org
> Asunto: Tomcat 4.1.12: access log corrupted
>
> Hi, i'm migrating  my webapp from 4.1.10 to 4.1.12, but i guess the access
> log has gone a bit screwed up.
> In the context descriptor of the app i have a valve like this:
>
> <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="
> infoviabilita_access_log." suffix=".txt" pattern="common" />
> that worked like a charm with 4.1.10.
>
> Now with 4.1.12 have a look to a sample of what i see into it.
> (Sorry for the weird looking but it's full of control characters that when
> imbedded into the mail do strange things)
> I think i should open a bug. Do i?
>
> 6"><a href=" - - [26/Sep/2002:13:12:15 1000] "GET /main.jsp
> HTTP/1.1" 200 -
> 172.20.52.27 - - [26/Sep/2002:13:12:34 1000] "POST /home/checklogin.jsp
> HTTP/1.1" 302 -
> waveFlash"
>  - - [26/Sep/2002:13:12:41 1000] "GET
> /InfoTraffic/situazione_viabilita.jsp
> HTTP/1.1" 200 -
>
>
>
>
> 
>
>
>
>  - - [26/Sep/2002:13:12:41 1000] "GET
> /servlet/url.Image?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz????????
> HTTP/1.1"
> 200 5060
>
>
>
>
> 
>
>
>
>  - - [26/Sep/2002:13:12:46 1000] "GET ??C
>
> ?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????? HTTP/1.1" 200 4537
> /table>
> <ta - - [26/Sep/2002:13:12:48 1000] "POST
> /InfoTraffic/situazione_viabilita.jsp HTTP/1.1" 200 -
> UTF-8"?>
> <ma - - [26/Sep/2002:13:12:50 1000] "GET
> /common/mappeflash.jsp?mapCod=8&BV_SessionID=1&BV_EngineID=2&mapTy
> pe=traffic
> o
>
> HTTP/1.1" 200 -
> " height="22 - - [26/Sep/2002:13:12:56 1000] "GET
> /InfoPlus/ricercaservizi.jsp HTTP/1.1" 200 -
>
>
>
>
> 
>
>
>
>  - - [26/Sep/2002:13:13:01 1000] "GET ??C
>
> ?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????? HTTP/1.1" 200 5060
> >
> </table>
>  - - [26/Sep/2002:13:13:04 1000] "POST
> /InfoTraffic/situazione_viabilita.jsp HTTP/1.1" 200 -
> UTF-8"?>
> <ma - - [26/Sep/2002:13:13:04 1000] "GET
> /common/mappeflash.jsp?mapCod=2&BV_SessionID=1&BV_EngineID=2&mapTy
> pe=traffic
> o
>
> HTTP/1.1" 200 -
> {
>     docume - - [26/Sep/2002:13:13:09 1000] "GET
> /InfoTraffic/andamento_traffico.jsp HTTP/1.1" 200 -
> 172.20.52.27 - - [26/Sep/2002:13:13:32 1000] "GET
> /InfoTraffic/popupRicercaLocalita.jsp?srv=7&da=milano&a=lodi HTTP/1.1" 302
> -
> window.opene - - [26/Sep/2002:13:13:34 1000] "GET
> /InfoTraffic/popupGraphicDisplayer.jsp?&da=milano&a=lodi&casello_mappa=yes
> HTTP/1.1" 200 -
> INK href='/c - - [26/Sep/2002:13:13:39 1000] "POST
> /servlet/GraphicGenerator HTTP/1.1" 200 2217
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 4.1.12: access log corrupted

Posted by Miguel Angel Mulero Martinez <mi...@mad.tecsidel.es>.
I had look at my server.xml and it don't have a valve access log by default
(I think remember older versions have it). I add one like yours, and I have
got the same problem. Look at the first characters of each line:

>
<SCRIPT -  [26/Sep/2002:13:46:04 1000] "GET
/ceeieuropa/prepararFormLoginAction.do HTTP/1.1" 200 -
le></head -  [26/Sep/2002:13:47:47 1000] "GET
/ceeieuropa/ultimasNoticiasAction.do HTTP/1.1" 200 -
/option>
 -  [26/Sep/2002:13:47:58 1000] "GET
/ceeieuropa/prepararFormLicitacionesAction.do HTTP/1.1" 200 -
 GAS NATU -  [26/Sep/2002:13:48:00 1000] "POST
/ceeieuropa/busquedaLicitacionesAction.do?cambioPaises=1 HTTP/1.1" 200 -
ption val -  [26/Sep/2002:13:48:03 1000] "POST
/ceeieuropa/busquedaLicitacionesAction.do?cambioPaises=1 HTTP/1.1" 200 -

I think you must post a bug.

Regards,
Miguel

-----Mensaje original-----
De: gabriele.garuglieri@infoblu.it [mailto:gabriele.garuglieri@infoblu.it]
Enviado el: jueves, 26 de septiembre de 2002 13:37
Para: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org
Asunto: Tomcat 4.1.12: access log corrupted

Hi, i'm migrating  my webapp from 4.1.10 to 4.1.12, but i guess the access
log has gone a bit screwed up.
In the context descriptor of the app i have a valve like this:

<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="
infoviabilita_access_log." suffix=".txt" pattern="common" />
that worked like a charm with 4.1.10.

Now with 4.1.12 have a look to a sample of what i see into it.
(Sorry for the weird looking but it's full of control characters that when
imbedded into the mail do strange things)
I think i should open a bug. Do i?

6"><a href=" - - [26/Sep/2002:13:12:15 1000] "GET /main.jsp HTTP/1.1" 200 -
172.20.52.27 - - [26/Sep/2002:13:12:34 1000] "POST /home/checklogin.jsp
HTTP/1.1" 302 -
waveFlash"
 - - [26/Sep/2002:13:12:41 1000] "GET /InfoTraffic/situazione_viabilita.jsp
HTTP/1.1" 200 -








 - - [26/Sep/2002:13:12:41 1000] "GET
/servlet/url.Image?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????? HTTP/1.1"
200 5060








 - - [26/Sep/2002:13:12:46 1000] "GET ??C

?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????? HTTP/1.1" 200 4537
/table>
<ta - - [26/Sep/2002:13:12:48 1000] "POST
/InfoTraffic/situazione_viabilita.jsp HTTP/1.1" 200 -
UTF-8"?>
<ma - - [26/Sep/2002:13:12:50 1000] "GET
/common/mappeflash.jsp?mapCod=8&BV_SessionID=1&BV_EngineID=2&mapType=traffic
o

HTTP/1.1" 200 -
" height="22 - - [26/Sep/2002:13:12:56 1000] "GET
/InfoPlus/ricercaservizi.jsp HTTP/1.1" 200 -








 - - [26/Sep/2002:13:13:01 1000] "GET ??C

?56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????? HTTP/1.1" 200 5060
>
</table>
 - - [26/Sep/2002:13:13:04 1000] "POST
/InfoTraffic/situazione_viabilita.jsp HTTP/1.1" 200 -
UTF-8"?>
<ma - - [26/Sep/2002:13:13:04 1000] "GET
/common/mappeflash.jsp?mapCod=2&BV_SessionID=1&BV_EngineID=2&mapType=traffic
o

HTTP/1.1" 200 -
{
    docume - - [26/Sep/2002:13:13:09 1000] "GET
/InfoTraffic/andamento_traffico.jsp HTTP/1.1" 200 -
172.20.52.27 - - [26/Sep/2002:13:13:32 1000] "GET
/InfoTraffic/popupRicercaLocalita.jsp?srv=7&da=milano&a=lodi HTTP/1.1" 302
-
window.opene - - [26/Sep/2002:13:13:34 1000] "GET
/InfoTraffic/popupGraphicDisplayer.jsp?&da=milano&a=lodi&casello_mappa=yes
HTTP/1.1" 200 -
INK href='/c - - [26/Sep/2002:13:13:39 1000] "POST
/servlet/GraphicGenerator HTTP/1.1" 200 2217




--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>