RE: Newbie installation question

2002-03-29 Thread Greg Munger

  agree with the other posts that installing the binary version of Tomcat 
might be a good idea. That way you can be sure of where everything is.

the /etc/init.d/tomcat4.start file may be misconfigured. You might be 
better off running the catalina script directly, as you could see any 
errors right away.

Normally this would be $CATALINA_HOME/bin/catalina.sh, and it should be run 
like this to start tomcat:
$CATALINA_HOME/bin/catalina.sh start
or
$CATALINA_HOME/bin/catalina.sh run
(using the run parameter may give you more error messages)


to stop tomcat:
$CATALINA_HOME/bin/catalina.sh

You can use the actual path rather than $CATALINA_HOME, in your case this 
might be:
/var/tomcat4/bin/catalina.sh


I added the following line to /etc/profile

PATH=$PATH:/usr/java/jdk1.3.1_02/bin

I can type java -version or javac -help from anywhere and get
meaningful responses so I guess that means the path setting is OK.

I don't use startup.sh as that file didn't seem to exist(?). I do
tomcat4 start from the /etc/init.d folder.

Z.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Newbie installation question

2002-03-27 Thread Peter Choe

shouldn't it be port 8080?

At 03:38 PM 3/27/2002, Zoe Adams wrote:
Hi,

This is a very newbie question I'm afraid.

I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work.

These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile

I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02

But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).

Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.

Thanks,
Zoe Adams

*
http://www.snapherup.com http://www.snapherup.com/
Tell us exactly who you're looking for
and we'll tell you exactly who matches



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Lawrence, Gareth

Zoe,

The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question


Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Wagoner, Mark

Actually, the default on Linux is 8180 for some reason.

You should still check your server.xml file to make sure that is what it is
set to, however.

-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:46 PM
To: 'Tomcat Users List'
Subject: RE: Newbie installation question


Zoe,

The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question


Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Zoe Adams

Tried localhost:8080, but still get the same message.

In /var/tomcat4/conf/server.xml it has port 8180 as an attribute in the
connector tag. Port 8080 isn't mentioned anywhere.


-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 20:46
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

Zoe,

The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question


Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Wagoner, Mark

If you do a ps -aux, does it show a Java process running?

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:50 PM
To: 'Tomcat Users List'
Subject: RE: Newbie installation question


Tried localhost:8080, but still get the same message.

In /var/tomcat4/conf/server.xml it has port 8180 as an attribute in the
connector tag. Port 8080 isn't mentioned anywhere.


-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 20:46
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

Zoe,

The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question


Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Zoe Adams

I added the following line to /etc/profile

PATH=$PATH:/usr/java/jdk1.3.1_02/bin

I can type java -version or javac -help from anywhere and get
meaningful responses so I guess that means the path setting is OK.

I don't use startup.sh as that file didn't seem to exist(?). I do
tomcat4 start from the /etc/init.d folder.

Z.

-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 21:06
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

Bizarre I have Tomcat running on Linux, and the port is 8080 ???

Have you set the PATH ??

Eg (tcsh) setenv PATH.:. /usr/java/jdk1.3.1_02/bin:$PATH

I've put the tomcat bin directory in my path also.  

I needed to install Jakarta Ant, although a guy yesterday said he needed
to
change the settings in the tomcat configuration file to get things
working 
(/etc/tomcat4/conf/tomcat4.conf)

But you don't get any errors when you type sh startup.sh do you?  I
start
tomcat from inside the tomcat directory, although I don't think that
matters.  When you start tomcat can you check the processes and make
sure it
is running??  

Anybody else have any more ideas?

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:50 a.m.
To: 'Tomcat Users List'
Subject: RE: Newbie installation question


Tried localhost:8080, but still get the same message.

In /var/tomcat4/conf/server.xml it has port 8180 as an attribute in the
connector tag. Port 8080 isn't mentioned anywhere.


-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 20:46
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

Zoe,

The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question


Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Zoe Adams

OK, well I haven't created a TOMCAT_USER user, so maybe that's where I'm
going wrong. I'll have to enlist someone else's help there as I'm a
Linux newbie as well as a Tomcat newbie! 

And to answer Gareth's question, ps -aux doesn't show Tomcat even though
I have started it.

-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 21:08
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

The script file sets a TOMCAT_USER environment variable (I think it is
called).  Check to make sure you have created this user and he has the
necessary permissions.

Unfortunately, I'm not at my Linux machine right now so I can't give you
any
specifics.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 4:04 PM
To: 'Tomcat Users List'
Subject: RE: Newbie installation question


No mention of java in the list that comes up.  What do I need to do?


-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 21:01
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

If you do a ps -aux, does it show a Java process running?

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:50 PM
To: 'Tomcat Users List'
Subject: RE: Newbie installation question


Tried localhost:8080, but still get the same message.

In /var/tomcat4/conf/server.xml it has port 8180 as an attribute in the
connector tag. Port 8080 isn't mentioned anywhere.


-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 20:46
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

Zoe,

The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question


Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Newbie installation question

2002-03-27 Thread Barry Sheward

Zoe,

I've read a number of the replies to your question.

I think I would recommend ditching the RPM installation and simply 
downloading the binary distribution from Jakarta. When you gunzip and 
untar the files, everything will be in one directory and should use the 
default 8080 port. You might need to set CATALINA_HOME, but I think 
thats everything, certainly there is no user creation required. The log 
files will appear in the log directory which might give you more 
information.

Since finding the correct port seems to be a problem, you could also try 
netstat -a which will tell you what ports are in use.

Hope that helps,

Barry

Zoe Adams wrote:

Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Lawrence, Gareth

Yeah that's just what I use its in the tomcat/bin directory :-)

Hmmm, when I go ps -aux I get a bunch of jdk processes (although no tomcat
processes :-)):

root 11125  0.0  5.5 230940 28696 ?  SMar27   0:04
/usr/java/j2sdk1.4.0/bin/java
root 11126  0.0  5.5 230940 28696 ?  SMar27   0:00
/usr/java/j2sdk1.4.0/bin/java

I just read Barry's response and I can say that is exactly what I did, rpm
always cause me grief especially on Debian :-(  You will need jakarta-ant in
this case (sh build.sh dist), to build tomcat (well I did :-)). 

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 9:12 a.m.
To: 'Tomcat Users List'
Subject: RE: Newbie installation question


I added the following line to /etc/profile

PATH=$PATH:/usr/java/jdk1.3.1_02/bin

I can type java -version or javac -help from anywhere and get
meaningful responses so I guess that means the path setting is OK.

I don't use startup.sh as that file didn't seem to exist(?). I do
tomcat4 start from the /etc/init.d folder.

Z.

-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 21:06
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

Bizarre I have Tomcat running on Linux, and the port is 8080 ???

Have you set the PATH ??

Eg (tcsh) setenv PATH.:. /usr/java/jdk1.3.1_02/bin:$PATH

I've put the tomcat bin directory in my path also.  

I needed to install Jakarta Ant, although a guy yesterday said he needed
to
change the settings in the tomcat configuration file to get things
working 
(/etc/tomcat4/conf/tomcat4.conf)

But you don't get any errors when you type sh startup.sh do you?  I
start
tomcat from inside the tomcat directory, although I don't think that
matters.  When you start tomcat can you check the processes and make
sure it
is running??  

Anybody else have any more ideas?

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:50 a.m.
To: 'Tomcat Users List'
Subject: RE: Newbie installation question


Tried localhost:8080, but still get the same message.

In /var/tomcat4/conf/server.xml it has port 8180 as an attribute in the
connector tag. Port 8080 isn't mentioned anywhere.


-Original Message-
From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 20:46
To: 'Tomcat Users List'
Subject: RE: Newbie installation question

Zoe,

The default port is 8080 :-) Check out localhost:8080 and let us know if
your still getting a problem.

G.

-Original Message-
From: Zoe Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 28 March 2002 8:39 a.m.
To: [EMAIL PROTECTED]
Subject: Newbie installation question


Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in /etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180 http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question

2002-03-27 Thread Zoe Adams

Thanks Barry. I think after what you and Gareth have said, I will go for
the normal binary distribution - sounds like it will solve a few
headaches.

And I thought I was keeping things nice and clean by going down the RPM
route!

Thanks for everyone's help.

Z.

-Original Message-
From: Barry Sheward [mailto:[EMAIL PROTECTED]] 
Sent: 27 March 2002 21:15
To: Tomcat Users List
Subject: Re: Newbie installation question

Zoe,

I've read a number of the replies to your question.

I think I would recommend ditching the RPM installation and simply 
downloading the binary distribution from Jakarta. When you gunzip and 
untar the files, everything will be in one directory and should use the 
default 8080 port. You might need to set CATALINA_HOME, but I think 
thats everything, certainly there is no user creation required. The log 
files will appear in the log directory which might give you more 
information.

Since finding the correct port seems to be a problem, you could also try

netstat -a which will tell you what ports are in use.

Hope that helps,

Barry

Zoe Adams wrote:

Hi,
 
This is a very newbie question I'm afraid. 
 
I have attempted to install a standalone Tomcat 4 as an RPM under
RedHat
Linux 7.1 but just can't get it to work. 
 
These are the steps I've followed:
- Installed jdk-1.3.1_02.i386.rpm
- Installed regexp-1.2-1.noarch.rpm
- Installed servletapi4-4.0.2-3.noarch.rpm
- Installed xerces-j-1.4.4-2.noarch.rpm
- Installed tomcat4-4.0.2-3.noarch.rpm
- Set JAVA_HOME=/usr/java/jdk1.3.1_02 in
/etc/tomcat4/conftomcat4.conf
- Set CATALINA_HOME=/var/tomcat4 in /etc/profile
 
I then go into /etc/init.d and type tomcat4 start and I see the
following:
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
 
But if I try to browse to http://localhost:8180
http://localhost:8180/
I get the message could not connect to host localhost (port 8180).
 
Where am I going wrong? I have read the documentation but am still none
the wiser. I've installed Tomcat4 under Windows and it all went without
a hitch, but Linux has me stumped. If anyone can offer any suggestions
or point me to some good online help, then I'd be very grateful.
 
Thanks,
Zoe Adams
 
*
http://www.snapherup.com http://www.snapherup.com/  
Tell us exactly who you're looking for 
and we'll tell you exactly who matches
 





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie installation question (rpm version _IS_ broken)

2002-03-27 Thread vergel


Hi all.

Sorry to be a latecomer to all this.  Zoe, I also thought that the rpm 
install would be a cleaner install. It doesn't look like that will work.
I had tomcat4.0.1 working at one time on another linux machine.  But 
this newer version doesn't seem to work.

All the work you did was a valid effort. I tried the same got no love. If 
I find anything out I'll definitely pass it to you and the rest of the 
list.. if not. I'll install ANT and install the cleaner way.


good luck.
verg.



On Wed, 27 Mar 2002, Zoe Adams wrote:

 Thanks Barry. I think after what you and Gareth have said, I will go for
 the normal binary distribution - sounds like it will solve a few
 headaches.
 
 And I thought I was keeping things nice and clean by going down the RPM
 route!
 
 Thanks for everyone's help.
 
 Z.




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]