Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper Reports not generated after java updates?


sumit.bhujbal101

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.sh
JAVA_HOME=/opt/jdk1.8.0_172/
JRE_HOME=/opt/jdk1.8.0_172/jre

CATALINA_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_HOME
export JAVA_HOME
export CATALINA_OPTS
 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...