You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John & Valerie Dobbs <jd...@earthlink.net> on 2001/11/21 14:35:00 UTC
Starting Tomcat 4.0.1 on Linux (RH 7.2)
I've just installed Tomcat on my Linux box. Couldn't find a startup.sh or catalina.sh to start it with. Tried starting it with the tomcat4 script but got an error when trying to create /var/tomcat4/logs/catalina.out. Not sure if I'm using the right script or the script needs to corrected. I found it strange that I didn't find a startup.sh or something similar in the distribution.
Any hints would be greatly appreciated.
John
Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)
Posted by John & Valerie Dobbs <jd...@earthlink.net>.
I've installed Tomcat 4.0.1 from the rpms found at
/builds/jakarta-tomcat-4.0/release/v4.0.1. I am experiencing difficulties
with these rpm files (some component files of length 0). Has anyone else
had problems with these files? I assumed that these were the files to use
for Red Hat Linux as opposed to the tar.gz files found in the /bin folder.
Thanks for your help,
John
----- Original Message -----
From: John & Valerie Dobbs <jd...@earthlink.net>
To: <to...@jakarta.apache.org>
Sent: Wednesday, November 21, 2001 6:35 AM
Subject: Starting Tomcat 4.0.1 on Linux (RH 7.2)
I've just installed Tomcat on my Linux box. Couldn't find a startup.sh or
catalina.sh to start it with. Tried starting it with the tomcat4 script but
got an error when trying to create /var/tomcat4/logs/catalina.out. Not sure
if I'm using the right script or the script needs to corrected. I found it
strange that I didn't find a startup.sh or something similar in the
distribution.
Any hints would be greatly appreciated.
John
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)
Posted by John & Valerie Dobbs <jd...@earthlink.net>.
Thank you Allen. I'm beginning to think I have a bad distribution - I can't
find any files that look like startup.sh and shutdown.sh. I think I will
remove and download again. I must have missed something.
John
----- Original Message -----
From: Allan Kamau <hu...@yahoo.com>
To: Tomcat Users List <to...@jakarta.apache.org>
Sent: Wednesday, November 21, 2001 7:12 AM
Subject: Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)
> Hi John and Valerie,
> Tomcat4.0.1 like the Tomcat distributions before it
> comes with startup.sh and other executable script
> files as standard.
> This files are stored under the $CATALINA_HOME/bin
> directory.
> Incase you get problems running startup.sh, you should
> first set the $CATALINA_HOME varible in you linux
> startup scripts (I use the '/etc/profile' file) also
> you will need to set the $JAVA_HOME environmental
> variable which you can do in the same file. If you are
> unsure how to do this open the '/etc/profile' file and
> see how the other environmental variables are been
> declared and assigned values.
> You may then need to logoff and logon just to have the
> '/etc/profile' file executed.Then at the command
> prompt just type #$CATALINA_HOME/bin/startup.sh &
> to stop #$CATALINA_HOME/bin/shutdown.sh &
> Incase of difficulties refer to the documents included
> in the distribution.
>
> Allan Kamau.
> 1712hrs November 21, 2001
> Nairobi Kenya.
>
>
> --- John & Valerie Dobbs <jd...@earthlink.net>
> wrote:
> > I've just installed Tomcat on my Linux box.
> > Couldn't find a startup.sh or catalina.sh to start
> > it with. Tried starting it with the tomcat4 script
> > but got an error when trying to create
> > /var/tomcat4/logs/catalina.out. Not sure if I'm
> > using the right script or the script needs to
> > corrected. I found it strange that I didn't find a
> > startup.sh or something similar in the distribution.
> >
> > Any hints would be greatly appreciated.
> > John
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)
Posted by Allan Kamau <hu...@yahoo.com>.
Hi John and Valerie,
Tomcat4.0.1 like the Tomcat distributions before it
comes with startup.sh and other executable script
files as standard.
This files are stored under the $CATALINA_HOME/bin
directory.
Incase you get problems running startup.sh, you should
first set the $CATALINA_HOME varible in you linux
startup scripts (I use the '/etc/profile' file) also
you will need to set the $JAVA_HOME environmental
variable which you can do in the same file. If you are
unsure how to do this open the '/etc/profile' file and
see how the other environmental variables are been
declared and assigned values.
You may then need to logoff and logon just to have the
'/etc/profile' file executed.Then at the command
prompt just type #$CATALINA_HOME/bin/startup.sh &
to stop #$CATALINA_HOME/bin/shutdown.sh &
Incase of difficulties refer to the documents included
in the distribution.
Allan Kamau.
1712hrs November 21, 2001
Nairobi Kenya.
--- John & Valerie Dobbs <jd...@earthlink.net>
wrote:
> I've just installed Tomcat on my Linux box.
> Couldn't find a startup.sh or catalina.sh to start
> it with. Tried starting it with the tomcat4 script
> but got an error when trying to create
> /var/tomcat4/logs/catalina.out. Not sure if I'm
> using the right script or the script needs to
> corrected. I found it strange that I didn't find a
> startup.sh or something similar in the distribution.
>
> Any hints would be greatly appreciated.
> John
>
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Catalina Authentication PLS Help !!
Posted by Barry White <ba...@charter.net>.
I remember some discussion about this subject. Have you searched the
achives?
----- Original Message -----
From: "Renato Romano" <r....@set-network.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, November 21, 2001 12:11 PM
Subject: Catalina Authentication PLS Help !!
> Hi,
> I succesfully configured my webapp for login authentication, but I get
> a "Page not Found" Error, when a user access DIRECTLY the login page,
> (and not a protected area!!) and correctly gives his username and
> password. Probably Tomcat simply doesn't know WHERE to forward the
> user, because he didn't request a protected page!!
> When using Tomcat 3.2 I solved this by looking at the
> "tomcat.auth.originalLocation" parameter in the session object, and
> then defining a "default" value for this attribute when it was not
> set.
> How to do this with Tomcat 4 ??
> Thanks.
> Renato
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Catalina Authentication PLS Help !!
Posted by Renato Romano <r....@set-network.com>.
Hi,
I succesfully configured my webapp for login authentication, but I get
a "Page not Found" Error, when a user access DIRECTLY the login page,
(and not a protected area!!) and correctly gives his username and
password. Probably Tomcat simply doesn't know WHERE to forward the
user, because he didn't request a protected page!!
When using Tomcat 3.2 I solved this by looking at the
"tomcat.auth.originalLocation" parameter in the session object, and
then defining a "default" value for this attribute when it was not
set.
How to do this with Tomcat 4 ??
Thanks.
Renato
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
URGENT !!! Please HELP !!!
Posted by Renato Romano <r....@set-network.com>.
Hi,
I succesfully configured my webapp for login authentication, but I get
a "Page not Found" Error, when a user access DIRECTLY the login page,
(and not a protected area!!) and correctly gives his username and
password. Probably Tomcat simply doesn't know WHERE to forward the
user, because he didn't request a protected page!!
When using Tomcat 3.2 I solved this by looking at the
"tomcat.auth.originalLocation" parameter in the session object, and
then defining a "default" value for this attribute when it was not
set.
How to do this with Tomcat 4 ??
Thanks.
Renato
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
How To Send Users To A Default Page After Form based Login ?
Posted by Renato Romano <r....@set-network.com>.
Hi all,
I succesfully configured my webapp for login authentication, but I get
a "Page not Found" Error, when a user access DIRECTLY the login page,
(and not a protected area!!) and correctly gives his username and
password. Probably Tomcat simply doesn't know WHERE to forward the
user, because he didn't request a protected page!!
When using Tomcat 3.2 I solved this by looking at the
"tomcat.auth.originalLocation" parameter in the session object, and
then defining a "default" value for this attribute when it was not
set.
How to do this with Tomcat 4 ??
Thanks.
Renato
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>