tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chakravarthy, Sundar" <schakravar...@doas.ga.gov>
Subject RE: Tomcat 4.1.18 - Scalability Issue ?
Date Wed, 26 Feb 2003 17:16:03 GMT
Hi,

Thanks for replying. Yes that is correct. Throws 

java.lang.NoClassDefFoundError: org/apache/jasper/runtime/HttpJspBase

as mentioned below after Jmeter threads increase to above 10.

I notice my acceptCount is 10 , should I bump this value ? 

What is the difference between acceptCount and maxPrcessors ?

I expect upto but not beyond 50 max concurrent users. 

Listing of AJP in tomcat/conf/server.xml

   <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
/>

This is a listing of my workers.properties file.

#Define 1 real worker using ajp13

worker.list=worker1

# Set propeties for worker1 (ajp13)

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=50
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

Thanks 


-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] 
Sent: Wednesday, February 26, 2003 9:08 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.18 - Scalability Issue ?


Howdy,
It works OK normally, and then during stress test throws a
NoClassDefFound error????

How do you have your connector configured?  Specifically,
min/maxProcessors and acceptCount?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Chakravarthy, Sundar [mailto:schakravarthy@doas.ga.gov]
>Sent: Wednesday, February 26, 2003 9:02 AM
>To: Tomcat Users List
>Subject: Tomcat 4.1.18 - Scalability Issue ?
>
>Hi  ,
>
>I have a single instance of Tomcat in the following environment,
>
>Apache 2.x - Mod_jk2 - Tomcat 4.1.18 - - - Solaris 5.8
>
>	- 2 GB RAM  , Xms512m, Xmx512m
>
>However, when I try to stress-test Tomcat with 10 or more Threads using
>Jmeter, I get the following exception quite consistently.
>
>Is is a bug ?
>
>
>Thanks
>Sundar
>
>2003-02-25 11:34:03 StandardWrapperValve[jsp]: Servlet.service() for
>servlet jsp threw exception
>javax.servlet.ServletException: org/apache/jasper/runtime/HttpJspBase
>        at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>        at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
a
>tionFilterChain.java:247)
>        at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
t
>erChain.java:193)
>        at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
v
>e.java:260)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
v
>e.java:191)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
1
>5)
>        at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a
>:180)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
a
>lve.java:170)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:641)
>        at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a
>:172)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:641)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.
>java:174)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>        at
>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
>        at
>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
>        at
>org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:632)
>        at
>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java
:
>590)
>        at
>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:707)
>        at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l
>.java:530)
>        at java.lang.Thread.run(Thread.java:536)
>----- Root Cause -----
>java.lang.NoClassDefFoundError: org/apache/jasper/runtime/HttpJspBase
>        at java.lang.ClassLoader.defineClass0(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
>        at
>org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:215)
>        at
>org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
>        at
>org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java
:
>504)
>        at
>org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrappe
r
>.java:145)
>        at
>org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:411)
>        at
>org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:361)
>        at
>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
a
>va:472)
>        at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
a
>va:184)
>        at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295
)
>        at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>        at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
a
>tionFilterChain.java:247)
>        at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
t
>erChain.java:193)
>        at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
v
>e.java:260)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
v
>e.java:191)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24
1
>5)
>        at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a
>:180)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
a
>lve.java:170)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:641)
>        at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a
>:172)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:641)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.
>java:174)
>        at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
i
>nvokeNext(StandardPipeline.java:643)
>        at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
4
>80)
>        at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>        at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>        at
>org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
>        at
>org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
>        at
>org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:632)
>        at
>org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java
:
>590)
>        at
>org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:707)
>        at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l
>.java:530)
>        at java.lang.Thread.run(Thread.java:536)
>
>
>Thanks
>Sundar
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message