You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nikolas Nikolaou <lf...@yahoo.co.uk> on 2014/11/20 17:18:55 UTC
Created a CATALINA_BASE seperate directory tree(port 8081) and can
no longer access CATALINA_HOME on port 8080
Tomcat 8.0.15 binary Debian 7.7.0 wheezy
Hi. I created a new directory copying the $CATALINA_HOME/conf and creating new common logs temp server shared work webapps subdirectories.I have altered the port numbers In the conf/server.xml file and set $CATALINA_BASE in /etc/profile.Prior to restarting , I could reach $CATALINA_HOME on port 8080 but now I can only reach $CATALINA_BASE on port 8081.I don't know If this Is how It should be when creating a Tomcat Instance.Any help would be appreciated.
Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080
Posted by Nikolas Nikolaou <lf...@yahoo.co.uk>.
--------------------------------------------
On Thu, 20/11/14, Christopher Schultz <ch...@christopherschultz.net> wrote:
Subject: Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can no longer access CATALINA_HOME on port 8080
To: "Tomcat Users List" <us...@tomcat.apache.org>
Date: Thursday, 20 November, 2014, 20:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Nikolas,
(I
don't know what happened to your formatting, but this
message was
nearly unreadable.)
On 11/20/14 11:18 AM, Nikolas
Nikolaou wrote:
> Tomcat 8.0.15 binary
Debian 7.7.0 wheezy Hi. I created a new
> directory copying the $CATALINA_HOME/conf
and creating new common
> logs temp
server shared work webapps
subdirectories.I have
> altered the port
numbers In the conf/server.xml file and set
> $CATALINA_BASE in /etc/profile.Prior to
restarting , I could reach
>
$CATALINA_HOME on port 8080 but now I can only reach
> $CATALINA_BASE on port 8081.I don't
know If this Is how It should
> be when
creating a Tomcat Instance.Any help would be appreciated.
Setting CATALINA_BASE in
/etc/profile is probably a mistake.
CATALINA_HOME should point to where Tomcat has
been installed.
CATALINA_BASE should point
to where a configuration of Tomcat has been
set up. They work together. You can set up two
CATALINA_BASEs and then
launch two Tomcats,
both installed in CATALINA_HOME but configured in
each CATALINA_BASE. Please read the
"Advanced" section of RUNNING.txt
that comes with Tomcat for details.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment:
GPGTools - http://gpgtools.org
iQIcBAEBCAAGBQJUbiybAAoJEBzwKT+lPKRYmEgP/0fckCJT00RvXwug3nyh6HRM
mxjPyzzhL0kptHDQJb8DkCmTfgM9vRtb5Shv+FdphjYESlJUUe6zWPnBrYy5EoXg
mRhMlwc5rEHiuhwMgyZUIUHa6xmkd4M63F2HgyQx+goyZhbyBbDS5iJ+uUI0ibd+
u+qTZa5ZOfDhypwaIGNDhMbhJHGDLAg8sCyeUbQg4YcQP3XYf7fs9+s2mpfYFh6O
6xBxuaEYGWV3jQ0e6yGbg8d62OT/Y37pJGMAoR7lK9Q3AiwRNbHcMe8v4D5r6Ezr
BfDndvFKyxcouFLmBxbJVdTEW7TaGuV8Utd/yEwRmz8PbiZqZGkSlE11klLegCnX
tMH3RBHI3KqoC7aGZSiRHgoDuh7WXgV5i2GrPRmHEKoqgkG2BBMQm5COmvgV5ppd
5Id1KTNVmDT9QpT7tlbgR+IgjJNlPPOHAOaVR0WxBBpt7fR2JS8CCuhm3bmUavHf
qzOYNUTVdiDz4PaRuZC8jS5aq1oHyCuqHhAeQ9fm2wQL/chpf95OSInHm8oRtlXk
s4WA7y/49UDN/JvqWG4LPXrlYFftIxbSHregHWNR4JhxXSqeAJsdosGNCdY02amz
WVBA8H9C/XtZhiaZT7p43uIDd++9VguU/bSpaZU4n4fCxr/10xe8tt9MPwXLZWGc
jjvogv+LjkPDaEcfi3J1
=6alp
-----END PGP SIGNATURE-----
Hi.thanks for replying.I'm not sure about the formatting.I'll check It out.
I have setup CATALINA_BASE as you have described.
I've only set the environmental variable
in etc/profile to point to /opt/tomcat-instance/basedir/
I'll take a look at RUNNING.txt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Created a CATALINA_BASE seperate directory tree(port 8081) and can
no longer access CATALINA_HOME on port 8080
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Nikolas,
(I don't know what happened to your formatting, but this message was
nearly unreadable.)
On 11/20/14 11:18 AM, Nikolas Nikolaou wrote:
> Tomcat 8.0.15 binary Debian 7.7.0 wheezy Hi. I created a new
> directory copying the $CATALINA_HOME/conf and creating new common
> logs temp server shared work webapps subdirectories.I have
> altered the port numbers In the conf/server.xml file and set
> $CATALINA_BASE in /etc/profile.Prior to restarting , I could reach
> $CATALINA_HOME on port 8080 but now I can only reach
> $CATALINA_BASE on port 8081.I don't know If this Is how It should
> be when creating a Tomcat Instance.Any help would be appreciated.
Setting CATALINA_BASE in /etc/profile is probably a mistake.
CATALINA_HOME should point to where Tomcat has been installed.
CATALINA_BASE should point to where a configuration of Tomcat has been
set up. They work together. You can set up two CATALINA_BASEs and then
launch two Tomcats, both installed in CATALINA_HOME but configured in
each CATALINA_BASE. Please read the "Advanced" section of RUNNING.txt
that comes with Tomcat for details.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
iQIcBAEBCAAGBQJUbiybAAoJEBzwKT+lPKRYmEgP/0fckCJT00RvXwug3nyh6HRM
mxjPyzzhL0kptHDQJb8DkCmTfgM9vRtb5Shv+FdphjYESlJUUe6zWPnBrYy5EoXg
mRhMlwc5rEHiuhwMgyZUIUHa6xmkd4M63F2HgyQx+goyZhbyBbDS5iJ+uUI0ibd+
u+qTZa5ZOfDhypwaIGNDhMbhJHGDLAg8sCyeUbQg4YcQP3XYf7fs9+s2mpfYFh6O
6xBxuaEYGWV3jQ0e6yGbg8d62OT/Y37pJGMAoR7lK9Q3AiwRNbHcMe8v4D5r6Ezr
BfDndvFKyxcouFLmBxbJVdTEW7TaGuV8Utd/yEwRmz8PbiZqZGkSlE11klLegCnX
tMH3RBHI3KqoC7aGZSiRHgoDuh7WXgV5i2GrPRmHEKoqgkG2BBMQm5COmvgV5ppd
5Id1KTNVmDT9QpT7tlbgR+IgjJNlPPOHAOaVR0WxBBpt7fR2JS8CCuhm3bmUavHf
qzOYNUTVdiDz4PaRuZC8jS5aq1oHyCuqHhAeQ9fm2wQL/chpf95OSInHm8oRtlXk
s4WA7y/49UDN/JvqWG4LPXrlYFftIxbSHregHWNR4JhxXSqeAJsdosGNCdY02amz
WVBA8H9C/XtZhiaZT7p43uIDd++9VguU/bSpaZU4n4fCxr/10xe8tt9MPwXLZWGc
jjvogv+LjkPDaEcfi3J1
=6alp
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org