Page 1 of 1

ZENDSVR Prestart jobs

Posted: Fri May 06, 2011 5:55 am
by peter_connell
I have recently installed product 2ZSVRPI, Zend Server for IBM i 5.0.2 ( PHP 5.3 ).
Using i5_connect() always starts a new PHPJOB in subsystem ZENDSVR.
I have configured ZENDSVR to use prestart jobs via the Start PHP Toolkit service .
The I5_COMD job shows PJ=On but it still submits a new PHPJOB each connect.
Suspiciously, the ZENDSVR subsystem description shows that it has no prestart jobs configured.
How do I get ZENDSVR to use prestart jobs or does this feature not exist in the CE version

Re: ZENDSVR Prestart jobs

Posted: Wed May 18, 2011 4:01 pm
by yiyujia
I guess you can not configure i5_COMD as prestart job to achieve what you want. As I know, for those SQL server prestart jobs, there are corresponding daemon jobs for each type of prestart job. Now, you configure the i5_COMD as prestart job. But, where is the corresponding daemon job for it?

It will be great if you can make one. Otherwise, I think you have to go to easyComm and buy their product, which supplies something like connection pool.

Re: ZENDSVR Prestart jobs

Posted: Wed May 18, 2011 9:10 pm
by aseiden
Peter, you can also use i5_pconnect(), which will share jobs.

Alan

Re: ZENDSVR Prestart jobs

Posted: Wed May 18, 2011 9:42 pm
by yiyujia
Hi Alan,

you are right. persistent connection make the job be kind of "prestarted".

Btw, I read an article which said Zenf platform use WebFace for i5 toolkit. Does Zend server still use IBM Webface to serve i5 toolkit request?

Thanks and regards,

Yiyu

Re: ZENDSVR Prestart jobs

Posted: Thu Jun 09, 2011 8:45 am
by zend_i5
peter_connell wrote:I have recently installed product 2ZSVRPI, Zend Server for IBM i 5.0.2 ( PHP 5.3 ).
Using i5_connect() always starts a new PHPJOB in subsystem ZENDSVR.
I have configured ZENDSVR to use prestart jobs via the Start PHP Toolkit service .
The I5_COMD job shows PJ=On but it still submits a new PHPJOB each connect.
Suspiciously, the ZENDSVR subsystem description shows that it has no prestart jobs configured.
How do I get ZENDSVR to use prestart jobs or does this feature not exist in the CE version
Here are the steps to define Toolkit prestarted jobs:
1. ADDPJE SBSD(ZENDSVR/ZENDSVR)
PGM(EASYCOM)
JOBD(ZENDSVR/EACJOBD)
CLS(ZENDSVR/I5_COMCLS)
2. Start PHP Toolkit service with PJ =*ON option

Re: ZENDSVR Prestart jobs

Posted: Thu Jun 09, 2011 8:48 am
by zend_i5
yiyujia wrote:Hi Alan,

you are right. persistent connection make the job be kind of "prestarted".

Btw, I read an article which said Zenf platform use WebFace for i5 toolkit. Does Zend server still use IBM Webface to serve i5 toolkit request?

Thanks and regards,

Yiyu
Yes, i5 Toolkit in Zend Server is using WEBFACE server for 5250 Bridge APIs

Re: ZENDSVR Prestart jobs

Posted: Wed Jun 15, 2011 3:10 pm
by yiyujia
zend_i5 wrote: Here are the steps to define Toolkit prestarted jobs:
1. ADDPJE SBSD(ZENDSVR/ZENDSVR)
PGM(EASYCOM)
JOBD(ZENDSVR/EACJOBD)
CLS(ZENDSVR/I5_COMCLS)
2. Start PHP Toolkit service with PJ =*ON option

Is EASYCOM program free for use in Zend Server? What is the limitation if it is free?

Re: ZENDSVR Prestart jobs

Posted: Wed Jun 15, 2011 3:24 pm
by erich_hieden
yiyujia wrote:Is EASYCOM program free for use in Zend Server? What is the limitation if it is free?
It's free for use on system i, that's the only limitation I'm aware of.

Re: ZENDSVR Prestart jobs

Posted: Thu Jun 16, 2011 4:58 pm
by yiyujia
Thanks for reply!

May I ask what is the daemon job name for EASYCOM prestart job? I think there should be a daemon job which accept each request and assign it to one of prestarted job?

Re: ZENDSVR Prestart jobs

Posted: Fri Jun 17, 2011 9:32 am
by erich_hieden
yiyujia wrote:Thanks for reply!

May I ask what is the daemon job name for EASYCOM prestart job? I think there should be a daemon job which accept each request and assign it to one of prestarted job?
Subsystem ZENDSVR / Job I5_COMD is the deamon job.