You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lawrence, Gareth" <G....@massey.ac.nz> on 2002/03/27 04:43:47 UTC
RE: tomcat4 config.
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:vergel@humanjava.com]
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: <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: Tomcat 4 NT Service
Posted by Morten Bøhmer <mb...@online.no>.
You can find the source code for this under jakarta cvs
/jakarta-tomcat-connectors/jk
Best regards
On Wednesday 27 March 2002 06:55, you wrote:
> Hi ,
> Where can I find the jk_nt_service.exe for Tomcat 4?
>
> Or can I reuse any older version of this exe.
>
> Thankx
> Karthik
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Tomcat 4 NT Service
Posted by Sanjay Bahal <sb...@yahoo.com>.
I am looking for it too?
Thanks,
Sanjay
--- Karthik Gopal <ka...@hotmail.com> wrote:
> Hi ,
> Where can I find the jk_nt_service.exe for Tomcat 4?
>
> Or can I reuse any older version of this exe.
>
> Thankx
> Karthik
>
> --
> To unsubscribe:
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Tomcat 4 NT Service
Posted by Karthik Gopal <ka...@hotmail.com>.
Hi ,
Where can I find the jk_nt_service.exe for Tomcat 4?
Or can I reuse any older version of this exe.
Thankx
Karthik
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
RE: tomcat4 config.
Posted by vergel <ve...@humanjava.com>.
FIGURED IT OUT!!!!!
for anyone who installs a Linux version of Tomcat4 and can't configure it.
Check this directory and set the environmental settings for tomcat.
/etc/tomcat4/conf/tomcat4.conf
Set all your settings there and you should be able to start tomcat without
any errors. It was a simple config thing...... just an FYI.
verg.
On Wed, 27 Mar 2002, Lawrence, Gareth wrote:
> 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.
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>