User Tools

Site Tools


pub:iview8setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pub:iview8setup [2018/08/30 14:28] – [Front end - Apache Tomcat] kkramerpub:iview8setup [2018/09/05 11:13] – [Enter License Keys and Set Location] kkramer
Line 8: Line 8:
 ===== Installation and Configuration ===== ===== Installation and Configuration =====
  
-iView is comprised of two parts:  The **iView front end or Tomcat Server**, and the **back end running on the IBMi**.   +iView is comprised of two parts:  The **iView front end running on Tomcat Server (version 5.x or above)**, and the **back end running on the IBMi (V6R1 or above)**. 
-Apache Tomcat is used to deploy your Java Servlets and JSPs. So in your Java project you can build your WAR (short for Web ARchive) file, and just drop it in the deploy directory in Tomcat. So basically Apache is an HTTP Server, serving HTTP. Tomcat is a Servlet and JSP Server serving Java technologies.+
  
 ==== Front end - Apache Tomcat ==== ==== Front end - Apache Tomcat ====
 +==Download iView WAR file==
 +The iView front end is typically provided in a war file. Download this file to your home directory in the IFS using **binary** file transfer, and then execute these commands ( populating the names with those used in your installation ). The directory /home/user is meant to refer to your user profile's home directory
 +
 ==Download Tomcat distribution file== ==Download Tomcat distribution file==
 Download Tomcat 6.x from FTP site at:\\ Download Tomcat 6.x from FTP site at:\\
- [[ftp:// ftp.informdecisions.com/ftpRoot/CustomerFTP/iView/apache-tomcat-6.0.39.zip]]\\ + [[ftp://ftp.informdecisions.com/iView/apache-tomcat-6.0.39.zip]]\\ 
-and upload Tomcat distribution file to an IFS directory, for example /home/download. \\+ 
 +and upload this file to /home/user directory
  
-Change your current working directory to /www then decompress Tomcat distribution file using qshell command: 
 <html><pre> <html><pre>
 +call qp2term
 +cd /www
 ajar -x /home/download/apache-tomcat-6.0.39.zip ajar -x /home/download/apache-tomcat-6.0.39.zip
 </pre></html> </pre></html>
 +
 ==Add environment variable JAVA_HOME at system level== ==Add environment variable JAVA_HOME at system level==
 Set JAVA_HOME environment variable: go to directory /qibm/ProdData/Java400 and choose a JDK version that you want to set for JAVA_HOME, then type command: Set JAVA_HOME environment variable: go to directory /qibm/ProdData/Java400 and choose a JDK version that you want to set for JAVA_HOME, then type command:
Line 49: Line 54:
 Tomcat is installed and configured successfully. Now you can start Tomcat by using command: (Where the job queue is where you want to run Tomcat)  Tomcat is installed and configured successfully. Now you can start Tomcat by using command: (Where the job queue is where you want to run Tomcat) 
 <html><pre>  <html><pre> 
-STRTOMCAT JOBQ+STRTOMCAT JOBQ(FMGJOBQ)
 </pre></html> </pre></html>
 To open your web browser, enter the URL [[http://your.server.name:8080]] To open your web browser, enter the URL [[http://your.server.name:8080]]
Line 55: Line 60:
 ==Stop Tomcat==  ==Stop Tomcat== 
 Use command **ENDTOMCAT** to stop Tomcat Use command **ENDTOMCAT** to stop Tomcat
-==Download iView WAR file== 
-The iView front end is typically provided in a war file. Download this file to your home directory in the IFS using **binary** file transfer, and then execute these commands ( populating the names with those used in your installation ). The directory /home/user is meant to refer to your user profile's home directoryl 
  
-<html><pre> 
-call qp2term 
-cd /home/user 
-tar -xf iView8.00-FrontEnd-Php5.4.tar 
-cd /www/zendsvr6/htdocs/iview800 
-find . -type d -print | xargs chmod 755 
-find . -type f -print | xargs chmod 644 
-chmod 666 i5_def.php 
-chown -R qtmhhttp 
-</pre></html> 
  
-You should now add the following stanza to the Apache configuration file used by the Zend Server. 
-This file is /www/zendsvr6/conf/httpd.conf. You may append this to the file: 
- 
-<html><pre> 
- &lt;LocationMatch "/iview*"&gt; 
-          PasswdFile %%SYSTEM%% 
-          AuthType Basic 
-          AuthName "i5 User Profile" 
-          Satisfy All 
-          Require valid-user 
- &lt;/LocationMatch&gt; 
- </pre></html>  
-   
- These statements establish browser authentication against the IBM i profile. iView will not work without user authentication. You may establish user authentication through any means that Apache will allow. 
-   
-At this point, if your machine's IP is 192.168.0.2 you should be able to point your browser at http://192.168.0.2/iview800 and get a response. 
 ==== Back end - IBMi ==== ==== Back end - IBMi ====
 The iView back end is typically provided in a savefile. To install, upload the savefile to the IBM i and restore it with a command like this ( you will need to populate this command with the names you are using on your system ): The iView back end is typically provided in a savefile. To install, upload the savefile to the IBM i and restore it with a command like this ( you will need to populate this command with the names you are using on your system ):
  
 <html><pre> <html><pre>
-RSTLIB SAVLIB(IVIEW800) DEV(*SAVF) SAVF(QGPL/IVIEW800) MBROPT(*ALL) ALWOBJDIF(*ALL)+RSTLIB SAVLIB(IVIEW844) DEV(*SAVF) SAVF(QGPL/IVIEW844) MBROPT(*ALL) ALWOBJDIF(*ALL)
 </pre></html> </pre></html>
  
Line 114: Line 91:
 </pre></html> </pre></html>
 ==== Enter License Keys and Set Location ==== ==== Enter License Keys and Set Location ====
-Take option 20, then option 10 and when prompted enter the permanent or temporary license provided by your account manager. iView should have 3 key components: IVIEWWEB, IVIEW1, IVIEW2. Once entered, iView is now ready to use. +Take option 20, then press Enter to enter the permanent or temporary license provided by your account manager. iView should have 3 key components: IVIEWWEB, IVIEW1, IVIEW2. Once entered, iView is now ready to use. 
  
 <html><pre> <html><pre>
Line 125: Line 102:
  iDocs Production Information                                                     iDocs Production Information                                                   
     Product version . . . . . :                                                      Product version . . . . . :                                                 
-    iDocs Installation Library: IDOCS6     Name, F4 for list                    +    iDocs Installation Library: FMG       Name, F4 for list                    
                                                                                                                                                                  
  Location settings                                                                Location settings                                                              
Line 158: Line 135:
   F3=Exit   F10=Update   F12=Previous                                              F3=Exit   F10=Update   F12=Previous                                           
 </pre></html> </pre></html>
-Take option 20, then option 8 to set the iView location and path. Set the parameters as appropriate to your installation or upgrade and press <enter> to update. These values are stored in the data areas DSIVIEWLIB (for iView Library) and DSIVIEWDIR (for iView IFS Path).+Then use option 8 to set the iView location and path. Set the parameters as appropriate to your installation or upgrade and press <enter> to update. These values are stored in the data areas DSIVIEWLIB (for iView Library) and DSIVIEWDIR (for iView IFS Path).
  
 <html><pre> <html><pre>
pub/iview8setup.txt · Last modified: 2022/06/25 17:02 by 127.0.0.1