Bug? Tomcat access log doesn't roll over at midnight

2002-01-24 Thread Marcel Maré

The rollover at midnight feature of the file access log
(localhost_access_log.date.txt) of Tomcat 4.0.1 (standalone) seems broken.
The logfile created at Tomcat startup is retained for all days to follow.
The other logfiles (localhost_log.date.log and catallina.date.log) DO
roll over.


This is the relevant (I think) section from server.xml:

  Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs  prefix=localhost_access_log. suffix=.txt
 pattern=combined/


In the docs I couldn't find a setting to turn the rollover feature on or
off.

Any pointers would be welcome.

TIA

Marcel



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Where can I find the WebApp connector windows binary for Tomcat RC2?

2001-09-16 Thread Marcel Maré

The subject says it all. Or should I use the Tomcat B7 version? That one
didn't work at all

TIA

Marcel Maré




RE: Where can I find the WebApp connector windows binary forTomcat RC2?

2001-09-16 Thread Marcel Maré

Hi Pier,

Yes that's right, that's my problem alright. And that's bad news you're
giving me (though I really appreciate your effort), since I was counting on
using TC4 for a system that will be going from development into production
soon.

Can you recommend a how to best connect TC4 to Apache on Windows?

TIA

Marcel

 -Oorspronkelijk bericht-
 Van: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
 Verzonden: zondag 16 september 2001 19:52
 Aan: [EMAIL PROTECTED]
 Onderwerp: Re: Where can I find the WebApp connector windows binary
 forTomcat RC2?


 Marcel Maré [EMAIL PROTECTED] wrote:

  The subject says it all. Or should I use the Tomcat B7 version? That one
  didn't work at all

 After B7 we integrated some new code for Netscape and Apache 2.0, and
 there's not yet a binary distribution available.

 If you're referring to this as the one version which didn't work at all:
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3509 this
 won't be fixed
 and shipped with 4.0 final. It's a week I'm banging my head over it, and
 decided that I prefer to come up with a better planned solution
 rather than
 rush Windows support into 4.0 final.

 4.0 final will support UNIX and binaries for that platform will be
 available, because of bug 3509, Windows support will be again considered
 experimental until that one doesn't get hunted down for good (probably a
 couple of weeks more).

 Pier





Apache 1.3.20 mod_webapp Tomcat 4b7 HANGS on Windows

2001-09-07 Thread Marcel Maré

I'm having big problems getting this combination to work:
- Apache 1.3.20
- mod_webapp
- Tomcat 4b7
All were recently donwloaded and installed, using defaults as much as
possible.

Accessing the apache server and tomcat standalone is without problems.

In httpd.conf I added:
---
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn  warp  localhost:8008
WebAppDeploy examples  conn  /examples/
WebAppInfo /webapp-info
-

When accessing http://localhost/examples/ and clicking JSP, I'm seeing the
first 4 lines of the page, but then Tomcat hangs.

I get this error on the console:

Starting service Tomcat-Standalone
Apache Tomcat/4.0-b7
Starting service Tomcat-Apache
Apache Tomcat/4.0-b7
java.lang.ArrayIndexOutOfBoundsException: No data available
at
org.apache.catalina.connector.warp.WarpPacket.readUnsignedShort(WarpPacket.j
ava:183)
at
org.apache.catalina.connector.warp.WarpPacket.readString(WarpPacket.java:218
)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java:118)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
at java.lang.Thread.run(Thread.java:484)


There are NO errors in any of the Tomcat or Apache logs.

Any ideas?

Marcel Maré

WebToTheMax