geesh, what a pain in the snoot!
i'm scared to death to change the apache jobd. i might just put
everything i need into SYSBASE instead.
however, i'm not afraid of routing programs. how did you do something
that only affects the apache server for zend?
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
From: "Jim Oberholtzer" <midrangel@xxxxxxxxxxxxxxxxx>
To: "'Web Enabling the IBM i \(AS/400 and iSeries\)'"
<web400@xxxxxxxxxxxx>,
Date: 08/26/2014 02:47 PM
Subject: Re: [WEB400] using zendserver toolkit
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>
The job description for the Zend apache instance defaults to :
QHTTPSVR/QZHBHTTP.
The job description for the Zend Server defaults to: ZENDSVR/ZSVR_JOBD.
The Zend job description is not a big deal to change, but, be really
careful
with the IBM default QZHBHTTP. That change could break things.
At V7R2 you can determine the entire work management environment from the
httpd.conf file. So now you can customize the job description, subsystem,
memory pool used etc. by individual Apache instance. In V7R1, I've had
to
resort to using a routing program for QHTTPSVR subsystem to control that.
I don't think there is any plan to PTF the work management changes to V7R1
but it would be cool if it happened.
--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Larry
Kleinman
Sent: Tuesday, August 26, 2014 1:37 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Cc: WEB400
Subject: Re: [WEB400] using zendserver toolkit
I agree, What is the JOBD used by Zend and by the Apache server?
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
From: "Jim Oberholtzer" <midrangel@xxxxxxxxxxxxxxxxx>
To: "'Web Enabling the IBM i \(AS/400 and iSeries\)'"
<web400@xxxxxxxxxxxx>,
Date: 08/26/2014 02:34 PM
Subject: Re: [WEB400] using zendserver toolkit
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>
It likely is not. The user that runs the web server needs the iASP in its
job.
Check out the job description used by Zend Server and the Apache instance.
WARNING: If the iASP is not up and running by the time you start the web
server after this change, the web server will die, and not tell you why.
Took me 2 days of head scratching to figure that one out.
--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Larry
Kleinman
Sent: Tuesday, August 26, 2014 1:31 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Cc: WEB400
Subject: Re: [WEB400] using zendserer toolkit
An update - the problem is related to the fact that the library that I am
trying to access is in an IASP. The user profile with which I am
connecting has a JOBD that specifies that IASP, but is this the JOBD under
which the job is actually running?
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
From: Alan Seiden <alan@xxxxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxx>,
Cc: WEB400 <web400-bounces@xxxxxxxxxxxx>
Date: 08/26/2014 01:06 PM
Subject: Re: [WEB400] using zendserer toolkit
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>
Larry, here's a sample that might get you started. I am providing this one
because it's complete, has error checking on the connect, and has the
"require_once" statement that you are probably missing now. Remove the
references to procedures/functions/return variables if they don't apply to
your program.
http://www.alanseiden.com/2012/12/27/service-program-procedures-with-php-too
lkit-for-ibm-i/
Best,
Alan
--
*Alan Seiden Consulting LLC*
PHP for IBM i expertise and advocacy
*Learn high-performance PHP on IBM i:*
* Let your Apps Fly with PHP on IBM i
<
http://iprodeveloper.com/let-your-php-apps-fly-ibm-i-high-performance-php-de
mand?promo=WP003XOE
Project leader, Zend PHP Toolkit for IBM i Zend Framework certified
contributor
Office: 201-447-2437 Cell: 201-248-4704
http://www.alanseiden.com | alan@xxxxxxxxxxxxxx
http://twitter.com/alanseiden
Larry Kleinman wrote:
Thanks for the links. I am still having a problem. First off, I don't
see any samples at all. Nothing is in zendsvr6/htdocs except
index.html,
dummy.php, and two Zend5250 directories. Also, i get a "class not
found"
message for $ToolkitServiceObj = ToolkitService::getInstance($db,
$user,
$pass);
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
From: Mike Pavlak<mike.p@xxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxx>,
Date: 08/25/2014 06:32 PM
Subject: Re: [WEB400] using zendserer toolkit
Sent by: "WEB400"<web400-bounces@xxxxxxxxxxxx>
And here:
https://www.zend.com/en/user/login?redirect=/en/webinars/recorded/show/293
_the+php+toolkit+from+zend+and+ibm
And here:https://github.com/zendtech/IbmiToolkit
And here:http://www.alanseiden.com/toolkit/
And more information available at the following events, maybe near you?
Hands On Workshops:
http://www.omniuser.org/TechConf2014Reg.html
http://systemideveloper.com/summit/conferences.html
http://www.data3.se/?page_id=2710
Presentations:
http://zendcon.com/
http://www.common.org/index.php/fall-conference-and-expo.html
Regards,
Mike Pavlak
Cell: (408)679-1011 Office: (708)233-5880
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Larry
Kleinman
Sent: Monday, August 25, 2014 3:16 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] using zendserer toolkit
Thanks. Just what I was looking for
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
From: Michael Ryan<michaelrtr@xxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxx>,
Date: 08/25/2014 03:08 PM
Subject: Re: [WEB400] using zendserer toolkit
Sent by: "WEB400"<web400-bounces@xxxxxxxxxxxx>
And maybe this specifically for the Toolkit...
http://files.zend.com/help/Zend-Server-6.3-IBMi/zend-server.htm#php_toolki
t_xml_service_functions.htm
On Mon, Aug 25, 2014 at 2:36 PM, Larry
Kleinman<larry@xxxxxxxxxxxxxxxxx>
wrote:
Hi - I have been using Zend Server for years but am finally going to
switch from the i5_ functions to the tool kit that is part of the
basic software. I can not find the documentation anywhere on the
Zend site
that
tell me how to do simple stuff like calling an RPG program. Can
someone
point that out to me?
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
--
This is the Web Enabling the IBM i (AS/400 and 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 is the Web Enabling the IBM i (AS/400 and 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 is the Web Enabling the IBM i (AS/400 and 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 is the Web Enabling the IBM i (AS/400 and 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 is the Web Enabling the IBM i (AS/400 and 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.