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

tomcat directories owner

Discussion in 'Plesk for Linux - 8.x and Older' started by lavoyer, Mar 28, 2007.

  1. lavoyer

    lavoyer Guest

    0
     
    Hi,

    Could you give me the differents owners about the tomcat directories in Plesk because I have a probleme since last upgrade (and Plesk don't support his bugs!!!)

    I have for example :
    /var/lib/tomcat4/psa-users root:nogroup

    I uninstall tomcat and reinstall it and this is the same.

    I can start tomcat and upload .war but the .war don't start and I have in log :
    unvalable or unreadable .war !!

    This is the same with all .war and all domains !!!
    And my box support unzip of course.

    Please help me

    thank you
     
  2. gorilych

    gorilych Guest

    0
     
    try to reinstall psa-tomcat-configurator package

    check current tomcat user in files:
    (X is version, 4,5 or nothing)

    /etc/tomcatX/tomcatX.conf
    /etc/init.d/tomcatX
     
  3. lavoyer

    lavoyer Guest

    0
     
    Hi, thank you for your help

    TOMCAT_USER="tomcat4"

    this is the owners for directories and files:
    /var/log/tomcat4 tomcat4:nogroup
    /var/lib/tomcat4/conf/ tomcat4:nogroup
    /var/lib/tomcat4/temp/ tomcat4:nogroup
    /var/lib/tomcat4/webapps/ tomcat4:nogroup
    /var/lib/tomcat4/shared/ tomcat4:nogroup

    /var/lib/psa-users/ and files root:nogroup
    /var/lib/psa-webaps/ and files root:nogroup
    /var/lib/psa-wars/ and files root:nogroup

    /var/cache/* tomcat4:nogroup
    /usr/share/tomcat4/server/* root:nogroup

    I tried to uninstall and reinstall but this is the same.

    thank for your help
     
  4. gorilych

    gorilych Guest

    0
     
  5. lavoyer

    lavoyer Guest

    0
     
    Well, could you say me what is the owners of your directories and tomcat files (have you tomcat4:nogroup and root:nogroup like me ?)

    And this is the catalina logs :

    Mar 29, 2007 3:09:56 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-9080
    StandardWrapper[/manager:Manager]: Loading container servlet Manager
    StandardHost[domain.tld]: Installing web application at context path /appli from URL jar:file:/usr/share/tomcat4/psa-webapps/domain.tld/appli.war!/
    StandardContext[/lc1]: Resources start failed:: java.lang.IllegalArgumentException: Invalid or unreadable WAR file : /usr/share/tomcat4/psa-webapps/domain.tld/appli.war
    java.lang.IllegalArgumentException: Invalid or unreadable WAR file : /usr/share/tomcat4/psa-webapps/domain.tld/appli.war

    Well, the .war file is good, and this is the same think with all .war files and all domains !!!

    Each time I do an upgrade, each time there are bugs ! I never see a panel with many bugs like plesk and we must pay to support with the bugs !!! So i try to find help witout plesk ! I asked but they said to pay to have support !!!

    Thanks for help
     
Loading...