sumit.bhujbal101 Posted October 4, 2018 Share Posted October 4, 2018 Whenever java auto updates had done then it required to restart the tomcat server otherwise gives error to generate jasper report.Is there any option that doesn't require to restart tomcat server. Link to comment Share on other sites More sharing options...
SETTURGOPI Posted October 4, 2018 Share Posted October 4, 2018 Check the tomcat/bin/setenv.sh for JAVA_HOME and JRE_HOME path and set to correct path of upgraded version of JAVA. If not, create a file setenv.sh and populate it with variables. -bash-3.2$ cat setenv.shJAVA_HOME=/opt/jdk1.8.0_172/JRE_HOME=/opt/jdk1.8.0_172/jreCATALINA_PID="$CATALINA_BASE/tomcat.pid"#CATALINA_OPTS="-server -Xms1024m -XX:+UseParallelGC -Xmx2024m -XX:MaxPermSize=512m -XX:PermSize=1024m -Djava.awt.headless=true"CATALINA_OPTS="-server -Xms1024m -XX:+UseParallelGC -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true"export JRE_HOMEexport JAVA_HOMEexport CATALINA_OPTS Link to comment Share on other sites More sharing options...
SETTURGOPI Posted October 4, 2018 Share Posted October 4, 2018 TOMcat must be restarted to load the new version of java. Please shutdown and clean server cache and restart Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now