tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38200] New: - JK 1.x doesn't support full URLs in uriworkermap.properties
Date Mon, 09 Jan 2006 16:01:34 GMT
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=38200>.
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=38200

           Summary: JK 1.x doesn't support full URLs in
                    uriworkermap.properties
           Product: Tomcat 5
           Version: Unknown
          Platform: Other
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bjoern@syltonline.de


When JK2 was stopped, it was said that all major functions will be backported 
to JK1.

We set up a huge environment (Clustered IIS and Clustered TCs) based on JK2.
But one of the major enhancements in JK2 for the IIS has been forgotten so we 
can't join you lot on the JK1 - and I guess we are not the only ones.

In JK2, you could map an real URL in the URI-Mappings, including VHost-Name:
[URI:my.webname.de/tomcatapp/*]
...

In JK1, it still gives an error when you try a full URL:
my.webname.de/tomcatapp/*=wlb

because you explicitly forbid that in the JK:
    if (*uri != '/') {
        jk_log(l, JK_LOG_WARNING,
                "Uri %s is invalid. Uri must start with /", uri);
        JK_TRACE_EXIT(l);
        return NULL;
    }

Why is that? The JK2 had no problem doing that. We need that function because 
we have some 40-60 VHOSTS on our Webservercluster, and we do not want global 
Tomcat mappings - only for VHosts and contexts we name.

In the file the dev even say:
# The general syntax for this file is:
# [URL]=[Worker name]
but a URL is not possible to use, so it must be an error.

I know it is now possible to use a properties file for configuration and have 
a config per VHost that way, but this would be a administration nightmare with 
our webfarm size.
Please backport this feature / bugfix this issue soon.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message