Demo Applications / Internal Server Error

Re: Demo Applications / Internal Server Error

Postby coder400 on Tue Feb 21, 2012 5:47 pm

5722SSI product id is Version 5. Does anyone know what is needed in Version 7?
coder400
 
Posts: 1
Joined: Tue Feb 21, 2012 5:45 pm

Re: Demo Applications / Internal Server Error

Postby aseiden on Tue Feb 21, 2012 6:58 pm

coder400,

You mean version 7.1 of the operating system?
aseiden
 
Posts: 697
Joined: Thu Apr 09, 2009 5:45 pm

Re: Demo Applications / Internal Server Error

Postby etangeman on Wed Apr 18, 2012 4:48 pm

zend_i5 wrote:Change XMLSERVICE to ZENDSVR in /usr/local/zendsvr/share/ToolkitAPI/ToolkitServiceSet.php script:

from
define('XMLSERVICELIB', 'XMLSERVICE'); //library with IBM support objects
to
define('XMLSERVICELIB', 'ZENDSVR]'); //library with IBM support objects


I am also having this problem but can;t find this script. Infact i don;t even have the ZENDSVR under the usr/local directory.
I installed Zend Server (PHP 5.3) 5.6.0 SP1 on an IBM i w/ 6.1
etangeman
 
Posts: 7
Joined: Wed Apr 18, 2012 4:40 pm

Re: Demo Applications / Internal Server Error

Postby asijkb on Thu May 17, 2012 2:15 pm

We are having this same issue getting on our 7.1 box:

Code: Select all
Warning: db2_prepare(): Statement Prepare Failed in /usr/local/zendsvr/share/ToolkitAPI/Db2supp.php on line 77


our toolkit.ini file look like this:


Code: Select all
                                                                                                   
17 May 2012 08:35:33.580479 Running stateless; no IPC needed.                                     
17 May 2012 08:35:33.946717 i5Error: num=14 cat=9 msg="No more entries." desc="No more entries."   
17 May 2012 08:38:6.426459 Running stateless; no IPC needed.                                       
17 May 2012 08:38:6.494221 i5Error: num=14 cat=9 msg="No more entries." desc="No more entries."   
17 May 2012 08:40:7.352176 Running stateless; no IPC needed.                                       
17 May 2012 08:40:7.411302 i5Error: num=14 cat=9 msg="No more entries." desc="No more entries."   
17 May 2012 08:44:10.82748 Running stateless; no IPC needed.                                       
17 May 2012 08:44:10.899071 i5Error: num=14 cat=9 msg="No more entries." desc="No more entries."   
17 May 2012 08:49:25.841918 Running stateless; no IPC needed.                                     
17 May 2012 08:49:25.917126 i5Error: num=14 cat=9 msg="No more entries." desc="No more entries."   


our toolkitserviceset.php look like this:


Code: Select all
<?php                                                                                             
                                                                                                 
// TODO get from INI?                                                                             
                                                                                                 
/*define('XMLSERVICELIB', 'XMLSERVICE');    //library with IBM support objects                   
define('DFTLIB', 'QGPL');              //library for creation of templorary objects (was QGPL)   
define('ZSTOOLKITLIB', 'ZENDSVR');     //library with Service program                             
define('ZSTOOLKITPGM', 'ZSXMLSRV'); // or XMLSERVICE?                                             
define('DBPROTOCOL', 'ibm_db2');                                                                 
define('XMLINTERNALKEY', '/tmp/Toolkit')*/                                                       
                                                                                                 
                                                                                                 
define('XMLSERVICELIB', 'ZENDSVR');    //library with IBM support objects                         
define('DFTLIB', 'QGPL');              //library for creation of templorary objects               
define('ZSTOOLKITLIB', 'ZENDSVR');     //library with Service program                             
define('ZSTOOLKITPGM', 'ZSXMLSRV');                                                               
define('DBPROTOCOL', 'ibm_db2');                                                                 
define('XMLINTERNALKEY', '/tmp/Toolkit')                                                         
//define ('DISCONNECT', false)             
?> 


I have confirmed with have the 7.1 version of PTF: SI39610 for 5722SS1.

and after all the changes and restarting zend and apache we are still getting the error shown at the top. Now you should know that we replaced the php.ini file with our file by accident before backing up the old one. Hope that didn't break it. Any thoughts?
asijkb
 
Posts: 2
Joined: Thu May 17, 2012 2:07 pm

Re: Demo Applications / Internal Server Error

Postby asijkb on Thu May 17, 2012 3:06 pm

Nevermind we figured it out. Seems we loaded the wrong toolkitapi on our machine, and instead loaded a zip one of our employees made. After loading the right one everything started working again. sorry for the confusion.
asijkb
 
Posts: 2
Joined: Thu May 17, 2012 2:07 pm

Previous

Return to Zend Server for IBM i

Who is online

Users browsing this forum: No registered users and 0 guests