Mark,

I have had 4.1.24 running on V5R1, under jdk 1.3

Heres my catalina400.sh that I used to start tomcat

# shell script to run Tomcat 4.0 and earlier

# To provide multiple instances of Tomcat, development, test, and
production,
# modify this script to set CATALINA_BASE to a directory containing the
conf, log,
# and work directories. Copy the conf directory found in CATALINA_HOME to
the new
# conf directory in CATALINA_BASE. I set CATALINA_BASE to
$home/jakarta-tomcat-4.0.1
# if it exists. Scan for and replace the following original ports in the
server.xml
# file found in the conf directory. I prepend a 1-6 allowing for 7 total
servers.
#
# orig    new
# 8005 | x8005 | Shutdown
# 8080 | x8080 | Non-SSL HTTP
# 8443 | x8443 | Redirect port - Used / SSL HTTP Connector - Not used
# 8009 |       | AJP Connector
# 8081 |       | Proxied HTTP
# 8082 |       | Test HTTP
# 1521 |       | Oracle
# 8008 | x8008 | Warp Connector


# Set job priority to standard for interactive (interactive - 6) by using
# the interactive priority - 6, the helper threads that respond to requests
# will be running at the same priority as interactive jobs.

export QIBM_MULTI_THREADED=Y
export -s JAVA_HOME=/QIBM/ProdData/Java400/jdk13
export -s CATALINA_HOME=/www/tomcat4.1.24

# 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/jdk13/lib/tools.j
ar:/QIBM/UserData/Java400/ext/db2_classes.jar:/QIBM/ProdData/HTTP/Public/jt4
00/lib/jt400.jar:/QIBM/ProdData/HTTP/Public/jt400/lib/jt400Servlet.jar
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

# Run tomcat:
#   on releases prior to V5R1 systems add -Djava.version=1.3
#   to debug use -debug -Djava.compiler=NONE

#   set -Duser.dir appropriately, it becomes the relative base for file I/O
#   on larger sites, consider upping the memory from 64 to something bigger

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

Cheers
Colin.W

-----Original Message-----
From: Mark Villa [mailto:as400-4-me@xxxxxxxxx] 
Sent: 26 March 2004 13:58
To: 'Web Enabling the AS400 / iSeries'
Subject: [WEB400] V5R1 tomcat 4.1.24 and java 1.2


Is this supposed to work on the iSeries?

I am not using the PTF's rather the public distribution of  4.1.24

I can not get JSP's to compile under V5R1. I would rather get a version
working with JDK 1.2 than other combinations. Since that seems to be the
V5R1 default.

What combination works with JDK 1.2.
Should I install JDK 1.3?
Should I look at PTF to resolve?
I think I have my authorities, paths, HOME settings correct.

I have in QBATCH:
JOB   STATUS
===============
QP0ZSPWP TIMW
QZSHSH  EVTW
STRTOMCAT TIMW (The startup job)

Error Running /QIBM/ProdData/Java400/jdk12/bin/javac compiler

The message 'ant buildexception' <init>
lost me, ant is not installed AFAICT, and saw no reference to it in the
ignite or other articles about installing Tomcat with ant. Ant being the
make utility it is expecting?? is that right?


Mark Villa in Summerville SC

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a
message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


This e-mail has been sent by a company of Bertram Group Ltd, whose registered 
office is The Nest, Rosary Road Norwich NR1 1TF. 
This message, and any attachments, are intended solely for the addressee and 
may contain privileged or confidential information.  If you are not the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted to be taken in reliance on it, is prohibited and may be unlawful.  
If you believe that you have received this email in error, please contact the 
sender immediately. Opinions, conclusions and statements of intent in this 
e-mail are those of the sender and will not bind a Bertram Group Ltd company 
unless confirmed in writing by a director independently of this message. 
Although we have taken steps to ensure that this email and any attachments are 
free from any virus, we advise that in keeping with good computing practice the 
recipient should ensure they are actually virus free.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.