1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Trouble installing Tomcat

Discussion in 'Plesk for Linux - 8.x and Older' started by mirage, Feb 8, 2008.

  1. mirage

    mirage Guest

    0
     
    Hi,

    I have Plesk 3.0 and just tried to install Java. Seemed to have gone well per the report except that httpd wasn't restarting:


    After loggin in to do that Apache tells me this:

    I commented this out for now and then was able to start Tomcat. I'm really new to this whole Tomact thing so I don't know what not having the jakarta module running means.

    Can anyone tell me how to fix this manually?

    Thanks
    Juergen
     
  2. mirage

    mirage Guest

    0
     
    Now I just install fcgid and I'm getting the same error for that config file. I think I may have upgraded my apache server from a different distro recently.... (utterramblings) perhaps thats the problem....

    I could use some advice as to how to straighten this out...

    Thanks much!
     
  3. ToRum

    ToRum New Pleskian

    22
    23%
    Joined:
    Jan 15, 2008
    Messages:
    7
    Likes Received:
    0
    Hi juesch,

    I'm getting the same error (and used the utterramblings-repo too). How did you solve this problem?

    Thanks in advance!
     
  4. mirage

    mirage Guest

    0
     
    Hi -

    I haven't resolved it, I guess. Like I mentioned I just commented out that line in the include. Haven't worked on it since.
     
  5. ToRum

    ToRum New Pleskian

    22
    23%
    Joined:
    Jan 15, 2008
    Messages:
    7
    Likes Received:
    0
    Hi,

    On an other VPS I upgraded to Plesk 8.3.0 and PHP5 using the (great!) atomic-repo. However, if I try to start Tomcat on this VPS, the server returns

    Apache itself is working fine. There is an old file "/etc/httpd/conf.d/jk.conf" containing 1 line:

    The file /usr/lib/httpd/modules/mod_jk.so exists. Tomcat5 is installed:

    Does anyone know what to do to get Tomcat started?

    Thanks for your help!
     
  6. ToRum

    ToRum New Pleskian

    22
    23%
    Joined:
    Jan 15, 2008
    Messages:
    7
    Likes Received:
    0
    Anyone? It seems to going even worse...

    Since yesterday, Tomcat is restarting every 5 minutes (however, I didn't changed any config's yesterday). With every restart, 2 files are added to the /tmp-dir (javaXXXXXX files). Even if I stop Tomcat (/etc/init.d/tomcat stop), it is (malicious) restarted after 5 minutes:

    /var/log/messages shows:

    Sometimes, this causes problems with the memory of this server which result in a crash of Apache:

    The /var/log/tomcat5/catalina.out-log is only showing:

    Can anyone help me please? As Tomcat is causing my server very unstable, I prefer to stop this service (but it seems Tomcat is restarting every time). So: how to stop Tomcat permanently - or, how to get it working without getting memory-problems?

    Tnx!
     
  7. ngasi

    ngasi Guest

    0
     
    It is possible that you may not have enough available memory on your Server
    for JAVA (Tomcat). JAVA requires a generous amount of real physical RAM.

    You may disable the Tomcat Service in the Services section of the Plesk control Panel.
     
  8. ToRum

    ToRum New Pleskian

    22
    23%
    Joined:
    Jan 15, 2008
    Messages:
    7
    Likes Received:
    0
    I can't find the real system requirements. Any idea how much RAM is needed? (our servers are virtualized using Virtuozzo)

    The Plesk control panel tells me Tomcat is not running (cfr. attachment). However, it is (every 5 minutes, a java*-file is added to my /tmp-dir). Shell shows:

    but after 5 minutes:

    How can I *really* disable this (can't find anything in cronjobs) get Tomcat started a clean way?

    To
     

    Attached Files:

  9. ngasi

    ngasi Guest

    0
     
    ToRum,

    For an OS based VPS, such as Virtuozzo, 512MB RAM would be a good starting point
    for JAVA.

    With regards to the rogue Tomcat process, check the /etc/init.d/ to see if there is a startup
    script?
     
  10. ToRum

    ToRum New Pleskian

    22
    23%
    Joined:
    Jan 15, 2008
    Messages:
    7
    Likes Received:
    0
    The hardware node has 4GB DDR2 RAM for 7 VPS's (only one uses Tomcat).

    As I told, I tried serveral times to stop Tomcat using /etc/init.d/tomcat5. However, it seems to restart after 5 minutes:

    but 5 minutes later:
    So, my question is: where is Tomcat automaticly restarted? (can't find anything in the cronjobs)
     
Loading...