This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat 6 Server Status - No maxThreads Attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6 Server Status - No maxThreads Attribute" Watch "Tomcat 6 Server Status - No maxThreads Attribute" New topic

Tomcat 6 Server Status - No maxThreads Attribute

Thomas Reeves

Joined: Mar 18, 2008
Posts: 2
Greetings, All

I'm running Linux Suse 10.3 and Tomcat 6.0.16 with JVM 1.6.0_04-b12. A red5 flash server has been installed as an embedded WAR file application. Tomcat starts up just fine, and I can access the web Application Manager panel using http://localhost:8080. However, when I select "Server Status" from the panel, I get this:


javax.servlet.ServletException: No such attribute: maxThreads

root cause No such attribute: maxThreads

I'm puzzled because my server.xml config file shows all kinds of "maxThreads=" entries. Here are some examples:

<Service name="Catalina">

<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>

<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />

I did a plain-vanilla installation of Tomcat from source and placed the red5 WAR files in the webapps folder. The red5 app is showing on the Tomcat manager panel, and the red5 admin panel opens when selected.

Does anyone have some idea of what's happening here? I'm a technician but not a java developer, so I'm clueless at this point...

Thomas Reeves

Joined: Mar 18, 2008
Posts: 2

Never mind - I undeployed the embedded red5 flash server application and Tomcat came back to life. Oh well, back to the drawing board...

I agree. Here's the link:
subject: Tomcat 6 Server Status - No maxThreads Attribute
It's not a secret anymore!