tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burt Gildenhuys <bgil...@alcatel.altech.co.za>
Subject Forte user with Tomcat 3.2 installation problem under Linux
Date Fri, 08 Mar 2002 13:30:46 GMT
Dear Tomcat Community,

I am using Tomcat 3.2 which is bundled in with Forte 3.0 for Java. This
works fine in the development environment under Mandrake Linux 8.1. Now
I want to deploy a web application, for this purpose I have Apache 1.3
running to handle the static pages. For the *.war files I need Tomcat.
Presumably I need to download Tomcat and run it without running up the
Forte IDE??

I downloaded the file 'jakarta-tomcat-3.2.4.tar.gz', used winzip to
decompress the data and ftp'ed this onto my linux machine. I set up the
environment variables as shown below. Then I needed to edit
$TOMCAT_HOME/bin/startup.sh as follows:

·     uncomment the 2'nd line 'java -cp runner .........'
·  chmod to make it executable.

When I run it I get :

bash: ./startup.sh: bad interpreter: no such file or directory

executing '$java' from the command line with no arguments shows that the
jre is being found in the path. The only other problem I can think of is
that the CLASSPATH is incorrect. Can any body please help me to solve
this problem??

---------------
echo Welcome Tomcat!
PATH=$PATH:/home/java/forte4j/bin/:/home/java/j2sdk1.4.0/bin ; export
PATH
echo PATH = $PATH
JAVA_PATH=/home/java/j2sdk1.4.0/ ; export JAVA_PATH
JDK_HOME=/home/java/j2sdk1.4.0/ ; export JDK_HOME
echo JAVA_PATH = $JAVA_PATH
TOMCAT_HOME=/home/tomcat/jakarta-tomcat-3.2.4 ; export TOMCAT_HOME
echo TOMCAT_HOME = $TOMCAT_HOME
NPX_PLUGIN_PATH=/home/java/j2sdk1.4.0/jre/plugin/i386/ns4/ ; export
NPX_PLUGIN_PATH
echo JDK_HOME = $JDK_HOME
echo NPX_PLUGIN_PATH = $NPX_PLUGIN_PATH
CLASSPATH=.:/usr/share/pgsql/jdbc7.0-1.2.jar ; export CLASSPATH
echo CLASSPATH = $CLASSPATH
JAVA_HOME=/home/java/j2sdk1.4.0/ ; export JAVA_HOME
echo JAVA_HOME = $JAVA_HOME
-------------------

Regards,  

Burt Gildenhuys
E-Mail:  bgilden@alcatel.altech.co.za
Tel:     +2711-899-6079
Fax:     +2711-899-6378
Mobile:  +2782-895-5796



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message