× 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.



Thank you! 

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Colin Williams
Sent: Friday, April 15, 2005 2:28 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Tomcat and V5R2 

Jose,

Here you go

1. Download tomcat
2. Copy to IFS
3. create 400 specific startup script
4. submit job and run!

Startup script:

export -s JAVA_HOME=/QIBM/ProdData/Java400/jdk14 
export -s CATALINA_HOME=/tomcat4.1.24        
export -s CATALINA_BASE=$CATALINA_HOME

 

CP=$CATALINA_HOME/bin/bootstrap.jar:/QIBM/ProdData/Java400/jdk13/lib/too
ls.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       

java -ms128m   -Duser.dir="$CATALINA_BASE"
-Dcatalina.base="$CATALINA_BASE"
-Dcatalina.home="$CATALINA_HOME" 

Submit command:

SBMJOB CMD(STRQSH CMD('/tomcat4.1.24/bin/tomcat400.sh
>/tomcat4.1.24/logs/tomcat.out 2>&1')) JOB(TOMCAT)


Shutdown script

export -s CATALINA_HOME=/www/tomcat4.1.24

export -s CATALINA_BASE=$CATALINA_HOME

 

CP=$CATALINA_HOME/bin/bootstrap.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

 

# Stop Tomcat

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



cheers
Colin.W

http://as400blog.blogspot.com

-----Original Message-----
From: Jose Vega [mailto:jvega@xxxxxxxxx] 
Sent: 14 April 2005 19:57
To: Midrange Systems Technical Discussion
Subject: Tomcat and V5R2 


 Hi All,

Want to install and configure tomcat on iSeries 825 running v5r2 and
wondered if anyone knew Where I could find a tutorial or if there are
any
potential problems I should be aware of.

Thanks,

Jose

This e-mail is for the sole use of the intended recipient(s). The
information contained in this e-mail may be privileged, confidential,
and
protected from disclosure.  If you are not the intended recipient, any
dissemination, distribution, or copying is strictly prohibited. If you
have
received this e-mail in error, please immediately notify the sender by
reply
e-mail and destroy all copies of the original message. Thank you.



-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This e-mail has been sent by a company of Bertram Group Ltd, whose
registered office is 1 Broadland Business Park, Norwich, NR7 0WF. 
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.

-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.