You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ties <th...@hotmail.com> on 2009/05/08 08:26:20 UTC

Changing webserver from Tomcat 5.0 to 6.0.18

Hi,

A website is running on server A (Tomcat 5.0) and it has to move to server B
(Tomcat 6.0.18).
I have configured everything which should be configured. But somehow the
server is not able to locate the webapp.

The apaches httpd.conf (on Server A) shows the following:

<IfModule mod_jk.c>
		JkMount 	  /mywebapp/* ajp13
</IfModule>

Is Tomcat 6.0.18 able to deal with "ajp13", or should it be changed in the
name of the Tomcat from server B?

Hope someone has experience with this.

Ties



-- 
View this message in context: http://www.nabble.com/Changing-webserver-from-Tomcat-5.0-to-6.0.18-tp23440775p23440775.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: Changing webserver from Tomcat 5.0 to 6.0.18

Posted by Mark Thomas <ma...@apache.org>.
Ties wrote:
> Hi,
> 
> A website is running on server A (Tomcat 5.0) and it has to move to server B
> (Tomcat 6.0.18).
> I have configured everything which should be configured. But somehow the
> server is not able to locate the webapp.

So clearly you haven't configured everything. Care to show us the relevant
extracts from httpd.conf, server.xml and workers.properties?

Mark


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


Re: Changing webserver from Tomcat 5.0 to 6.0.18

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ties,

On 5/8/2009 2:26 AM, Ties wrote:
> A website is running on server A (Tomcat 5.0) and it has to move to server B
> (Tomcat 6.0.18).
> I have configured everything which should be configured. But somehow the
> server is not able to locate the webapp.
> 
> The apaches httpd.conf (on Server A) shows the following:
> 
> <IfModule mod_jk.c>
> 		JkMount 	  /mywebapp/* ajp13
> </IfModule>
> 
> Is Tomcat 6.0.18 able to deal with "ajp13", or should it be changed in the
> name of the Tomcat from server B?

Rest assured, Tomcat 6.x can read AJP13-protocol requests. The "ajp13"
there is actually the name of a "worker" for mod_jk. If your webapp is
physically moving hosts, you will need to adjust the IP address of the
back-end server, most likely specified in a file called
jk_workers.properties or workers.properties.

There should be a directive in httpd.conf matching something like:

JkWorkersFile /etc/apache/workers.properties

This specifies where the workers are defined. Mark suggested posting
your workers.properties file (which is definitely a good idea) and this
is how you would find it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoIlhEACgkQ9CaO5/Lv0PCYsACdF+SCgNTjz9HUnVK/sEK3s1S5
gG4AoJITUm4aQ2r9Ib1qM7/D28UivSDS
=nSXi
-----END PGP SIGNATURE-----

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