DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40606>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40606

           Summary: Excessive CPU usage
           Product: Tomcat 5
           Version: 5.5.17
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connector:AJP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Install tomcat5.5 and APR binaries, apache httpd 2.0 or 2.2 add appropriate 
mod_jk. 

Add following lines to httpd.conf:
    LoadModule jk_module modules/mod_jk-apache-2.2.3.so
    JkWorkersFile       conf/workers.properties
    JkLogFile           logs/mod_jk.log
    JkLogLevel          error
    JkLogStampFormat    "[%a %b %d %H:%M:%S %Y] "
    JkOptions           +ForwardKeySize +ForwardURICompat -ForwardDirectories
    JkRequestLogFormat  "%w %V %T"
    JkShmFile           logs/jk.shm
    JkMount /*          jvm1

Create following workers.properties in apache conf directory
    worker.list=jvm1
    worker.jvm1.type=ajp13
    worker.jvm1.host=localhost
    worker.jvm1.port=8009

In server.conf modify default engine - add jvmRoute="jvm1" eg.
    <Engine name="Catalina" defaultHost="localhost" jvmRoute=" jvm1">

Start apache, start tomcat. Open browser, enter: http://localhost, then select 
any tomcat context for example jsp-examples. Now you can see on task manager 
constant 100% CPU usage generated by Tomcat's java. This happens for java 
1.5.0_08 and java 1.4.2_12 both, and for Internet Explorer and Mozilla.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to