You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Arun Raj Ramkumar <ar...@cisco.com> on 2008/09/17 19:16:31 UTC

Migration from Tomcat 4.x to 5.5

Hi all,
 
I need to migrate my web application from tomcat 4.1.29 to tomcat 5.5. I
have installed tomcat 5.5 with JDK 1.6 and deployed my web application, its
working fine. 
Tell me what are all the changes need to be done to connect apache 2.0 to
tomcat 5.5. Earlier  apache 2.0 server was connected to tomcat 4.1.29. 
In tomcat 4.1.29 server.xml there was the below tag for AJP connector
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp1.3Connector"
port="8029" minProcessors="5" maxProcessors="150"
acceptCount="10" tomcatAuthentication="false" debug="0"/> 
 
Is there any similar kind of above tag  for tomcat 5.5 so that i can enable
authentication for my web application.
Also tell me wat are all the changes need to be done in mod_jk.conf ,
workers.properties and httpd.conf files as am migrating to tomcat5.5.
 
Its very urgent. Thanks in advance for ur help.
 
Regards,
Arun.

Re: Migration from Tomcat 4.x to 5.5

Posted by David Smith <dn...@cornell.edu>.
Take a look at the server.xml that came with 5.5 and you'll see a
similar connector in there.  There won't be a className attribute --
instead it'll contain a protocol attribute with the value of "AJP/1.3". 

With regard to authentication, the old tomcatAuthentication="false"
still exists in version 5.5.

With regard to mod_jk, if you have a current version, no changes should
be required.  If however you have an older version, upgrade to the
latest version of mod_jk (currently 1.2.26).  Don't go after mod-jk2 as
it's a dead release.  More details are available at:

http://tomcat.apache.org/connectors-doc/

If you were considering using the version 4.1.x server.xml as the tomcat
5.5 server.xml, don't do it.  Take a copy of server.xml from 5.5, strip
out all the documentation comments, and then modify  to provide similar
functionality to the tomcat 4.1.x server.xml. 

--David

Arun Raj Ramkumar wrote:
> Hi all,
>  
> I need to migrate my web application from tomcat 4.1.29 to tomcat 5.5. I
> have installed tomcat 5.5 with JDK 1.6 and deployed my web application, its
> working fine. 
> Tell me what are all the changes need to be done to connect apache 2.0 to
> tomcat 5.5. Earlier  apache 2.0 server was connected to tomcat 4.1.29. 
> In tomcat 4.1.29 server.xml there was the below tag for AJP connector
> <!-- Define an AJP 1.3 Connector on port 8009 -->
> <Connector className="org.apache.ajp.tomcat4.Ajp1.3Connector"
> port="8029" minProcessors="5" maxProcessors="150"
> acceptCount="10" tomcatAuthentication="false" debug="0"/> 
>  
> Is there any similar kind of above tag  for tomcat 5.5 so that i can enable
> authentication for my web application.
> Also tell me wat are all the changes need to be done in mod_jk.conf ,
> workers.properties and httpd.conf files as am migrating to tomcat5.5.
>  
> Its very urgent. Thanks in advance for ur help.
>  
> Regards,
> Arun.
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Migration from Tomcat 4.x to 5.5

Posted by Mark Thomas <ma...@apache.org>.
Arun Raj Ramkumar wrote:
> Hi all,
>  
> I need to migrate my web application from tomcat 4.1.29 to tomcat 5.5. I
> have installed tomcat 5.5 with JDK 1.6 and deployed my web application, its
> working fine. 
> Tell me what are all the changes need to be done to connect apache 2.0 to
> tomcat 5.5. Earlier  apache 2.0 server was connected to tomcat 4.1.29. 
> In tomcat 4.1.29 server.xml there was the below tag for AJP connector
> <!-- Define an AJP 1.3 Connector on port 8009 -->
> <Connector className="org.apache.ajp.tomcat4.Ajp1.3Connector"
> port="8029" minProcessors="5" maxProcessors="150"
> acceptCount="10" tomcatAuthentication="false" debug="0"/> 
>  
> Is there any similar kind of above tag  for tomcat 5.5 so that i can enable
> authentication for my web application.

http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html

The sample that comes with 5.5 in server.xml is:
    <Connector port="8009"
               enableLookups="false"
               redirectPort="8443" protocol="AJP/1.3" />

> Also tell me wat are all the changes need to be done in mod_jk.conf ,
> workers.properties and httpd.conf files as am migrating to tomcat5.5.

None.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Migration from Tomcat 4.x to 5.5

Posted by Gregor Schneider <rc...@googlemail.com>.
http://tomcat.apache.org/connectors-doc/

rgds

gregor

-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org