Opps :-(

.... cont ...

#!/bin/bash
    JAVA_HOME=/usr/java/jdk1.3.1
    JAKARTA_HOME=/opt/jakarta
    ANT_HOME=$JAKARTA_HOME/jakarta-ant
    TOMCAT_HOME=$JAKARTA_HOME/build/tomcat
    PATH=$JAVA_HOME/bin:$PATH

    export JAVA_HOME JAKARTA_HOME ANT_HOME PATH TOMCAT_HOME

I think :-)

*After this is installed you should test jdk:
(use javac and java from the command line to make sure java is working)

*Following this you'll need to install Ant (have you done this??)

*And then you need to sh build.sh dist 

And then you can go sh startup.sh :-)))

Hope this helps :-)

G.



-----Original Message-----
From: vergel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 March 2002 3:36 p.m.
To: Tomcat Users List
Subject: RE: tomcat4 config.


Hi Gareth (et all)

I'm using RedHat Linux 2.4.9-31 with a bash shell. I installed Tomcat4 via 
.rpm files from the jakarta site. I'm using Apache 1.3.23 (in linux) and 
Tomcat 4.03.

I can init tomcat4 via: /etc/rc.d/init.d/tomcat4 start
but I get these errors.

<Actual shell output>
Starting tomcat4: chown: getting attributes of `/var/tomcat4/logs': No 
such file or directory
chown: getting attributes of `/var/tomcat4/work': No such file or 
directory
chown: getting attributes of `/var/tomcat4/temp': No such file or 
directory
chown: getting attributes of `/var/tomcat4/webapps': No such file or 
directory
</Actual shell output>



How do I reset these variables to where I ACTUALLY have them located?

CATALINA_BASE:   /var/tomcat4 (should be /usr/tomcat4)
CATALINA_HOME:   /var/tomcat4 (same as above)
CATALINA_TMPDIR: /var/tomcat4/temp (should be /usr/tomcat/temp)
JAVA_HOME:       /opt/IBMJava2-13 (should be /usr/java/j2re1.4.0)

Any advice or help would be VERY apprciated at this point.
thanks.
verg.


btw: in bash I had to set setenv to export for it to work. but it still 
isn't being picked up the init.d version of tomcat4.



On Wed, 27 Mar 2002, Lawrence, Gareth wrote:

> Depends what shell your using and what your setup is :-))
> 
> I'm using tcsh on debian and the file to set my variables in is
> /etc/csh.cshrc
> 
> I've got:
> setenv JAVA_HOME /usr/java/j2sdk1.4.0
> setenv JAKARTA_HOME /usr/java/jakarta
> setenv ANT_HOME $JAKARTA_HOME/jakarta-ant-1.4.1
> setenv TOMCAT_HOME $JAKARTA_HOME/jakarta-tomcat.4.0.3
> setenv MM_HOME /usr/java/mysql.jdbc-1.2c
> 
> setenv CLASSPATH .:/usr/java/mm.mysql.jdbc-1.2c
> 
> setenv PATH
>
.:./bin:/usr/local/bin:/usr/X11R6/bin:/usr/java/jakarta/jakarta-tomcat.4.0.3
> /bin:/usr/java/jakarta/jakarta-ant-1.4.1:/usr/java/j2sdk1.4.0/bin:$PATH
> 
> Hope this helps, perhaps you need to provide more information on your
setup.
> 
> G.
> 


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