Hi, I am currently running Tomcat 4.1.30 on the iseries (version5 release 2).
Here is my startup script : export -s CATALINA_HOME=/tomcat4 export -s CATALINA_BASE=/tomcat4 export -s JAVA_HOME=/QIBM/ProdData/Java400/jdk14 export -s CLASSPATH=.:$CLASSPATH:/QIBM/ProdData/Java400/jdk14/lib/tools.jar:"$CATALINA_HOME"/common/lib/ant.jar:"$CATALINA_HOME"/bin/bootstrap.jar:"$CATALINA_HOME"/bin/commons-logging-api.jar export -s CATALINA_TMPDIR="$CATALINA_BASE"/temp export QIBM_MULTI_THREADED=Y echo "Using CATALINA_BASE: $CATALINA_BASE" echo "Using CATALINA_HOME: $CATALINA_HOME" echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR" echo "Using JAVA_HOME: $JAVA_HOME" echo "Using CLASSPATH: $CLASSPATH" echo "Starting Tomcat server..." java -classpath "$CLASSPATH" \ -Dcatalina.base="$CATALINA_BASE" \ -Dcatalina.home="$CATALINA_HOME" \ -Djava.io.tmpdir="$CATALINA_TMPDIR" \ org.apache.catalina.startup.Bootstrap "$@" start and here is the command to submit the job: SBMJOB CMD(QSH CMD('/tomcat4/bin/catalina.sh')) JOBD(MEDISYS/TOMCAT) JOBQ(MEDISYS/TOMJOBQ) and it works without problems. I have changed this script to : export -s CATALINA_HOME=/tomcat5 export -s CATALINA_BASE=/tomcat5 export -s JAVA_HOME=/QIBM/ProdData/Java400/jdk14 export -s CLASSPATH=.:$CLASSPATH:/QIBM/ProdData/Java400/jdk14/lib/tools.jar:"$CATALINA_HOME"/common/lib/ant.jar:"$CATALINA_HOME"/bin/bootstrap.jar:"$CATALINA_HOME"/bin/commons-logging-api.jar export -s CATALINA_TMPDIR="$CATALINA_BASE"/temp export QIBM_MULTI_THREADED=Y echo "Using CATALINA_BASE: $CATALINA_BASE" echo "Using CATALINA_HOME: $CATALINA_HOME" echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR" echo "Using JAVA_HOME: $JAVA_HOME" echo "Using CLASSPATH: $CLASSPATH" echo "Starting Tomcat server..." java -classpath "$CLASSPATH" \ -Dcatalina.base="$CATALINA_BASE" \ -Dcatalina.home="$CATALINA_HOME" \ -Djava.io.tmpdir="$CATALINA_TMPDIR" \ org.apache.catalina.startup.Bootstrap "$@" start I submit the job with SBMJOB CMD(QSH CMD('/tomcat5/bin/catalina.sh')) JOBD(MEDISYS/TOMCAT) JOBQ(MEDISYS/TOMJOBQ) to start tomcat 5.0.28 but it does not work. server.xml : <Service name="Catalina"> ... <Connector port="8585" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" /> ... <Engine name="Catalina" defaultHost="dev720" debug="0"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase"/> <Host name="dev720" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <DefaultContext reloadable="true"/> <Context path="" docBase="ROOT" debug="0"/> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> </Host> </Engine> </Service> ... thanx wouter Is there any step by step guide somewhere maybe an example script. -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 4:47 PM To: Tomcat Users List Subject: RE: tomcat 5.0.28 on iseries os/400 version 5 release 2? Hi, Tomcat should work on OS/400 out of the box. We have a couple of small tweaks we can make to the startup scripts for unusual cases, such as when the server uses doesn't own the startup scripts, but for most cases it should work fine. Yoav Shapira http://www.yoavshapira.com >-----Original Message----- >From: Roux, Wouter [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 17, 2004 9:36 AM >To: Tomcat Users List >Subject: tomcat 5.0.28 on iseries os/400 version 5 release 2? > >Hi, > >Does anyone know where I can find a script/info/help on how to start tomcat >5.0.28 on iseries os/400 version 5 release 2. > >thanx > >wouter > > >This e-mail and attachments are confidential/legally privileged and any >unauthorised use, distribution or disclosure thereof, in whatever form, by >anyone other than the addressee is prohibited. If you have received this e- >mail in error, please destroy it. The views and opinions in this e-mail >and attachments may not necessarily be those of the Directors and >management of the Medi-Clinic Group of Companies. The aforementioned does >not accept any liability for any damage, loss or expense arising from this >e-mail and / or from accessing any attachments. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and attachments are confidential/legally privileged and any unauthorised use, distribution or disclosure thereof, in whatever form, by anyone other than the addressee is prohibited. If you have received this e-mail in error, please destroy it. The views and opinions in this e-mail and attachments may not necessarily be those of the Directors and management of the Medi-Clinic Group of Companies. The aforementioned does not accept any liability for any damage, loss or expense arising from this e-mail and / or from accessing any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]