Hi,

We are trying to increase # of connections on J2EE server. Currently the
system is accepting max 20 connections.

We changed the Server.xml to increase minProcessor = 20, MaxProcessor=-1
for unlimitted, and accept count = 100

Looks like server is not picking this up.


Then we tried to set these parameters using HttpConnetor class in our
Servlets.  The application throws following exception

java.lang.NoClassDefFoundError:
org/apache/catalina/connector/http/HttpConnector
at TestConnect.(TestConnect.java:21)
           at ConnectionPool.(ConnectionPool.java:45)
           at LoginHandler.init(LoginHandler.java:24)
           at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:755)
           at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
           at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)

           at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
           at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)

           at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
           at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:242)

           at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
           at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
           at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

           at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
           at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:225)

           at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
           at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)

           at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
           at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)

           at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)

           at java.lang.Thread.run(Thread.java:484)


Can you please help us.


Thanks
Prasanna


*******************************************************************************

Note:          The information contained in this message may be privileged
and confidential and protected from disclosure.  If the reader of this
message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.  Thank you.  Ernst & Young LLP
*******************************************************************************

Reply via email to