Website based on JAVA application is not working: Jakarta/ISAPI/isapi_redirector/1.2.40

Created:

2017-08-07 16:26:08 UTC

Modified:

2017-08-16 17:33:03 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Website based on JAVA application is not working: Jakarta/ISAPI/isapi_redirector/1.2.40

Applicable to:

  • Plesk for Windows

Symptoms

Website based on JAVA application is not working:

Internal Server Error

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Jakarta/ISAPI/isapi_redirector/1.2.40

Apache Tomcat service crashes on every attempt to access the website with the following error in Event Viewer :

The Apache Tomcat 7.0 Tomcat7 service terminated with the following service-specific error: 

Incorrect function.

The following warning can be found in C:\Program Files\Apache Software Foundation\Tomcat7.0\logs\tomcat7-stdout.xxxx-xx-xx.log file:

WARN 22016 --- [com-startStop-1] o.s.b.f.support.DisposableBeanAdapter    : Invocation of destroy method 'close' failed on bean with name 'dataSource': java.lang.OutOfMemoryError: PermGen space

WARN 22016 --- [com-startStop-1] o.s.boot.SpringApplication : Error handling failed (PermGen space)

Cause

Insufficient memory pool size leads to out of memory error for PermGen Space

Resolution

  1. Start Tomcat7w GUI application for monitoring and configuring Tomcat services - C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7w.exe
  2. In Java Options field in Java tab add the following directive:

    -XX:MaxPermSize=128M
    

    tomcat_properties.png

  3. Save the changes and restart Tomcat Apache service

    tomcat_services.png

  4. Start JAVA application in Home > Domains > example.com > Java Application page
Note: There is a probability that application memory leak can cause running out of memory. If the issue occurs after increasing of MaxPermSize option consider to review web application code to find what could cause memory leaking.
Have more questions? Submit a request
Please sign in to leave a comment.