Bug report #556 has just been filed. You can view the report at the following URL: <http://znutar.cortexity.com/BugRatViewer/ShowReport/556> REPORT #556 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical Confidence: public Environment: Release: 3.2 JVM Release: JDK 1.3 Operating System: Windows 2000 Professional OS Release: 5.00.2195 SP 1 Platform: Win2K Synopsis: Out of memory error Description: After a few request, random OutOfMemoryError(s) occur within Tomcat framework (detailled traces shown below) D:\tomcat\bin>call D:\tomcat\bin\tomcat.bat stop Including all jars in D:\tomcat\lib in your CLASSPATH. Using CLASSPATH: D:\tomcat\classes;D:\classes;D:\tomcat\lib\ant.jar;D:\tomcat\li b\jasper.jar;D:\tomcat\lib\jaxp.jar;D:\tomcat\lib\parser.jar;D:\tomcat\lib\servl et.jar;D:\tomcat\lib\webserver.jar;D:\lib\Acme.jar;D:\lib\activation.jar;D:\lib\ gnujsp10.jar;D:\lib\HTTPClient.jar;D:\lib\j2ee.jar;D:\lib\jai_codec.jar;D:\lib\j ai_core.jar;D:\lib\JimiProClasses.jar;D:\lib\log4j-full.jar;D:\lib\mail.jar;D:\l ib\Opta2000.jar;D:\lib\oreilly.jar;D:\lib\syslog.jar;D:\lib\TIMInfrastructure.ja r;C:\java\jdk13\lib\tools.jar Stop tomcat Deleted file - D:\tomcat\work\localhost_8080\_0002fcompany_0002fprocess_0002ejsp process.class Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fcommon_0002fselect_0 002fmake_0002f_00034_0002ejsp4.class Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002flogin_0002ft ext_0002ejsptext.class Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002foptions_0002 f_00034_0002ejsp4.class Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002fselect_0002f subcategory_0002f_00031_0002ejsp1.class Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002fselect_0002f subsubcategory_0002f_00034_0002ejsp4.class Deleted file - D:\tomcat\work\localhost_8080\_0002finventory_0002fcatprocess_000 2ejspcatprocess.class Deleted file - D:\tomcat\work\localhost_8080\_0002finventory_0002fextraprocess_0 002ejspextraprocess.class Deleted file - D:\tomcat\work\localhost_8080\_0002finventory_0002fprocess_0002ej spprocess.class Deleted file - D:\tomcat\work\localhost_8080\_0002flogin_0002fprocess_0002ejsppr ocess.class Including all jars in D:\tomcat\lib in your CLASSPATH. Using CLASSPATH: D:\tomcat\classes;D:\classes;D:\tomcat\lib\ant.jar;D:\tomcat\li b\jasper.jar;D:\tomcat\lib\jaxp.jar;D:\tomcat\lib\parser.jar;D:\tomcat\lib\servl et.jar;D:\tomcat\lib\webserver.jar;D:\lib\Acme.jar;D:\lib\activation.jar;D:\lib\ gnujsp10.jar;D:\lib\HTTPClient.jar;D:\lib\j2ee.jar;D:\lib\jai_codec.jar;D:\lib\j ai_core.jar;D:\lib\JimiProClasses.jar;D:\lib\log4j-full.jar;D:\lib\mail.jar;D:\l ib\Opta2000.jar;D:\lib\oreilly.jar;D:\lib\syslog.jar;D:\lib\TIMInfrastructure.ja r;C:\java\jdk13\lib\tools.jar 2000-12-08 04:29:09 - ContextManager: Adding context Ctx( /examples ) 2000-12-08 04:29:09 - ContextManager: Adding context Ctx( /admin ) 2000-12-08 04:29:09 - ContextManager: Adding context Ctx( ) Starting tomcat. Check logs/tomcat.log for error messages 2000-12-08 04:29:09 - ContextManager: Adding context Ctx( /test ) 2000-12-08 04:29:10 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2000-12-08 04:29:10 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 MTLInitializer: loading "file:/D:/classes/mtl.config.properties" MTLInitializer: configuring System properties... MTLInitializer: configuring Debug properties... MTLInitializer: Debug mode is ON MTLInitializer: configuring Resource... MTLInitializer: already configured ! 2000-12-08 04:30:45 - Ctx( ): 400 R( /) null 2000-12-08 04:30:47 - Ctx( ): IOException in: R( + /js/selection.js + null) Co nnection aborted by peer: socket write error 2000-12-08 04:30:47 - Ctx( ): IOException in: R( + /js/validation.js + null) C onnection aborted by peer: socket write error 2000-12-08 05:09:08 - Ctx( ): Exception in: R( + /showroom/process.jsp + null) - javax.servlet.ServletException at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4 04) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372 ) at org.apache.tomcat.core.ContextManager.internalService(ContextManager. java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743 ) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :498) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.OutOfMemoryError <<no stack trace available>> 2000-12-08 05:45:01 - Ctx( ): IOException in: R( + /js/validation.js + null) C onnection aborted by peer: socket write error 2000-12-08 05:45:03 - Ctx( ): IOException in: R( + /js/selection.js + null) Co nnection aborted by peer: socket write errorTitle: BugRat Report # 556
BugRat Report # 556
Project: Tomcat | Release: 3.2 |
Category: Bug Report | SubCategory: New Bug Report |
Class: swbug | State: received |
Priority: high | Severity: critical |
Confidence:
public
|
Submitter:
_Anonymous ( [EMAIL PROTECTED] )
Date Submitted:
Dec 8 2000, 04:57:15 CST
Responsible:
Z_Tomcat Alias ( [EMAIL PROTECTED] )
- Synopsis:
- Out of memory error
- Environment: (jvm, os, osrel, platform)
- JDK 1.3, Windows 2000 Professional, 5.00.2195 SP 1, Win2K
- Additional Environment Description:
- We use JSP pages connected to a singleton that dispatches requests to Java classes, that provide access to a MS-SQL database. Database connections are pooled, as well as DB access classes. Those instances are lazily instantiated. The entire back-end is stateless, so nothing is kept in memory for more than the lifetime of a single request.
- Report Description:
-
After a few request, random OutOfMemoryError(s) occur within Tomcat framework (detailled traces shown below)
D:\tomcat\bin>call D:\tomcat\bin\tomcat.bat stop
Including all jars in D:\tomcat\lib in your CLASSPATH.
Using CLASSPATH: D:\tomcat\classes;D:\classes;D:\tomcat\lib\ant.jar;D:\tomcat\li
b\jasper.jar;D:\tomcat\lib\jaxp.jar;D:\tomcat\lib\parser.jar;D:\tomcat\lib\servl
et.jar;D:\tomcat\lib\webserver.jar;D:\lib\Acme.jar;D:\lib\activation.jar;D:\lib\
gnujsp10.jar;D:\lib\HTTPClient.jar;D:\lib\j2ee.jar;D:\lib\jai_codec.jar;D:\lib\j
ai_core.jar;D:\lib\JimiProClasses.jar;D:\lib\log4j-full.jar;D:\lib\mail.jar;D:\l
ib\Opta2000.jar;D:\lib\oreilly.jar;D:\lib\syslog.jar;D:\lib\TIMInfrastructure.ja
r;C:\java\jdk13\lib\tools.jar
Stop tomcat
Deleted file - D:\tomcat\work\localhost_8080\_0002fcompany_0002fprocess_0002ejsp
process.class
Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fcommon_0002fselect_0
002fmake_0002f_00034_0002ejsp4.class
Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002flogin_0002ft
ext_0002ejsptext.class
Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002foptions_0002
f_00034_0002ejsp4.class
Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002fselect_0002f
subcategory_0002f_00031_0002ejsp1..class
Deleted file - D:\tomcat\work\localhost_8080\_0002finc_0002fen_0002fselect_0002f
subsubcategory_0002f_00034_0002ejsp4.class
Deleted file - D:\tomcat\work\localhost_8080\_0002finventory_0002fcatprocess_000
2ejspcatprocess.class
Deleted file - D:\tomcat\work\localhost_8080\_0002finventory_0002fextraprocess_0
002ejspextraprocess.class
Deleted file - D:\tomcat\work\localhost_8080\_0002finventory_0002fprocess_0002ej
spprocess.class
Deleted file - D:\tomcat\work\localhost_8080\_0002flogin_0002fprocess_0002ejsppr
ocess.class
Including all jars in D:\tomcat\lib in your CLASSPATH.
Using CLASSPATH: D:\tomcat\classes;D:\classes;D:\tomcat\lib\ant.jar;D:\tomcat\li
b\jasper.jar;D:\tomcat\lib\jaxp.jar;D:\tomcat\lib\parser.jar;D:\tomcat\lib\servl
et.jar;D:\tomcat\lib\webserver.jar;D:\lib\Acme.jar;D:\lib\activation.jar;D:\lib\
gnujsp10.jar;D:\lib\HTTPClient.jar;D:\lib\j2ee.jar;D:\lib\jai_codec.jar;D:\lib\j
ai_core.jar;D:\lib\JimiProClasses.jar;D:\lib\log4j-full.jar;D:\lib\mail.jar;D:\l
ib\Opta2000.jar;D:\lib\oreilly.jar;D:\lib\syslog.jar;D:\lib\TIMInfrastructure.ja
r;C:\java\jdk13\lib\tools.jar
2000-12-08 04:29:09 - ContextManager: Adding context Ctx( /examples )
2000-12-08 04:29:09 - ContextManager: Adding context Ctx( /admin )
2000-12-08 04:29:09 - ContextManager: Adding context Ctx( )
Starting tomcat. Check logs/tomcat.log for error messages
2000-12-08 04:29:09 - ContextManager: Adding context Ctx( /test )
2000-12-08 04:29:10 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2000-12-08 04:29:10 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
MTLInitializer: loading "file:/D:/classes/mtl.config.properties"
MTLInitializer: configuring System properties...
MTLInitializer: configuring Debug properties...
MTLInitializer: Debug mode is ON
MTLInitializer: configuring Resource...
MTLInitializer: already configured !
2000-12-08 04:30:45 - Ctx( ): 400 R( /) null
2000-12-08 04:30:47 - Ctx( ): IOException in: R( + /js/selection.js + null) Co
nnection aborted by peer: socket write error
2000-12-08 04:30:47 - Ctx( ): IOException in: R( + /js/validation.js + null) C
onnection aborted by peer: socket write error
2000-12-08 05:09:08 - Ctx( ): Exception in: R( + /showroom/process.jsp + null)
- javax.servlet.ServletException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
04)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743
)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:498)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.OutOfMemoryError
<
> 2000-12-08 05:45:01 - Ctx( ): IOException in: R( + /js/validation.js + null) C onnection aborted by peer: socket write error 2000-12-08 05:45:03 - Ctx( ): IOException in: R( + /js/selection.js + null) Co nnection aborted by peer: socket write error