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=32946>.
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=32946

           Summary: Bug in parsing workers.properties in mod_jk 1.2.8?
           Product: Tomcat 5
           Version: Unknown
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I wrote a valid workers.properties file, but found that the port wasn't being
read correctly.

The following works correctly:
worker.tomcat2.type=ajp13
worker.tomcat2.host=127.0.0.1
worker.tomcat2.port=8010
worker.tomcat2.lbfactor=1
worker.tomcat2.cachesize=10
worker.tomcat2.cache_timeout=600
worker.tomcat2.socket_keepalive=1
worker.tomcat2.recycle_timeout=300

But if I put spaces around the '=' it cannot determine the port as 8010 and
defaults it to 8009. eg
worker.tomcat2.type             = ajp13
worker.tomcat2.host             = 127.0.0.1
worker.tomcat2.port             = 8010
worker.tomcat2.lbfactor         = 1
worker.tomcat2.cachesize        = 10
worker.tomcat2.cache_timeout    = 600
worker.tomcat2.socket_keepalive = 1
worker.tomcat2.recycle_timeout  = 300

Im not sure if this would be classified as a bug, but there is nothing that I
could see in the documentation that says that spaces will affect things.

-- 
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