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]>

Reply via email to