ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Jaspersoft 7.8 Error when configured as a Service in Windows


Article ID: 223526


Updated On:


Clarity PPM On Premise


While configuring jaspersoft 7.8 as a service in Windows below error message is seen. 

SEVERE [http-nio-8080-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception Unable to rename class file from [E:\Tomcat\apache-tomcat-9.0.37\work\Catalina\localhost\reportservice\org\apache\jsp\WEB_002dINF\jsp\templates\nothingToDisplay_jsp.classtmp] to [E:\Tomcat\apache-tomcat-9.0.37\work\Catalina\localhost\reportservice\org\apache\jsp\WEB_002dINF\jsp\templates\nothingToDisplay_jsp.class]
  at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(
  at org.apache.jasper.compiler.SmapUtil.installSmap(
  at org.apache.jasper.compiler.JDTCompiler.generateClass(
  at org.apache.jasper.compiler.Compiler.compile(
  at org.apache.jasper.compiler.Compiler.compile(
  at org.apache.jasper.compiler.Compiler.compile(
  at org.apache.jasper.JspCompilationContext.compile(
  at org.apache.jasper.servlet.JspServletWrapper.service(
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(
  at org.apache.jasper.servlet.JspServlet.service(
  at javax.servlet.http.HttpServlet.service(


Post Tomcat 8.0.53, when Tomcat is installed as a service, it's installed with Log On as "Local Service". Due to this the service in Tomcat 9 is unable to make changes to files on the file system and ends up with errors.


Release : Clarity with Jaspersoft 7.8 

Component : Jaspersoft 


Command Line Instruction:

  1. Open "services.msc" as an administrator user. Stop the Jaspersoft service if it's running.
  2. Right click on the service that was created for Jasper, and click on properties.
  3. Change the Log on from "Local Service" to "Local System" account.

  4. Click on Apply.
  5. Start the service and now Jaspersoft as service will start