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



Rob:

After quite a while I managed to get Tomcat working quite successfully with
Webfacing.  The main points that seemed to get me there were to upgrade to V5R1
PTF cumm package C2134510 (I believe that's still the most recent) and to change
the wfapp.properties file in the directory /www/yourhttpsvr/webapps/yourapp
/WEB-INF/classes/conf/ to have the {WFWTE} = true  parameter set.

So the major setups would be:
1/ Setup your Tomcat server (I used a worker.inprocess.type=jni as seen in the
/www/yourhttpsvr/conf/workers.properties file)
2/ In webfacing export your application to a WAR file and copy it into the
/www/yourhttpsvr/webapps/ directory
3/ Start your HTTP server and the WAR file will expand and create all the
directories and files needed.
4/ Modify your wfapp.properties file (as specified above)
5/ In the /www/yourhttpsvr/conf/httpd.conf file add two JKMount lines for your
application like this JkMount /yourapp/* inprocess  JkMount /yourapp inprocess
6/ Restart your http server and you should be happening.

Note: This is based on an Apache (based) HTTP server and not the original IBM
HTTP server config. Also, step 5 above could be done using IBM's "Tomcat wizard"
but it was actually quicker for me to just edit the file directly (which can be
done from the command line using the WRKLNK command).

Hope this helps and good luck......

Greg



|--------+----------------------->
|        |                       |
|        |                       |
|        |          rob@dekko.com|
|        |                       |
|        |          09/09/02     |
|        |          05:44 PM     |
|        |          Please       |
|        |          respond to   |
|        |          web400       |
|        |                       |
|--------+----------------------->
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       To:     web400@midrange.com                                          |
  |       cc:     (bcc: Greg Rutledge/TO/Music-CA/SONY)                        |
  |       Subject:     [WEB400] TOMCAT                                         |
  >----------------------------------------------------------------------------|





This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I managed to get Tomcat running on our iSeries.  Thanks to the suggestion
by David Morris for the two links:
http://www.midrangeserver.com/mpo/mpo021402-story02.html
http://www.midrangeserver.com/mpo/mpo021402-story05.html

The sample calculator and the sample snoop worked great.
http://10.10.1.148/example/calc
http://10.10.1.148/example/snoop.jsp

We have one person chomping at the bit to do some jsp's.
Another person wanting to try WebFacing over Tomcat.
Although IBM pushes WAS, I believe that others have it working over
Tomcat.
http://archive.midrange.com/web400/200203/msg00004.html
http://archive.midrange.com/web400/200205/msg00241.html
http://archive.midrange.com/web400/200205/msg00201.html
One person was working on a definitive how to on this subject.  Did a faq
ever come out of this?


Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.






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.