How to Upgrade the Remedy Smart Reporting Bundle Tomcat from 8 to 9 ? |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers.
example : If you want to upgrade tomcat to 9.0.33 on Windows machine then download ' apache-tomcat-9.0.33-windows-x64.zip' file from below location.
https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.33/bin/ Note: It has been detected that Tomcat 10 does not work with Smart Reporting, so it is recommended to use Tomcat 9. 2. Extract the downloaded folder of Tomcat on the server where the existing Tomcat is installed. For example, you can check for the Tomcat installation directory under <<Smart Reporting installation directory>>\appserver.
3. Stop Smart Reporting service. 4. Backup the following folders or files and copy them to a safe location. You might need them if Tomcat upgrade process fails.
5. For Windows Service only, copy the existing Java options from service.properties by performing following steps. For Linux service, skip the following steps (a-c).
tomcat8w.exe //ES//BMCSmartReporting
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --> <Listener className="org.apache.catalina.core.JasperListener" />
“protocol="org.apache.coyote.http11.Http11NioProtocol”
sc delete <Smart Reporting Service Name>
rem ---------------------------------------------------------------------------
rem Smart Reporting Options
rem set JRE_HOME to value chosen in installer
set JRE_HOME=C:\Program Files (x86)\Java\jre1.8.0_40
rem Memory limits.
rem Set JvmMs to minimum JVM stack size (in Mb)
rem Set JvmMx to maximum JVM stack size (in Mb)
set JAVA_OPTS=%JAVA_OPTS% --JvmMs 1024 --JvmMx 2048
rem Fixes for JPivot compatibility with Axis and Java 1.6
set JVM_OPTS=-Djavax.xml.soap.MessageFactory=org.apache.axis.soap.MessageFactoryImpl
set JVM_OPTS=%JVM_OPTS%;
-Djavax.xml.soap.SOAPConnectionFactory=org.apache.axis.soap.SOAPConnectionFactoryImpl
set JVM_OPTS=%JVM_OPTS%;-Djavax.xml.soap.SOAPFactory=org.apache.axis.soap.SOAPFactoryImpl
rem set JVM_OPTS=%JVM_OPTS%;
Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
rem If you are experiencing "java.lang.OutOfMemoryError: PermGen space"
rem errors, uncomment the following line:
rem set JVM_OPTS=%JVM_OPTS%;-XX:PermSize=64m;-XX:MaxPermSize=256m
rem Uncomment these options if you are experiencing performance issues with OLAP data sources
rem set JVM_OPTS=%JVM_OPTS%;-Dorg.olap4j.driver.xmla.XmlaOlap4jCube.lazyLoadMeasures=true
rem set JVM_OPTS=%JVM_OPTS%;-Dorg.olap4j.driver.xmla.XmlaOlap4jCellSet.lazyMemberLookup=true
rem ---------------------------------------------------------------------------
18. To add the existing java option (copied in step 5c) to the new Smart Reporting service, perform the following steps:
19. Now you should be able to start the Smart Reporting service from the Service console.
20. Start the service and check Tomcat version information in http://<SR_Server>:<SR_Port>/info.jsp.
|