• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

tomcat directories owner

L

lavoyer

Guest
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
 
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
 
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
 
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
 
Back
Top