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



Shannon,
I had a similar situation on a client machine.  Each partition is virtually
a separate AS400.  There are ways to call the programs on the other
partitions, but not to get a CGI program to communicate with the HTTP server
properly.  This works in the JSP world because you are accessing the JSP
source and the Java server is creating a runnable version on the web
partition.  Data access is then handled by JDBC back to the primary
partition.

The only solution I can think of for your situation is to put the programs
on the HTTP partition and create connections to the database on the primary
partition.

(You could always change over to our RSP server, which keeps your code
primarily RPG and can be used across LPARs.) <smile>

Schadd Gray
Damon Technologies, Inc.
www.damontech.com

----- Original Message ----- 
From: "Shannon O'Donnell" <sodonnell@xxxxxxxxxxxxxxx>
To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
Sent: Tuesday, August 19, 2003 12:12 PM
Subject: [WEB400] RPGIV - CGI and Multiple Partitions


We have recently acquired a new multi-partition iSeries. We use one
partition for our development and we plan on using the other two partitions
for the following:

Partion 2 - Production web serving
Partion 3 - Firewall

Now, in my mind, I'm thinking that wasting a whole partition on a firewall
is beyond stupid, but....that was an executive decision so there ya go. And
anyway, it may be a great idea and I'm just too ignorant to see it.  That's
always a possibility. :-)

In any event....we had designed a web-based system using RPGIV and CGI,
mostly because we already had some other software using a similar technique
so "time-to-go-live" was greatly reduced, but primarily because if I'd
written it as JSP's or servlets (I was wanting to do it as JSPs) then no one
but me would ever know how to maintain it.  SO as an RPGIV/CGI application,
our traditional RPG programmers could work on it if they had to.

So...that's the preamble...here's teh question:

The powers that be want to use the third partition on this new iSeries as
both a firewall and as the HTTP server for the application. Now, if I were
using JSPs, it would be a simple matter of serving up the JSPs from wherever
they reside to the HTTP serving box on the third partition.

However, since we are talking RPGIV and CGI...I'm not really clear on if it
is even possible to store the CGI programs on one partition and serve them
up via an HTTP Server on another partition?  Is it?   I would try this
myself but at this point, we do not yet have the third partition running
(it's missing some hardware that got left out of the original
configuration).  So...I'm trying to get a handle on it, get my wits about
it, to understand if running an HTTP server on the 3rd partition would even
be able to see the CGI programs and files on the 2nd partition.

Any thoughts? Suggestions?

Thanks!



Shannon O'Donnell

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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.