tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yun Sang Jung" <navi...@channeli.net>
Subject Re: How can I use ajp13 protocol?
Date Fri, 23 Jun 2000 06:44:03 GMT
How about applying context to specific port in server.xml?
Then mod_jk.conf-auto might be automatically generated by refering the server.xml. (whether
or not using ajp12 or ajp13?)
What do you think about my idea?

> 
> 
> >
> > At this point, I can not find how to assign the application (context?)
> > to specific port.
> > Now, all of JSP or Servlet request are going into port 8007 using
> > ajp12.
> > 
> > Is there another configuration file (except mod_jk.conf-auto) for it?
> > I don't want to modify mod_jk.conf-auto in hand, because this file is
> > auto generated by Tomcat startup.
> > 
> 
> In mod_jk.conf-auto you should have entries that looks like
> 
> JkMount <pattern> <worker name> 
> e.g. JkMount /servlet/* ajp12
> 
> This actually means, mount all requests matching the pattern to the
> named worker.
> For now (and for backward compatibility) the auto generated file uses
> the default
> AJPV12 worker, you should change the wanted statements to use an AJPV13
> worker,
> for example, for the default AJPV13 worker named ajp13 and you should
> have:
> 
> JkMount /servlet/* ajp13
> 
> This does require you to change mod_jk.conf, or just to change the
> ApacheConfig task
> and recompile...
> 
> > One more question: Is there DTD for server.xml? If yes, tell me the
> > URL to get it. I cannot find this information in JSP SPEC 1.1
> server.xml is not part of the JSP spec and tomcat does not validate this
> file.
> This is partially because it is in a constant change... For example,
> just yesterday
> Alex changed the attributes that a Logger element can accept.
> 
> Gal Shachor
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 
Mime
View raw message