Configuring Smarts SolutionPack in HTTP mode
If you want to access Smarts SolutionPack in the HTTP mode, perform the following steps:
- Add the parameter,SM_CAS_SERVER, to theruncmd_env.shfile in the Presentation SAM server.SM_CAS_SERVERis the URL that identifies the M&R Tomcat server host, and it has to specify the protocol and port used to log into M&R. Example:SM_CAS_SERVER=http://M&R IP:58080. You must use theSM_CAS_SERVERentry to connect to the M&R server. IF M&R was upgraded and was not changed to run on HTTPS, thenSM_CAS_SERVER=http://M&R IP:58080.The entries in the Reports configuration screen of the SolutionPack for Smarts must match the values inSM_CAS_SERVER. In the example above:
- SetM&R tomcat hostname or IP addresstomnrhost.domain.com
- EnsureM&R tomcat port numbermatches the port specified inSM_CAS_SERVER(58080 in the example)
- Ensure the Frontend server in the Physical Overview uses the same naming convention (You must use the FQDN across all field entries.)
- Use the FQDN, not the IP address, for hostnames; otherwise CAS (Central Authentication Service) will not work properly.
- Set theSM_TOMCAT_SERVERparameter in theruncmd_env.shfile of the Presentation SAM server to specify the Fully Qualified Domain Name (FQDN) of the SAM Tomcat server. Example: the value for HTTP mode isSM_TOMCAT_SERVER=http://. This<hostname.com>:8080SM_TOMCAT_SERVERentry must match the name and port values in theSmarts EDAA host name or IP addressandSmarts EDAA port numberfields of the Reports configuration block in the SolutionPack for Smarts.
- In the/opt/APG/Web-Servers/Tomcat/Default/conf/server.xmlfile:
- Locate and remove the entryredirectPort="58443"Before removing the entryredirectPort="58443", it appear as follows:<Connector port="58080" protocol="HTTP/1.1" connectionTimeout="20000" compression="2048"/> redirectPort="58443" URIEncoding="UTF-8" />After removing the entryredirectPort="58443", it must appear as follows:<Connector port="58080" protocol="HTTP/1.1" connectionTimeout="20000" compression="2048" URIEncoding="UTF-8" />
- Comment out the following line:<Valve className="com.watch4net.apg.v2.gui.tomcat.ForceSSL" />
- Restart the Tomcat service.
- Clear the browser cache, and then log in using HTTP.