As a work-around, set:
request.registerRequests=false
in your jk2.properties file.
"Ludovic Drolez" <ldrolez@(protected)
news:408CCB25.8030906@(protected)...
> Hi !
>
>
> We are currently using Tomcat 5.0.19. With simple servlets, we found that
> memory usage was continuously increasing, until a fatal OutOfMemory
exception.
>
> Using HPjmeter the only object which seems to keep growing seems to be an
> ArrayList created by a RequestGroupInfo object:
>
> Java stack ->
org.apache.jk.common.ChannelSocket@(protected))
> notifInfo ->
javax.management.MBeanNotificationInfo[]@(protected)
(16
> bytes)
> tpOName ->
javax.management.ObjectName@(protected))
> sSocket ->
java.net.ServerSocket@(protected))
> tp ->
org.apache.tomcat.util.threads.ThreadPool@(protected)
> (56 bytes) (1280 held)
> inet ->
java.net.Inet4Address@(protected))
> mserver -> mx4j.server.MBeanServerImpl@(protected))
> oname ->
javax.management.ObjectName@(protected))
> domain ->
java.lang.String@(protected))
> name ->
java.lang.String@(protected))
> next ->
>
org.apache.jk.common.HandlerRequest@(protected))
> global ->
org.apache.coyote.RequestGroupInfo@(protected))
> processors ->
java.util.ArrayList@(protected))
> (1 611 200 held)
> elementData ->
java.lang.Object[]@(protected)
611
> 176 held)
>
>
> JMX is not enabled and this bug seems to be jmx related...(But if i remove
> jmx.jar I cannot start tomcat5)
> Does someone knows why the arraylist is so big and keeps growing ?
>
>
> TIA,
> --
> Ludovic DROLEZ Linbox / Free&ALter Soft
> 152 rue de Grigy - Technopole Metz 2000 57070 METZ
> tel : 03 87 50 87 90 fax : 03 87 75 19 26
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-dev-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)