The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomcat Crashes

Discussion in 'General Discussion' started by amolmistry, Feb 20, 2013.

  1. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hello,

    Just now I grep "Error" from catelina.err and found below errors.

    Please suggest how to deal with it.

    Also suggest any basic precautions to take when dealing with Apache-Tomcat.

    Code:
    java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
    SEVERE: Skipped installing application listeners due to previous error(s)
    SEVERE: Error listenerStart
    SEVERE: Context [/testStruts] startup failed due to previous errors
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor NetBanking.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor NetBank.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor ImageStruts.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor ImageUpload.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error getConfigured
    SEVERE: Context [/cgi-bin] startup failed due to previous errors
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error getConfigured
    SEVERE: Context [/ondot] startup failed due to previous errors
    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
    SEVERE: Skipped installing application listeners due to previous error(s)
    SEVERE: Error listenerStart
    SEVERE: Context [/simpleStruts] startup failed due to previous errors
    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
    SEVERE: Skipped installing application listeners due to previous error(s)
    SEVERE: Error listenerStart
    SEVERE: Context [/testStruts] startup failed due to previous errors
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor NetBanking.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor NetBank.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor ImageStruts.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error deploying configuration descriptor ImageUpload.xml
    SEVERE: Error starting static Resources
    SEVERE: Error in resourceStart()
    SEVERE: Error getConfigured
    SEVERE: Context [/cgi-bin] startup failed due to previous errors
     
  2. Greenhost

    Greenhost Well-Known Member

    Joined:
    Jan 22, 2013
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    It seems you missed a library. Search for the el-api.jar and check this link.
     
  3. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    but Tomcat is working properly, only sometimes it get crashes and have to restart it again and again.

    I did not got anything suspicious from catelina.err and catelina.out hence did grep for "Error" from catelina.err and found above log.

    is it like if el-api.jar not installed then also tomcat can work?
     
  4. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Now Tomcat is not getting crashed, but found one thing that whenever any user upload his modified .jsp files then website stops working. then have to restart tomcat in order to start the website.
     
Loading...

Share This Page