Hi,
After setting up Tomcat Java applications by uploading its .war file in Plesk, I hit different errors that all point to files not being found (java.io.FileNotFoundException, org.apache.cocoon.ResourceNotFoundException, HTTP 500 status, ...).
I found the cause with the default "unpackWARs='false'" setting for each domain in the Plesk Tomcat server.xml file. I changed this to 'true' and restarted Tomcat via Plesk's 'Services Management'. However:
1. This does NOT have any effect at all: the Java apps are still being served from the .war file
2. Furthermore, restarting Tomcat via the 'Java applications for domain' section in Plesk RESETS the settings in server.xml to "unpackWARs='false'" again.
My question thus is: how can Plesk be made to unpack .war files, as this is crucial for our webapps?
Thanks for any reaction,
Ron Van den Branden
PS: I can confirm that the .war unpacking is the key to the problems reported. Investigating this issue, I manually unpacked a .war archive to its own directory in tomcat5.5/psa-webapps, made sure server.xml read "unpackWARs='true'", restarted Tomcat via Plesk's 'Services Management', et voila: everything worked as it should. Until a Tomcat restart via the 'Java applications for domain' section in Plesk reset that value. But of course, I don't expect this manual hussle is the 'control' intended by the Plesk Parallels Panel.
After setting up Tomcat Java applications by uploading its .war file in Plesk, I hit different errors that all point to files not being found (java.io.FileNotFoundException, org.apache.cocoon.ResourceNotFoundException, HTTP 500 status, ...).
I found the cause with the default "unpackWARs='false'" setting for each domain in the Plesk Tomcat server.xml file. I changed this to 'true' and restarted Tomcat via Plesk's 'Services Management'. However:
1. This does NOT have any effect at all: the Java apps are still being served from the .war file
2. Furthermore, restarting Tomcat via the 'Java applications for domain' section in Plesk RESETS the settings in server.xml to "unpackWARs='false'" again.
My question thus is: how can Plesk be made to unpack .war files, as this is crucial for our webapps?
Thanks for any reaction,
Ron Van den Branden
PS: I can confirm that the .war unpacking is the key to the problems reported. Investigating this issue, I manually unpacked a .war archive to its own directory in tomcat5.5/psa-webapps, made sure server.xml read "unpackWARs='true'", restarted Tomcat via Plesk's 'Services Management', et voila: everything worked as it should. Until a Tomcat restart via the 'Java applications for domain' section in Plesk reset that value. But of course, I don't expect this manual hussle is the 'control' intended by the Plesk Parallels Panel.