× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I use this script to start tomcat 4.1.12 on as400 and it works: (modified
from David's web site download)

export COMMAND='chgjob job('$JOBNAME') runpty(14)'
system $COMMAND

export QIBM_MULTI_THREADED=Y
export -s JAVA_HOME=/QIBM/ProdData/Java400/jdk12
export -s CATALINA_HOME=/tomcat4112

# Set CATALINA_BASE to point to a directory containing conf, work, and logs
# directories if you want to run multiple instances of Tomcat but share the
# the same installation found in your CATALINA_HOME directory.
# export -s CATALINA_BASE=$HOME/$CATALINA_HOME
export -s CATALINA_BASE=$CATALINA_HOME

# The following line allows you to compile JSP pages
CP=$CATALINA_HOME/bin/bootstrap.jar:/QIBM/ProdData/Java400/jdk12/lib/tools.j
ar
export -s CLASSPATH=$CP

echo Using Classpath:     $CP
echo Using CATALINA_BASE: $CATALINA_BASE
echo Using CATALINA_HOME: $CATALINA_HOME
echo Using JAVA_HOME:     $JAVA_HOME

java -ms64m -Duser.dir="$CATALINA_BASE" -Dcatalina.base="$CATALINA_BASE" -Dc
atalina.home="$CATALINA_HOME" org.apache.catalina.startup.Bootstrap "$@"
start

----- Original Message -----
From: "Alex Pinsky" <apinsky@aeropostale.com>
To: <java400-l@midrange.com>
Cc: "David Morris" <David.Morris@plumcreek.com>
Sent: Tuesday, December 10, 2002 11:37 AM
Subject: RE: AS/400 and Java (Tomcat on AS400)


Hi David,

We are currently running our company intranet on Tomcat3.2.4 as distributed
by IBM with Apache web server. I'm trying to upgrade to Tomcat4.1.12. I was
trying to start Tomcat by using startup.sh and get an error message:
'JAVA_HOME env variable not found'. I used 'export
JAVA_HOME=/QIBM/ProdData/Java400/jdk13' line in the beginning of the script
and it doesn't work. Can you give some instructions on how to modify
startup.sh as well as how to configure apache Plug-in to run with 4.1.12. I
was using instructions provided in this article:
http://www.ignite400.com/news/pdf/news2002030304.pdf and for some reason
that doesn't work.
I was able to install and run Tomcat as stand-alone (port 8080) using
another startup script at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/iseries-toolkit/CVSROOT/src/s
h/Attic/catalina400.sh but it is much slower than 3.2.4
Thanks for your help...

Alex Pinsky
Intranet developer
Aeropostale, Inc.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.