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 Error...Please help

Discussion in 'General Discussion' started by furquan, Jun 26, 2011.

  1. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Hello :

    I have just moved tomcat sites from RHEL to Centos and one of the sites is acting weird. The site has a log in page, which shows up correctly, but after i enter the login details the pages goes in a trans..loads nothing and times out..

    I did a tail on the error and this is what i get :-

    tail -f /usr/local/jakarta/tomcat/logs/catalina.err

    Jun 27, 2011 4:12:46 AM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.OutOfMemoryError: PermGen space
    Jun 27, 2011 4:12:53 AM org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler processConnection
    SEVERE: Error reading request, ignored
    java.lang.OutOfMemoryError: PermGen space
    Jun 27, 2011 4:13:02 AM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
    SEVERE: Caught exception (java.lang.OutOfMemoryError: PermGen space) executing org.apache.tomcat.util.net.LeaderFollowerWorkerThread@44f53eb, terminating thread
    27/06/2011 04:13:15 28087 jsvc.exec error: Cannot start daemon
    27/06/2011 04:13:15 28086 jsvc.exec error: Service exit with a return value of 5

    Can any one suggest some thing ?
     
  2. nb-master

    nb-master Member

    Joined:
    Sep 26, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Have you tried reinstalling tomcat?
     
  3. fi77i

    fi77i Well-Known Member

    Joined:
    Aug 20, 2008
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Uruguay
    cPanel Access Level:
    Root Administrator
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It might help to try posting your /usr/local/jakarta/tomcat/conf/server.xml file contents. If you want to make it a txt file and attach it or place the txt file online at a url for us to load it, that would be helpful.
     
  5. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Tristan :

    I have sent you a private message.

    Thank you
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello furquan,

    I have replied to the private message to indicate all discussions be kept in the forum thread on this issue.

    Thanks!
     
  7. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    425
    Likes Received:
    0
    Trophy Points:
    16
    Tristan :

    The entire XML file is as follows :-
    ==============

     
Loading...

Share This Page